From b3c577ab841bcba502ade66dfbd2521537cee0b5 Mon Sep 17 00:00:00 2001 From: YuanHu Date: Wed, 21 Mar 2018 10:06:57 +0800 Subject: Sava Workflow Artifact to SDC Sava Workflow Artifact to SDC Issue-ID: SDC-1004 Change-Id: Ifab77db0d3b739304c0eff283aef3d382f6bf4bb Signed-off-by: YuanHu --- distribution/src/main/assembly/model.json | 143 ---------------------- distribution/src/main/assembly/temp_workflow.json | 143 ++++++++++++++++++++++ 2 files changed, 143 insertions(+), 143 deletions(-) delete mode 100644 distribution/src/main/assembly/model.json create mode 100644 distribution/src/main/assembly/temp_workflow.json (limited to 'distribution') diff --git a/distribution/src/main/assembly/model.json b/distribution/src/main/assembly/model.json deleted file mode 100644 index 0d314b45..00000000 --- a/distribution/src/main/assembly/model.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "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 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 -- cgit 1.2.3-korg