From 0541e2e4f483dc52db595af119534fa1e4a83e30 Mon Sep 17 00:00:00 2001 From: YuanHu Date: Mon, 26 Feb 2018 19:42:07 +0800 Subject: Provide sample data for WF Designer Adapter sample of serviceTask. sample of scriptTask. sample of workflow. Issue-ID: SDC-1038 Change-Id: Iedd4391472b65aa7df444ce8427096eab1130eff Signed-off-by: YuanHu --- distribution/src/main/assembly/model.json | 143 ++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 distribution/src/main/assembly/model.json (limited to 'distribution/src/main/assembly/model.json') diff --git a/distribution/src/main/assembly/model.json b/distribution/src/main/assembly/model.json new file mode 100644 index 00000000..0d314b45 --- /dev/null +++ b/distribution/src/main/assembly/model.json @@ -0,0 +1,143 @@ +{ + "id":"id12345", + "name":"test", + "scene":"abcd", + "data":{ + "nodes":[ + { + "id":"node0", + "type":"startEvent", + "name":"开始", + "parentId":"root", + "position":{ + "left":100, + "top":136, + "width":56, + "height":56 + }, + "connection":[ + { + "sourceRef":"node0", + "targetRef":"node1" + } + ], + "parameters":[ + + ] + }, + { + "id":"node1", + "type":"restTask", + "name":"REST", + "parentId":"root", + "position":{ + "left":254, + "top":136, + "width":56, + "height":56 + }, + "connection":[ + { + "sourceRef":"node1", + "targetRef":"node2" + } + ], + "produces":[ + "application/json; charset=utf-8" + ], + "parameters":[ + { + "name":"body", + "value":{ + "value":{ + "type":{ + "value":"jhgjhv", + "valueSource":"String" + }, + "provider":{ + "value":"", + "valueSource":"Variable" + }, + "serviceType":{ + "value":"", + "valueSource":"String" + }, + "start":{ + "value":{ + "year":{ + "value":"", + "valueSource":"String" + }, + "month":{ + "value":"", + "valueSource":"String" + }, + "day":{ + "value":"", + "valueSource":"String" + } + }, + "valueSource":"Definition" + }, + "end":{ + "value":{ + "year":{ + "value":"", + "valueSource":"String" + }, + "month":{ + "value":"", + "valueSource":"String" + }, + "day":{ + "value":"", + "valueSource":"String" + } + }, + "valueSource":"Definition" + } + }, + "valueSource":"Definition" + }, + "valueSource":"String", + "type":"String", + "required":false, + "position":"body", + "schema":{ + "$ref":"#/definitions/PackageQueryParams" + } + }, + { + "name":"language-option", + "value":"", + "valueSource":"String", + "type":"String", + "required":false, + "position":"header" + } + ], + "responses":[ + + ], + "restConfigId":"catalog.v1", + "path":"/csars", + "method":"post" + }, + { + "id":"node2", + "type":"endEvent", + "name":"结束", + "parentId":"root", + "position":{ + "left":396, + "top":136, + "width":56, + "height":56 + }, + "connection":[ + + ] + } + ] + } +} \ No newline at end of file -- cgit 1.2.3-korg