ramangrover29 | 330a541 | 2013-04-29 20:59:17 -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 | |
Preston Carman | c66d23a | 2015-07-08 23:44:13 -0700 | [diff] [blame] | 22 | <xs:schema |
| 23 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 24 | xmlns:mg="asterixconf" |
| 25 | targetNamespace="asterixconf" |
| 26 | elementFormDefault="qualified"> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 27 | |
Preston Carman | c66d23a | 2015-07-08 23:44:13 -0700 | [diff] [blame] | 28 | <!-- definition of simple types --> |
| 29 | <xs:element |
| 30 | name="instanceName" |
| 31 | type="xs:string" /> |
| 32 | <xs:element |
| 33 | name="version" |
| 34 | type="xs:string" /> |
| 35 | <xs:element |
| 36 | name="metadataNode" |
| 37 | type="xs:string" /> |
| 38 | <xs:element |
| 39 | name="coredumpPath" |
| 40 | type="xs:string" /> |
| 41 | <xs:element |
| 42 | name="storeDirs" |
| 43 | type="xs:string" /> |
| 44 | <xs:element |
| 45 | name="ncId" |
| 46 | type="xs:string" /> |
| 47 | <xs:element |
| 48 | name="name" |
| 49 | type="xs:string" /> |
| 50 | <xs:element |
| 51 | name="value" |
| 52 | type="xs:string" /> |
| 53 | <xs:element |
| 54 | name="description" |
| 55 | type="xs:string" /> |
| 56 | <xs:element |
| 57 | name="txnLogDirPath" |
| 58 | type="xs:string" /> |
| 59 | |
| 60 | <!-- definition of complex elements --> |
| 61 | <xs:element name="store"> |
| 62 | <xs:complexType> |
| 63 | <xs:sequence> |
| 64 | <xs:element ref="mg:ncId" /> |
| 65 | <xs:element ref="mg:storeDirs" /> |
| 66 | </xs:sequence> |
| 67 | </xs:complexType> |
| 68 | </xs:element> |
| 69 | |
| 70 | <xs:element name="coredump"> |
| 71 | <xs:complexType> |
| 72 | <xs:sequence> |
| 73 | <xs:element ref="mg:ncId" /> |
| 74 | <xs:element ref="mg:coredumpPath" /> |
| 75 | </xs:sequence> |
| 76 | </xs:complexType> |
| 77 | </xs:element> |
| 78 | |
| 79 | <xs:element name="transactionLogDir"> |
| 80 | <xs:complexType> |
| 81 | <xs:sequence> |
| 82 | <xs:element ref="mg:ncId" /> |
| 83 | <xs:element ref="mg:txnLogDirPath" /> |
| 84 | </xs:sequence> |
| 85 | </xs:complexType> |
| 86 | </xs:element> |
| 87 | |
| 88 | <xs:element name="property"> |
| 89 | <xs:complexType> |
| 90 | <xs:sequence> |
| 91 | <xs:element ref="mg:name" /> |
| 92 | <xs:element ref="mg:value" /> |
| 93 | <xs:element ref="mg:description" /> |
| 94 | </xs:sequence> |
| 95 | </xs:complexType> |
| 96 | </xs:element> |
ramangrover29 | 330a541 | 2013-04-29 20:59:17 -0700 | [diff] [blame] | 97 | |
ramangrover29 | f7f449a | 2013-06-10 10:50:21 -0700 | [diff] [blame] | 98 | |
Preston Carman | c66d23a | 2015-07-08 23:44:13 -0700 | [diff] [blame] | 99 | <xs:element name="asterixConfiguration"> |
| 100 | <xs:complexType> |
| 101 | <xs:sequence> |
| 102 | <xs:element |
| 103 | ref="mg:instanceName" |
| 104 | minOccurs="0" /> |
| 105 | <xs:element |
| 106 | ref="mg:version" |
| 107 | minOccurs="0" /> |
| 108 | <xs:element |
| 109 | ref="mg:metadataNode" |
| 110 | minOccurs="0" /> |
| 111 | <xs:element |
| 112 | ref="mg:store" |
| 113 | maxOccurs="unbounded" /> |
| 114 | <xs:element |
| 115 | ref="mg:coredump" |
| 116 | maxOccurs="unbounded" /> |
| 117 | <xs:element |
| 118 | ref="mg:transactionLogDir" |
| 119 | maxOccurs="unbounded" /> |
| 120 | <xs:element |
| 121 | ref="mg:property" |
| 122 | minOccurs="0" |
| 123 | maxOccurs="unbounded" /> |
| 124 | </xs:sequence> |
| 125 | </xs:complexType> |
| 126 | </xs:element> |
ramangrover29 | f7f449a | 2013-06-10 10:50:21 -0700 | [diff] [blame] | 127 | |
Preston Carman | c66d23a | 2015-07-08 23:44:13 -0700 | [diff] [blame] | 128 | </xs:schema> |