made the transaction log directory configurable
diff --git a/asterix-events/src/main/resources/schema/cluster.xsd b/asterix-events/src/main/resources/schema/cluster.xsd
index 4292418..718d7b0 100644
--- a/asterix-events/src/main/resources/schema/cluster.xsd
+++ b/asterix-events/src/main/resources/schema/cluster.xsd
@@ -4,10 +4,11 @@
<!-- definition of simple types -->
<xs:element name="name" type="xs:string" />
- <xs:element name="logdir" type="xs:string" />
+ <xs:element name="log_dir" type="xs:string" />
+ <xs:element name="txn_log_dir" type="xs:string" />
<xs:element name="id" type="xs:string" />
- <xs:element name="client-ip" type="xs:string" />
- <xs:element name="cluster-ip" type="xs:string" />
+ <xs:element name="client_ip" type="xs:string" />
+ <xs:element name="cluster_ip" type="xs:string" />
<xs:element name="key" type="xs:string" />
<xs:element name="value" type="xs:string" />
<xs:element name="dir" type="xs:string" />
@@ -18,7 +19,7 @@
<xs:element name="username" type="xs:string" />
<!-- definition of complex elements -->
- <xs:element name="workingDir">
+ <xs:element name="working_dir">
<xs:complexType>
<xs:sequence>
<xs:element ref="cl:dir" />
@@ -27,14 +28,14 @@
</xs:complexType>
</xs:element>
- <xs:element name="master-node">
+ <xs:element name="master_node">
<xs:complexType>
<xs:sequence>
<xs:element ref="cl:id" />
- <xs:element ref="cl:client-ip" />
- <xs:element ref="cl:cluster-ip" />
+ <xs:element ref="cl:client_ip" />
+ <xs:element ref="cl:cluster_ip" />
<xs:element ref="cl:java_home" minOccurs="0" />
- <xs:element ref="cl:logdir" minOccurs="0" />
+ <xs:element ref="cl:log_dir" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -60,9 +61,10 @@
<xs:complexType>
<xs:sequence>
<xs:element ref="cl:id" />
- <xs:element ref="cl:cluster-ip" />
+ <xs:element ref="cl:cluster_ip" />
<xs:element ref="cl:java_home" minOccurs="0" />
- <xs:element ref="cl:logdir" minOccurs="0" />
+ <xs:element ref="cl:log_dir" minOccurs="0" />
+ <xs:element ref="cl:txn_log_dir" minOccurs="0" />
<xs:element ref="cl:store" minOccurs="0" />
<xs:element ref="cl:iodevices" minOccurs="0" />
</xs:sequence>
@@ -76,11 +78,12 @@
<xs:element ref="cl:username" />
<xs:element ref="cl:env" minOccurs="0" />
<xs:element ref="cl:java_home" minOccurs="0" />
- <xs:element ref="cl:logdir" minOccurs="0" />
+ <xs:element ref="cl:log_dir" minOccurs="0" />
+ <xs:element ref="cl:txn_log_dir" minOccurs="0" />
<xs:element ref="cl:store" minOccurs="0" />
<xs:element ref="cl:iodevices" minOccurs="0" />
- <xs:element ref="cl:workingDir" />
- <xs:element ref="cl:master-node" />
+ <xs:element ref="cl:working_dir" />
+ <xs:element ref="cl:master_node" />
<xs:element ref="cl:node" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>