Skip to content

Commit

Permalink
Added license notices and meta.security to new event types.
Browse files Browse the repository at this point in the history
  • Loading branch information
d-stahl-ericsson committed Apr 11, 2017
1 parent 2735963 commit 4af48a5
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 1 deletion.
17 changes: 17 additions & 0 deletions eiffel-vocabulary/EiffelTestCaseCanceledEvent.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!---
Copyright 2017 Ericsson AB.
For a full list of individual contributors, please see the commit history.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--->

# EiffelTestCaseCanceledEvent (TCC)
The EiffelTestCaseCanceledEvent declares that a previously triggered test case execution (represented by [EiffelTestCaseTriggeredEvent](./EiffelTestCaseTriggeredEvent.md)) has been canceled _before it has started_. This is typically used in queuing situations where a queued execution is dequeued. It is recommended that __CAUSE__ links be used to indicate the reason.

Expand Down
17 changes: 17 additions & 0 deletions eiffel-vocabulary/EiffelTestCaseTriggeredEvent.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!---
Copyright 2017 Ericsson AB.
For a full list of individual contributors, please see the commit history.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--->

# EiffelTestCaseTriggeredEvent (TCT)
The EiffelTestCaseTriggeredEvent declares that the execution of a test case has been triggered, but not yet started. This can either be declared stand-alone or as part of an activity or test suite, using either a __CAUSE__ or a __CONTEXT__ link type, respectively.

Expand Down
8 changes: 7 additions & 1 deletion examples/events/EiffelTestCaseTriggeredEvent/simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"type": "EiffelTestCaseTriggeredEvent",
"version": "1.0.0",
"time": 1234567890,
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee0"
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee0",
"security": {
"sdm": {
"authorIdentity": "My Test Management System",
"encryptedDigest": "a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a"
}
}
},
"data": {
"testCase": {
Expand Down
22 changes: 22 additions & 0 deletions schemas/EiffelTestCaseCanceledEvent/1.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,28 @@
}
},
"additionalProperties": false
},
"security": {
"type": "object",
"properties": {
"sdm": {
"type": "object",
"properties": {
"authorIdentity": {
"type": "string"
},
"encryptedDigest": {
"type": "string"
}
},
"required": [
"authorIdentity",
"encryptedDigest"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
Expand Down
22 changes: 22 additions & 0 deletions schemas/EiffelTestCaseTriggeredEvent/1.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,28 @@
}
},
"additionalProperties": false
},
"security": {
"type": "object",
"properties": {
"sdm": {
"type": "object",
"properties": {
"authorIdentity": {
"type": "string"
},
"encryptedDigest": {
"type": "string"
}
},
"required": [
"authorIdentity",
"encryptedDigest"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
Expand Down

0 comments on commit 4af48a5

Please sign in to comment.