123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <!--
- HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- edited with XML Spy v4.0.1 U (http://www.xmlspy.com) by Jorge Mon (Seisint) -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:element name="Environment">
- <xs:annotation>
- <xs:documentation>Defines a Seisint Environment</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element name="Software">
- <xs:annotation>
- <xs:documentation>Section to describe the processes that run in the environment.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence minOccurs="0">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="EspProcess">
- <xs:annotation>
- <xs:documentation>Describes an HMon instance.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="ProcessBase">
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="Listener">
- <xs:complexType>
- <xs:attributeGroup ref="BaseAttributes"/>
- <xs:attribute name="netAddress" type="xs:string" use="optional"/>
- <xs:attribute name="port" type="xs:nonNegativeInteger" use="optional"/>
- <xs:attribute name="deadbeatTimer" type="xs:nonNegativeInteger"/>
- <xs:attribute name="heartbeatTimer" type="xs:nonNegativeInteger"/>
- <xs:attribute name="jack" type="xs:string"/>
- <xs:attribute name="isDisabled" type="xs:boolean"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="Permissions">
- <xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element name="User">
- <xs:complexType>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="password" type="xs:string"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- <xs:attributeGroup ref="PoolingAttributes"/>
- <xs:attribute name="port" type="xs:nonNegativeInteger"/>
- <xs:attribute name="logFile" type="xs:string"/>
- <xs:attribute name="logFileSize" type="xs:nonNegativeInteger"/>
- <xs:attribute name="maxLogSize" type="xs:nonNegativeInteger"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="ItsProcess">
- <xs:annotation>
- <xs:documentation>Describes an HMon instance.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="ProcessBase">
- <xs:sequence>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="Listener">
- <xs:complexType>
- <xs:attributeGroup ref="BaseAttributes"/>
- <xs:attribute name="netAddress" type="xs:string" use="optional"/>
- <xs:attribute name="port" type="xs:nonNegativeInteger" use="optional"/>
- <xs:attribute name="deadbeatTimer" type="xs:nonNegativeInteger"/>
- <xs:attribute name="heartbeatTimer" type="xs:nonNegativeInteger"/>
- <xs:attribute name="jack" type="xs:string"/>
- <xs:attribute name="isDisabled" type="xs:boolean"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- <xs:attributeGroup ref="PoolingAttributes"/>
- <xs:attribute name="port" type="xs:nonNegativeInteger"/>
- <xs:attribute name="filtersPath" type="xs:string" default="/utils/hozed/dynamic/log_filters"/>
- <xs:attribute name="logFile" type="xs:string" default="hmon2"/>
- <xs:attribute name="logFilePath" type="xs:string" default="/utils/hozed/dynamic/logs"/>
- <xs:attribute name="logFileSize" type="xs:nonNegativeInteger"/>
- <xs:attribute name="maxLogSize" type="xs:nonNegativeInteger"/>
- <xs:attribute name="slaveRetryInterval" type="xs:nonNegativeInteger"/>
- <xs:attribute name="deadbeatTimer" type="xs:nonNegativeInteger"/>
- <xs:attribute name="heartbeatTimer" type="xs:nonNegativeInteger"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="include" type="xs:string"/>
- <xs:attribute name="name" type="xs:string"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="SettingsBase">
- <xs:attributeGroup ref="BaseAttributes"/>
- </xs:complexType>
- <xs:complexType name="SimpleProcessBase">
- <xs:complexContent>
- <xs:extension base="SettingsBase">
- <xs:attribute name="computer" type="xs:string" use="required"/>
- <xs:attribute name="netAddress" type="xs:string" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="ProcessBase">
- <xs:complexContent>
- <xs:extension base="SimpleProcessBase">
- <xs:attributeGroup ref="ProcessFileAttributes"/>
- <xs:attribute name="description" type="xs:string" use="optional"/>
- <xs:attribute name="daliCluster" type="xs:string" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:attributeGroup name="BaseAttributes">
- <xs:attribute name="include" type="xs:string"/>
- <xs:attribute name="name" type="xs:string"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="ProcessFileAttributes">
- <xs:attribute name="directory" type="xs:string" use="required"/>
- <xs:attribute name="build" type="xs:string" use="required"/>
- <xs:attribute name="buildSet" type="xs:string" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="DatabaseAttributes">
- <xs:attribute name="dbProcess" type="xs:string"/>
- <xs:attribute name="dbName" type="xs:string"/>
- <xs:attribute name="dbUser" type="xs:string"/>
- <xs:attribute name="dbPassword" type="xs:string"/>
- <xs:attribute name="dbConnections" type="xs:string"/>
- <xs:attribute name="dbTimeout" type="xs:nonNegativeInteger"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="JackServiceAttributes">
- <xs:attribute name="traceLevel" type="xs:nonNegativeInteger"/>
- <xs:attribute name="logfile" type="xs:string"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="PoolingAttributes">
- <xs:attribute name="poolIdleCount" type="xs:nonNegativeInteger"/>
- <xs:attribute name="poolIdleTimer" type="xs:nonNegativeInteger"/>
- <xs:attribute name="poolMinCount" type="xs:nonNegativeInteger"/>
- <xs:attribute name="poolMaxCount" type="xs:nonNegativeInteger"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="LogFileAttributes"/>
- </xs:schema>
|