Fix hazelcast xml node order.
- We're not seeing real issue right now, but
properties and network must appear in this order according to following definition:
http://www.hazelcast.com/schema/config/hazelcast-config-3.0.xsd
Change-Id: I042e7b0859bbd4780b3852858665042bf6936f41
diff --git a/conf/template/hazelcast.xml.template b/conf/template/hazelcast.xml.template
index b23c7e9..b0e5c49 100644
--- a/conf/template/hazelcast.xml.template
+++ b/conf/template/hazelcast.xml.template
@@ -2,6 +2,26 @@
http://www.hazelcast.com/schema/config/hazelcast-config-3.0.xsd"
xmlns="http://www.hazelcast.com/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <!-- Update xsd line, when upgrading Hazelcast version. -->
+
+ <!--
+ Note: When adding some elements to this file,
+ try to follow the schema defined in the xsd when possible.
+ -->
+
+ <properties>
+ <property name="hazelcast.logging.type">slf4j</property>
+ <property name="hazelcast.version.check.enabled">false</property>
+ </properties>
+
+ <network>
+ <port auto-increment="true">__HC_PORT__</port>
+ <join>
+__HC_NETWORK__
+ <aws enabled="false">
+ </aws>
+ </join>
+ </network>
<!-- Configuration of maps used as a data store. -->
<map name="datastore://*">
@@ -87,18 +107,4 @@
<topic name="*">
<global-ordering-enabled>false</global-ordering-enabled>
</topic>
-
- <network>
- <port auto-increment="true">__HC_PORT__</port>
- <join>
-__HC_NETWORK__
- <aws enabled="false">
- </aws>
- </join>
- </network>
-
- <properties>
- <property name="hazelcast.logging.type">slf4j</property>
- <property name="hazelcast.version.check.enabled">false</property>
- </properties>
</hazelcast>