Skip to content

Commit ecdf888

Browse files
Correct issue 205, prepare for release edition-agen-1 (#206)
1 parent bcac2c7 commit ecdf888

File tree

5 files changed

+399
-2
lines changed

5 files changed

+399
-2
lines changed

eiffel-syntax-and-usage/versioning.md

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ That being said, to facilitate compatibility and consistency, the Eiffel protoco
2929
| Arica | _Reserved for future use._ | |
3030
| Lyon | _Reserved for future use._ | |
3131
| Paris | _Reserved for future use._ | |
32+
| Agen-1 | [edition-agen-1](../../../tree/edition-agen-1) | Maintenance release to solve [Issue 205](https://github.com/eiffel-community/eiffel/issues/205). |
3233
| Agen | [edition-agen](../../../tree/edition-agen) | Introduced [EiffelIssueDefinedEvent](../eiffel-vocabulary/EiffelIssueDefinedEvent.md). Updated meta.security of all event types. Changed from GAV to purl based artifact identification. Introduced automated packaging of schema files for edition tags. Added detailed rules and examples for event type version stepping. |
3334
| Toulouse | [edition-toulouse](../../../tree/edition-toulouse) | Stepped major version of TERCC. Updated FLOW_CONTEXT link type, resulting in new minor version of all event types. |
3435
| Bordeaux | [edition-bordeaux](../../../tree/edition-bordeaux) | Initial edition. |

eiffel-vocabulary/EiffelActivityStartedEvent.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ __Description:__ The number of the event within the named sequence.
200200
## Version History
201201
| Version | Introduced in | Changes |
202202
| --------- | ------------------------------------------------------ | --------------------------------------- |
203-
| 3.0.0 | [edition-agen](../../../tree/edition-agen) | Improved information integrity protection | (see [Issue 185](https://github.com/eiffel-community/eiffel/issues/185)) |
203+
| 4.0.0 | [edition-agen-1](../../../tree/edition-agen-1) | Bug fix in schema file (see [Issue 205](https://github.com/eiffel-community/eiffel/issues/205)) |
204+
| 3.0.0 | [edition-agen](../../../tree/edition-agen) | Improved information integrity protection (see [Issue 185](https://github.com/eiffel-community/eiffel/issues/185)) |
204205
| 2.0.0 | [dc5ec6f](../../../blob/dc5ec6fb87e293eeffe88fdafe698eec0f5a2c89/eiffel-vocabulary/EiffelActivityStartedEvent.md) | Introduced purl identifiers instead of GAVs (see [Issue 182](https://github.com/eiffel-community/eiffel/issues/182)) |
205206
| 1.1.0 | [edition-toulouse](../../../tree/edition-toulouse) | Multiple links of type FLOW_CONTEXT allowed. |
206207
| 1.0.0 | [edition-bordeaux](../../../tree/edition-bordeaux) | Initial version. |

eiffel-vocabulary/EiffelActivityTriggeredEvent.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ __Description:__ The number of the event within the named sequence.
207207
## Version History
208208
| Version | Introduced in | Changes |
209209
| --------- | ------------------------------------------------------ | --------------------------------------- |
210-
| 3.0.0 | [edition-agen](../../../tree/edition-agen) | Improved information integrity protection | (see [Issue 185](https://github.com/eiffel-community/eiffel/issues/185)) |
210+
| 4.0.0 | [edition-agen-1](../../../tree/edition-agen-1) | Bug fix in schema file (see [Issue 205](https://github.com/eiffel-community/eiffel/issues/205)) |
211+
| 3.0.0 | [edition-agen](../../../tree/edition-agen) | Improved information integrity protection (see [Issue 185](https://github.com/eiffel-community/eiffel/issues/185)) |
211212
| 2.0.0 | [dc5ec6f](../../../blob/dc5ec6fb87e293eeffe88fdafe698eec0f5a2c89/eiffel-vocabulary/EiffelActivityTriggeredEvent.md) | Introduced purl identifiers instead of GAVs (see [Issue 182](https://github.com/eiffel-community/eiffel/issues/182)) |
212213
| 1.1.0 | [edition-toulouse](../../../tree/edition-toulouse) | Multiple links of type FLOW_CONTEXT allowed. |
213214
| 1.0.0 | [edition-bordeaux](../../../tree/edition-bordeaux) | Initial version. |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"type": "object",
4+
"properties": {
5+
"meta": {
6+
"type": "object",
7+
"properties": {
8+
"id": {
9+
"type": "string",
10+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
11+
},
12+
"type": {
13+
"type": "string",
14+
"enum": ["EiffelActivityStartedEvent"]
15+
},
16+
"version": {
17+
"type": "string",
18+
"enum": [ "4.0.0" ],
19+
"default": "4.0.0"
20+
},
21+
"time": {
22+
"type": "integer"
23+
},
24+
"tags": {
25+
"type": "array",
26+
"items": {
27+
"type": "string"
28+
}
29+
},
30+
"source": {
31+
"type": "object",
32+
"properties": {
33+
"domainId": {
34+
"type": "string"
35+
},
36+
"host": {
37+
"type": "string"
38+
},
39+
"name": {
40+
"type": "string"
41+
},
42+
"serializer": {
43+
"type": "string",
44+
"pattern": "^pkg:"
45+
},
46+
"uri": {
47+
"type": "string"
48+
}
49+
},
50+
"additionalProperties": false
51+
},
52+
"security": {
53+
"type": "object",
54+
"properties": {
55+
"authorIdentity": {
56+
"type": "string"
57+
},
58+
"integrityProtection": {
59+
"type": "object",
60+
"properties": {
61+
"signature": {
62+
"type": "string"
63+
},
64+
"alg": {
65+
"type": "string",
66+
"enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"]
67+
},
68+
"publicKey": {
69+
"type": "string"
70+
}
71+
},
72+
"required": [
73+
"signature",
74+
"alg"
75+
],
76+
"additionalProperties": false
77+
},
78+
"sequenceProtection": {
79+
"type": "array",
80+
"items": {
81+
"type": "object",
82+
"properties": {
83+
"sequenceName": {
84+
"type": "string"
85+
},
86+
"position": {
87+
"type": "integer"
88+
}
89+
},
90+
"additionalProperties": false,
91+
"required": [
92+
"sequenceName",
93+
"position"
94+
]
95+
}
96+
}
97+
},
98+
"additionalProperties": false,
99+
"required": [
100+
"authorIdentity"
101+
]
102+
}
103+
},
104+
"required": [
105+
"id",
106+
"type",
107+
"version",
108+
"time"
109+
],
110+
"additionalProperties": false
111+
},
112+
"data": {
113+
"type": "object",
114+
"properties": {
115+
"executionUri": {
116+
"type": "string"
117+
},
118+
"liveLogs": {
119+
"type": "array",
120+
"items": {
121+
"type": "object",
122+
"properties": {
123+
"name": {
124+
"type": "string"
125+
},
126+
"uri": {
127+
"type": "string"
128+
}
129+
},
130+
"required": [
131+
"name",
132+
"uri"
133+
],
134+
"additionalProperties": false
135+
}
136+
},
137+
"customData": {
138+
"type": "array",
139+
"items": {
140+
"type": "object",
141+
"properties": {
142+
"key": {
143+
"type": "string"
144+
},
145+
"value": {
146+
}
147+
},
148+
"required": [
149+
"key",
150+
"value"
151+
],
152+
"additionalProperties": false
153+
}
154+
}
155+
},
156+
"additionalProperties": false
157+
},
158+
"links": {
159+
"type": "array",
160+
"items": {
161+
"type": "object",
162+
"properties": {
163+
"type": {
164+
"type": "string"
165+
},
166+
"target": {
167+
"type": "string",
168+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
169+
}
170+
},
171+
"required": [
172+
"type",
173+
"target"
174+
],
175+
"additionalProperties": false
176+
}
177+
}
178+
},
179+
"required": [
180+
"meta",
181+
"data",
182+
"links"
183+
],
184+
"additionalProperties": false
185+
}

0 commit comments

Comments
 (0)