blob: 1582422c03f33d908ec0335397d4e0c95d703630 [file] [log] [blame]
ramangrover29b2201c42013-05-30 15:40:24 -07001<?xml version="1.0" encoding="ISO-8859-1" ?>
Till Westmannfd733ee2014-07-10 00:57:37 -07002<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns:mg="installer" targetNamespace="installer" elementFormDefault="qualified">
ramangrover29b2201c42013-05-30 15:40:24 -07004
Till Westmannfd733ee2014-07-10 00:57:37 -07005 <!-- definition of simple types -->
6 <xs:element name="configured" type="xs:boolean" />
7 <xs:element name="asterix_home" type="xs:string" />
8 <xs:element name="hyracks_home" type="xs:string" />
9 <xs:element name="hdfsurl" type="xs:string" />
10 <xs:element name="server" type="xs:string" />
11 <xs:element name="clientPort" type="xs:integer" />
12 <xs:element name="homeDir" type="xs:string" />
13 <xs:element name="version" type="xs:string" />
14 <xs:element name="url" type="xs:string" />
15 <xs:element name="backupDir" type="xs:string" />
16 <xs:element name="java_home" type="xs:string" />
ramangrover29b2201c42013-05-30 15:40:24 -070017
Till Westmannfd733ee2014-07-10 00:57:37 -070018 <!-- definition of complex elements -->
19 <xs:element name="hdfs">
20 <xs:complexType>
21 <xs:sequence>
22 <xs:element ref="mg:version" />
23 <xs:element ref="mg:url" />
24 </xs:sequence>
25 </xs:complexType>
26 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070027
Till Westmannfd733ee2014-07-10 00:57:37 -070028 <xs:element name="backup">
29 <xs:complexType>
30 <xs:sequence>
31 <xs:element ref="mg:hdfs" minOccurs="0" />
32 <xs:element ref="mg:backupDir" />
33 </xs:sequence>
34 </xs:complexType>
35 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070036
Till Westmannfd733ee2014-07-10 00:57:37 -070037 <xs:element name="zookeeper">
38 <xs:complexType>
39 <xs:sequence>
40 <xs:element ref="mg:homeDir" />
41 <xs:element ref="mg:clientPort" />
42 <xs:element ref="mg:servers" />
43 </xs:sequence>
44 </xs:complexType>
45 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070046
Till Westmannfd733ee2014-07-10 00:57:37 -070047 <xs:element name="servers">
48 <xs:complexType>
49 <xs:sequence>
50 <xs:element ref="mg:java_home" />
51 <xs:element ref="mg:server" maxOccurs="unbounded" />
52 </xs:sequence>
53 </xs:complexType>
54 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070055
Till Westmannfd733ee2014-07-10 00:57:37 -070056 <xs:element name="configuration">
57 <xs:complexType>
58 <xs:sequence>
59 <xs:element ref="mg:configured" minOccurs="1" />
60 <xs:element ref="mg:backup" minOccurs="0" />
61 <xs:element ref="mg:zookeeper" minOccurs="1" />
62 </xs:sequence>
63 </xs:complexType>
64 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070065
66</xs:schema>