ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
| 2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cl="cluster" targetNamespace="cluster" elementFormDefault="qualified"> |
| 3 | |
| 4 | <!-- definition of simple types --> |
| 5 | <xs:element name="name" type="xs:string"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 6 | <xs:element name="java_opts" type="xs:string"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 7 | <xs:element name="logdir" type="xs:string"/> |
| 8 | <xs:element name="id" type="xs:string"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 9 | <xs:element name="client-ip" type="xs:string"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 10 | <xs:element name="cluster-ip" type="xs:string"/> |
| 11 | <xs:element name="key" type="xs:string"/> |
| 12 | <xs:element name="value" type="xs:string"/> |
| 13 | <xs:element name="dir" type="xs:string"/> |
| 14 | <xs:element name="NFS" type="xs:boolean"/> |
| 15 | <xs:element name="store" type="xs:string"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 16 | <xs:element name="iodevices" type="xs:string"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 17 | <xs:element name="java_home" type="xs:string"/> |
| 18 | <xs:element name="username" type="xs:string"/> |
ramangrover29@gmail.com | 3bfd1b5 | 2013-03-08 18:56:42 +0000 | [diff] [blame] | 19 | <xs:element name="debug" type="xs:integer"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 20 | <xs:element name="debugEnabled" type="xs:boolean"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 21 | |
| 22 | <!-- definition of complex elements --> |
| 23 | <xs:element name="workingDir"> |
| 24 | <xs:complexType> |
| 25 | <xs:sequence> |
| 26 | <xs:element ref="cl:dir"/> |
| 27 | <xs:element ref="cl:NFS"/> |
| 28 | </xs:sequence> |
| 29 | </xs:complexType> |
| 30 | </xs:element> |
| 31 | |
| 32 | <xs:element name="master-node"> |
| 33 | <xs:complexType> |
| 34 | <xs:sequence> |
| 35 | <xs:element ref="cl:id"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 36 | <xs:element ref="cl:client-ip"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 37 | <xs:element ref="cl:cluster-ip"/> |
ramangrover29 | ab6d349 | 2013-02-21 22:23:03 +0000 | [diff] [blame] | 38 | <xs:element ref="cl:java_home" minOccurs="0"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 39 | <xs:element ref="cl:java_opts" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 40 | <xs:element ref="cl:logdir" minOccurs="0"/> |
ramangrover29@gmail.com | 3bfd1b5 | 2013-03-08 18:56:42 +0000 | [diff] [blame] | 41 | <xs:element ref="cl:debug" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 42 | </xs:sequence> |
| 43 | </xs:complexType> |
| 44 | </xs:element> |
| 45 | |
| 46 | <xs:element name="property"> |
| 47 | <xs:complexType> |
| 48 | <xs:sequence> |
| 49 | <xs:element ref="cl:key"/> |
| 50 | <xs:element ref="cl:value"/> |
| 51 | </xs:sequence> |
| 52 | </xs:complexType> |
| 53 | </xs:element> |
| 54 | |
| 55 | <xs:element name="env"> |
| 56 | <xs:complexType> |
| 57 | <xs:sequence> |
| 58 | <xs:element ref="cl:property" minOccurs="0" maxOccurs="unbounded"/> |
| 59 | </xs:sequence> |
| 60 | </xs:complexType> |
| 61 | </xs:element> |
| 62 | |
| 63 | <xs:element name="node"> |
| 64 | <xs:complexType> |
| 65 | <xs:sequence> |
| 66 | <xs:element ref="cl:id"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 67 | <xs:element ref="cl:cluster-ip"/> |
ramangrover29 | ab6d349 | 2013-02-21 22:23:03 +0000 | [diff] [blame] | 68 | <xs:element ref="cl:java_home" minOccurs="0"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 69 | <xs:element ref="cl:java_opts" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 70 | <xs:element ref="cl:logdir" minOccurs="0"/> |
| 71 | <xs:element ref="cl:store" minOccurs="0"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 72 | <xs:element ref="cl:iodevices" minOccurs="0"/> |
ramangrover29@gmail.com | 3bfd1b5 | 2013-03-08 18:56:42 +0000 | [diff] [blame] | 73 | <xs:element ref="cl:debug" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 74 | </xs:sequence> |
| 75 | </xs:complexType> |
| 76 | </xs:element> |
| 77 | |
| 78 | <xs:element name="cluster"> |
| 79 | <xs:complexType> |
| 80 | <xs:sequence> |
| 81 | <xs:element ref="cl:name"/> |
| 82 | <xs:element ref="cl:username"/> |
| 83 | <xs:element ref="cl:env" minOccurs="0"/> |
ramangrover29 | ab6d349 | 2013-02-21 22:23:03 +0000 | [diff] [blame] | 84 | <xs:element ref="cl:java_home" minOccurs="0"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 85 | <xs:element ref="cl:java_opts" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 86 | <xs:element ref="cl:logdir" minOccurs="0"/> |
| 87 | <xs:element ref="cl:store" minOccurs="0"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 88 | <xs:element ref="cl:iodevices" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 89 | <xs:element ref="cl:workingDir"/> |
ramangrover29@gmail.com | 309034e | 2013-04-01 00:11:35 +0000 | [diff] [blame] | 90 | <xs:element ref="cl:debugEnabled" minOccurs="0"/> |
| 91 | <xs:element ref="cl:debug" minOccurs="0"/> |
ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 92 | <xs:element ref="cl:master-node"/> |
| 93 | <xs:element ref="cl:node" maxOccurs="unbounded"/> |
| 94 | </xs:sequence> |
| 95 | </xs:complexType> |
| 96 | </xs:element> |
| 97 | |
| 98 | </xs:schema> |