Mercurial > bitten > bitten-test
annotate doc/orchestration.dtd @ 382:2078b20186cf
Trac 0.11 compatibility fix in timeline event provider.
author | cmlenz |
---|---|
date | Tue, 24 Jul 2007 22:08:56 +0000 |
parents | 80645a15336b |
children |
rev | line source |
---|---|
70 | 1 <!-- |
2 DTD for the Bitten build orchestration BEEP profile. | |
276 | 3 |
4 This schema is informative and should not be used to actually validate | |
5 messages. Due to the limitations of DTDs, it does not completely capture | |
6 the schema for messages exchanged using the Bitten BEEP orchestration | |
7 profile. | |
70 | 8 --> |
30
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
9 |
70 | 10 <!-- |
11 Slave registration. | |
12 --> | |
276 | 13 <!ELEMENT register (platform, os, package*)> |
30
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
14 <!ATTLIST register |
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
15 name CDATA #REQUIRED |
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
16 maintainer CDATA #IMPLIED> |
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
17 <!ELEMENT platform #PCDATA> |
276 | 18 <!ATTLIST platform |
70 | 19 processor CDATA #IMPLIED> |
30
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
20 <!ELEMENT os #PCDATA> |
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
21 <!ATTLIST os |
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
22 family CDATA #REQUIRED |
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
23 version CDATA #IMPLIED> |
276 | 24 <!ELEMENT package EMPTY> |
25 <!ATTLIST package | |
26 name CDATA #REQUIRED> | |
30
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
27 |
70 | 28 <!-- |
29 Reply message from the master when registration of a slave was successful | |
30 --> | |
30
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
31 <!ELEMENT ok EMPTY> |
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
32 |
70 | 33 <!-- |
34 Generic error message. Can be received in response to registration or build | |
35 initiation. | |
36 --> | |
30
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
37 <!ELEMENT error #PCDATA> |
75ad81953032
Initial version of the DTD for the orchestration profile. Closes #5.
cmlenz
parents:
diff
changeset
|
38 <!ATTLIST error |
87
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
39 code CDATA #REQUIRED> |
70 | 40 |
41 <!-- | |
276 | 42 Build initiation request sent by the master to a slave. Contains the build |
43 recipe. | |
70 | 44 --> |
276 | 45 <!ELEMENT build (step+)> |
46 <!ELEMENT step ANY> | |
47 <!ATTLIST step | |
48 id ID #REQUIRED | |
49 title CDATA #IMPLIED | |
50 onerror (fail|ignore) #IMPLIED> | |
70 | 51 |
52 <!-- | |
53 Build request acknowledgement. | |
54 --> | |
55 <!ELEMENT started EMPTY> | |
87
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
56 <!ATTLIST started |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
57 time CDATA> |
70 | 58 |
59 <!-- | |
60 Build status reporting: ANS payload sent by the slave for every build step | |
61 processed. | |
62 --> | |
276 | 63 <!ELEMENT step (error|log|report)*> |
70 | 64 <!ATTLIST step |
65 id ID #REQUIRED | |
66 result (success|failure) #REQUIRED | |
87
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
67 description CDATA #IMPLIED |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
68 time CDATA #REQUIRED |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
69 duration CDATA #REQUIRED> |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
70 |
276 | 71 <!ELEMENT log (message+)> |
72 <!ATTLIST log | |
73 generator CDATA #IMPLIED> | |
74 <!ELEMENT message #PCDATA> | |
75 <!ATTLIST message | |
76 level (debug|info|warning|error) #IMPLIED> | |
77 | |
78 <!ELEMENT report ANY> | |
79 <!ATTLIST report | |
80 category CDATA #REQUIRED | |
81 generator CDATA #IMPLIED> | |
82 | |
87
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
83 <!-- |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
84 Completion of a build by the slave, independent of outcome. |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
85 --> |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
86 <!ELEMENT completed #PCDATA> |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
87 <!ATTLIST completed |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
88 result (success|failure) #REQUIRED |
94b703e2114d
Update orchestration profile DTD to current state of implementation.
cmlenz
parents:
70
diff
changeset
|
89 time CDATA> |
70 | 90 |
91 <!-- | |
92 Cancellation of a build by the slave. | |
93 --> | |
94 <!ELEMENT aborted #PCDATA> |