summaryrefslogtreecommitdiffstats
path: root/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-02-13 10:38:09 +0100
committerWojciech Sliwka <wojciech.sliwka@nokia.com>2019-02-21 15:27:45 +0100
commitc79087597e1861d12b691d1db4011641a78ab3c1 (patch)
tree18ddd459a96d2c92dfd52735c4253231d8013ffd /vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement
parent67d99f816cc583643c35193197594cf78d8ce60a (diff)
workflow parameters API
Change-Id: If79e410608a0562ddef86d9a3a451d4addf66a0f Issue-ID: VID-419 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
Diffstat (limited to 'vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement')
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters.json41
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_1.json20
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_2.json27
-rw-r--r--vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_3.json34
4 files changed, 122 insertions, 0 deletions
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters.json
new file mode 100644
index 000000000..0bc683c41
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters.json
@@ -0,0 +1,41 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/so/workflow-parameters"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "parameterDefinitions": [
+ {
+ "id": 1,
+ "name": "general param 1",
+ "required": true,
+ "type": "STRING",
+ "pattern": "[0-9]*"
+ },
+ {
+ "id": 2,
+ "name": "general param 2",
+ "required": false,
+ "type": "STRING",
+ "pattern": "[-+]?[0-9]*\\.?[0-9]*"
+ },
+ {
+ "id": 3,
+ "name": "general param 3",
+ "required": true,
+ "type": "STRING",
+ "pattern": "[a-zA-Z0-9]{7}"
+ },
+ {
+ "id": 4,
+ "name": "general param 4",
+ "required": true,
+ "type": "STRING",
+ "pattern": "[0-9]{3}"
+ }
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_1.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_1.json
new file mode 100644
index 000000000..8dd5ad8f4
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_1.json
@@ -0,0 +1,20 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/so/workflow-parameters/1"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "parameterDefinitions": [
+ {
+ "id": 1,
+ "name": "[FIRST]parameter 1",
+ "required": true,
+ "type": "STRING",
+ "pattern": "[0-9]*"
+ }
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_2.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_2.json
new file mode 100644
index 000000000..8ce37bc04
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_2.json
@@ -0,0 +1,27 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/so/workflow-parameters/2"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "parameterDefinitions": [
+ {
+ "id": 1,
+ "name": "[SECOND] parameter 1",
+ "required": true,
+ "type": "STRING",
+ "pattern": "[0-9]*"
+ },
+ {
+ "id": 2,
+ "name": "[SECOND] parameter 2",
+ "required": false,
+ "type": "STRING",
+ "pattern": "[a-zA-Z0-9]*"
+ }
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_3.json b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_3.json
new file mode 100644
index 000000000..6815d5b58
--- /dev/null
+++ b/vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters_3.json
@@ -0,0 +1,34 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/so/workflow-parameters/3"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "parameterDefinitions": [
+ {
+ "id": 1,
+ "name": "[THIRD] parameter 1",
+ "required": true,
+ "type": "STRING",
+ "pattern": "[0-9]*"
+ },
+ {
+ "id": 2,
+ "name": "[THIRD] parameter 2",
+ "required": false,
+ "type": "STRING",
+ "pattern": "[a-zA-Z]*"
+ },
+ {
+ "id": 3,
+ "name": "[THIRD] parameter 3",
+ "required": true,
+ "type": "STRING",
+ "pattern": "[0-9]{3}"
+ }
+ ]
+ }
+ }
+} \ No newline at end of file