aboutsummaryrefslogtreecommitdiffstats
path: root/deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json')
-rw-r--r--deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json218
1 files changed, 218 insertions, 0 deletions
diff --git a/deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json b/deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json
new file mode 100644
index 00000000..6defc343
--- /dev/null
+++ b/deprecated-workflow-designer/distribution/src/main/assembly/ext-activities.json
@@ -0,0 +1,218 @@
+[
+ {
+ "id": "apds_service",
+ "displayName": {
+ "zh_CN": "Service",
+ "en_US": "Service"
+ },
+ "description": {
+ "zh_CN": "JAVA 节点",
+ "en_US": "JAVA Node"
+ },
+ "type": "serviceTask",
+ "icon": {
+ "name": "apds_service",
+ "width": 56,
+ "height": 56
+ },
+ "content": {
+ "class": "",
+ "inputs": {}
+ }
+ },
+ {
+ "id": "apds_script",
+ "displayName": {
+ "zh_CN": "默认脚本",
+ "en_US": "Script"
+ },
+ "description": {
+ "zh_CN": "脚本节点",
+ "en_US": "Script Node"
+ },
+ "type": "scriptTask",
+ "icon": {
+ "name": "apds_script",
+ "width": 56,
+ "height": 56
+ },
+ "content": {
+ "scriptFormat": "",
+ "script": ""
+ }
+ },
+ {
+ "id": "apds_scriptA",
+ "displayName": {
+ "zh_CN": "Stop traffic",
+ "en_US": "Stop traffic"
+ },
+ "description": {
+ "zh_CN": "Stop traffic",
+ "en_US": "Stop traffic"
+ },
+ "type": "scriptTask",
+ "icon": {
+ "name": "apds_script",
+ "width": 56,
+ "height": 56
+ },
+ "content": {
+ "scriptFormat": "JavaScript",
+ "script": "abc"
+ }
+ },
+ {
+ "id": "apds_scriptB",
+ "displayName": {
+ "zh_CN": "Drain traffic",
+ "en_US": "Drain traffic"
+ },
+ "description": {
+ "zh_CN": "Drain traffic",
+ "en_US": "Drain traffic"
+ },
+ "type": "scriptTask",
+ "icon": {
+ "name": "apds_script",
+ "width": 56,
+ "height": 56
+ },
+ "content": {
+ "scriptFormat": "Groovy",
+ "script": "xyz"
+ }
+ },
+ {
+ "id": "apds_serviceA",
+ "displayName": {
+ "zh_CN": "Stop VNF",
+ "en_US": "Stop VNF"
+ },
+ "description": {
+ "zh_CN": "Stop VNF",
+ "en_US": "Stop VNF"
+ },
+ "type": "serviceTask",
+ "icon": {
+ "name": "apds_service",
+ "width": 56,
+ "height": 56
+ },
+ "content": {
+ "class": "org.onap.sdc.workflow.task.StopVNFDelegate",
+ "inputs": {
+ "param1": {
+ "type": "string",
+ "default": "default",
+ "required": false,
+ "displayName": {
+ "zh_CN": "参数1",
+ "en_US": "Param1"
+ },
+ "show": true,
+ "editable": true
+ },
+ "param2": {
+ "type": "string",
+ "required": true,
+ "displayName": {
+ "zh_CN": "参数2",
+ "en_US": "Param2"
+ },
+ "show": true,
+ "editable": true
+ },
+ "param3": {
+ "type": "string",
+ "default": "value3",
+ "required": true,
+ "displayName": {
+ "zh_CN": "参数3",
+ "en_US": "Param3"
+ },
+ "show": true,
+ "editable": false
+ }
+ },
+ "outputs": {
+ "out1": {
+ "type": "string",
+ "required": false,
+ "displayName": {
+ "zh_CN": "输出1",
+ "en_US": "Output Param 1"
+ },
+ "show": true,
+ "editable": true
+ }
+ }
+ }
+ },
+ {
+ "id": "apds_serviceB",
+ "displayName": {
+ "zh_CN": "Create VNF",
+ "en_US": "Create VNF"
+ },
+ "description": {
+ "zh_CN": "Create VNF",
+ "en_US": "Create VNF"
+ },
+ "type": "serviceTask",
+ "icon": {
+ "name": "apds_service",
+ "width": 56,
+ "height": 56
+ },
+ "content": {
+ "class": "org.onap.sdc.workflow.task.CreateVNFDelegate",
+ "inputs": {
+ "id": {
+ "type": "string",
+ "default": "default",
+ "required": false,
+ "displayName": {
+ "zh_CN": "id",
+ "en_US": "id"
+ },
+ "show": true,
+ "editable": true
+ },
+ "name": {
+ "type": "string",
+ "required": true,
+ "displayName": {
+ "zh_CN": "name",
+ "en_US": "name"
+ },
+ "show": true,
+ "editable": true
+ },
+ "type": {
+ "type": "string",
+ "default": "value3",
+ "required": true,
+ "displayName": {
+ "zh_CN": "type",
+ "en_US": "type"
+ },
+ "show": true,
+ "editable": false
+ }
+ },
+ "outputs": {
+ "status": {
+ "type": "string",
+ "required": false,
+ "displayName": {
+ "zh_CN": "status",
+ "en_US": "status of vnf"
+ },
+ "show": true,
+ "editable": true
+ }
+ }
+ }
+ }
+]