From 02201e449b644790e99bbb230579d96cae4a53da Mon Sep 17 00:00:00 2001 From: talig Date: Sun, 5 Aug 2018 10:47:36 +0300 Subject: Refactor and add test flows Small fix in version state filter Change-Id: I015cbc52b8620b92ebb4f8f0167711e39d9d30a8 Issue-ID: SDC-1503 Signed-off-by: talig --- .../json/createVersionWithInputsOutputs.json | 17 -------------- .../json/versionWith2Inputs2Outputs1.json | 27 ++++++++++++++++++++++ .../json/versionWith2Inputs2Outputs2.json | 27 ++++++++++++++++++++++ 3 files changed, 54 insertions(+), 17 deletions(-) delete mode 100644 workflow-bdd/resources/json/createVersionWithInputsOutputs.json create mode 100644 workflow-bdd/resources/json/versionWith2Inputs2Outputs1.json create mode 100644 workflow-bdd/resources/json/versionWith2Inputs2Outputs2.json (limited to 'workflow-bdd/resources') diff --git a/workflow-bdd/resources/json/createVersionWithInputsOutputs.json b/workflow-bdd/resources/json/createVersionWithInputsOutputs.json deleted file mode 100644 index a9b6c3de..00000000 --- a/workflow-bdd/resources/json/createVersionWithInputsOutputs.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "description": "first version - with inputs and outputs", - "inputs": [ - { - "mandatory": true, - "name": "in1", - "type": "STRING" - } - ], - "outputs": [ - { - "mandatory": true, - "name": "out1", - "type": "TIMESTAMP" - } - ] -} \ No newline at end of file diff --git a/workflow-bdd/resources/json/versionWith2Inputs2Outputs1.json b/workflow-bdd/resources/json/versionWith2Inputs2Outputs1.json new file mode 100644 index 00000000..cc0a38ef --- /dev/null +++ b/workflow-bdd/resources/json/versionWith2Inputs2Outputs1.json @@ -0,0 +1,27 @@ +{ + "description": "version with 2 inputs and 2 outputs", + "inputs": [ + { + "mandatory": true, + "name": "in1", + "type": "STRING" + }, + { + "mandatory": true, + "name": "in2", + "type": "INTEGER" + } + ], + "outputs": [ + { + "mandatory": true, + "name": "out1", + "type": "TIMESTAMP" + }, + { + "mandatory": true, + "name": "out2", + "type": "BOOLEAN" + } + ] +} \ No newline at end of file diff --git a/workflow-bdd/resources/json/versionWith2Inputs2Outputs2.json b/workflow-bdd/resources/json/versionWith2Inputs2Outputs2.json new file mode 100644 index 00000000..58f9b2b8 --- /dev/null +++ b/workflow-bdd/resources/json/versionWith2Inputs2Outputs2.json @@ -0,0 +1,27 @@ +{ + "description": "version with 2 inputs and 2 outputs", + "inputs": [ + { + "mandatory": false, + "name": "in1", + "type": "STRING" + }, + { + "mandatory": true, + "name": "in3", + "type": "INTEGER" + } + ], + "outputs": [ + { + "mandatory": false, + "name": "out1", + "type": "TIMESTAMP" + }, + { + "mandatory": true, + "name": "out3", + "type": "BOOLEAN" + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg