Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/Service References/SlaveFacade/HeuristicLab.Hive.Contracts.BusinessObjects.xsd @ 4368

Last change on this file since 4368 was 4368, checked in by cneumuel, 14 years ago
  • created HiveClient which shows an overview over all submitted HiveExperiments
  • its possible to download all submitted HiveExperiments including results
  • Experiments are now sent as a whole to the Hive and the Hive-Slaves take care of creating child-jobs (if necessary). The parent job is then paused and will be reactivated when all child-jobs are finished
  • WcfService-Clients are now consistently managed by WcfServicePool which allows to use IDisposable-Pattern and always keeps exactly one proxy-object until all callers disposed them.
  • created ProgressView which is able to lock a View and display progress of an action. It also allows to simulate progress if no progress-information is available so that users don't get too nervous while waiting.
File size: 11.6 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts.BusinessObjects" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts.BusinessObjects" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3  <xs:import namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.DataAccess" />
4  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
5  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
6  <xs:import namespace="http://schemas.datacontract.org/2004/07/System" />
7  <xs:complexType name="SlaveDto">
8    <xs:complexContent mixed="false">
9      <xs:extension base="tns:ResourceDto">
10        <xs:sequence>
11          <xs:element minOccurs="0" name="CalendarSyncStatus" type="tns:CalendarState" />
12          <xs:element minOccurs="0" name="Config" nillable="true" type="tns:SlaveConfigDto" />
13          <xs:element minOccurs="0" name="CpuSpeedPerCore" nillable="true" type="xs:int" />
14          <xs:element minOccurs="0" name="FreeMemory" type="xs:int" />
15          <xs:element minOccurs="0" name="IsAllowedToCalculate" type="xs:boolean" />
16          <xs:element minOccurs="0" name="Login" nillable="true" type="xs:dateTime" />
17          <xs:element minOccurs="0" name="Memory" type="xs:int" />
18          <xs:element minOccurs="0" name="NrOfCores" type="xs:int" />
19          <xs:element minOccurs="0" name="NrOfFreeCores" type="xs:int" />
20          <xs:element minOccurs="0" name="State" type="tns:SlaveState" />
21        </xs:sequence>
22      </xs:extension>
23    </xs:complexContent>
24  </xs:complexType>
25  <xs:element name="SlaveDto" nillable="true" type="tns:SlaveDto" />
26  <xs:complexType name="ResourceDto">
27    <xs:complexContent mixed="false">
28      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/HeuristicLab.DataAccess" base="q1:PersistableObject">
29        <xs:sequence>
30          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
31        </xs:sequence>
32      </xs:extension>
33    </xs:complexContent>
34  </xs:complexType>
35  <xs:element name="ResourceDto" nillable="true" type="tns:ResourceDto" />
36  <xs:simpleType name="CalendarState">
37    <xs:restriction base="xs:string">
38      <xs:enumeration value="Fetch" />
39      <xs:enumeration value="ForceFetch" />
40      <xs:enumeration value="Fetching" />
41      <xs:enumeration value="Fetched" />
42      <xs:enumeration value="NotAllowedToFetch" />
43    </xs:restriction>
44  </xs:simpleType>
45  <xs:element name="CalendarState" nillable="true" type="tns:CalendarState" />
46  <xs:complexType name="SlaveConfigDto">
47    <xs:complexContent mixed="false">
48      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/HeuristicLab.DataAccess" base="q2:PersistableObject">
49        <xs:sequence>
50          <xs:element minOccurs="0" name="HeartBeatIntervall" nillable="true" type="xs:int" />
51          <xs:element minOccurs="0" name="UpDownTimeCalendar" nillable="true" type="xs:string" />
52        </xs:sequence>
53      </xs:extension>
54    </xs:complexContent>
55  </xs:complexType>
56  <xs:element name="SlaveConfigDto" nillable="true" type="tns:SlaveConfigDto" />
57  <xs:simpleType name="SlaveState">
58    <xs:restriction base="xs:string">
59      <xs:enumeration value="NullState" />
60      <xs:enumeration value="Idle" />
61      <xs:enumeration value="Calculating" />
62      <xs:enumeration value="Offline" />
63    </xs:restriction>
64  </xs:simpleType>
65  <xs:element name="SlaveState" nillable="true" type="tns:SlaveState" />
66  <xs:complexType name="HeartBeatData">
67    <xs:sequence>
68      <xs:element minOccurs="0" name="FreeCores" type="xs:int" />
69      <xs:element minOccurs="0" name="FreeMemory" type="xs:int" />
70      <xs:element minOccurs="0" name="IsAllowedToCalculate" type="xs:boolean" />
71      <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="JobProgress" nillable="true" type="q3:ArrayOfKeyValueOfguiddouble" />
72      <xs:element minOccurs="0" name="SlaveId" type="ser:guid" />
73    </xs:sequence>
74  </xs:complexType>
75  <xs:element name="HeartBeatData" nillable="true" type="tns:HeartBeatData" />
76  <xs:complexType name="JobDto">
77    <xs:complexContent mixed="false">
78      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/HeuristicLab.DataAccess" base="q4:PersistableObject">
79        <xs:sequence>
80          <xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="AssignedResourceIds" nillable="true" type="q5:ArrayOfguid" />
81          <xs:element minOccurs="0" name="CoresNeeded" type="xs:int" />
82          <xs:element minOccurs="0" name="DateCalculated" nillable="true" type="xs:dateTime" />
83          <xs:element minOccurs="0" name="DateCreated" nillable="true" type="xs:dateTime" />
84          <xs:element minOccurs="0" name="DateFinished" nillable="true" type="xs:dateTime" />
85          <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:string" />
86          <xs:element minOccurs="0" name="MemoryNeeded" type="xs:int" />
87          <xs:element minOccurs="0" name="ParentJob" nillable="true" type="tns:JobDto" />
88          <xs:element minOccurs="0" name="Percentage" nillable="true" type="xs:double" />
89          <xs:element minOccurs="0" name="PluginsNeeded" nillable="true" type="tns:ArrayOfHivePluginInfoDto" />
90          <xs:element minOccurs="0" name="Priority" type="xs:int" />
91          <xs:element minOccurs="0" name="Project" nillable="true" type="tns:ProjectDto" />
92          <xs:element minOccurs="0" name="Slave" nillable="true" type="tns:SlaveDto" />
93          <xs:element minOccurs="0" name="State" type="tns:JobState" />
94          <xs:element minOccurs="0" name="UserId" nillable="true" type="ser:guid" />
95        </xs:sequence>
96      </xs:extension>
97    </xs:complexContent>
98  </xs:complexType>
99  <xs:element name="JobDto" nillable="true" type="tns:JobDto" />
100  <xs:complexType name="ArrayOfHivePluginInfoDto">
101    <xs:sequence>
102      <xs:element minOccurs="0" maxOccurs="unbounded" name="HivePluginInfoDto" nillable="true" type="tns:HivePluginInfoDto" />
103    </xs:sequence>
104  </xs:complexType>
105  <xs:element name="ArrayOfHivePluginInfoDto" nillable="true" type="tns:ArrayOfHivePluginInfoDto" />
106  <xs:complexType name="HivePluginInfoDto">
107    <xs:complexContent mixed="false">
108      <xs:extension xmlns:q6="http://schemas.datacontract.org/2004/07/HeuristicLab.DataAccess" base="q6:PersistableObject">
109        <xs:sequence>
110          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
111          <xs:element minOccurs="0" name="Update" type="xs:boolean" />
112          <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="Version" nillable="true" type="q7:Version" />
113        </xs:sequence>
114      </xs:extension>
115    </xs:complexContent>
116  </xs:complexType>
117  <xs:element name="HivePluginInfoDto" nillable="true" type="tns:HivePluginInfoDto" />
118  <xs:complexType name="ProjectDto">
119    <xs:complexContent mixed="false">
120      <xs:extension xmlns:q8="http://schemas.datacontract.org/2004/07/HeuristicLab.DataAccess" base="q8:PersistableObject">
121        <xs:sequence>
122          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
123        </xs:sequence>
124      </xs:extension>
125    </xs:complexContent>
126  </xs:complexType>
127  <xs:element name="ProjectDto" nillable="true" type="tns:ProjectDto" />
128  <xs:simpleType name="JobState">
129    <xs:restriction base="xs:string">
130      <xs:enumeration value="Calculating" />
131      <xs:enumeration value="Offline" />
132      <xs:enumeration value="Finished" />
133      <xs:enumeration value="Aborted" />
134      <xs:enumeration value="SnapshotRequested" />
135      <xs:enumeration value="SnapshotSent" />
136      <xs:enumeration value="Pending" />
137      <xs:enumeration value="Failed" />
138      <xs:enumeration value="WaitForChildJobs" />
139    </xs:restriction>
140  </xs:simpleType>
141  <xs:element name="JobState" nillable="true" type="tns:JobState" />
142  <xs:complexType name="ArrayOfHivePluginFile">
143    <xs:sequence>
144      <xs:element minOccurs="0" maxOccurs="unbounded" name="HivePluginFile" nillable="true" type="tns:HivePluginFile" />
145    </xs:sequence>
146  </xs:complexType>
147  <xs:element name="ArrayOfHivePluginFile" nillable="true" type="tns:ArrayOfHivePluginFile" />
148  <xs:complexType name="HivePluginFile">
149    <xs:sequence>
150      <xs:element minOccurs="0" name="BinaryFile" nillable="true" type="xs:base64Binary" />
151      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
152    </xs:sequence>
153  </xs:complexType>
154  <xs:element name="HivePluginFile" nillable="true" type="tns:HivePluginFile" />
155  <xs:complexType name="ArrayOfAppointmentDto">
156    <xs:sequence>
157      <xs:element minOccurs="0" maxOccurs="unbounded" name="AppointmentDto" nillable="true" type="tns:AppointmentDto" />
158    </xs:sequence>
159  </xs:complexType>
160  <xs:element name="ArrayOfAppointmentDto" nillable="true" type="tns:ArrayOfAppointmentDto" />
161  <xs:complexType name="AppointmentDto">
162    <xs:complexContent mixed="false">
163      <xs:extension xmlns:q9="http://schemas.datacontract.org/2004/07/HeuristicLab.DataAccess" base="q9:PersistableObject">
164        <xs:sequence>
165          <xs:element minOccurs="0" name="AllDayEvent" type="xs:boolean" />
166          <xs:element minOccurs="0" name="EndDate" type="xs:dateTime" />
167          <xs:element minOccurs="0" name="Recurring" type="xs:boolean" />
168          <xs:element minOccurs="0" name="RecurringId" type="ser:guid" />
169          <xs:element minOccurs="0" name="ResourceId" type="ser:guid" />
170          <xs:element minOccurs="0" name="StartDate" type="xs:dateTime" />
171        </xs:sequence>
172      </xs:extension>
173    </xs:complexContent>
174  </xs:complexType>
175  <xs:element name="AppointmentDto" nillable="true" type="tns:AppointmentDto" />
176  <xs:complexType name="SerializedJob">
177    <xs:sequence>
178      <xs:element minOccurs="0" name="JobInfo" nillable="true" type="tns:JobDto" />
179      <xs:element minOccurs="0" name="SerializedJobData" nillable="true" type="xs:base64Binary" />
180    </xs:sequence>
181  </xs:complexType>
182  <xs:element name="SerializedJob" nillable="true" type="tns:SerializedJob" />
183  <xs:complexType name="ArrayOfJobResult">
184    <xs:sequence>
185      <xs:element minOccurs="0" maxOccurs="unbounded" name="JobResult" nillable="true" type="tns:JobResult" />
186    </xs:sequence>
187  </xs:complexType>
188  <xs:element name="ArrayOfJobResult" nillable="true" type="tns:ArrayOfJobResult" />
189  <xs:complexType name="JobResult">
190    <xs:complexContent mixed="false">
191      <xs:extension xmlns:q10="http://schemas.datacontract.org/2004/07/HeuristicLab.DataAccess" base="q10:PersistableObject">
192        <xs:sequence>
193          <xs:element minOccurs="0" name="DateCalculated" nillable="true" type="xs:dateTime" />
194          <xs:element minOccurs="0" name="DateCreated" nillable="true" type="xs:dateTime" />
195          <xs:element minOccurs="0" name="DateFinished" nillable="true" type="xs:dateTime" />
196          <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:string" />
197          <xs:element minOccurs="0" name="ParentJobId" nillable="true" type="ser:guid" />
198          <xs:element minOccurs="0" name="Percentage" nillable="true" type="xs:double" />
199          <xs:element minOccurs="0" name="SlaveId" type="ser:guid" />
200          <xs:element minOccurs="0" name="State" type="tns:JobState" />
201        </xs:sequence>
202      </xs:extension>
203    </xs:complexContent>
204  </xs:complexType>
205  <xs:element name="JobResult" nillable="true" type="tns:JobResult" />
206</xs:schema>
Note: See TracBrowser for help on using the repository browser.