forked from eiffel-community/eiffel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stepped EiffelTestExecutionRecipeCollectionCreatedEvent to 2.0.0
As per issue eiffel-community#149. In 2.0.0 of the event, the syntax of data.batches.recipes.constraints changed to comply with protocol design guidelines. It is no longer an uncontrolled object, but a list of key-value pair, identical to data.customData.
- Loading branch information
1 parent
03a3340
commit b328196
Showing
5 changed files
with
368 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
examples/events/EiffelTestExecutionRecipeCollectionCreatedEvent/batches-1.0.0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"meta": { | ||
"type": "EiffelTestExecutionRecipeCollectionCreatedEvent", | ||
"version": "1.0.0", | ||
"time": 1234567890, | ||
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee0" | ||
}, | ||
"data": { | ||
"selectionStrategy": { | ||
"tracker": "My Test Selector", | ||
"id": "TCSS-1234/5", | ||
"uri": "http://tm.company.com/browse/TCSS-1234?version=5" | ||
}, | ||
"batches": [ | ||
{ | ||
"name": "First batch", | ||
"priority": 1, | ||
"recipes": [ | ||
{ | ||
"id": "aaaaaaaa-bbbb-5ccc-addd-eeeeeeeeeee0", | ||
"testCase": { | ||
"tracker": "My Test Management System", | ||
"id": "TC-1234", | ||
"uri": "http://tm.company.com/browse/TC-1234" | ||
}, | ||
"constraints": { | ||
"load": 10000, | ||
"environment": { | ||
"os": "ubuntu-15.04", | ||
"MY_PATH": "/home/lt-worf" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "aaaaaaaa-bbbb-5ccc-addd-eeeeeeeeeee1", | ||
"testCase": { | ||
"tracker": "My Test Management System", | ||
"id": "TC-1234", | ||
"uri": "http://tm.company.com/browse/TC-1234" | ||
}, | ||
"constraints": { | ||
"load": 500, | ||
"environment": { | ||
"os": "ubuntu-16.04.1", | ||
"MY_PATH": "/home/cpt-picard" | ||
} | ||
} | ||
} | ||
], | ||
"dependencies": [ | ||
{ | ||
"dependent": "aaaaaaaa-bbbb-5ccc-addd-eeeeeeeeeee0", | ||
"dependency": "aaaaaaaa-bbbb-5ccc-addd-eeeeeeeeeee1" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"links": [ | ||
{ | ||
"type": "CONTEXT", | ||
"target": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee1" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/events/EiffelTestExecutionRecipeCollectionCreatedEvent/batchesUri.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.