Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #564 from treblereel/mappingScalarstoSequences
test cases for Mapping Scalars to Sequences
- Loading branch information
Showing
3 changed files
with
114 additions
and
0 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
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,8 @@ | ||
american: | ||
- Boston Red Sox | ||
- Detroit Tigers | ||
- New York Yankees | ||
national: | ||
- New York Mets | ||
- Chicago Cubs | ||
- Atlanta Braves |
31 changes: 31 additions & 0 deletions
31
src/test/resources/mappingScalarstoSequencesComplexCase.yml
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,31 @@ | ||
id: deliverorderworkflow | ||
name: Deliver Order Workflow | ||
version: '1.0.0' | ||
specVersion: '0.8' | ||
start: Dispatch Courier | ||
states: | ||
- name: Dispatch Courier | ||
type: operation | ||
actions: | ||
- functionRef: Dispatch Courrier Function | ||
transition: Wait for Order Pickup | ||
- name: Wait for Order Pickup | ||
type: event | ||
onEvents: | ||
- eventRefs: | ||
- Order Picked Up Event | ||
eventDataFilter: | ||
data: "${ .data.status }" | ||
toStateData: "${ .status }" | ||
actions: | ||
- functionRef: Deliver Order Function | ||
transition: Wait for Delivery Confirmation | ||
- name: Wait for Delivery Confirmation | ||
type: event | ||
onEvents: | ||
- eventRefs: | ||
- Order Delievered Event | ||
eventDataFilter: | ||
data: "${ .data.status }" | ||
toStateData: "${ .status }" | ||
end: true |