Platform Hardening for DG Json files - Part 3
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / APPC_Start_VM.json
1 [\r
2     {\r
3         "id": "d52f4308.555fb",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 96.99993896484375,\r
8         "y": 54,\r
9         "z": "1cdd4efa.2a36b1",\r
10         "wires": [\r
11             [\r
12                 "763cad7e.1450b4"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "763cad7e.1450b4",\r
18         "type": "service-logic",\r
19         "name": "APPC 2.0.0",\r
20         "module": "APPC",\r
21         "version": "2.0.0",\r
22         "comments": "",\r
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",\r
24         "outputs": 1,\r
25         "x": 141.99993896484375,\r
26         "y": 137,\r
27         "z": "1cdd4efa.2a36b1",\r
28         "wires": [\r
29             [\r
30                 "812b1c37.4885c"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "812b1c37.4885c",\r
36         "type": "method",\r
37         "name": "Start VM",\r
38         "xml": "<method rpc='Start_VM' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 301.99993896484375,\r
42         "y": 137,\r
43         "z": "1cdd4efa.2a36b1",\r
44         "wires": [\r
45             [\r
46                 "c47aa6c9.8c9378"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "280842c.c99e1be",\r
52         "type": "call",\r
53         "name": "Start Application ",\r
54         "xml": "<call module='`$ApplicationStart.dg_module`' rpc='`$ApplicationStart.dg_name`' version='`$ApplicationStart.dg_version`' mode='sync'  >\n",\r
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 766.9999771118164,\r
58         "y": 336.0000305175781,\r
59         "z": "1cdd4efa.2a36b1",\r
60         "wires": [\r
61             [\r
62                 "144156f7.572b29",\r
63                 "7eab80e5.2adb3",\r
64                 "70e14c1f.8e34e4"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "144156f7.572b29",\r
70         "type": "success",\r
71         "name": "success",\r
72         "xml": "<outcome value='success'>\n",\r
73         "comments": "",\r
74         "outputs": 1,\r
75         "x": 998.9999771118164,\r
76         "y": 266.9998779296875,\r
77         "z": "1cdd4efa.2a36b1",\r
78         "wires": [\r
79             [\r
80                 "96fd3f86.877cb"\r
81             ]\r
82         ]\r
83     },\r
84     {\r
85         "id": "7eab80e5.2adb3",\r
86         "type": "failure",\r
87         "name": "failure",\r
88         "xml": "<outcome value='failure'>\n",\r
89         "comments": "",\r
90         "outputs": 1,\r
91         "x": 996.9999771118164,\r
92         "y": 407.9999694824219,\r
93         "z": "1cdd4efa.2a36b1",\r
94         "wires": [\r
95             [\r
96                 "deb77571.89feb8"\r
97             ]\r
98         ]\r
99     },\r
100     {\r
101         "id": "db549b18.455358",\r
102         "type": "returnSuccess",\r
103         "name": "return success",\r
104         "xml": "<return status='success'>\n",\r
105         "comments": "",\r
106         "x": 1378.0005493164062,\r
107         "y": 262.9998779296875,\r
108         "z": "1cdd4efa.2a36b1",\r
109         "wires": []\r
110     },\r
111     {\r
112         "id": "c47aa6c9.8c9378",\r
113         "type": "execute",\r
114         "name": "Resolve Application Start DG",\r
115         "xml": "<execute plugin='org.onap.appc.dg.common.DgResolverPlugin' method='resolveDg'>\n<parameter name=\"vnfType\" value='`$vnf.type`' />\n<parameter name=\"vnfcType\" value='`$vnfcType`' />\n<parameter name=\"action\" value=\"Start_Application\" />\n<parameter name=\"api-ver\" value=\"2.0.0\" />\n<parameter name=\"prefix\" value=\"ApplicationStart\" />\n<parameter name=\"DGResolutionType\" value=\"VNFC\" />\n",\r
116         "comments": "",\r
117         "outputs": 1,\r
118         "x": 349,\r
119         "y": 238,\r
120         "z": "1cdd4efa.2a36b1",\r
121         "wires": [\r
122             [\r
123                 "ba0ce95d.a32d48",\r
124                 "cc32ed95.f1246"\r
125             ]\r
126         ]\r
127     },\r
128     {\r
129         "id": "ba0ce95d.a32d48",\r
130         "type": "failure",\r
131         "name": "failure",\r
132         "xml": "<outcome value='failure'>\n",\r
133         "comments": "",\r
134         "outputs": 1,\r
135         "x": 604,\r
136         "y": 143,\r
137         "z": "1cdd4efa.2a36b1",\r
138         "wires": [\r
139             [\r
140                 "c89af7a5.6217e8"\r
141             ]\r
142         ]\r
143     },\r
144     {\r
145         "id": "cc32ed95.f1246",\r
146         "type": "success",\r
147         "name": "success",\r
148         "xml": "<outcome value='success'>\n",\r
149         "comments": "",\r
150         "outputs": 1,\r
151         "x": 598.9999771118164,\r
152         "y": 336.0000305175781,\r
153         "z": "1cdd4efa.2a36b1",\r
154         "wires": [\r
155             [\r
156                 "280842c.c99e1be"\r
157             ]\r
158         ]\r
159     },\r
160     {\r
161         "id": "c89af7a5.6217e8",\r
162         "type": "block",\r
163         "name": "block : atomic",\r
164         "xml": "<block atomic='true'>",\r
165         "atomic": "true",\r
166         "comments": "",\r
167         "outputs": 1,\r
168         "x": 770.0000610351562,\r
169         "y": 142,\r
170         "z": "1cdd4efa.2a36b1",\r
171         "wires": [\r
172             [\r
173                 "e4e7b04c.adb7d",\r
174                 "d2671f6c.53d78",\r
175                 "735a4bd9.4bb604"\r
176             ]\r
177         ]\r
178     },\r
179     {\r
180         "id": "e4e7b04c.adb7d",\r
181         "type": "record",\r
182         "name": "Log message",\r
183         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",\r
184         "comments": "",\r
185         "outputs": 1,\r
186         "x": 992,\r
187         "y": 143,\r
188         "z": "1cdd4efa.2a36b1",\r
189         "wires": [\r
190             []\r
191         ]\r
192     },\r
193     {\r
194         "id": "735a4bd9.4bb604",\r
195         "type": "set",\r
196         "name": "Set failure code and message",\r
197         "xml": "<set>\n<parameter name='error-code' value=\"401\"/>\n<parameter name='error-message' value=\"`'Failed to resolve Application start DG for : ' + $vnfcType`\"/>\n",\r
198         "comments": "",\r
199         "x": 1037,\r
200         "y": 98.88888549804688,\r
201         "z": "1cdd4efa.2a36b1",\r
202         "wires": []\r
203     },\r
204     {\r
205         "id": "d2671f6c.53d78",\r
206         "type": "returnFailure",\r
207         "name": "return failure",\r
208         "xml": "<return status='failure'>\n",\r
209         "comments": "",\r
210         "x": 989.9998779296875,\r
211         "y": 186.00006103515625,\r
212         "z": "1cdd4efa.2a36b1",\r
213         "wires": []\r
214     },\r
215     {\r
216         "id": "70e14c1f.8e34e4",\r
217         "type": "not-found",\r
218         "name": "not-found",\r
219         "xml": "<outcome value='not-found'>\n",\r
220         "comments": "",\r
221         "outputs": 1,\r
222         "x": 996.5555191040039,\r
223         "y": 335.8888854980469,\r
224         "z": "1cdd4efa.2a36b1",\r
225         "wires": [\r
226             [\r
227                 "bbaacbc9.6e42a8"\r
228             ]\r
229         ]\r
230     },\r
231     {\r
232         "id": "bbaacbc9.6e42a8",\r
233         "type": "block",\r
234         "name": "block : atomic",\r
235         "xml": "<block atomic='true'>",\r
236         "atomic": "true",\r
237         "comments": "",\r
238         "outputs": 1,\r
239         "x": 1172.222267150879,\r
240         "y": 336.8888854980469,\r
241         "z": "1cdd4efa.2a36b1",\r
242         "wires": [\r
243             [\r
244                 "2620f33d.ba7aac",\r
245                 "d98a42e2.78acd",\r
246                 "87259f65.26a31"\r
247             ]\r
248         ]\r
249     },\r
250     {\r
251         "id": "2620f33d.ba7aac",\r
252         "type": "set",\r
253         "name": "Set failure code and message",\r
254         "xml": "<set>\n<parameter name='error-code' value=\"401\"/>\n<parameter name='error-message' value=\"`'Application Start DG not found for : ' + $vnfcType`\" />\n",\r
255         "comments": "",\r
256         "x": 1426.5555419921875,\r
257         "y": 316.77777099609375,\r
258         "z": "1cdd4efa.2a36b1",\r
259         "wires": []\r
260     },\r
261     {\r
262         "id": "d98a42e2.78acd",\r
263         "type": "record",\r
264         "name": "Log message",\r
265         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$error-message`\"/>\n",\r
266         "comments": "",\r
267         "outputs": 1,\r
268         "x": 1381.5554809570312,\r
269         "y": 362.8888854980469,\r
270         "z": "1cdd4efa.2a36b1",\r
271         "wires": [\r
272             []\r
273         ]\r
274     },\r
275     {\r
276         "id": "87259f65.26a31",\r
277         "type": "returnFailure",\r
278         "name": "return failure",\r
279         "xml": "<return status='failure'>\n",\r
280         "comments": "",\r
281         "x": 1379.555519104004,\r
282         "y": 408.8888854980469,\r
283         "z": "1cdd4efa.2a36b1",\r
284         "wires": []\r
285     },\r
286     {\r
287         "id": "deb77571.89feb8",\r
288         "type": "block",\r
289         "name": "block : atomic",\r
290         "xml": "<block atomic='true'>",\r
291         "atomic": "true",\r
292         "comments": "",\r
293         "outputs": 1,\r
294         "x": 1155.555549621582,\r
295         "y": 407.8888854980469,\r
296         "z": "1cdd4efa.2a36b1",\r
297         "wires": [\r
298             [\r
299                 "d98a42e2.78acd",\r
300                 "87259f65.26a31"\r
301             ]\r
302         ]\r
303     },\r
304     {\r
305         "id": "96fd3f86.877cb",\r
306         "type": "block",\r
307         "name": "block : atomic",\r
308         "xml": "<block atomic='true'>",\r
309         "atomic": "true",\r
310         "comments": "",\r
311         "outputs": 1,\r
312         "x": 1172.9999389648438,\r
313         "y": 264,\r
314         "z": "1cdd4efa.2a36b1",\r
315         "wires": [\r
316             [\r
317                 "db549b18.455358",\r
318                 "ba9d1c0b.3d282"\r
319             ]\r
320         ]\r
321     },\r
322     {\r
323         "id": "ba9d1c0b.3d282",\r
324         "type": "set",\r
325         "name": "Set success code and message",\r
326         "xml": "<set>\n<parameter name='error-code' value=\"400\"/>\n<parameter name='error-message' value=\"Success\" />\n",\r
327         "comments": "",\r
328         "x": 1430.9999389648438,\r
329         "y": 218,\r
330         "z": "1cdd4efa.2a36b1",\r
331         "wires": []\r
332     }\r
333 ]\r