This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
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 #37 from mark-burnett/matrix-parallel-by
Add support for parallel by multiple times on the same input
- Loading branch information
Showing
7 changed files
with
110 additions
and
50 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
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
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
8 changes: 8 additions & 0 deletions
8
tests/api/v1/system_tests/nested_parallel_by_operation_matrix_inputs/result.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,8 @@ | ||
{ | ||
"outputs": { | ||
"out_matrix": [ | ||
["Simba", "Tabby", "Emilio"], | ||
["Pluto", "Snoopy"] | ||
] | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
tests/api/v1/system_tests/nested_parallel_by_operation_matrix_inputs/submit.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,43 @@ | ||
{ | ||
"parallelBy": "in_matrix", | ||
|
||
"tasks": { | ||
"A": { | ||
"methods": [ | ||
{ | ||
"name": "execute", | ||
"service": "ShellCommand", | ||
"parameters": { | ||
"commandLine": ["cat"] | ||
} | ||
} | ||
], | ||
"parallelBy": "name" | ||
} | ||
}, | ||
|
||
"edges": [ | ||
{ | ||
"source": "input connector", | ||
"destination": "A", | ||
"sourceProperty": "in_matrix", | ||
"destinationProperty": "name" | ||
}, | ||
|
||
{ | ||
"source": "A", | ||
"destination": "output connector", | ||
"sourceProperty": "name", | ||
"destinationProperty": "out_matrix" | ||
} | ||
], | ||
|
||
"inputs": { | ||
"in_matrix": [ | ||
["Simba", "Tabby", "Emilio"], | ||
["Pluto", "Snoopy"] | ||
] | ||
}, | ||
|
||
"environment": {} | ||
} |