From c79087597e1861d12b691d1db4011641a78ab3c1 Mon Sep 17 00:00:00 2001 From: Wojciech Sliwka Date: Wed, 13 Feb 2019 10:38:09 +0100 Subject: workflow parameters API Change-Id: If79e410608a0562ddef86d9a3a451d4addf66a0f Issue-ID: VID-419 Signed-off-by: Wojciech Sliwka --- .../changeManagement/workflow_parameters.json | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters.json (limited to 'vid-ext-services-simulator/src/main/resources/preset_registration/changeManagement/workflow_parameters.json') 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 -- cgit 1.2.3-korg