2018-09-17 15:56:28 |
Oleg Ovcharuk |
description |
Whenever we want to save multiple wf from one yaml, every saved wf will have all this input in their definitions. This behavior doesn't match with saving one wf. This could be bad for users, who want to parse definition. |
Whenever we want to save multiple wf from one yaml, every saved wf will have all this input in their definitions. This behavior doesn't match with saving one wf. This could be bad for users, who want to parse definition.
For example:
I want to create two workflows from file wfs.yaml
"""
version: '2.0'
wf1:
type: direct
tasks:
task1:
action: std.noop
wf2:
type: direct
tasks:
task1:
action: std.noop
"""
mistral workflow-get-definition wf1
Expected output:
"""
version: '2.0'
wf1:
type: direct
tasks:
task1:
action: std.noop
"""
Actual output:
"""
version: '2.0'
wf1:
type: direct
tasks:
task1:
action: std.noop
wf2:
type: direct
tasks:
task1:
action: std.noop
"""
The same behavior appears when I want to update wfs. |
|