1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
2 xmlns:slc="http://argeo.org/projects/slc/schemas"
3 elementFormDefault="qualified"
4 targetNamespace="http://argeo.org/projects/slc/schemas">
5 <!-- TREE TEST RESULT -->
6 <xs:element name="tree-test-result" type="slc:TreeTestResultType" />
7 <xs:complexType name="TreeTestResultType">
9 <xs:element name="close-date" type="xs:dateTime" />
10 <xs:element name="result-parts" minOccurs="0"
11 type="slc:ResultPartsType" />
12 <xs:element name="elements" minOccurs="0"
13 type="slc:ElementsType" />
15 <xs:attribute name="uuid" use="required"/>
17 <xs:complexType name="ResultPartsType">
19 <xs:element name="result-part" type="slc:ResultPartType"
20 maxOccurs="unbounded">
24 <xs:complexType name="ResultPartType">
26 <xs:element name="part-sub-list" type="slc:PartSubListType" />
28 <xs:attribute name="path" type="xs:string" use="required" />
30 <xs:complexType name="PartSubListType">
32 <xs:element name="slc-execution-uuid" type="xs:string" />
33 <xs:element name="slc-execution-step-uuid" type="xs:string" />
34 <xs:element name="parts" minOccurs="0" type="slc:PartsType" />
37 <xs:complexType name="PartsType">
39 <xs:element name="simple-result-part"
40 type="slc:SimpleResultPartType" maxOccurs="unbounded">
44 <xs:complexType name="SimpleResultPartType">
46 <xs:element name="status">
48 <xs:restriction base="xs:string">
49 <xs:enumeration value="PASSED" />
50 <xs:enumeration value="FAILED" />
51 <xs:enumeration value="ERROR" />
55 <xs:element name="message" type="xs:string" />
56 <xs:element name="exception" minOccurs="0"
57 type="slc:ExceptionType" />
60 <xs:complexType name="ExceptionType">
62 <xs:element name="message" type="xs:string" />
63 <xs:element name="stack-trace" minOccurs="0"
64 type="slc:StackTraceType" />
67 <xs:complexType name="StackTraceType">
69 <xs:element name="stack-trace-element"
70 type="slc:StackTraceElementType" maxOccurs="unbounded">
74 <xs:complexType name="StackTraceElementType">
75 <xs:attribute name="declaring-class" type="xs:string"
77 <xs:attribute name="method-name" type="xs:string"
79 <xs:attribute name="file-name" type="xs:string" use="required" />
80 <xs:attribute name="line-number" type="xs:integer"
83 <xs:complexType name="ElementsType">
85 <xs:element name="element" type="slc:ElementType"
86 maxOccurs="unbounded">
90 <xs:complexType name="ElementType">
92 <xs:element name="simple-sElement"
93 type="slc:SimpleSElementType" />
95 <xs:attribute name="path" type="xs:string" use="required" />
97 <xs:complexType name="SimpleSElementType">
99 <xs:element name="label" type="xs:string" />
100 <xs:element name="tags" type="slc:TagsType" minOccurs="0" />
103 <xs:complexType name="TagsType">
105 <xs:element name="tag" type="slc:TagType"
106 maxOccurs="unbounded">
110 <xs:complexType name="TagType">
112 <xs:element name="tag-value" type="xs:string" />
114 <xs:attribute name="name" type="xs:string" use="required" />
117 <!-- TREE TEST RESULT -->
118 <xs:element name="tree-test-result-request">
121 <xs:element name="tree-test-result"
122 type="slc:TreeTestResultType" />
127 <!-- SLC EXECUTION -->
128 <xs:element name="slc-execution" type="slc:SlcExecutionType" />
129 <xs:complexType name="SlcExecutionType">
131 <xs:element name="status" type="xs:string" />
132 <xs:element name="type" type="xs:string" />
133 <xs:element name="host" type="xs:string" />
134 <xs:element name="user" type="xs:string" />
135 <xs:element name="steps" minOccurs="0"
136 type="slc:SlcExecutionStepsType" />
137 <xs:element name="attributes" minOccurs="0"
138 type="slc:AttributesType" />
140 <xs:attribute name="uuid" type="xs:string" use="required" />
142 <xs:complexType name="SlcExecutionStepsType">
144 <xs:element name="slc-execution-step"
145 type="slc:SlcExecutionStepType" maxOccurs="unbounded">
149 <xs:complexType name="SlcExecutionStepType">
151 <xs:element name="type" type="xs:string" />
152 <xs:element name="begin" type="xs:dateTime" />
153 <xs:element name="log-lines" minOccurs="0">
156 <xs:element name="log-line" type="xs:string"
157 maxOccurs="unbounded" />
162 <xs:attribute name="uuid" type="xs:string" use="required" />
164 <xs:complexType name="AttributesType">
166 <xs:element name="attribute" type="slc:AttributeType"
167 maxOccurs="unbounded">
171 <xs:complexType name="AttributeType">
173 <xs:extension base="xs:string">
174 <xs:attribute name="name" type="xs:string"
180 <!-- SLC EXECUTION REQUESTS-->
181 <xs:element name="slc-execution-request">
184 <xs:element name="slc-execution"
185 type="slc:SlcExecutionType" />
189 <xs:element name="slc-execution-steps-request">
192 <xs:element name="slc-execution-uuid" type="xs:string" />
193 <xs:element name="steps"
194 type="slc:SlcExecutionStepsType" />