summaryrefslogtreecommitdiffstats
path: root/testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json
diff options
context:
space:
mode:
authorLeoQi <QibinZheng2014@tongji.edu.cn>2018-07-20 02:36:15 +0800
committerLeoQi <QibinZheng2014@tongji.edu.cn>2018-08-30 18:49:51 +0800
commit47b9e06a3f5018baae6091e88fb8388d2c4b6827 (patch)
tree846717c47dd1273d88a8fd40fbabe08868279f67 /testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json
parent480c3c51a0a2bcc67ac5ca1d96cb63153bf9fff8 (diff)
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 <QibinZheng2014@tongji.edu.cn>
Diffstat (limited to 'testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json')
-rw-r--r--testing-scheduler/server/src/conductor_processor/defaultWorkflowFile.json24
1 files changed, 24 insertions, 0 deletions
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