summaryrefslogtreecommitdiffstats
path: root/distribution/src/main/assembly/temp_workflow.json
diff options
context:
space:
mode:
authorYuanHu <yuan.hu1@zte.com.cn>2018-03-21 10:06:57 +0800
committerYuanHu <yuan.hu1@zte.com.cn>2018-03-21 10:06:57 +0800
commitb3c577ab841bcba502ade66dfbd2521537cee0b5 (patch)
tree5d9c915726677f25e1a8a34715d45a0851243949 /distribution/src/main/assembly/temp_workflow.json
parent6989bde42302cb914776aaf318a2c9b5f9c15c8e (diff)
Sava Workflow Artifact to SDC
Sava Workflow Artifact to SDC Issue-ID: SDC-1004 Change-Id: Ifab77db0d3b739304c0eff283aef3d382f6bf4bb Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'distribution/src/main/assembly/temp_workflow.json')
-rw-r--r--distribution/src/main/assembly/temp_workflow.json143
1 files changed, 143 insertions, 0 deletions
diff --git a/distribution/src/main/assembly/temp_workflow.json b/distribution/src/main/assembly/temp_workflow.json
new file mode 100644
index 00000000..0d314b45
--- /dev/null
+++ b/distribution/src/main/assembly/temp_workflow.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