aboutsummaryrefslogtreecommitdiffstats
path: root/distribution
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
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')
-rw-r--r--distribution/src/main/assembly/bin/run.bat2
-rw-r--r--distribution/src/main/assembly/bin/run.sh2
-rw-r--r--distribution/src/main/assembly/temp_workflow.json274
3 files changed, 136 insertions, 142 deletions
diff --git a/distribution/src/main/assembly/bin/run.bat b/distribution/src/main/assembly/bin/run.bat
index 9ef96478..40467718 100644
--- a/distribution/src/main/assembly/bin/run.bat
+++ b/distribution/src/main/assembly/bin/run.bat
@@ -21,7 +21,7 @@ cd /d %main_path%
set JAVA="%JAVA_HOME%\bin\java.exe"
set port=12345
set jvm_opts=-Xms50m -Xmx128m
-rem set jvm_opts=%jvm_opts% -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=%port%,server=y,suspend=y
+set jvm_opts=%jvm_opts% -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=%port%,server=y,suspend=n
set class_path=%main_path%;%main_path%sdc-workflow-designer.jar
echo ### jvm_opts: %jvm_opts%
echo ### class_path: %class_path%
diff --git a/distribution/src/main/assembly/bin/run.sh b/distribution/src/main/assembly/bin/run.sh
index 15f96598..05d0dfd8 100644
--- a/distribution/src/main/assembly/bin/run.sh
+++ b/distribution/src/main/assembly/bin/run.sh
@@ -21,7 +21,7 @@ main_path=$RUNHOME/../
cd $main_path
JAVA_OPTS="-Xms50m -Xmx128m"
port=12345
-#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n"
+JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$port,server=y,suspend=n"
echo @JAVA_OPTS@ $JAVA_OPTS
class_path="$main_path/:$main_path/sdc-workflow-designer.jar"
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