aboutsummaryrefslogtreecommitdiffstats
path: root/deprecated-workflow-designer/distribution/src/main/assembly/temp_workflow.json
blob: 112372ecf1ab2c47a83482f9126bb3e4c7231b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
  "id": "id12345",
  "name": "test",
  "scene": "abcd",
  "data": {
    "nodes": [
      {
        "id": "startEvent",
        "type": "startEvent",
        "name": "Start",
        "parentId": "root",
        "position": {
          "left": 73,
          "top": 160,
          "width": 56,
          "height": 56
        },
        "connection": [
          {
            "sourceRef": "startEvent",
            "targetRef": "scriptTask"
          }
        ],
        "parameters": []
      },
      {
        "id": "scriptTask",
        "type": "scriptTask",
        "typeId": "apds_scriptA",
        "icon": "apds_script",
        "name": "Stop traffic",
        "parentId": "root",
        "position": {
          "left": 175,
          "top": 160,
          "width": 56,
          "height": 56
        },
        "connection": [
          {
            "sourceRef": "scriptTask",
            "targetRef": "scriptTask_2"
          }
        ],
        "scriptFormat": "JavaScript",
        "script": "abc"
      },
      {
        "id": "scriptTask_2",
        "type": "scriptTask",
        "typeId": "apds_scriptB",
        "icon": "apds_script",
        "name": "Drain traffic",
        "parentId": "root",
        "position": {
          "left": 289,
          "top": 160,
          "width": 56,
          "height": 56
        },
        "connection": [
          {
            "sourceRef": "scriptTask_2",
            "targetRef": "serviceTask"
          }
        ],
        "scriptFormat": "Groovy",
        "script": "xyz"
      },
      {
        "id": "serviceTask",
        "type": "serviceTask",
        "typeId": "apds_serviceA",
        "icon": "apds_service",
        "name": "Stop VNF",
        "parentId": "root",
        "position": {
          "left": 392,
          "top": 160,
          "width": 56,
          "height": 56
        },
        "connection": [
          {
            "sourceRef": "serviceTask",
            "targetRef": "serviceTask_2"
          }
        ],
        "className": "",
        "inputs": [
          {
            "name": "param1",
            "value": "default",
            "valueSource": "string",
            "type": "string",
            "required": false,
            "show": true,
            "errorMsg": ""
          },
          {
            "name": "param2",
            "value": null,
            "valueSource": "string",
            "type": "string",
            "required": true,
            "show": true,
            "errorMsg": ""
          },
          {
            "name": "param3",
            "value": "value3",
            "valueSource": "string",
            "type": "string",
            "required": true,
            "show": true,
            "errorMsg": ""
          }
        ],
        "outputs": [
          {
            "name": "out1",
            "value": null,
            "valueSource": "string",
            "type": "string",
            "required": false,
            "show": true,
            "errorMsg": ""
          }
        ]
      },
      {
        "id": "serviceTask_2",
        "type": "serviceTask",
        "typeId": "apds_serviceB",
        "icon": "apds_service",
        "name": "Create VNF",
        "parentId": "root",
        "position": {
          "left": 500,
          "top": 160,
          "width": 56,
          "height": 56
        },
        "connection": [
          {
            "sourceRef": "serviceTask_2",
            "targetRef": "serviceTask_3"
          }
        ]
      },
      {
        "id": "serviceTask_3",
        "type": "serviceTask",
        "typeId": "apds_service",
        "icon": "apds_service",
        "name": "Start VNF",
        "parentId": "root",
        "position": {
          "left": 620,
          "top": 160,
          "width": 56,
          "height": 56
        },
        "connection": [
          {
            "sourceRef": "serviceTask_3",
            "targetRef": "endEvent"
          }
        ],
        "className": "",
        "inputs": [],
        "outputs": []
      },
      {
        "id": "endEvent",
        "type": "endEvent",
        "name": "End",
        "parentId": "root",
        "position": {
          "left": 744,
          "top": 160,
          "width": 56,
          "height": 56
        },
        "connection": []
      }
    ]
  }
}