From 47b9e06a3f5018baae6091e88fb8388d2c4b6827 Mon Sep 17 00:00:00 2001 From: LeoQi Date: Fri, 20 Jul 2018 02:36:15 +0800 Subject: function of generating workflow config file in server part of testing-scheduler JIRA BOTTLENECK-233 A module to help generating the config files which are sent to conductor server. Based on these config files, conductor can start a workflow. Change-Id: Ibdd71be6454fe2bd2b8718da0c300827897959e0 Signed-off-by: Zheng Qibin --- .../conductor_processor/defaultWorkflowFile.json | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json (limited to 'testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json') diff --git a/testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json b/testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json new file mode 100644 index 00000000..8f6251c0 --- /dev/null +++ b/testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json @@ -0,0 +1,24 @@ +{ + "name": "workflow_demo_05", + "description": "run a workflow of yardstick test service", + "version": 1, + "tasks": [ + { + "name": "http_yardstick_test", + "taskReferenceName": "ping_test", + "inputParameters": { + "http_request": { + "uri": "http://192.168.199.105:8080/greet", + "method": "GET" + } + }, + "type": "HTTP" + } + ], + "outputParameters": { + "header": "${ping_test.output.response.headers}", + "response": "${ping_test.output.response.body}", + "status": "${ping_test.output.response.statusCode}" + }, + "schemaVersion": 2 +} \ No newline at end of file -- cgit 1.2.3-korg