summaryrefslogtreecommitdiffstats
path: root/distribution/src/main/assembly/temp_workflow.json
diff options
context:
space:
mode:
authorYuanHu <yuan.hu1@zte.com.cn>2018-03-27 10:44:16 +0800
committerYuanHu <yuan.hu1@zte.com.cn>2018-03-27 10:44:16 +0800
commitafc775574a186e17858f0f99f9d1e152738d498c (patch)
treee1dbe834d6060d3c4f79bab650a348ea899970b4 /distribution/src/main/assembly/temp_workflow.json
parent7e6405c9f6b060a517ac11be307853024d3d4426 (diff)
Update Sample Data for Workflow.
Remove Chinese Characters from Sample Data of Workflow. Issue-ID: SDC-1128 Change-Id: I057d99d8be850a6f37c525e7dad519aabedca405 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.json274
1 files changed, 134 insertions, 140 deletions
diff --git a/distribution/src/main/assembly/temp_workflow.json b/distribution/src/main/assembly/temp_workflow.json
index 1b44d91e..2de95107 100644
--- a/distribution/src/main/assembly/temp_workflow.json
+++ b/distribution/src/main/assembly/temp_workflow.json
@@ -1,143 +1,137 @@
{
- "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":[
-
- ]
- }
+ "id": "id12345",
+ "name": "test",
+ "scene": "abcd",
+ "data": {
+ "nodes": [
+ {
+ "id": "node0",
+ "type": "startEvent",
+ "name": "Start",
+ "parentId": "root",
+ "position": {
+ "left": 99,
+ "top": 131,
+ "width": 56,
+ "height": 56
+ },
+ "connection": [
+ {
+ "sourceRef": "node0",
+ "targetRef": "serviceTask"
+ }
+ ],
+ "parameters": [
+ {
+ "name": "aaa",
+ "value": "a111",
+ "valueSource": "string",
+ "type": "string",
+ "required": false,
+ "show": true,
+ "errorMsg": ""
+ },
+ {
+ "name": "bbb",
+ "value": "b111",
+ "valueSource": "string",
+ "type": "string",
+ "required": false,
+ "show": true,
+ "errorMsg": ""
+ }
]
- }
+ },
+ {
+ "id": "node2",
+ "type": "endEvent",
+ "name": "End",
+ "parentId": "root",
+ "position": {
+ "left": 459,
+ "top": 131,
+ "width": 56,
+ "height": 56
+ },
+ "connection": []
+ },
+ {
+ "id": "serviceTask",
+ "type": "serviceTask",
+ "typeId": "apds_serviceA",
+ "icon": "apds_service",
+ "name": "JAVA A",
+ "parentId": "root",
+ "position": {
+ "left": 232,
+ "top": 131,
+ "width": 56,
+ "height": 56
+ },
+ "connection": [
+ {
+ "sourceRef": "serviceTask",
+ "targetRef": "scriptTask"
+ }
+ ],
+ "className": "ddd",
+ "inputs": [
+ {
+ "name": "param1",
+ "valueSource": "string",
+ "type": "string",
+ "required": false,
+ "show": false,
+ "errorMsg": ""
+ },
+ {
+ "name": "param2",
+ "valueSource": "string",
+ "type": "string",
+ "required": true,
+ "show": true,
+ "errorMsg": ""
+ },
+ {
+ "name": "param3",
+ "valueSource": "string",
+ "type": "string",
+ "required": true,
+ "show": true,
+ "errorMsg": ""
+ }
+ ],
+ "outputs": [
+ {
+ "name": "out1",
+ "valueSource": "string",
+ "type": "string",
+ "required": false,
+ "show": true,
+ "errorMsg": ""
+ }
+ ]
+ },
+ {
+ "id": "scriptTask",
+ "type": "scriptTask",
+ "typeId": "apds_scriptB",
+ "icon": "apds_script",
+ "name": "Groovy",
+ "parentId": "root",
+ "position": {
+ "left": 335,
+ "top": 131,
+ "width": 56,
+ "height": 56
+ },
+ "connection": [
+ {
+ "sourceRef": "scriptTask",
+ "targetRef": "node2"
+ }
+ ]
+ }
+ ]
+ }
} \ No newline at end of file