aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-bdd/resources
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-workflow-bdd/resources')
-rw-r--r--sdc-workflow-bdd/resources/json/createActivitySpec.json23
-rw-r--r--sdc-workflow-bdd/resources/json/createWorkflow.json4
-rw-r--r--sdc-workflow-bdd/resources/json/versionWith2Inputs2Outputs1.json27
-rw-r--r--sdc-workflow-bdd/resources/json/versionWith2Inputs2Outputs2.json27
-rw-r--r--sdc-workflow-bdd/resources/json/versionWithDuplicateInputName.json27
-rw-r--r--sdc-workflow-bdd/resources/json/versionWithDuplicateOutputName.json27
6 files changed, 135 insertions, 0 deletions
diff --git a/sdc-workflow-bdd/resources/json/createActivitySpec.json b/sdc-workflow-bdd/resources/json/createActivitySpec.json
new file mode 100644
index 00000000..bf1b6012
--- /dev/null
+++ b/sdc-workflow-bdd/resources/json/createActivitySpec.json
@@ -0,0 +1,23 @@
+{
+ "name": "RANDOM",
+ "description": "Start Server",
+ "categoryList": [
+ "Server"
+ ],
+ "inputs": [
+ {
+ "name": "host",
+ "type": "string",
+ "value": "10.1.2.3"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "status",
+ "type": "string",
+ "value": "started"
+ }
+ ],
+ "type": "string",
+ "content": "test"
+} \ No newline at end of file
diff --git a/sdc-workflow-bdd/resources/json/createWorkflow.json b/sdc-workflow-bdd/resources/json/createWorkflow.json
new file mode 100644
index 00000000..cc200efb
--- /dev/null
+++ b/sdc-workflow-bdd/resources/json/createWorkflow.json
@@ -0,0 +1,4 @@
+{
+ "name": "RANDOM",
+ "description": "Workflow Description"
+} \ No newline at end of file
diff --git a/sdc-workflow-bdd/resources/json/versionWith2Inputs2Outputs1.json b/sdc-workflow-bdd/resources/json/versionWith2Inputs2Outputs1.json
new file mode 100644
index 00000000..cc0a38ef
--- /dev/null
+++ b/sdc-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/sdc-workflow-bdd/resources/json/versionWith2Inputs2Outputs2.json b/sdc-workflow-bdd/resources/json/versionWith2Inputs2Outputs2.json
new file mode 100644
index 00000000..58f9b2b8
--- /dev/null
+++ b/sdc-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
diff --git a/sdc-workflow-bdd/resources/json/versionWithDuplicateInputName.json b/sdc-workflow-bdd/resources/json/versionWithDuplicateInputName.json
new file mode 100644
index 00000000..978d9c09
--- /dev/null
+++ b/sdc-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/sdc-workflow-bdd/resources/json/versionWithDuplicateOutputName.json b/sdc-workflow-bdd/resources/json/versionWithDuplicateOutputName.json
new file mode 100644
index 00000000..4810ebe9
--- /dev/null
+++ b/sdc-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