Skip to content

Commit

Permalink
Add required link types and test them
Browse files Browse the repository at this point in the history
  • Loading branch information
e-backmark-ericsson committed Jan 3, 2024
1 parent b7c6d6b commit 15520ee
Show file tree
Hide file tree
Showing 26 changed files with 255 additions and 29 deletions.
6 changes: 6 additions & 0 deletions definitions/EiffelActivityCanceledEvent/3.2.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- ACTIVITY_EXECUTION
items:
$ref: ../EiffelEventLink/1.1.2.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelActivityStartedEvent/4.3.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- ACTIVITY_EXECUTION
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
7 changes: 7 additions & 0 deletions definitions/EiffelArtifactDeployedEvent/0.1.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- ARTIFACT
- ENVIRONMENT
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelArtifactPublishedEvent/3.3.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- ARTIFACT
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
7 changes: 7 additions & 0 deletions definitions/EiffelArtifactReusedEvent/3.2.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- REUSED_ARTIFACT
- COMPOSITION
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelConfidenceLevelModifiedEvent/3.4.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- SUBJECT
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelIssueVerifiedEvent/4.3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- IUT
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelTestCaseCanceledEvent/3.2.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- TEST_CASE_EXECUTION
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelTestCaseFinishedEvent/3.3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- TEST_CASE_EXECUTION
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelTestCaseStartedEvent/3.3.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- TEST_CASE_EXECUTION
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelTestCaseTriggeredEvent/3.5.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- IUT
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
6 changes: 6 additions & 0 deletions definitions/EiffelTestSuiteFinishedEvent/3.3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ properties:
additionalProperties: false
links:
type: array
contains:
type: object
properties:
type:
enum:
- TEST_SUITE_EXECUTION
items:
$ref: ../EiffelEventLink/1.1.1.yml
required:
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelActivityCanceledEvent/3.2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"ACTIVITY_EXECUTION"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelActivityStartedEvent/4.3.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"ACTIVITY_EXECUTION"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
11 changes: 11 additions & 0 deletions schemas/EiffelArtifactDeployedEvent/0.1.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,17 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"ARTIFACT",
"ENVIRONMENT"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelArtifactPublishedEvent/3.3.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"ARTIFACT"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
11 changes: 11 additions & 0 deletions schemas/EiffelArtifactReusedEvent/3.2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,17 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"REUSED_ARTIFACT",
"COMPOSITION"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelConfidenceLevelModifiedEvent/3.4.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"SUBJECT"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelIssueVerifiedEvent/4.3.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"IUT"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelTestCaseCanceledEvent/3.2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"TEST_CASE_EXECUTION"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelTestCaseFinishedEvent/3.3.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"TEST_CASE_EXECUTION"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelTestCaseStartedEvent/3.3.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"TEST_CASE_EXECUTION"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelTestCaseTriggeredEvent/3.5.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"IUT"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
10 changes: 10 additions & 0 deletions schemas/EiffelTestSuiteFinishedEvent/3.3.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,16 @@
},
"links": {
"type": "array",
"contains": {
"type": "object",
"properties": {
"type": {
"enum": [
"TEST_SUITE_EXECUTION"
]
}
}
},
"items": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit 15520ee

Please sign in to comment.