Platform Hardening for DG Json files - Part 5
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_method_Generic_Restart.json
1 [\r
2     {\r
3         "id": "af6a33f9.dc3c3",\r
4         "type": "method",\r
5         "name": "Generic_Restart_2.0.1",\r
6         "xml": "<method rpc='Generic_Restart' mode='sync'>\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 157.515625,\r
10         "y": 178.99999749660492,\r
11         "z": "552bc61c.5a6cf8",\r
12         "wires": [\r
13             [\r
14                 "9395984d.615e28"\r
15             ]\r
16         ]\r
17     },\r
18     {\r
19         "id": "79060c35.dc7f14",\r
20         "type": "service-logic",\r
21         "name": "APPC 2.0.1",\r
22         "module": "APPC",\r
23         "version": "2.0.1",\r
24         "comments": "",\r
25         "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.1'>",\r
26         "outputs": 1,\r
27         "x": 140.515625,\r
28         "y": 129.99999749660492,\r
29         "z": "552bc61c.5a6cf8",\r
30         "wires": [\r
31             [\r
32                 "af6a33f9.dc3c3"\r
33             ]\r
34         ]\r
35     },\r
36     {\r
37         "id": "fe1d53a6.8c464",\r
38         "type": "dgstart",\r
39         "name": "DGSTART",\r
40         "outputs": 1,\r
41         "x": 132.515625,\r
42         "y": 79.99999749660492,\r
43         "z": "552bc61c.5a6cf8",\r
44         "wires": [\r
45             [\r
46                 "79060c35.dc7f14"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "aef52fb.8daedd",\r
52         "type": "execute",\r
53         "name": "execute_getVNF_Hierarchy",\r
54         "xml": "<execute plugin='org.onap.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",\r
55         "comments": "",\r
56         "outputs": 1,\r
57         "x": 328.515625,\r
58         "y": 314.9999974966049,\r
59         "z": "552bc61c.5a6cf8",\r
60         "wires": [\r
61             [\r
62                 "1f8913a9.8ae10c",\r
63                 "c0153585.a3f598"\r
64             ]\r
65         ]\r
66     },\r
67     {\r
68         "id": "1f8913a9.8ae10c",\r
69         "type": "success",\r
70         "name": "success",\r
71         "xml": "<outcome value='success'>\n",\r
72         "comments": "",\r
73         "outputs": 1,\r
74         "x": 563.8013458251953,\r
75         "y": 311.85713136196136,\r
76         "z": "552bc61c.5a6cf8",\r
77         "wires": [\r
78             [\r
79                 "52b0bec9.4c371"\r
80             ]\r
81         ]\r
82     },\r
83     {\r
84         "id": "81620c9e.a3735",\r
85         "type": "block",\r
86         "name": "block : atomic",\r
87         "xml": "<block atomic='true'>\n",\r
88         "atomic": "true",\r
89         "comments": "",\r
90         "outputs": 1,\r
91         "x": 1389.3730163574219,\r
92         "y": 306.5713938474655,\r
93         "z": "552bc61c.5a6cf8",\r
94         "wires": [\r
95             [\r
96                 "56897be6.6401b4",\r
97                 "f5b43313.3ca52"\r
98             ]\r
99         ]\r
100     },\r
101     {\r
102         "id": "56897be6.6401b4",\r
103         "type": "for",\r
104         "name": "for_each_VMs",\r
105         "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",\r
106         "comments": "",\r
107         "outputs": 1,\r
108         "x": 1582.0873489379883,\r
109         "y": 316.4285286664963,\r
110         "z": "552bc61c.5a6cf8",\r
111         "wires": [\r
112             [\r
113                 "320b17c2.41ca48"\r
114             ]\r
115         ]\r
116     },\r
117     {\r
118         "id": "320b17c2.41ca48",\r
119         "type": "block",\r
120         "name": "block : atomic",\r
121         "xml": "<block atomic='true'>\n",\r
122         "atomic": "true",\r
123         "comments": "",\r
124         "outputs": 1,\r
125         "x": 1806.0872421264648,\r
126         "y": 309.71425342559814,\r
127         "z": "552bc61c.5a6cf8",\r
128         "wires": [\r
129             [\r
130                 "d7583b82.ca48a8"\r
131             ]\r
132         ]\r
133     },\r
134     {\r
135         "id": "f5b43313.3ca52",\r
136         "type": "returnSuccess",\r
137         "name": "return success",\r
138         "xml": "<return status='success'>\n",\r
139         "comments": "",\r
140         "x": 1575.8015670776367,\r
141         "y": 373.7141617536545,\r
142         "z": "552bc61c.5a6cf8",\r
143         "wires": []\r
144     },\r
145     {\r
146         "id": "c0153585.a3f598",\r
147         "type": "failure",\r
148         "name": "failure",\r
149         "xml": "<outcome value='failure'>\n",\r
150         "comments": "",\r
151         "outputs": 1,\r
152         "x": 560.80126953125,\r
153         "y": 89.2857106924057,\r
154         "z": "552bc61c.5a6cf8",\r
155         "wires": [\r
156             [\r
157                 "8944e410.f05578"\r
158             ]\r
159         ]\r
160     },\r
161     {\r
162         "id": "14ed926a.f1008e",\r
163         "type": "returnFailure",\r
164         "name": "return failure",\r
165         "xml": "<return status='failure'>\n",\r
166         "comments": "",\r
167         "x": 930.0870590209961,\r
168         "y": 138.57142329216003,\r
169         "z": "552bc61c.5a6cf8",\r
170         "wires": []\r
171     },\r
172     {\r
173         "id": "7480a7be.e83688",\r
174         "type": "success",\r
175         "name": "success",\r
176         "xml": "<outcome value='success'>\n",\r
177         "comments": "",\r
178         "outputs": 1,\r
179         "x": 2302.5163497924805,\r
180         "y": 340.5714693069458,\r
181         "z": "552bc61c.5a6cf8",\r
182         "wires": [\r
183             [\r
184                 "cfcc7195.d7b1c"\r
185             ]\r
186         ]\r
187     },\r
188     {\r
189         "id": "e7898ad9.fecd98",\r
190         "type": "comment",\r
191         "name": "call south bound to Restart VMs",\r
192         "info": "",\r
193         "comments": "",\r
194         "x": 2136.9437408447266,\r
195         "y": 256.42858695983887,\r
196         "z": "552bc61c.5a6cf8",\r
197         "wires": []\r
198     },\r
199     {\r
200         "id": "e9132973.e97d28",\r
201         "type": "comment",\r
202         "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",\r
203         "info": "",\r
204         "comments": "",\r
205         "x": 899.2299194335938,\r
206         "y": 169.8571389913559,\r
207         "z": "552bc61c.5a6cf8",\r
208         "wires": []\r
209     },\r
210     {\r
211         "id": "4033070f.087248",\r
212         "type": "failure",\r
213         "name": "failure",\r
214         "xml": "<outcome value='failure'>\n",\r
215         "comments": "",\r
216         "outputs": 1,\r
217         "x": 2343.8015327453613,\r
218         "y": 220.85716438293457,\r
219         "z": "552bc61c.5a6cf8",\r
220         "wires": [\r
221             [\r
222                 "a4067085.ee7b4"\r
223             ]\r
224         ]\r
225     },\r
226     {\r
227         "id": "54514bc5.74c594",\r
228         "type": "switchNode",\r
229         "name": "switch",\r
230         "xml": "<switch test='`$VNF.VMCount`'>\n",\r
231         "comments": "",\r
232         "outputs": 1,\r
233         "x": 1006.373046875,\r
234         "y": 309.28571450710297,\r
235         "z": "552bc61c.5a6cf8",\r
236         "wires": [\r
237             [\r
238                 "5e3eef25.c40b4",\r
239                 "410f290.be2b4d8"\r
240             ]\r
241         ]\r
242     },\r
243     {\r
244         "id": "5e3eef25.c40b4",\r
245         "type": "other",\r
246         "name": "outcome_0",\r
247         "xml": "<outcome value='0'>\n",\r
248         "comments": "",\r
249         "outputs": 1,\r
250         "x": 1274.8014526367188,\r
251         "y": 89.42858254909515,\r
252         "z": "552bc61c.5a6cf8",\r
253         "wires": [\r
254             [\r
255                 "24a33f0c.5c66d"\r
256             ]\r
257         ]\r
258     },\r
259     {\r
260         "id": "410f290.be2b4d8",\r
261         "type": "other",\r
262         "name": "other",\r
263         "xml": "<outcome value='Other'>\n",\r
264         "comments": "",\r
265         "outputs": 1,\r
266         "x": 1223.6586532592773,\r
267         "y": 305.14287889003754,\r
268         "z": "552bc61c.5a6cf8",\r
269         "wires": [\r
270             [\r
271                 "81620c9e.a3735"\r
272             ]\r
273         ]\r
274     },\r
275     {\r
276         "id": "cfcc7195.d7b1c",\r
277         "type": "switchNode",\r
278         "name": "switch",\r
279         "xml": "<switch test='`$RESTART_STATUS`'>\n",\r
280         "comments": "",\r
281         "outputs": 1,\r
282         "x": 2378.5162963867188,\r
283         "y": 696.5714845657349,\r
284         "z": "552bc61c.5a6cf8",\r
285         "wires": [\r
286             [\r
287                 "53d1ef1b.d4ccd",\r
288                 "ddf1bec4.e5768",\r
289                 "93038779.082858"\r
290             ]\r
291         ]\r
292     },\r
293     {\r
294         "id": "93038779.082858",\r
295         "type": "success",\r
296         "name": "outcome_SUCCESS",\r
297         "xml": "<outcome value='SUCCESS'>\n",\r
298         "comments": "",\r
299         "outputs": 1,\r
300         "x": 2650.944465637207,\r
301         "y": 812.0000534057617,\r
302         "z": "552bc61c.5a6cf8",\r
303         "wires": [\r
304             [\r
305                 "2ff43640.be312a"\r
306             ]\r
307         ]\r
308     },\r
309     {\r
310         "id": "53d1ef1b.d4ccd",\r
311         "type": "other",\r
312         "name": "outcome_CONTEXT_NOT_FOUND",\r
313         "xml": "<outcome value='CONTEXT_NOT_FOUND'>\n",\r
314         "comments": "",\r
315         "outputs": 1,\r
316         "x": 2653.3734130859375,\r
317         "y": 704.4287443161011,\r
318         "z": "552bc61c.5a6cf8",\r
319         "wires": [\r
320             [\r
321                 "e8979745.ebc758"\r
322             ]\r
323         ]\r
324     },\r
325     {\r
326         "id": "ddf1bec4.e5768",\r
327         "type": "other",\r
328         "name": "outcome_ERROR",\r
329         "xml": "<outcome value='ERROR'>\n",\r
330         "comments": "",\r
331         "outputs": 1,\r
332         "x": 2632.5158767700195,\r
333         "y": 607.0000715255737,\r
334         "z": "552bc61c.5a6cf8",\r
335         "wires": [\r
336             [\r
337                 "b89b10f8.54c03"\r
338             ]\r
339         ]\r
340     },\r
341     {\r
342         "id": "d7583b82.ca48a8",\r
343         "type": "execute",\r
344         "name": "execute_Restart",\r
345         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n",\r
346         "comments": "",\r
347         "outputs": 1,\r
348         "x": 2052.801918029785,\r
349         "y": 301.85722255706787,\r
350         "z": "552bc61c.5a6cf8",\r
351         "wires": [\r
352             [\r
353                 "7480a7be.e83688",\r
354                 "4033070f.087248"\r
355             ]\r
356         ]\r
357     },\r
358     {\r
359         "id": "52b0bec9.4c371",\r
360         "type": "switchNode",\r
361         "name": "switch",\r
362         "xml": "<switch test='`$getVnfHierarchy_result`'>\n",\r
363         "comments": "",\r
364         "outputs": 1,\r
365         "x": 714.0870590209961,\r
366         "y": 309.85720574855804,\r
367         "z": "552bc61c.5a6cf8",\r
368         "wires": [\r
369             [\r
370                 "dc9fcbbd.45f078",\r
371                 "421fac7b.b6dc54"\r
372             ]\r
373         ]\r
374     },\r
375     {\r
376         "id": "421fac7b.b6dc54",\r
377         "type": "outcome",\r
378         "name": "FAILURE",\r
379         "xml": "<outcome value='FAILURE'>\n",\r
380         "comments": "",\r
381         "outputs": 1,\r
382         "x": 862.3014678955078,\r
383         "y": 580.5714167356491,\r
384         "z": "552bc61c.5a6cf8",\r
385         "wires": [\r
386             [\r
387                 "6d512cc6.dfb4f4"\r
388             ]\r
389         ]\r
390     },\r
391     {\r
392         "id": "3c5fe469.391bec",\r
393         "type": "returnFailure",\r
394         "name": "return failure",\r
395         "xml": "<return status='failure'>\n",\r
396         "comments": "",\r
397         "x": 1342.8728141784668,\r
398         "y": 657.2857354879379,\r
399         "z": "552bc61c.5a6cf8",\r
400         "wires": []\r
401     },\r
402     {\r
403         "id": "dc9fcbbd.45f078",\r
404         "type": "outcome",\r
405         "name": "SUCCESS",\r
406         "xml": "<outcome value='SUCCESS'>\n",\r
407         "comments": "",\r
408         "outputs": 1,\r
409         "x": 866.5156021118164,\r
410         "y": 310.1429055929184,\r
411         "z": "552bc61c.5a6cf8",\r
412         "wires": [\r
413             [\r
414                 "54514bc5.74c594"\r
415             ]\r
416         ]\r
417     },\r
418     {\r
419         "id": "7c57afb3.7065c",\r
420         "type": "returnFailure",\r
421         "name": "return failure",\r
422         "xml": "<return status='failure'>\n",\r
423         "comments": "",\r
424         "x": 1629.0873718261719,\r
425         "y": 143.8570989370346,\r
426         "z": "552bc61c.5a6cf8",\r
427         "wires": []\r
428     },\r
429     {\r
430         "id": "8944e410.f05578",\r
431         "type": "block",\r
432         "name": "block : atomic",\r
433         "xml": "<block atomic='true'>",\r
434         "atomic": "true",\r
435         "comments": "",\r
436         "outputs": 1,\r
437         "x": 724.8013114929199,\r
438         "y": 88.99999463558197,\r
439         "z": "552bc61c.5a6cf8",\r
440         "wires": [\r
441             [\r
442                 "2d4b92a0.39884e",\r
443                 "14ed926a.f1008e"\r
444             ]\r
445         ]\r
446     },\r
447     {\r
448         "id": "2d4b92a0.39884e",\r
449         "type": "execute",\r
450         "name": "execute",\r
451         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n",\r
452         "comments": "",\r
453         "outputs": 1,\r
454         "x": 929.9442176818848,\r
455         "y": 87.8571389913559,\r
456         "z": "552bc61c.5a6cf8",\r
457         "wires": [\r
458             [\r
459                 "f85ab919.b77d18"\r
460             ]\r
461         ]\r
462     },\r
463     {\r
464         "id": "f85ab919.b77d18",\r
465         "type": "success",\r
466         "name": "success",\r
467         "xml": "<outcome value='success'>\n",\r
468         "comments": "",\r
469         "outputs": 1,\r
470         "x": 1076.6585006713867,\r
471         "y": 84.14285409450531,\r
472         "z": "552bc61c.5a6cf8",\r
473         "wires": [\r
474             []\r
475         ]\r
476     },\r
477     {\r
478         "id": "6d512cc6.dfb4f4",\r
479         "type": "block",\r
480         "name": "block : atomic",\r
481         "xml": "<block atomic='true'>",\r
482         "atomic": "true",\r
483         "comments": "",\r
484         "outputs": 1,\r
485         "x": 1131.539535522461,\r
486         "y": 582.762011885643,\r
487         "z": "552bc61c.5a6cf8",\r
488         "wires": [\r
489             [\r
490                 "3c5fe469.391bec",\r
491                 "1243c742.ab67a9"\r
492             ]\r
493         ]\r
494     },\r
495     {\r
496         "id": "1243c742.ab67a9",\r
497         "type": "execute",\r
498         "name": "execute",\r
499         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />",\r
500         "comments": "",\r
501         "outputs": 1,\r
502         "x": 1324.444263458252,\r
503         "y": 582.1429418325424,\r
504         "z": "552bc61c.5a6cf8",\r
505         "wires": [\r
506             [\r
507                 "b53d39a2.379b98"\r
508             ]\r
509         ]\r
510     },\r
511     {\r
512         "id": "b53d39a2.379b98",\r
513         "type": "success",\r
514         "name": "success",\r
515         "xml": "<outcome value='success'>\n",\r
516         "comments": "",\r
517         "outputs": 1,\r
518         "x": 1505.7300415039062,\r
519         "y": 581.5715392827988,\r
520         "z": "552bc61c.5a6cf8",\r
521         "wires": [\r
522             []\r
523         ]\r
524     },\r
525     {\r
526         "id": "24a33f0c.5c66d",\r
527         "type": "block",\r
528         "name": "block : atomic",\r
529         "xml": "<block atomic='true'>",\r
530         "atomic": "true",\r
531         "comments": "",\r
532         "outputs": 1,\r
533         "x": 1455.087287902832,\r
534         "y": 90.85717141628265,\r
535         "z": "552bc61c.5a6cf8",\r
536         "wires": [\r
537             [\r
538                 "7c57afb3.7065c",\r
539                 "a7039c76.e8bc"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "a7039c76.e8bc",\r
545         "type": "execute",\r
546         "name": "execute",\r
547         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n",\r
548         "comments": "",\r
549         "outputs": 1,\r
550         "x": 1638.5159797668457,\r
551         "y": 87.85713994503021,\r
552         "z": "552bc61c.5a6cf8",\r
553         "wires": [\r
554             [\r
555                 "4a8bce0d.ce1b2"\r
556             ]\r
557         ]\r
558     },\r
559     {\r
560         "id": "4a8bce0d.ce1b2",\r
561         "type": "success",\r
562         "name": "success",\r
563         "xml": "<outcome value='success'>\n",\r
564         "comments": "",\r
565         "outputs": 1,\r
566         "x": 1812.3730697631836,\r
567         "y": 89.57138764858246,\r
568         "z": "552bc61c.5a6cf8",\r
569         "wires": [\r
570             []\r
571         ]\r
572     },\r
573     {\r
574         "id": "a4067085.ee7b4",\r
575         "type": "block",\r
576         "name": "block : atomic",\r
577         "xml": "<block atomic='true'>",\r
578         "atomic": "true",\r
579         "comments": "",\r
580         "outputs": 1,\r
581         "x": 2535.372848510742,\r
582         "y": 219.57143592834473,\r
583         "z": "552bc61c.5a6cf8",\r
584         "wires": [\r
585             [\r
586                 "51faf7d9.2c2d78",\r
587                 "1d564539.a927cb"\r
588             ]\r
589         ]\r
590     },\r
591     {\r
592         "id": "51faf7d9.2c2d78",\r
593         "type": "execute",\r
594         "name": "Report_Failure_in_Restart",\r
595         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />",\r
596         "comments": "",\r
597         "outputs": 1,\r
598         "x": 2782.9448776245117,\r
599         "y": 159.28574752807617,\r
600         "z": "552bc61c.5a6cf8",\r
601         "wires": [\r
602             [\r
603                 "9ba9fdba.a5bdb"\r
604             ]\r
605         ]\r
606     },\r
607     {\r
608         "id": "9ba9fdba.a5bdb",\r
609         "type": "success",\r
610         "name": "success",\r
611         "xml": "<outcome value='success'>\n",\r
612         "comments": "",\r
613         "outputs": 1,\r
614         "x": 3050.9442749023438,\r
615         "y": 159.28573989868164,\r
616         "z": "552bc61c.5a6cf8",\r
617         "wires": [\r
618             []\r
619         ]\r
620     },\r
621     {\r
622         "id": "e8979745.ebc758",\r
623         "type": "block",\r
624         "name": "block : atomic",\r
625         "xml": "<block atomic='true'>",\r
626         "atomic": "true",\r
627         "comments": "",\r
628         "outputs": 1,\r
629         "x": 2909.944835662842,\r
630         "y": 710.5715665817261,\r
631         "z": "552bc61c.5a6cf8",\r
632         "wires": [\r
633             [\r
634                 "af8d62c6.4acba",\r
635                 "bcc63431.460308"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "af8d62c6.4acba",\r
641         "type": "execute",\r
642         "name": "Report_Context_not_found",\r
643         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />",\r
644         "comments": "",\r
645         "outputs": 1,\r
646         "x": 3112.0876083374023,\r
647         "y": 660.571626663208,\r
648         "z": "552bc61c.5a6cf8",\r
649         "wires": [\r
650             [\r
651                 "e7d5e844.90a2e8"\r
652             ]\r
653         ]\r
654     },\r
655     {\r
656         "id": "e7d5e844.90a2e8",\r
657         "type": "success",\r
658         "name": "success",\r
659         "xml": "<outcome value='success'>\n",\r
660         "comments": "",\r
661         "outputs": 1,\r
662         "x": 3342.9460678100586,\r
663         "y": 660.1430530548096,\r
664         "z": "552bc61c.5a6cf8",\r
665         "wires": [\r
666             []\r
667         ]\r
668     },\r
669     {\r
670         "id": "b89b10f8.54c03",\r
671         "type": "block",\r
672         "name": "block : atomic",\r
673         "xml": "<block atomic='true'>",\r
674         "atomic": "true",\r
675         "comments": "",\r
676         "outputs": 1,\r
677         "x": 2861.945022583008,\r
678         "y": 572.0000715255737,\r
679         "z": "552bc61c.5a6cf8",\r
680         "wires": [\r
681             [\r
682                 "4e8f5ae7.5cb144",\r
683                 "cb06fc63.a2228"\r
684             ]\r
685         ]\r
686     },\r
687     {\r
688         "id": "4e8f5ae7.5cb144",\r
689         "type": "execute",\r
690         "name": "Report_Error_occoured_while_restarting_the_server",\r
691         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />",\r
692         "comments": "",\r
693         "outputs": 1,\r
694         "x": 3155.373489379883,\r
695         "y": 514.8572015762329,\r
696         "z": "552bc61c.5a6cf8",\r
697         "wires": [\r
698             [\r
699                 "5183ae4.107e85"\r
700             ]\r
701         ]\r
702     },\r
703     {\r
704         "id": "5183ae4.107e85",\r
705         "type": "success",\r
706         "name": "success",\r
707         "xml": "<outcome value='success'>\n",\r
708         "comments": "",\r
709         "outputs": 1,\r
710         "x": 3450.9449768066406,\r
711         "y": 514.0000162124634,\r
712         "z": "552bc61c.5a6cf8",\r
713         "wires": [\r
714             []\r
715         ]\r
716     },\r
717     {\r
718         "id": "cc582df4.db246",\r
719         "type": "success",\r
720         "name": "success",\r
721         "xml": "<outcome value='success'>\n",\r
722         "comments": "",\r
723         "outputs": 1,\r
724         "x": 126.515625,\r
725         "y": 317.8888829946518,\r
726         "z": "552bc61c.5a6cf8",\r
727         "wires": [\r
728             [\r
729                 "aef52fb.8daedd"\r
730             ]\r
731         ]\r
732     },\r
733     {\r
734         "id": "9395984d.615e28",\r
735         "type": "execute",\r
736         "name": "execute: flatAndAddToContext",\r
737         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
738         "comments": "",\r
739         "outputs": 1,\r
740         "x": 174.515625,\r
741         "y": 242.9999898672104,\r
742         "z": "552bc61c.5a6cf8",\r
743         "wires": [\r
744             [\r
745                 "cc582df4.db246",\r
746                 "14af60bb.47e3cf",\r
747                 "4e14bb77.d41174"\r
748             ]\r
749         ]\r
750     },\r
751     {\r
752         "id": "bcc63431.460308",\r
753         "type": "returnFailure",\r
754         "name": "return failure",\r
755         "xml": "<return status='failure'>\n",\r
756         "comments": "",\r
757         "x": 3073.516311645508,\r
758         "y": 770.0000820159912,\r
759         "z": "552bc61c.5a6cf8",\r
760         "wires": []\r
761     },\r
762     {\r
763         "id": "5e5f549.175e7ac",\r
764         "type": "returnFailure",\r
765         "name": "return failure",\r
766         "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",\r
767         "comments": "",\r
768         "x": 496.5155944824219,\r
769         "y": 521.6667379140854,\r
770         "z": "552bc61c.5a6cf8",\r
771         "wires": []\r
772     },\r
773     {\r
774         "id": "dacc5100.4d49b",\r
775         "type": "block",\r
776         "name": "block : atomic",\r
777         "xml": "<block atomic='true'>",\r
778         "atomic": "true",\r
779         "comments": "",\r
780         "outputs": 1,\r
781         "x": 283.1823425292969,\r
782         "y": 476.142964720726,\r
783         "z": "552bc61c.5a6cf8",\r
784         "wires": [\r
785             [\r
786                 "5e5f549.175e7ac",\r
787                 "fce24037.dd8"\r
788             ]\r
789         ]\r
790     },\r
791     {\r
792         "id": "fce24037.dd8",\r
793         "type": "execute",\r
794         "name": "Report_Error_Flattening_Payload_Json",\r
795         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",\r
796         "comments": "",\r
797         "outputs": 1,\r
798         "x": 572.0870361328125,\r
799         "y": 403.52388513088226,\r
800         "z": "552bc61c.5a6cf8",\r
801         "wires": [\r
802             [\r
803                 "76012751.ab8c18"\r
804             ]\r
805         ]\r
806     },\r
807     {\r
808         "id": "76012751.ab8c18",\r
809         "type": "success",\r
810         "name": "success",\r
811         "xml": "<outcome value='success'>\n",\r
812         "comments": "",\r
813         "outputs": 1,\r
814         "x": 657.3728485107422,\r
815         "y": 474.9524921178818,\r
816         "z": "552bc61c.5a6cf8",\r
817         "wires": [\r
818             []\r
819         ]\r
820     },\r
821     {\r
822         "id": "14af60bb.47e3cf",\r
823         "type": "failure",\r
824         "name": "failure",\r
825         "xml": "<outcome value='failure'>\n",\r
826         "comments": "",\r
827         "outputs": 1,\r
828         "x": 107.515625,\r
829         "y": 477.6666616201401,\r
830         "z": "552bc61c.5a6cf8",\r
831         "wires": [\r
832             [\r
833                 "dacc5100.4d49b"\r
834             ]\r
835         ]\r
836     },\r
837     {\r
838         "id": "1bb8f6fe.bd3509",\r
839         "type": "returnFailure",\r
840         "name": "return failure",\r
841         "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",\r
842         "comments": "",\r
843         "x": 478.515625,\r
844         "y": 737.6666768789291,\r
845         "z": "552bc61c.5a6cf8",\r
846         "wires": []\r
847     },\r
848     {\r
849         "id": "2064a14.03d845e",\r
850         "type": "block",\r
851         "name": "block : atomic",\r
852         "xml": "<block atomic='true'>",\r
853         "atomic": "true",\r
854         "comments": "",\r
855         "outputs": 1,\r
856         "x": 290.18234634399414,\r
857         "y": 699.1429609060287,\r
858         "z": "552bc61c.5a6cf8",\r
859         "wires": [\r
860             [\r
861                 "1bb8f6fe.bd3509",\r
862                 "ffb635d7.5302e8"\r
863             ]\r
864         ]\r
865     },\r
866     {\r
867         "id": "ffb635d7.5302e8",\r
868         "type": "execute",\r
869         "name": "Report_Error_Loading_Json_Flattening_Plugin",\r
870         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in loading Json flattening plugin\" />",\r
871         "comments": "",\r
872         "outputs": 1,\r
873         "x": 579.0870399475098,\r
874         "y": 626.523881316185,\r
875         "z": "552bc61c.5a6cf8",\r
876         "wires": [\r
877             [\r
878                 "1e11c16.878ad3f"\r
879             ]\r
880         ]\r
881     },\r
882     {\r
883         "id": "1e11c16.878ad3f",\r
884         "type": "success",\r
885         "name": "success",\r
886         "xml": "<outcome value='success'>\n",\r
887         "comments": "",\r
888         "outputs": 1,\r
889         "x": 664.3728523254395,\r
890         "y": 697.9524883031845,\r
891         "z": "552bc61c.5a6cf8",\r
892         "wires": [\r
893             []\r
894         ]\r
895     },\r
896     {\r
897         "id": "4e14bb77.d41174",\r
898         "type": "not-found",\r
899         "name": "not-found",\r
900         "xml": "<outcome value='not-found'>\n",\r
901         "comments": "",\r
902         "outputs": 1,\r
903         "x": 114.515625,\r
904         "y": 697.6666616201401,\r
905         "z": "552bc61c.5a6cf8",\r
906         "wires": [\r
907             [\r
908                 "2064a14.03d845e"\r
909             ]\r
910         ]\r
911     },\r
912     {\r
913         "id": "2ff43640.be312a",\r
914         "type": "execute",\r
915         "name": "Report_Success_in_Restart",\r
916         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n",\r
917         "comments": "",\r
918         "outputs": 1,\r
919         "x": 2937.849365234375,\r
920         "y": 826.6667461395264,\r
921         "z": "552bc61c.5a6cf8",\r
922         "wires": [\r
923             [\r
924                 "9961b241.892d8",\r
925                 "88f3bd16.d9abb"\r
926             ]\r
927         ]\r
928     },\r
929     {\r
930         "id": "9961b241.892d8",\r
931         "type": "success",\r
932         "name": "success",\r
933         "xml": "<outcome value='success'>\n",\r
934         "comments": "",\r
935         "outputs": 1,\r
936         "x": 3210.8493843078613,\r
937         "y": 902.6667432785034,\r
938         "z": "552bc61c.5a6cf8",\r
939         "wires": [\r
940             []\r
941         ]\r
942     },\r
943     {\r
944         "id": "88f3bd16.d9abb",\r
945         "type": "failure",\r
946         "name": "failure",\r
947         "xml": "<outcome value='failure'>\n",\r
948         "comments": "",\r
949         "outputs": 1,\r
950         "x": 3230.849395751953,\r
951         "y": 794.6667728424072,\r
952         "z": "552bc61c.5a6cf8",\r
953         "wires": [\r
954             []\r
955         ]\r
956     },\r
957     {\r
958         "id": "cb06fc63.a2228",\r
959         "type": "returnFailure",\r
960         "name": "return failure",\r
961         "xml": "<return status='failure'>\n",\r
962         "comments": "",\r
963         "x": 3044.0154037475586,\r
964         "y": 603.5156373977661,\r
965         "z": "552bc61c.5a6cf8",\r
966         "wires": []\r
967     },\r
968     {\r
969         "id": "1d564539.a927cb",\r
970         "type": "returnFailure",\r
971         "name": "return failure",\r
972         "xml": "<return status='failure'>\n",\r
973         "comments": "",\r
974         "x": 2747.0154037475586,\r
975         "y": 271.51563835144043,\r
976         "z": "552bc61c.5a6cf8",\r
977         "wires": []\r
978     }\r
979 ]