Platform Hardening for DG Json files - Part 1
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / Appc-API_method_VSBG_ConfigModify_2.0.0.1.json
1 [\r
2     {\r
3         "id": "6e90cbf4.57f244",\r
4         "type": "execute",\r
5         "name": "execute: retrieveDSConfiguration",\r
6         "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfDBPlugin' method='retrieveDSConfiguration' >\n<parameter name=\"configuration-file-name\" value=\"`$configuration-file-name`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 459.9444122314453,\r
10         "y": 572.0000457763672,\r
11         "z": "2154d119.c59cae",\r
12         "wires": [\r
13             [\r
14                 "38318271.82e40e",\r
15                 "5435f9ee.d438b8"\r
16             ]\r
17         ]\r
18     },\r
19     {\r
20         "id": "38318271.82e40e",\r
21         "type": "success",\r
22         "name": "success",\r
23         "xml": "<outcome value='success'>\n",\r
24         "comments": "",\r
25         "outputs": 1,\r
26         "x": 691.6111602783203,\r
27         "y": 630.2222366333008,\r
28         "z": "2154d119.c59cae",\r
29         "wires": [\r
30             [\r
31                 "a5fd395b.4ff8d8"\r
32             ]\r
33         ]\r
34     },\r
35     {\r
36         "id": "5435f9ee.d438b8",\r
37         "type": "other",\r
38         "name": "other",\r
39         "xml": "<outcome value='Other'>\n",\r
40         "comments": "",\r
41         "outputs": 1,\r
42         "x": 688.7221832275391,\r
43         "y": 594.7778091430664,\r
44         "z": "2154d119.c59cae",\r
45         "wires": [\r
46             [\r
47                 "7849e9fc.2f1158"\r
48             ]\r
49         ]\r
50     },\r
51     {\r
52         "id": "a5fd395b.4ff8d8",\r
53         "type": "execute",\r
54         "name": "execute: operationStateValidation",\r
55         "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n",\r
56         "comments": "",\r
57         "outputs": 1,\r
58         "x": 693.3888702392578,\r
59         "y": 694.2222061157227,\r
60         "z": "2154d119.c59cae",\r
61         "wires": [\r
62             [\r
63                 "7649ccd1.4bdf84",\r
64                 "740ae685.f59378"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "7649ccd1.4bdf84",\r
70         "type": "other",\r
71         "name": "other",\r
72         "xml": "<outcome value='Other'>\n",\r
73         "comments": "",\r
74         "outputs": 1,\r
75         "x": 922.9444122314453,\r
76         "y": 659.444465637207,\r
77         "z": "2154d119.c59cae",\r
78         "wires": [\r
79             [\r
80                 "7849e9fc.2f1158"\r
81             ]\r
82         ]\r
83     },\r
84     {\r
85         "id": "740ae685.f59378",\r
86         "type": "success",\r
87         "name": "success",\r
88         "xml": "<outcome value='success'>\n",\r
89         "comments": "",\r
90         "outputs": 1,\r
91         "x": 919.2779083251953,\r
92         "y": 706.2222061157227,\r
93         "z": "2154d119.c59cae",\r
94         "wires": [\r
95             [\r
96                 "3efc3f7e.f0b8a"\r
97             ]\r
98         ]\r
99     },\r
100     {\r
101         "id": "3efc3f7e.f0b8a",\r
102         "type": "execute",\r
103         "name": "execute: modifyConfiguration",\r
104         "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='modifyConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"file-content\" value=\"`$file-content`\" />\n",\r
105         "comments": "",\r
106         "outputs": 1,\r
107         "x": 786.0556182861328,\r
108         "y": 788.5554885864258,\r
109         "z": "2154d119.c59cae",\r
110         "wires": [\r
111             [\r
112                 "25e0354c.1ecdca",\r
113                 "1da66879.acaae8"\r
114             ]\r
115         ]\r
116     },\r
117     {\r
118         "id": "25e0354c.1ecdca",\r
119         "type": "other",\r
120         "name": "other",\r
121         "xml": "<outcome value='Other'>\n",\r
122         "comments": "",\r
123         "outputs": 1,\r
124         "x": 1003.9444122314453,\r
125         "y": 768.8889236450195,\r
126         "z": "2154d119.c59cae",\r
127         "wires": [\r
128             [\r
129                 "7849e9fc.2f1158"\r
130             ]\r
131         ]\r
132     },\r
133     {\r
134         "id": "1da66879.acaae8",\r
135         "type": "success",\r
136         "name": "success",\r
137         "xml": "<outcome value='success'>\n",\r
138         "comments": "",\r
139         "outputs": 1,\r
140         "x": 1008.1667022705078,\r
141         "y": 812.7777786254883,\r
142         "z": "2154d119.c59cae",\r
143         "wires": [\r
144             [\r
145                 "ed4bb0ee.a817b"\r
146             ]\r
147         ]\r
148     },\r
149     {\r
150         "id": "4cf1e455.d66afc",\r
151         "type": "execute",\r
152         "name": "execute: backupConfiguration",\r
153         "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='backupConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n",\r
154         "comments": "",\r
155         "outputs": 1,\r
156         "x": 913.2776641845703,\r
157         "y": 1008.9999465942383,\r
158         "z": "2154d119.c59cae",\r
159         "wires": [\r
160             [\r
161                 "b404baeb.0bde98",\r
162                 "9b814969.6f3608"\r
163             ]\r
164         ]\r
165     },\r
166     {\r
167         "id": "b404baeb.0bde98",\r
168         "type": "other",\r
169         "name": "other",\r
170         "xml": "<outcome value='Other'>\n",\r
171         "comments": "",\r
172         "outputs": 1,\r
173         "x": 1122.3888702392578,\r
174         "y": 984.7777786254883,\r
175         "z": "2154d119.c59cae",\r
176         "wires": [\r
177             [\r
178                 "7849e9fc.2f1158"\r
179             ]\r
180         ]\r
181     },\r
182     {\r
183         "id": "9b814969.6f3608",\r
184         "type": "success",\r
185         "name": "success",\r
186         "xml": "<outcome value='success'>\n",\r
187         "comments": "",\r
188         "outputs": 1,\r
189         "x": 1126.9445343017578,\r
190         "y": 1029.3333206176758,\r
191         "z": "2154d119.c59cae",\r
192         "wires": [\r
193             [\r
194                 "e3c4236.d2566e"\r
195             ]\r
196         ]\r
197     },\r
198     {\r
199         "id": "e3c4236.d2566e",\r
200         "type": "returnSuccess",\r
201         "name": "return success",\r
202         "xml": "<return status='success'>\n \t<parameter name='error-code' value='200' />",\r
203         "comments": "",\r
204         "x": 1421.5001678466797,\r
205         "y": 1028.4444961547852,\r
206         "z": "2154d119.c59cae",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "7849e9fc.2f1158",\r
211         "type": "execute",\r
212         "name": "execute: handleErrorToDCAE",\r
213         "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"org.onap.appc.dg.error\" value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.message' value=\"`$org.onap.appc.dg.error`\" />\n",\r
214         "comments": "",\r
215         "outputs": 1,\r
216         "x": 1303.1667938232422,\r
217         "y": 601.333366394043,\r
218         "z": "2154d119.c59cae",\r
219         "wires": [\r
220             [\r
221                 "c37ed5f7.c740d8"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "9dbac36f.19414",\r
227         "type": "execute",\r
228         "name": "execute: operationStateValidation",\r
229         "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='operationStateValidation' >\n<parameter name=\"vnf-host-ip-address\" value=\"`$vnf-host-ip-address`\" />\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"org.onap.appc.vftype\" value=\"`$vnf-type`\" />\n",\r
230         "comments": "",\r
231         "outputs": 1,\r
232         "x": 783.6110992431641,\r
233         "y": 926.0000839233398,\r
234         "z": "2154d119.c59cae",\r
235         "wires": [\r
236             [\r
237                 "ee5204f1.5fc5a8",\r
238                 "f3c87dda.9f642"\r
239             ]\r
240         ]\r
241     },\r
242     {\r
243         "id": "f3c87dda.9f642",\r
244         "type": "other",\r
245         "name": "other",\r
246         "xml": "<outcome value='Other'>\n",\r
247         "comments": "",\r
248         "outputs": 1,\r
249         "x": 1022.3888702392578,\r
250         "y": 913.7778472900391,\r
251         "z": "2154d119.c59cae",\r
252         "wires": [\r
253             [\r
254                 "7849e9fc.2f1158"\r
255             ]\r
256         ]\r
257     },\r
258     {\r
259         "id": "ee5204f1.5fc5a8",\r
260         "type": "success",\r
261         "name": "success",\r
262         "xml": "<outcome value='success'>\n",\r
263         "comments": "",\r
264         "outputs": 1,\r
265         "x": 1019.2778472900391,\r
266         "y": 951.2222442626953,\r
267         "z": "2154d119.c59cae",\r
268         "wires": [\r
269             [\r
270                 "4cf1e455.d66afc"\r
271             ]\r
272         ]\r
273     },\r
274     {\r
275         "id": "31e43d90.09d0a2",\r
276         "type": "returnFailure",\r
277         "name": "return failure",\r
278         "xml": "<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$org.onap.appc.dg.error`\" />\n<parameter name='output.status.code' value='401'/>\n",\r
279         "comments": "",\r
280         "x": 1654.7541046142578,\r
281         "y": 600.857177734375,\r
282         "z": "2154d119.c59cae",\r
283         "wires": []\r
284     },\r
285     {\r
286         "id": "be651903.a128e8",\r
287         "type": "success",\r
288         "name": "success",\r
289         "xml": "<outcome value='success'>\n",\r
290         "comments": "",\r
291         "outputs": 1,\r
292         "x": 301.6111297607422,\r
293         "y": 437.99996185302734,\r
294         "z": "2154d119.c59cae",\r
295         "wires": [\r
296             [\r
297                 "ab704a00.f6bbb8"\r
298             ]\r
299         ]\r
300     },\r
301     {\r
302         "id": "a790a4ce.9e7338",\r
303         "type": "execute",\r
304         "name": "execute: getVNFData",\r
305         "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",\r
306         "comments": "",\r
307         "outputs": 1,\r
308         "x": 317.6110076904297,\r
309         "y": 374.0000534057617,\r
310         "z": "2154d119.c59cae",\r
311         "wires": [\r
312             [\r
313                 "be651903.a128e8",\r
314                 "c1565864.3b15e8"\r
315             ]\r
316         ]\r
317     },\r
318     {\r
319         "id": "77c31558.fceebc",\r
320         "type": "block",\r
321         "name": "block : atomic",\r
322         "xml": "<block atomic='true'>",\r
323         "atomic": "true",\r
324         "comments": "",\r
325         "outputs": 1,\r
326         "x": 250.6111297607422,\r
327         "y": 313.0000228881836,\r
328         "z": "2154d119.c59cae",\r
329         "wires": [\r
330             [\r
331                 "a790a4ce.9e7338",\r
332                 "2404d9f.4f73826"\r
333             ]\r
334         ]\r
335     },\r
336     {\r
337         "id": "c1565864.3b15e8",\r
338         "type": "failure",\r
339         "name": "failure",\r
340         "xml": "<outcome value='failure'>\n",\r
341         "comments": "",\r
342         "outputs": 1,\r
343         "x": 632.6111297607422,\r
344         "y": 367.3332748413086,\r
345         "z": "2154d119.c59cae",\r
346         "wires": [\r
347             [\r
348                 "5c6f5002.5ff8"\r
349             ]\r
350         ]\r
351     },\r
352     {\r
353         "id": "2404d9f.4f73826",\r
354         "type": "set",\r
355         "name": "set",\r
356         "xml": "<set>\n\t<parameter name='aai.vnfID' value=\"`$input.action-identifiers.vnf-id`\" />\n\t<parameter name='aai.prefix' value='aai.input.data' />\t",\r
357         "comments": "",\r
358         "x": 450.6111297607422,\r
359         "y": 271.0000228881836,\r
360         "z": "2154d119.c59cae",\r
361         "wires": []\r
362     },\r
363     {\r
364         "id": "595cefd2.9c438",\r
365         "type": "method",\r
366         "name": "VSBG_ConfigModify",\r
367         "xml": "<method rpc='VSBG_ConfigModify' mode='sync'>\n",\r
368         "comments": "",\r
369         "outputs": 1,\r
370         "x": 145.5,\r
371         "y": 155.77777099609375,\r
372         "z": "2154d119.c59cae",\r
373         "wires": [\r
374             [\r
375                 "e9fea7b9.249258"\r
376             ]\r
377         ]\r
378     },\r
379     {\r
380         "id": "5c6f5002.5ff8",\r
381         "type": "returnFailure",\r
382         "name": "return failure",\r
383         "xml": "<return status='failure'>\n\n",\r
384         "comments": "",\r
385         "x": 787.6111297607422,\r
386         "y": 367.3332748413086,\r
387         "z": "2154d119.c59cae",\r
388         "wires": []\r
389     },\r
390     {\r
391         "id": "47fccc9e.8c4124",\r
392         "type": "service-logic",\r
393         "name": "Appc-API 2.0.0.1",\r
394         "module": "Appc-API",\r
395         "version": "2.0.0.1",\r
396         "comments": "test service logic",\r
397         "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-API' version='2.0.0.1'>",\r
398         "outputs": 1,\r
399         "x": 86.5,\r
400         "y": 111.55555725097656,\r
401         "z": "2154d119.c59cae",\r
402         "wires": [\r
403             [\r
404                 "595cefd2.9c438"\r
405             ]\r
406         ]\r
407     },\r
408     {\r
409         "id": "b1b41791.e43b18",\r
410         "type": "dgstart",\r
411         "name": "DGSTART",\r
412         "outputs": 1,\r
413         "x": 75.61112976074219,\r
414         "y": 38,\r
415         "z": "2154d119.c59cae",\r
416         "wires": [\r
417             [\r
418                 "47fccc9e.8c4124"\r
419             ]\r
420         ]\r
421     },\r
422     {\r
423         "id": "62fb4de8.cacb14",\r
424         "type": "set",\r
425         "name": "set",\r
426         "xml": "<set>\n\t<parameter name='org.onap.appc.vftype' value='`$aai.input.data.vnf-type`' />\t\n\t<parameter name='vnf-type' value='`$aai.input.data.vnf-type`' />",\r
427         "comments": "",\r
428         "x": 591.6111297607422,\r
429         "y": 506.99999237060547,\r
430         "z": "2154d119.c59cae",\r
431         "wires": []\r
432     },\r
433     {\r
434         "id": "ab704a00.f6bbb8",\r
435         "type": "block",\r
436         "name": "block : atomic",\r
437         "xml": "<block atomic='true'>",\r
438         "atomic": "true",\r
439         "comments": "",\r
440         "outputs": 1,\r
441         "x": 366.6111297607422,\r
442         "y": 507.99999237060547,\r
443         "z": "2154d119.c59cae",\r
444         "wires": [\r
445             [\r
446                 "62fb4de8.cacb14",\r
447                 "6e90cbf4.57f244"\r
448             ]\r
449         ]\r
450     },\r
451     {\r
452         "id": "e9fea7b9.249258",\r
453         "type": "execute",\r
454         "name": "execute: flatAndAddToContext",\r
455         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
456         "comments": "",\r
457         "outputs": 1,\r
458         "x": 231.2777557373047,\r
459         "y": 229.6666488647461,\r
460         "z": "2154d119.c59cae",\r
461         "wires": [\r
462             [\r
463                 "1b3a064b.30350a",\r
464                 "7eab1cec.af2814"\r
465             ]\r
466         ]\r
467     },\r
468     {\r
469         "id": "1b3a064b.30350a",\r
470         "type": "success",\r
471         "name": "success",\r
472         "xml": "<outcome value='success'>\n",\r
473         "comments": "",\r
474         "outputs": 1,\r
475         "x": 243.9444122314453,\r
476         "y": 273.6666488647461,\r
477         "z": "2154d119.c59cae",\r
478         "wires": [\r
479             [\r
480                 "77c31558.fceebc"\r
481             ]\r
482         ]\r
483     },\r
484     {\r
485         "id": "7eab1cec.af2814",\r
486         "type": "failure",\r
487         "name": "failure",\r
488         "xml": "<outcome value='failure'>\n",\r
489         "comments": "",\r
490         "outputs": 1,\r
491         "x": 470.9444122314453,\r
492         "y": 130.66666412353516,\r
493         "z": "2154d119.c59cae",\r
494         "wires": [\r
495             []\r
496         ]\r
497     },\r
498     {\r
499         "id": "ed4bb0ee.a817b",\r
500         "type": "execute",\r
501         "name": "Report_Success_in_ModifyConfig",\r
502         "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=\"ModifyConfig event executed successfully\" />",\r
503         "comments": "",\r
504         "outputs": 1,\r
505         "x": 766.9443511962891,\r
506         "y": 843.6667098999023,\r
507         "z": "2154d119.c59cae",\r
508         "wires": [\r
509             [\r
510                 "2c09cc84.3d9894",\r
511                 "f4239d49.350f8"\r
512             ]\r
513         ]\r
514     },\r
515     {\r
516         "id": "2c09cc84.3d9894",\r
517         "type": "success",\r
518         "name": "success",\r
519         "xml": "<outcome value='success'>\n",\r
520         "comments": "",\r
521         "outputs": 1,\r
522         "x": 704.9444122314453,\r
523         "y": 892.6667098999023,\r
524         "z": "2154d119.c59cae",\r
525         "wires": [\r
526             [\r
527                 "9dbac36f.19414"\r
528             ]\r
529         ]\r
530     },\r
531     {\r
532         "id": "f4239d49.350f8",\r
533         "type": "failure",\r
534         "name": "failure",\r
535         "xml": "<outcome value='failure'>\n",\r
536         "comments": "",\r
537         "outputs": 1,\r
538         "x": 1027.9444122314453,\r
539         "y": 859.6667098999023,\r
540         "z": "2154d119.c59cae",\r
541         "wires": [\r
542             [\r
543                 "7849e9fc.2f1158"\r
544             ]\r
545         ]\r
546     },\r
547     {\r
548         "id": "c37ed5f7.c740d8",\r
549         "type": "success",\r
550         "name": "success",\r
551         "xml": "<outcome value='success'>\n",\r
552         "comments": "",\r
553         "outputs": 1,\r
554         "x": 1506.9444122314453,\r
555         "y": 601,\r
556         "z": "2154d119.c59cae",\r
557         "wires": [\r
558             [\r
559                 "31e43d90.09d0a2"\r
560             ]\r
561         ]\r
562     }\r
563 ]\r