Skip to content

Commit 7a527f0

Browse files
authored
Update to Orizaba (#57)
1 parent 4cfcb35 commit 7a527f0

File tree

13 files changed

+1913
-20
lines changed

13 files changed

+1913
-20
lines changed

src/eiffellib/events/eiffel_activity_triggered_event.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2022 Axis Communications AB and others.
1+
# Copyright 2019-2024 Axis Communications AB and others.
22
#
33
# For a full list of individual contributors, please see the commit history.
44
#
@@ -17,8 +17,12 @@
1717
1818
https://github.com/eiffel-community/eiffel/blob/master/eiffel-vocabulary/EiffelActivityTriggeredEvent.md
1919
"""
20-
from eiffellib.events.eiffel_base_event import (EiffelBaseEvent, EiffelBaseLink,
21-
EiffelBaseData, EiffelBaseMeta)
20+
from eiffellib.events.eiffel_base_event import (
21+
EiffelBaseData,
22+
EiffelBaseEvent,
23+
EiffelBaseLink,
24+
EiffelBaseMeta,
25+
)
2226

2327

2428
class EiffelActivityTriggeredLink(EiffelBaseLink):
@@ -32,7 +36,7 @@ class EiffelActivityTriggeredData(EiffelBaseData):
3236
class EiffelActivityTriggeredEvent(EiffelBaseEvent):
3337
"""Eiffel activity triggered event."""
3438

35-
version = "4.2.0"
39+
version = "4.3.0"
3640

3741
def __init__(self, *args, **kwargs):
3842
"""Initialize data, meta and links."""

src/eiffellib/events/eiffel_confidence_level_modified_event.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2022 Axis Communications AB and others.
1+
# Copyright 2019-2024 Axis Communications AB and others.
22
#
33
# For a full list of individual contributors, please see the commit history.
44
#
@@ -17,8 +17,12 @@
1717
1818
https://github.com/eiffel-community/eiffel/blob/master/eiffel-vocabulary/EiffelConfidenceLevelModifiedEvent.md
1919
"""
20-
from eiffellib.events.eiffel_base_event import (EiffelBaseEvent, EiffelBaseLink,
21-
EiffelBaseData, EiffelBaseMeta)
20+
from eiffellib.events.eiffel_base_event import (
21+
EiffelBaseData,
22+
EiffelBaseEvent,
23+
EiffelBaseLink,
24+
EiffelBaseMeta,
25+
)
2226

2327

2428
class EiffelConfidenceLevelModifiedLink(EiffelBaseLink):
@@ -32,7 +36,7 @@ class EiffelConfidenceLevelModifiedData(EiffelBaseData):
3236
class EiffelConfidenceLevelModifiedEvent(EiffelBaseEvent):
3337
"""Eiffel confidence level modified event."""
3438

35-
version = "3.2.0"
39+
version = "3.3.0"
3640

3741
def __init__(self, *args, **kwargs):
3842
"""Initialize data, meta and links."""

src/eiffellib/events/eiffel_issue_verified_event.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2022 Axis Communications AB and others.
1+
# Copyright 2019-2024 Axis Communications AB and others.
22
#
33
# For a full list of individual contributors, please see the commit history.
44
#
@@ -17,8 +17,12 @@
1717
1818
https://github.com/eiffel-community/eiffel/blob/master/eiffel-vocabulary/EiffelIssueVerifiedEvent.md
1919
"""
20-
from eiffellib.events.eiffel_base_event import (EiffelBaseEvent, EiffelBaseLink,
21-
EiffelBaseData, EiffelBaseMeta)
20+
from eiffellib.events.eiffel_base_event import (
21+
EiffelBaseData,
22+
EiffelBaseEvent,
23+
EiffelBaseLink,
24+
EiffelBaseMeta,
25+
)
2226

2327

2428
class EiffelIssueVerifiedLink(EiffelBaseLink):
@@ -32,7 +36,7 @@ class EiffelIssueVerifiedData(EiffelBaseData):
3236
class EiffelIssueVerifiedEvent(EiffelBaseEvent):
3337
"""Eiffel issue verified event."""
3438

35-
version = "4.2.0"
39+
version = "4.3.0"
3640

3741
def __init__(self, *args, **kwargs):
3842
"""Initialize data, meta and links."""

src/eiffellib/events/eiffel_test_case_triggered_event.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2022 Axis Communications AB and others.
1+
# Copyright 2019-2024 Axis Communications AB and others.
22
#
33
# For a full list of individual contributors, please see the commit history.
44
#
@@ -17,8 +17,12 @@
1717
1818
https://github.com/eiffel-community/eiffel/blob/master/eiffel-vocabulary/EiffelTestCaseTriggeredEvent.md
1919
"""
20-
from eiffellib.events.eiffel_base_event import (EiffelBaseEvent, EiffelBaseLink,
21-
EiffelBaseData, EiffelBaseMeta)
20+
from eiffellib.events.eiffel_base_event import (
21+
EiffelBaseData,
22+
EiffelBaseEvent,
23+
EiffelBaseLink,
24+
EiffelBaseMeta,
25+
)
2226

2327

2428
class EiffelTestCaseTriggeredLink(EiffelBaseLink):
@@ -32,7 +36,7 @@ class EiffelTestCaseTriggeredData(EiffelBaseData):
3236
class EiffelTestCaseTriggeredEvent(EiffelBaseEvent):
3337
"""Eiffel test case triggered event."""
3438

35-
version = "3.2.0"
39+
version = "3.5.0"
3640

3741
def __init__(self, *args, **kwargs):
3842
"""Initialize data, meta and links."""

src/eiffellib/events/eiffel_test_suite_started_event.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2022 Axis Communications AB and others.
1+
# Copyright 2019-2024 Axis Communications AB and others.
22
#
33
# For a full list of individual contributors, please see the commit history.
44
#
@@ -17,8 +17,12 @@
1717
1818
https://github.com/eiffel-community/eiffel/blob/master/eiffel-vocabulary/EiffelTestSuiteStartedEvent.md
1919
"""
20-
from eiffellib.events.eiffel_base_event import (EiffelBaseEvent, EiffelBaseLink,
21-
EiffelBaseData, EiffelBaseMeta)
20+
from eiffellib.events.eiffel_base_event import (
21+
EiffelBaseData,
22+
EiffelBaseEvent,
23+
EiffelBaseLink,
24+
EiffelBaseMeta,
25+
)
2226

2327

2428
class EiffelTestSuiteStartedLink(EiffelBaseLink):
@@ -32,7 +36,7 @@ class EiffelTestSuiteStartedData(EiffelBaseData):
3236
class EiffelTestSuiteStartedEvent(EiffelBaseEvent):
3337
"""Eiffel test suite started event."""
3438

35-
version = "3.3.0"
39+
version = "3.4.0"
3640

3741
def __init__(self, *args, **kwargs):
3842
"""Initialize data, meta and links."""
Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
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": [
15+
"EiffelActivityTriggeredEvent"
16+
]
17+
},
18+
"version": {
19+
"type": "string",
20+
"enum": [
21+
"4.3.0"
22+
],
23+
"default": "4.3.0"
24+
},
25+
"time": {
26+
"type": "integer"
27+
},
28+
"tags": {
29+
"type": "array",
30+
"items": {
31+
"type": "string"
32+
}
33+
},
34+
"source": {
35+
"type": "object",
36+
"properties": {
37+
"domainId": {
38+
"type": "string"
39+
},
40+
"host": {
41+
"type": "string"
42+
},
43+
"name": {
44+
"type": "string"
45+
},
46+
"serializer": {
47+
"type": "string",
48+
"pattern": "^pkg:"
49+
},
50+
"uri": {
51+
"type": "string"
52+
}
53+
},
54+
"additionalProperties": false
55+
},
56+
"security": {
57+
"type": "object",
58+
"properties": {
59+
"authorIdentity": {
60+
"type": "string"
61+
},
62+
"integrityProtection": {
63+
"type": "object",
64+
"properties": {
65+
"signature": {
66+
"type": "string"
67+
},
68+
"alg": {
69+
"type": "string",
70+
"enum": [
71+
"HS256",
72+
"HS384",
73+
"HS512",
74+
"RS256",
75+
"RS384",
76+
"RS512",
77+
"ES256",
78+
"ES384",
79+
"ES512",
80+
"PS256",
81+
"PS384",
82+
"PS512"
83+
]
84+
},
85+
"publicKey": {
86+
"type": "string"
87+
}
88+
},
89+
"required": [
90+
"signature",
91+
"alg"
92+
],
93+
"additionalProperties": false
94+
},
95+
"sequenceProtection": {
96+
"type": "array",
97+
"items": {
98+
"type": "object",
99+
"properties": {
100+
"sequenceName": {
101+
"type": "string"
102+
},
103+
"position": {
104+
"type": "integer"
105+
}
106+
},
107+
"additionalProperties": false,
108+
"required": [
109+
"sequenceName",
110+
"position"
111+
]
112+
}
113+
}
114+
},
115+
"additionalProperties": false,
116+
"required": [
117+
"authorIdentity"
118+
]
119+
},
120+
"schemaUri": {
121+
"type": "string"
122+
}
123+
},
124+
"required": [
125+
"id",
126+
"type",
127+
"version",
128+
"time"
129+
],
130+
"additionalProperties": false
131+
},
132+
"data": {
133+
"type": "object",
134+
"properties": {
135+
"name": {
136+
"type": "string"
137+
},
138+
"categories": {
139+
"type": "array",
140+
"items": {
141+
"type": "string"
142+
}
143+
},
144+
"triggers": {
145+
"type": "array",
146+
"items": {
147+
"type": "object",
148+
"properties": {
149+
"type": {
150+
"type": "string",
151+
"enum": [
152+
"MANUAL",
153+
"EIFFEL_EVENT",
154+
"SOURCE_CHANGE",
155+
"TIMER",
156+
"OTHER"
157+
]
158+
},
159+
"description": {
160+
"type": "string"
161+
}
162+
},
163+
"required": [
164+
"type"
165+
],
166+
"additionalProperties": false
167+
}
168+
},
169+
"executionType": {
170+
"type": "string",
171+
"enum": [
172+
"MANUAL",
173+
"SEMI_AUTOMATED",
174+
"AUTOMATED",
175+
"OTHER"
176+
]
177+
},
178+
"customData": {
179+
"type": "array",
180+
"items": {
181+
"type": "object",
182+
"properties": {
183+
"key": {
184+
"type": "string"
185+
},
186+
"value": {}
187+
},
188+
"required": [
189+
"key",
190+
"value"
191+
],
192+
"additionalProperties": false
193+
}
194+
}
195+
},
196+
"required": [
197+
"name"
198+
],
199+
"additionalProperties": false
200+
},
201+
"links": {
202+
"type": "array",
203+
"items": {
204+
"type": "object",
205+
"properties": {
206+
"type": {
207+
"type": "string"
208+
},
209+
"target": {
210+
"type": "string",
211+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
212+
},
213+
"domainId": {
214+
"type": "string"
215+
}
216+
},
217+
"required": [
218+
"type",
219+
"target"
220+
],
221+
"additionalProperties": false
222+
}
223+
}
224+
},
225+
"required": [
226+
"meta",
227+
"data",
228+
"links"
229+
],
230+
"additionalProperties": false
231+
}

0 commit comments

Comments
 (0)