Update version of node base image
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / Appc-API_method_VSBG_ModifyConfig_2.0.0.1.json
1 [
2     {
3         "id": "7803fc.b785cc04",
4         "type": "execute",
5         "name": "execute: retrieveDSConfiguration",
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",
7         "comments": "",
8         "outputs": 1,
9         "x": 497,
10         "y": 602.0000457763672,
11         "z": "b4822c6c.4b863",
12         "wires": [
13             [
14                 "e9707cd1.b397e",
15                 "b9dd9161.84c4"
16             ]
17         ]
18     },
19     {
20         "id": "e9707cd1.b397e",
21         "type": "success",
22         "name": "success",
23         "xml": "<outcome value='success'>\n",
24         "comments": "",
25         "outputs": 1,
26         "x": 728.666748046875,
27         "y": 660.2222366333008,
28         "z": "b4822c6c.4b863",
29         "wires": [
30             [
31                 "41d228d8.8ed518"
32             ]
33         ]
34     },
35     {
36         "id": "b9dd9161.84c4",
37         "type": "other",
38         "name": "other",
39         "xml": "<outcome value='Other'>\n",
40         "comments": "",
41         "outputs": 1,
42         "x": 725.7777709960938,
43         "y": 624.7778091430664,
44         "z": "b4822c6c.4b863",
45         "wires": [
46             [
47                 "e305119d.ed993"
48             ]
49         ]
50     },
51     {
52         "id": "41d228d8.8ed518",
53         "type": "execute",
54         "name": "execute: operationStateValidation",
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",
56         "comments": "",
57         "outputs": 1,
58         "x": 730.4444580078125,
59         "y": 724.2222061157227,
60         "z": "b4822c6c.4b863",
61         "wires": [
62             [
63                 "a9ebbdb4.61508",
64                 "9dc375e3.ffd028"
65             ]
66         ]
67     },
68     {
69         "id": "a9ebbdb4.61508",
70         "type": "other",
71         "name": "other",
72         "xml": "<outcome value='Other'>\n",
73         "comments": "",
74         "outputs": 1,
75         "x": 960,
76         "y": 689.444465637207,
77         "z": "b4822c6c.4b863",
78         "wires": [
79             [
80                 "e305119d.ed993"
81             ]
82         ]
83     },
84     {
85         "id": "9dc375e3.ffd028",
86         "type": "success",
87         "name": "success",
88         "xml": "<outcome value='success'>\n",
89         "comments": "",
90         "outputs": 1,
91         "x": 956.33349609375,
92         "y": 736.2222061157227,
93         "z": "b4822c6c.4b863",
94         "wires": [
95             [
96                 "e6a1550.e281ca8"
97             ]
98         ]
99     },
100     {
101         "id": "e6a1550.e281ca8",
102         "type": "execute",
103         "name": "execute: modifyConfiguration",
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",
105         "comments": "",
106         "outputs": 1,
107         "x": 823.1112060546875,
108         "y": 818.5554885864258,
109         "z": "b4822c6c.4b863",
110         "wires": [
111             [
112                 "60608be7.4c01b4",
113                 "1891f46a.8b267c"
114             ]
115         ]
116     },
117     {
118         "id": "60608be7.4c01b4",
119         "type": "other",
120         "name": "other",
121         "xml": "<outcome value='Other'>\n",
122         "comments": "",
123         "outputs": 1,
124         "x": 1041,
125         "y": 798.8889236450195,
126         "z": "b4822c6c.4b863",
127         "wires": [
128             [
129                 "e305119d.ed993"
130             ]
131         ]
132     },
133     {
134         "id": "1891f46a.8b267c",
135         "type": "success",
136         "name": "success",
137         "xml": "<outcome value='success'>\n",
138         "comments": "",
139         "outputs": 1,
140         "x": 1045.2222900390625,
141         "y": 842.7777786254883,
142         "z": "b4822c6c.4b863",
143         "wires": [
144             [
145                 "2c1a225a.7bc46e"
146             ]
147         ]
148     },
149     {
150         "id": "fb0deae.818b418",
151         "type": "execute",
152         "name": "execute: backupConfiguration",
153         "xml": "<execute plugin='org.onap.appc.dg.netconf.NetconfClientPlugin' method='backupConfiguration' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n",
154         "comments": "",
155         "outputs": 1,
156         "x": 950.333251953125,
157         "y": 1038.9999465942383,
158         "z": "b4822c6c.4b863",
159         "wires": [
160             [
161                 "b5901988.ad9d58",
162                 "4a35b9ce.b82b38"
163             ]
164         ]
165     },
166     {
167         "id": "b5901988.ad9d58",
168         "type": "other",
169         "name": "other",
170         "xml": "<outcome value='Other'>\n",
171         "comments": "",
172         "outputs": 1,
173         "x": 1159.4444580078125,
174         "y": 1014.7777786254883,
175         "z": "b4822c6c.4b863",
176         "wires": [
177             [
178                 "e305119d.ed993"
179             ]
180         ]
181     },
182     {
183         "id": "4a35b9ce.b82b38",
184         "type": "success",
185         "name": "success",
186         "xml": "<outcome value='success'>\n",
187         "comments": "",
188         "outputs": 1,
189         "x": 1164.0001220703125,
190         "y": 1059.3333206176758,
191         "z": "b4822c6c.4b863",
192         "wires": [
193             [
194                 "fd7e26ec.f67a88"
195             ]
196         ]
197     },
198     {
199         "id": "fd7e26ec.f67a88",
200         "type": "returnSuccess",
201         "name": "return success",
202         "xml": "<return status='success'>\n \t<parameter name='error-code' value='200' />",
203         "comments": "",
204         "x": 1458.5557556152344,
205         "y": 1058.4444961547852,
206         "z": "b4822c6c.4b863",
207         "wires": []
208     },
209     {
210         "id": "e305119d.ed993",
211         "type": "execute",
212         "name": "execute: handleErrorToDCAE",
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",
214         "comments": "",
215         "outputs": 1,
216         "x": 1340.2223815917969,
217         "y": 631.333366394043,
218         "z": "b4822c6c.4b863",
219         "wires": [
220             [
221                 "354c4873.8508a8"
222             ]
223         ]
224     },
225     {
226         "id": "8c61f324.ae24",
227         "type": "execute",
228         "name": "execute: operationStateValidation",
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",
230         "comments": "",
231         "outputs": 1,
232         "x": 820.6666870117188,
233         "y": 956.0000839233398,
234         "z": "b4822c6c.4b863",
235         "wires": [
236             [
237                 "e5e25242.4d628",
238                 "873a0a33.5a6f68"
239             ]
240         ]
241     },
242     {
243         "id": "873a0a33.5a6f68",
244         "type": "other",
245         "name": "other",
246         "xml": "<outcome value='Other'>\n",
247         "comments": "",
248         "outputs": 1,
249         "x": 1059.4444580078125,
250         "y": 943.7778472900391,
251         "z": "b4822c6c.4b863",
252         "wires": [
253             [
254                 "e305119d.ed993"
255             ]
256         ]
257     },
258     {
259         "id": "e5e25242.4d628",
260         "type": "success",
261         "name": "success",
262         "xml": "<outcome value='success'>\n",
263         "comments": "",
264         "outputs": 1,
265         "x": 1056.3334350585938,
266         "y": 981.2222442626953,
267         "z": "b4822c6c.4b863",
268         "wires": [
269             [
270                 "fb0deae.818b418"
271             ]
272         ]
273     },
274     {
275         "id": "1a23a9aa.d63826",
276         "type": "returnFailure",
277         "name": "return failure",
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",
279         "comments": "",
280         "x": 1691.8096923828125,
281         "y": 630.857177734375,
282         "z": "b4822c6c.4b863",
283         "wires": []
284     },
285     {
286         "id": "2e25a000.04c5c",
287         "type": "success",
288         "name": "success",
289         "xml": "<outcome value='success'>\n",
290         "comments": "",
291         "outputs": 1,
292         "x": 338.6667175292969,
293         "y": 467.99996185302734,
294         "z": "b4822c6c.4b863",
295         "wires": [
296             [
297                 "bb5aec54.cbbe6"
298             ]
299         ]
300     },
301     {
302         "id": "12f26606.82d0fa",
303         "type": "execute",
304         "name": "execute: getVNFData",
305         "xml": "<execute plugin='org.onap.appc.dg.aai.AAIPlugin' method='getGenericVnfData' >",
306         "comments": "",
307         "outputs": 1,
308         "x": 354.6665954589844,
309         "y": 404.0000534057617,
310         "z": "b4822c6c.4b863",
311         "wires": [
312             [
313                 "2e25a000.04c5c",
314                 "85e8fad3.0a8fd8"
315             ]
316         ]
317     },
318     {
319         "id": "538c4326.ceed4c",
320         "type": "block",
321         "name": "block : atomic",
322         "xml": "<block atomic='true'>",
323         "atomic": "true",
324         "comments": "",
325         "outputs": 1,
326         "x": 287.6667175292969,
327         "y": 343.0000228881836,
328         "z": "b4822c6c.4b863",
329         "wires": [
330             [
331                 "12f26606.82d0fa",
332                 "a8e2d4ed.3f69c8"
333             ]
334         ]
335     },
336     {
337         "id": "85e8fad3.0a8fd8",
338         "type": "failure",
339         "name": "failure",
340         "xml": "<outcome value='failure'>\n",
341         "comments": "",
342         "outputs": 1,
343         "x": 669.6667175292969,
344         "y": 397.3332748413086,
345         "z": "b4822c6c.4b863",
346         "wires": [
347             [
348                 "5efd9802.fe2b28"
349             ]
350         ]
351     },
352     {
353         "id": "a8e2d4ed.3f69c8",
354         "type": "set",
355         "name": "set",
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",
357         "comments": "",
358         "x": 487.6667175292969,
359         "y": 301.0000228881836,
360         "z": "b4822c6c.4b863",
361         "wires": []
362     },
363     {
364         "id": "ac24dc8.2d2022",
365         "type": "method",
366         "name": "vSBG ModifyConfig",
367         "xml": "<method rpc='VSBG_ModifyConfig' mode='sync'>\n",
368         "comments": "",
369         "outputs": 1,
370         "x": 182.5555877685547,
371         "y": 185.77777099609375,
372         "z": "b4822c6c.4b863",
373         "wires": [
374             [
375                 "8e0514c2.f1c608"
376             ]
377         ]
378     },
379     {
380         "id": "5efd9802.fe2b28",
381         "type": "returnFailure",
382         "name": "return failure",
383         "xml": "<return status='failure'>\n\n",
384         "comments": "",
385         "x": 824.6667175292969,
386         "y": 397.3332748413086,
387         "z": "b4822c6c.4b863",
388         "wires": []
389     },
390     {
391         "id": "37ba4fbf.e4911",
392         "type": "service-logic",
393         "name": "Appc-API 2.0.0.1",
394         "module": "Appc-API",
395         "version": "2.0.0.1",
396         "comments": "test service logic",
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'>",
398         "outputs": 1,
399         "x": 123.55558776855469,
400         "y": 141.55555725097656,
401         "z": "b4822c6c.4b863",
402         "wires": [
403             [
404                 "ac24dc8.2d2022"
405             ]
406         ]
407     },
408     {
409         "id": "3afe95c0.5e0aaa",
410         "type": "dgstart",
411         "name": "DGSTART",
412         "outputs": 1,
413         "x": 112.66671752929688,
414         "y": 68,
415         "z": "b4822c6c.4b863",
416         "wires": [
417             [
418                 "37ba4fbf.e4911"
419             ]
420         ]
421     },
422     {
423         "id": "e0a9dcc8.bb81a",
424         "type": "set",
425         "name": "set",
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`' />",
427         "comments": "",
428         "x": 628.6667175292969,
429         "y": 536.9999923706055,
430         "z": "b4822c6c.4b863",
431         "wires": []
432     },
433     {
434         "id": "bb5aec54.cbbe6",
435         "type": "block",
436         "name": "block : atomic",
437         "xml": "<block atomic='true'>",
438         "atomic": "true",
439         "comments": "",
440         "outputs": 1,
441         "x": 403.6667175292969,
442         "y": 537.9999923706055,
443         "z": "b4822c6c.4b863",
444         "wires": [
445             [
446                 "e0a9dcc8.bb81a",
447                 "7803fc.b785cc04"
448             ]
449         ]
450     },
451     {
452         "id": "8e0514c2.f1c608",
453         "type": "execute",
454         "name": "execute: flatAndAddToContext",
455         "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
456         "comments": "",
457         "outputs": 1,
458         "x": 268.3333435058594,
459         "y": 259.6666488647461,
460         "z": "b4822c6c.4b863",
461         "wires": [
462             [
463                 "89097e7c.7a1c2",
464                 "e199c03e.60f2"
465             ]
466         ]
467     },
468     {
469         "id": "89097e7c.7a1c2",
470         "type": "success",
471         "name": "success",
472         "xml": "<outcome value='success'>\n",
473         "comments": "",
474         "outputs": 1,
475         "x": 281,
476         "y": 303.6666488647461,
477         "z": "b4822c6c.4b863",
478         "wires": [
479             [
480                 "538c4326.ceed4c"
481             ]
482         ]
483     },
484     {
485         "id": "e199c03e.60f2",
486         "type": "failure",
487         "name": "failure",
488         "xml": "<outcome value='failure'>\n",
489         "comments": "",
490         "outputs": 1,
491         "x": 508,
492         "y": 160.66666412353516,
493         "z": "b4822c6c.4b863",
494         "wires": [
495             []
496         ]
497     },
498     {
499         "id": "2c1a225a.7bc46e",
500         "type": "execute",
501         "name": "Report_Success_in_ModifyConfig",
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\" />",
503         "comments": "",
504         "outputs": 1,
505         "x": 803.9999389648438,
506         "y": 873.6667098999023,
507         "z": "b4822c6c.4b863",
508         "wires": [
509             [
510                 "2ac625be.770a7a",
511                 "88f7850e.5ad108"
512             ]
513         ]
514     },
515     {
516         "id": "2ac625be.770a7a",
517         "type": "success",
518         "name": "success",
519         "xml": "<outcome value='success'>\n",
520         "comments": "",
521         "outputs": 1,
522         "x": 742,
523         "y": 922.6667098999023,
524         "z": "b4822c6c.4b863",
525         "wires": [
526             [
527                 "8c61f324.ae24"
528             ]
529         ]
530     },
531     {
532         "id": "88f7850e.5ad108",
533         "type": "failure",
534         "name": "failure",
535         "xml": "<outcome value='failure'>\n",
536         "comments": "",
537         "outputs": 1,
538         "x": 1065,
539         "y": 889.6667098999023,
540         "z": "b4822c6c.4b863",
541         "wires": [
542             [
543                 "e305119d.ed993"
544             ]
545         ]
546     },
547     {
548         "id": "354c4873.8508a8",
549         "type": "success",
550         "name": "success",
551         "xml": "<outcome value='success'>\n",
552         "comments": "",
553         "outputs": 1,
554         "x": 1544,
555         "y": 631,
556         "z": "b4822c6c.4b863",
557         "wires": [
558             [
559                 "1a23a9aa.d63826"
560             ]
561         ]
562     }
563 ]