Server Side Script Interpreter Plugin
Java class implementation:
com.orientechnologies.orient.server.handler.OServerSideScriptInterpreter
Available since: v. 1.6.0.
Introduction
Allows to execute script on the server.
Configuration
This plugin is configured as a Server handler. The plugin can be configured in easy way by changing parameters:
Name | Description | Type | Example | Since |
---|---|---|---|---|
enabled | true to turn on, false (default) is turned off | boolean | true | 1.6.0 |
allowedLanguages | Array of languages allowed to be executed on the server | array of strings | SQL,Javascript | 1.6.0 |
Default configuration in orientdb-server-config.xml. Example:
<!-- MAIL, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
<handler class="com.orientechnologies.orient.server.handler.OServerSideScriptInterpreter">
<parameters>
<parameter value="true" name="enabled"/>
<parameter value="SQL,Javascript" name="allowedLanguages"/>
</parameters>
</handler>
Usage
Look at Console Command JSS.