blob: e5bc3eda376fe15c3e46f4673af1d42144d494ca [file] [log] [blame]
ramangrover29b2201c42013-05-30 15:40:24 -07001<?xml version="1.0" encoding="ISO-8859-1" ?>
Till Westmann5b431ca2015-10-01 19:16:11 -07002
3<!--
4 ! Licensed to the Apache Software Foundation (ASF) under one
5 ! or more contributor license agreements. See the NOTICE file
6 ! distributed with this work for additional information
7 ! regarding copyright ownership. The ASF licenses this file
8 ! to you under the Apache License, Version 2.0 (the
9 ! "License"); you may not use this file except in compliance
10 ! with the License. You may obtain a copy of the License at
11 !
12 ! http://www.apache.org/licenses/LICENSE-2.0
13 !
14 ! Unless required by applicable law or agreed to in writing,
15 ! software distributed under the License is distributed on an
16 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 ! KIND, either express or implied. See the License for the
18 ! specific language governing permissions and limitations
19 ! under the License.
20 !-->
21
Till Westmannfd733ee2014-07-10 00:57:37 -070022<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
23 xmlns:mg="installer" targetNamespace="installer" elementFormDefault="qualified">
ramangrover29b2201c42013-05-30 15:40:24 -070024
Till Westmannfd733ee2014-07-10 00:57:37 -070025 <!-- definition of simple types -->
26 <xs:element name="configured" type="xs:boolean" />
27 <xs:element name="asterix_home" type="xs:string" />
28 <xs:element name="hyracks_home" type="xs:string" />
29 <xs:element name="hdfsurl" type="xs:string" />
30 <xs:element name="server" type="xs:string" />
31 <xs:element name="clientPort" type="xs:integer" />
32 <xs:element name="homeDir" type="xs:string" />
33 <xs:element name="version" type="xs:string" />
34 <xs:element name="url" type="xs:string" />
35 <xs:element name="backupDir" type="xs:string" />
36 <xs:element name="java_home" type="xs:string" />
ramangrover29b2201c42013-05-30 15:40:24 -070037
Till Westmannfd733ee2014-07-10 00:57:37 -070038 <!-- definition of complex elements -->
39 <xs:element name="hdfs">
40 <xs:complexType>
41 <xs:sequence>
42 <xs:element ref="mg:version" />
43 <xs:element ref="mg:url" />
44 </xs:sequence>
45 </xs:complexType>
46 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070047
Till Westmannfd733ee2014-07-10 00:57:37 -070048 <xs:element name="backup">
49 <xs:complexType>
50 <xs:sequence>
51 <xs:element ref="mg:hdfs" minOccurs="0" />
52 <xs:element ref="mg:backupDir" />
53 </xs:sequence>
54 </xs:complexType>
55 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070056
Till Westmannfd733ee2014-07-10 00:57:37 -070057 <xs:element name="zookeeper">
58 <xs:complexType>
59 <xs:sequence>
60 <xs:element ref="mg:homeDir" />
61 <xs:element ref="mg:clientPort" />
62 <xs:element ref="mg:servers" />
63 </xs:sequence>
64 </xs:complexType>
65 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070066
Till Westmannfd733ee2014-07-10 00:57:37 -070067 <xs:element name="servers">
68 <xs:complexType>
69 <xs:sequence>
70 <xs:element ref="mg:java_home" />
71 <xs:element ref="mg:server" maxOccurs="unbounded" />
72 </xs:sequence>
73 </xs:complexType>
74 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070075
Till Westmannfd733ee2014-07-10 00:57:37 -070076 <xs:element name="configuration">
77 <xs:complexType>
78 <xs:sequence>
79 <xs:element ref="mg:configured" minOccurs="1" />
80 <xs:element ref="mg:backup" minOccurs="0" />
81 <xs:element ref="mg:zookeeper" minOccurs="1" />
82 </xs:sequence>
83 </xs:complexType>
84 </xs:element>
ramangrover29b2201c42013-05-30 15:40:24 -070085
86</xs:schema>