2016-09-27 15:30:41 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
|
|
<orient-server>
|
|
|
|
<handlers>
|
|
|
|
<handler class="com.orientechnologies.orient.graph.handler.OGraphServerHandler">
|
|
|
|
<parameters>
|
|
|
|
<parameter value="true" name="enabled"/>
|
|
|
|
<parameter value="50" name="graph.pool.max"/>
|
|
|
|
</parameters>
|
|
|
|
</handler>
|
|
|
|
<handler class="com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin">
|
|
|
|
<parameters>
|
2016-11-02 12:54:24 +01:00
|
|
|
<parameter value="{{ orientdb_distributed | ternary('true','false') }}" name="enabled"/>
|
2016-11-02 16:22:08 +01:00
|
|
|
<parameter value="{{ ansible_hostname }}" name="nodeName"/>
|
2016-09-27 15:30:41 +02:00
|
|
|
<parameter value="${ORIENTDB_HOME}/config/default-distributed-db-config.json" name="configuration.db.default"/>
|
|
|
|
<parameter value="${ORIENTDB_HOME}/config/hazelcast.xml" name="configuration.hazelcast"/>
|
|
|
|
</parameters>
|
|
|
|
</handler>
|
|
|
|
<handler class="com.orientechnologies.orient.server.handler.OJMXPlugin">
|
|
|
|
<parameters>
|
|
|
|
<parameter value="false" name="enabled"/>
|
|
|
|
<parameter value="true" name="profilerManaged"/>
|
|
|
|
</parameters>
|
|
|
|
</handler>
|
|
|
|
<handler class="com.orientechnologies.orient.server.handler.OAutomaticBackup">
|
|
|
|
<parameters>
|
2016-11-02 12:32:37 +01:00
|
|
|
<parameter value="true" name="enabled"/>
|
2016-09-27 15:30:41 +02:00
|
|
|
<parameter value="${ORIENTDB_HOME}/config/automatic-backup.json" name="config"/>
|
|
|
|
</parameters>
|
|
|
|
</handler>
|
|
|
|
<handler class="com.orientechnologies.orient.server.handler.OServerSideScriptInterpreter">
|
|
|
|
<parameters>
|
|
|
|
<parameter value="true" name="enabled"/>
|
|
|
|
<parameter value="SQL" name="allowedLanguages"/>
|
|
|
|
</parameters>
|
|
|
|
</handler>
|
|
|
|
</handlers>
|
|
|
|
<network>
|
|
|
|
<sockets>
|
|
|
|
<socket implementation="com.orientechnologies.orient.server.network.OServerTLSSocketFactory" name="ssl">
|
|
|
|
<parameters>
|
|
|
|
<parameter value="false" name="network.ssl.clientAuth"/>
|
|
|
|
<parameter value="config/cert/orientdb.ks" name="network.ssl.keyStore"/>
|
|
|
|
<parameter value="password" name="network.ssl.keyStorePassword"/>
|
|
|
|
<parameter value="config/cert/orientdb.ks" name="network.ssl.trustStore"/>
|
|
|
|
<parameter value="password" name="network.ssl.trustStorePassword"/>
|
|
|
|
</parameters>
|
|
|
|
</socket>
|
|
|
|
<socket implementation="com.orientechnologies.orient.server.network.OServerTLSSocketFactory" name="https">
|
|
|
|
<parameters>
|
|
|
|
<parameter value="false" name="network.ssl.clientAuth"/>
|
|
|
|
<parameter value="config/cert/orientdb.ks" name="network.ssl.keyStore"/>
|
|
|
|
<parameter value="password" name="network.ssl.keyStorePassword"/>
|
|
|
|
<parameter value="config/cert/orientdb.ks" name="network.ssl.trustStore"/>
|
|
|
|
<parameter value="password" name="network.ssl.trustStorePassword"/>
|
|
|
|
</parameters>
|
|
|
|
</socket>
|
|
|
|
</sockets>
|
|
|
|
<protocols>
|
|
|
|
<protocol implementation="com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary" name="binary"/>
|
|
|
|
<protocol implementation="com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb" name="http"/>
|
|
|
|
</protocols>
|
|
|
|
<listeners>
|
2016-09-28 19:19:03 +02:00
|
|
|
<listener protocol="binary" socket="default" port-range="{{ orientdb_binary_protocol_lower_port }}-{{ orientdb_binary_protocol_higher_port }}" ip-address="0.0.0.0"/>
|
|
|
|
<listener protocol="http" socket="default" port-range="{{ orientdb_http_protocol_lower_port }}-{{ orientdb_http_protocol_higher_port }}" ip-address="0.0.0.0">
|
2016-09-27 15:30:41 +02:00
|
|
|
<commands>
|
|
|
|
<command implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent" pattern="GET|www GET|studio/ GET| GET|*.htm GET|*.html GET|*.xml GET|*.jpeg GET|*.jpg GET|*.png GET|*.gif GET|*.js GET|*.css GET|*.swf GET|*.ico GET|*.txt GET|*.otf GET|*.pjs GET|*.svg GET|*.json GET|*.woff GET|*.woff2 GET|*.ttf GET|*.svgz" stateful="false">
|
|
|
|
<parameters>
|
|
|
|
<entry value="Cache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache" name="http.cache:*.htm *.html"/>
|
|
|
|
<entry value="Cache-Control: max-age=120" name="http.cache:default"/>
|
|
|
|
</parameters>
|
|
|
|
</command>
|
|
|
|
<command implementation="com.orientechnologies.orient.graph.server.command.OServerCommandGetGephi" pattern="GET|gephi/*" stateful="false"/>
|
|
|
|
</commands>
|
|
|
|
<parameters>
|
|
|
|
<parameter value="utf-8" name="network.http.charset"/>
|
|
|
|
<parameter value="true" name="network.http.jsonResponseError"/>
|
|
|
|
</parameters>
|
|
|
|
</listener>
|
|
|
|
</listeners>
|
|
|
|
</network>
|
|
|
|
<storages/>
|
|
|
|
<users>
|
2016-10-14 17:00:16 +02:00
|
|
|
<user resources="*" password="{{ orientdb_root_pwd }}" name="{{ orientdb_root_username }}"/>
|
2016-09-27 15:30:41 +02:00
|
|
|
</users>
|
|
|
|
<properties>
|
|
|
|
<entry value="1" name="db.pool.min"/>
|
|
|
|
<entry value="50" name="db.pool.max"/>
|
|
|
|
<entry value="true" name="profiler.enabled"/>
|
2016-11-02 12:25:22 +01:00
|
|
|
<entry value="0" name="distributed.autoRemoveOfflineServers"/>
|
2016-09-28 19:19:03 +02:00
|
|
|
<entry value="{{ orientdb_data_dir }}" name="server.database.path" />
|
2016-09-27 15:30:41 +02:00
|
|
|
</properties>
|
2016-09-28 19:19:03 +02:00
|
|
|
<hooks>
|
|
|
|
{% for class in orientdb_hooks_classes %}
|
|
|
|
<hook class="{{ class.name }}" position="{{ class.position }}"/>
|
|
|
|
{% endfor %}
|
|
|
|
</hooks>
|
2016-09-27 15:30:41 +02:00
|
|
|
<isAfterFirstTime>true</isAfterFirstTime>
|
|
|
|
</orient-server>
|