summaryrefslogtreecommitdiff
path: root/src/main/resources/boot/OD/ModuleAgents.xsd
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-03-06 16:46:11 +0100
committerAndrew Branson <andrew.branson@cern.ch>2014-03-06 16:46:11 +0100
commit20aab0c365e87cdefadbb2c5c9325c530761a320 (patch)
treea2be0f99bdc2659602f59fca31d058317543f298 /src/main/resources/boot/OD/ModuleAgents.xsd
parentb602cedddd7a22243d4507a98711517d249e8dc6 (diff)
New ModuleFactory - not finished yet. Can collect module info but not
export. Contents collection to be added. Pretty-printed XML - an example module should be easy to read.
Diffstat (limited to 'src/main/resources/boot/OD/ModuleAgents.xsd')
-rw-r--r--src/main/resources/boot/OD/ModuleAgents.xsd39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/main/resources/boot/OD/ModuleAgents.xsd b/src/main/resources/boot/OD/ModuleAgents.xsd
new file mode 100644
index 0000000..81481d4
--- /dev/null
+++ b/src/main/resources/boot/OD/ModuleAgents.xsd
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="ModuleAgents">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Role" maxOccurs="unbounded" minOccurs="0">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="jobList" type="xs:boolean" use="required" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Agent" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Role" type="xs:string" maxOccurs="unbounded" />
+ <xs:element name="Property" type="property" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="password" type="xs:string" use="required" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:complexType name="property">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="mutable" type="xs:boolean" default="true"
+ use="optional" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+</xs:schema>