aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-bdd/resources
diff options
context:
space:
mode:
authortalig <talig@amdocs.com>2018-09-26 09:33:04 +0300
committertalig <talig@amdocs.com>2018-09-26 09:33:04 +0300
commit373f52e9080ec7b5c0fb0b2c371bd557060bc9ae (patch)
tree3b8ac1ec3222314f81d97d46721d81df052e2146 /workflow-bdd/resources
parentac89252d0999c9916915e7997261a681b39544a1 (diff)
Add version request/response DTOs.
In order to prevent duplicate key error when updating input/output parameters - hide their internal Ids. Change-Id: I9bd23cb0b6559a94e32c5c7d75f3e0135822bcb1 Issue-ID: SDC-1793 Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'workflow-bdd/resources')
-rw-r--r--workflow-bdd/resources/json/versionWithDuplicateInputName.json27
-rw-r--r--workflow-bdd/resources/json/versionWithDuplicateOutputName.json27
2 files changed, 54 insertions, 0 deletions
diff --git a/workflow-bdd/resources/json/versionWithDuplicateInputName.json b/workflow-bdd/resources/json/versionWithDuplicateInputName.json
new file mode 100644
index 00000000..978d9c09
--- /dev/null
+++ b/workflow-bdd/resources/json/versionWithDuplicateInputName.json
@@ -0,0 +1,27 @@
+{
+ "description": "version with with duplicate input name",
+ "inputs": [
+ {
+ "mandatory": true,
+ "name": "in1",
+ "type": "STRING"
+ },
+ {
+ "mandatory": true,
+ "name": "in1",
+ "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/versionWithDuplicateOutputName.json b/workflow-bdd/resources/json/versionWithDuplicateOutputName.json
new file mode 100644
index 00000000..4810ebe9
--- /dev/null
+++ b/workflow-bdd/resources/json/versionWithDuplicateOutputName.json
@@ -0,0 +1,27 @@
+{
+ "description": "version with duplicate output name",
+ "inputs": [
+ {
+ "mandatory": true,
+ "name": "in1",
+ "type": "STRING"
+ },
+ {
+ "mandatory": true,
+ "name": "in2",
+ "type": "INTEGER"
+ }
+ ],
+ "outputs": [
+ {
+ "mandatory": true,
+ "name": "out1",
+ "type": "TIMESTAMP"
+ },
+ {
+ "mandatory": true,
+ "name": "out1",
+ "type": "BOOLEAN"
+ }
+ ]
+} \ No newline at end of file