ramangrover29 | b2201c4 | 2013-05-30 15:40:24 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
Till Westmann | 5b431ca | 2015-10-01 19:16:11 -0700 | [diff] [blame] | 2 | |
| 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 Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 22 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 23 | xmlns:mg="installer" targetNamespace="installer" elementFormDefault="qualified"> |
ramangrover29 | b2201c4 | 2013-05-30 15:40:24 -0700 | [diff] [blame] | 24 | |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 25 | <!-- 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" /> |
ramangrover29 | b2201c4 | 2013-05-30 15:40:24 -0700 | [diff] [blame] | 37 | |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 38 | <!-- 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> |
ramangrover29 | b2201c4 | 2013-05-30 15:40:24 -0700 | [diff] [blame] | 47 | |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 48 | <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> |
ramangrover29 | b2201c4 | 2013-05-30 15:40:24 -0700 | [diff] [blame] | 56 | |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 57 | <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> |
ramangrover29 | b2201c4 | 2013-05-30 15:40:24 -0700 | [diff] [blame] | 66 | |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 67 | <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> |
ramangrover29 | b2201c4 | 2013-05-30 15:40:24 -0700 | [diff] [blame] | 75 | |
Till Westmann | fd733ee | 2014-07-10 00:57:37 -0700 | [diff] [blame] | 76 | <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> |
ramangrover29 | b2201c4 | 2013-05-30 15:40:24 -0700 | [diff] [blame] | 85 | |
| 86 | </xs:schema> |