Code fix for config directed graph
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_Generic_Configure.json
1 [
2     {
3         "id": "a1a4aa32.ab2138",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 130,
8         "y": 112,
9         "z": "52a683af.ecb40c",
10         "wires": [
11             [
12                 "e2c94733.5f3678"
13             ]
14         ]
15     },
16     {
17         "id": "e2c94733.5f3678",
18         "type": "service-logic",
19         "name": "APPC 4.0.0",
20         "module": "APPC",
21         "version": "4.0.0",
22         "comments": "",
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='4.0.0'>",
24         "outputs": 1,
25         "x": 293,
26         "y": 102,
27         "z": "52a683af.ecb40c",
28         "wires": [
29             [
30                 "17999bb6.08fe84"
31             ]
32         ]
33     },
34     {
35         "id": "17999bb6.08fe84",
36         "type": "method",
37         "name": "method Generic_Configure",
38         "xml": "<method rpc='Generic_Configure' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 508,
42         "y": 94,
43         "z": "52a683af.ecb40c",
44         "wires": [
45             [
46                 "bc5c78ce.32d4d8"
47             ]
48         ]
49     },
50     {
51         "id": "bc5c78ce.32d4d8",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic=\"true\">",
55         "atomic": "true",
56         "outputs": 1,
57         "x": 127,
58         "y": 237.33332538604736,
59         "z": "52a683af.ecb40c",
60         "wires": [
61             [
62                 "c8c42391.b9463",
63                 "aef2b058.68b18",
64                 "635b3dee.ea8c04",
65                 "4841c4f7.18404c",
66                 "ee11c5a2.de3b28",
67                 "f15b33a8.0ec6a",
68                 "aadd18fd.92c118",
69                 "9802424b.872eb",
70                 "6d3f90cf.e8c4c"
71             ]
72         ]
73     },
74     {
75         "id": "c8c42391.b9463",
76         "type": "call",
77         "name": "call: DownloadConfig",
78         "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",
79         "comments": "",
80         "outputs": 1,
81         "x": 298.5872802734375,
82         "y": 958.5873413085938,
83         "z": "52a683af.ecb40c",
84         "wires": [
85             [
86                 "bb25775c.36cea8",
87                 "d3dce63c.f24168",
88                 "64be97a6.c3ae38"
89             ]
90         ]
91     },
92     {
93         "id": "bb25775c.36cea8",
94         "type": "failure",
95         "name": "failure",
96         "xml": "<outcome value='failure'>\n",
97         "comments": "",
98         "outputs": 1,
99         "x": 539.952392578125,
100         "y": 853.6824951171875,
101         "z": "52a683af.ecb40c",
102         "wires": [
103             [
104                 "e7bfaaee.e62578"
105             ]
106         ]
107     },
108     {
109         "id": "d3dce63c.f24168",
110         "type": "failure",
111         "name": "not-found",
112         "xml": "<outcome value='not-found'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 539.9166870117188,
116         "y": 949.5001220703125,
117         "z": "52a683af.ecb40c",
118         "wires": [
119             [
120                 "5a4d3fe8.27632"
121             ]
122         ]
123     },
124     {
125         "id": "64be97a6.c3ae38",
126         "type": "success",
127         "name": " success",
128         "xml": "<outcome value=\"success\">",
129         "comments": "",
130         "outputs": 1,
131         "x": 552.25,
132         "y": 1021.8333740234375,
133         "z": "52a683af.ecb40c",
134         "wires": [
135             [
136                 "78592009.6afba"
137             ]
138         ]
139     },
140     {
141         "id": "e7bfaaee.e62578",
142         "type": "block",
143         "name": "block : atomic",
144         "xml": "<block atomic=\"true\">",
145         "atomic": "true",
146         "outputs": 1,
147         "x": 774.3333129882812,
148         "y": 854.1904907226562,
149         "z": "52a683af.ecb40c",
150         "wires": [
151             [
152                 "bd9894bc.d2a728",
153                 "de299774.9667c8",
154                 "8408b5fa.04b9b8"
155             ]
156         ]
157     },
158     {
159         "id": "5a4d3fe8.27632",
160         "type": "block",
161         "name": "block : atomic",
162         "xml": "<block atomic=\"true\">",
163         "atomic": "true",
164         "outputs": 1,
165         "x": 786.8333129882812,
166         "y": 909.666748046875,
167         "z": "52a683af.ecb40c",
168         "wires": [
169             [
170                 "193e6650.75be8a"
171             ]
172         ]
173     },
174     {
175         "id": "78592009.6afba",
176         "type": "block",
177         "name": "block : atomic",
178         "xml": "<block atomic=\"true\">",
179         "atomic": "true",
180         "outputs": 1,
181         "x": 808.25,
182         "y": 1038.0833740234375,
183         "z": "52a683af.ecb40c",
184         "wires": [
185             [
186                 "415b9faf.032fc",
187                 "fb03e7e5.e72968",
188                 "e8aaf1ba.2d4c5",
189                 "85ef701d.dc12f"
190             ]
191         ]
192     },
193     {
194         "id": "bd9894bc.d2a728",
195         "type": "record",
196         "name": "record",
197         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n",
198         "comments": "",
199         "outputs": 1,
200         "x": 1031.2222900390625,
201         "y": 726.5555419921875,
202         "z": "52a683af.ecb40c",
203         "wires": [
204             []
205         ]
206     },
207     {
208         "id": "193e6650.75be8a",
209         "type": "returnFailure",
210         "name": "return failure",
211         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`'DG Workflow ' + $tmp.configureactiondg.DOWNLOAD-CONFIG-DG + ' not found'`\"/>\n\t",
212         "comments": "",
213         "x": 1056.25,
214         "y": 877.4166870117188,
215         "z": "52a683af.ecb40c",
216         "wires": []
217     },
218     {
219         "id": "415b9faf.032fc",
220         "type": "record",
221         "name": "record",
222         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"ACTIVATESUCCESS\" />",
223         "comments": "",
224         "outputs": 1,
225         "x": 1038.75,
226         "y": 960.8333740234375,
227         "z": "52a683af.ecb40c",
228         "wires": [
229             []
230         ]
231     },
232     {
233         "id": "de299774.9667c8",
234         "type": "returnFailure",
235         "name": "return failure",
236         "xml": "<return status=\"failure\">\n\t",
237         "comments": "",
238         "x": 1054.77783203125,
239         "y": 835.111083984375,
240         "z": "52a683af.ecb40c",
241         "wires": []
242     },
243     {
244         "id": "aef2b058.68b18",
245         "type": "set",
246         "name": "set Download params with login",
247         "xml": "<set>\n<parameter name='host-ip-address' value='`$tmp-host-ip-address`' />\n<parameter name='device-login' value='`$property.user`' />\n<parameter name='device-password' value='`$property.password`' />\n<parameter name='port-number' value='`$property.port`' />\n<parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' />\n<parameter name='device-config' value='`$deviceconfig-file-content`' />\n",
248         "comments": "",
249         "x": 371.4602966308594,
250         "y": 713.2538452148438,
251         "z": "52a683af.ecb40c",
252         "wires": []
253     },
254     {
255         "id": "fb03e7e5.e72968",
256         "type": "set",
257         "name": "set error-code 400 and message",
258         "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n",
259         "comments": "",
260         "x": 1102.583251953125,
261         "y": 916.0000610351562,
262         "z": "52a683af.ecb40c",
263         "wires": []
264     },
265     {
266         "id": "5b7b33e8.1af8fc",
267         "type": "comment",
268         "name": "ConfigCompAdaptor resets error code for success cases",
269         "info": "",
270         "comments": "",
271         "x": 1461.75,
272         "y": 886.0000610351562,
273         "z": "52a683af.ecb40c",
274         "wires": []
275     },
276     {
277         "id": "635b3dee.ea8c04",
278         "type": "execute",
279         "name": "execute saveTxLog",
280         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"get Config Info\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
281         "comments": "",
282         "outputs": 1,
283         "x": 464.98406982421875,
284         "y": 215.20639038085938,
285         "z": "52a683af.ecb40c",
286         "wires": [
287             [
288                 "df030edc.9492c"
289             ]
290         ]
291     },
292     {
293         "id": "e8aaf1ba.2d4c5",
294         "type": "execute",
295         "name": "execute saveTxLog",
296         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"400: Download of Config file is Successful\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
297         "comments": "",
298         "outputs": 1,
299         "x": 1050,
300         "y": 1013.4166870117188,
301         "z": "52a683af.ecb40c",
302         "wires": [
303             [
304                 "d3d756ae.72b4d8"
305             ]
306         ]
307     },
308     {
309         "id": "1dbd1b6e.fa0185",
310         "type": "execute",
311         "name": "execute saveTxLog",
312         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
313         "comments": "",
314         "outputs": 1,
315         "x": 1807.888916015625,
316         "y": 877.2222290039062,
317         "z": "52a683af.ecb40c",
318         "wires": [
319             []
320         ]
321     },
322     {
323         "id": "892663b4.396ab",
324         "type": "set",
325         "name": "set tmp.message",
326         "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",
327         "comments": "",
328         "x": 1796.1109619140625,
329         "y": 813.5555419921875,
330         "z": "52a683af.ecb40c",
331         "wires": []
332     },
333     {
334         "id": "8408b5fa.04b9b8",
335         "type": "switchNode",
336         "name": "switch: error-code",
337         "xml": "<switch test=\"`$error-code`\">\n",
338         "comments": "",
339         "outputs": 1,
340         "x": 1057.9998779296875,
341         "y": 784.6666259765625,
342         "z": "52a683af.ecb40c",
343         "wires": [
344             [
345                 "fca657fe.ffc958",
346                 "6fcf550.b255dac"
347             ]
348         ]
349     },
350     {
351         "id": "fca657fe.ffc958",
352         "type": "success",
353         "name": "outcome: 400",
354         "xml": "<outcome value=\"400\">",
355         "comments": "",
356         "outputs": 1,
357         "x": 1342.666748046875,
358         "y": 770.3333129882812,
359         "z": "52a683af.ecb40c",
360         "wires": [
361             [
362                 "52be6449.e72ffc"
363             ]
364         ]
365     },
366     {
367         "id": "52be6449.e72ffc",
368         "type": "block",
369         "name": "block : atomic",
370         "xml": "<block atomic=\"true\">",
371         "atomic": "true",
372         "outputs": 1,
373         "x": 1576.6666259765625,
374         "y": 766.888916015625,
375         "z": "52a683af.ecb40c",
376         "wires": [
377             []
378         ]
379     },
380     {
381         "id": "6fcf550.b255dac",
382         "type": "success",
383         "name": "outcome: Other",
384         "xml": "<outcome value=\"Other\">",
385         "comments": "",
386         "outputs": 1,
387         "x": 1344.6666259765625,
388         "y": 837.111083984375,
389         "z": "52a683af.ecb40c",
390         "wires": [
391             [
392                 "be9c69ce.50eab8"
393             ]
394         ]
395     },
396     {
397         "id": "be9c69ce.50eab8",
398         "type": "block",
399         "name": "block : atomic",
400         "xml": "<block atomic=\"true\">",
401         "atomic": "true",
402         "outputs": 1,
403         "x": 1585.111083984375,
404         "y": 834.2222290039062,
405         "z": "52a683af.ecb40c",
406         "wires": [
407             [
408                 "892663b4.396ab",
409                 "1dbd1b6e.fa0185"
410             ]
411         ]
412     },
413     {
414         "id": "30045606.ab542a",
415         "type": "comment",
416         "name": "ISBC cases returns failure to stop polling",
417         "info": "",
418         "comments": "",
419         "x": 1596.6665344238281,
420         "y": 338.5555238723755,
421         "z": "52a683af.ecb40c",
422         "wires": []
423     },
424     {
425         "id": "d3d756ae.72b4d8",
426         "type": "failure",
427         "name": "failure",
428         "xml": "<outcome value='failure'>\n",
429         "comments": "",
430         "outputs": 1,
431         "x": 1282.9166259765625,
432         "y": 978.0000610351562,
433         "z": "52a683af.ecb40c",
434         "wires": [
435             [
436                 "26237508.7bca3a"
437             ]
438         ]
439     },
440     {
441         "id": "26237508.7bca3a",
442         "type": "block",
443         "name": "block : atomic",
444         "xml": "<block atomic=\"true\">",
445         "atomic": "true",
446         "outputs": 1,
447         "x": 1509.5,
448         "y": 975.5000610351562,
449         "z": "52a683af.ecb40c",
450         "wires": [
451             []
452         ]
453     },
454     {
455         "id": "df030edc.9492c",
456         "type": "failure",
457         "name": "failure",
458         "xml": "<outcome value='failure'>\n",
459         "comments": "",
460         "outputs": 1,
461         "x": 630.6666870117188,
462         "y": 239.6666259765625,
463         "z": "52a683af.ecb40c",
464         "wires": [
465             [
466                 "5a65ea41.9d1584"
467             ]
468         ]
469     },
470     {
471         "id": "5a65ea41.9d1584",
472         "type": "block",
473         "name": "block : atomic",
474         "xml": "<block atomic=\"true\">",
475         "atomic": "true",
476         "outputs": 1,
477         "x": 781.888916015625,
478         "y": 238.5555419921875,
479         "z": "52a683af.ecb40c",
480         "wires": [
481             []
482         ]
483     },
484     {
485         "id": "85ef701d.dc12f",
486         "type": "block",
487         "name": "block : atomic",
488         "xml": "<block atomic=\"true\">",
489         "atomic": "true",
490         "outputs": 1,
491         "x": 1045,
492         "y": 1091.6665649414062,
493         "z": "52a683af.ecb40c",
494         "wires": [
495             [
496                 "9f0b8e91.beec1",
497                 "9886b52d.f36528"
498             ]
499         ]
500     },
501     {
502         "id": "9886b52d.f36528",
503         "type": "call",
504         "name": "call: SaveRunningConfig",
505         "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
506         "comments": "",
507         "outputs": 1,
508         "x": 1298.75,
509         "y": 1025.4999389648438,
510         "z": "52a683af.ecb40c",
511         "wires": [
512             [
513                 "f644bf25.edfc6"
514             ]
515         ]
516     },
517     {
518         "id": "9f0b8e91.beec1",
519         "type": "switchNode",
520         "name": "switch: request-action",
521         "xml": "<switch test=\"`$request-action`\">\n",
522         "comments": "",
523         "outputs": 1,
524         "x": 1267.4998779296875,
525         "y": 1121.1665649414062,
526         "z": "52a683af.ecb40c",
527         "wires": [
528             [
529                 "d0c4db66.3b7558",
530                 "69204f4a.d02e6"
531             ]
532         ]
533     },
534     {
535         "id": "d0c4db66.3b7558",
536         "type": "other",
537         "name": "Configure",
538         "xml": "<outcome value='Configure'>",
539         "comments": "",
540         "outputs": 1,
541         "x": 1515.7498779296875,
542         "y": 1068.0831909179688,
543         "z": "52a683af.ecb40c",
544         "wires": [
545             [
546                 "778e367b.cc4f18"
547             ]
548         ]
549     },
550     {
551         "id": "69204f4a.d02e6",
552         "type": "other",
553         "name": "ConfigScale",
554         "xml": "<outcome value='ConfigScale'>",
555         "comments": "",
556         "outputs": 1,
557         "x": 1516.5,
558         "y": 1116.16650390625,
559         "z": "52a683af.ecb40c",
560         "wires": [
561             [
562                 "778e367b.cc4f18"
563             ]
564         ]
565     },
566     {
567         "id": "778e367b.cc4f18",
568         "type": "block",
569         "name": "block : atomic",
570         "xml": "<block atomic=\"true\">",
571         "atomic": "true",
572         "outputs": 1,
573         "x": 1805.91650390625,
574         "y": 1095.2498779296875,
575         "z": "52a683af.ecb40c",
576         "wires": [
577             [
578                 "7fa3b968.d5c0a8"
579             ]
580         ]
581     },
582     {
583         "id": "7fa3b968.d5c0a8",
584         "type": "call",
585         "name": "call: UpdateAaiInfo",
586         "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
587         "comments": "",
588         "outputs": 1,
589         "x": 813.3334350585938,
590         "y": 1279.583251953125,
591         "z": "52a683af.ecb40c",
592         "wires": [
593             [
594                 "87178d0e.4aa59"
595             ]
596         ]
597     },
598     {
599         "id": "87178d0e.4aa59",
600         "type": "not-found",
601         "name": "not-found",
602         "xml": "<outcome value='not-found'>\n",
603         "comments": "",
604         "outputs": 1,
605         "x": 1033.916748046875,
606         "y": 1284.833251953125,
607         "z": "52a683af.ecb40c",
608         "wires": [
609             [
610                 "f84be820.25b9a8"
611             ]
612         ]
613     },
614     {
615         "id": "f84be820.25b9a8",
616         "type": "block",
617         "name": "block : atomic",
618         "xml": "<block atomic=\"true\">",
619         "atomic": "true",
620         "comments": "",
621         "outputs": 1,
622         "x": 1242.083251953125,
623         "y": 1285.41650390625,
624         "z": "52a683af.ecb40c",
625         "wires": [
626             [
627                 "d6f3cd40.e1ce7",
628                 "719a9d1d.42e6d4"
629             ]
630         ]
631     },
632     {
633         "id": "d6f3cd40.e1ce7",
634         "type": "set",
635         "name": "set:  dcae-error message",
636         "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t  ",
637         "comments": "",
638         "x": 1489.25,
639         "y": 1249.9998779296875,
640         "z": "52a683af.ecb40c",
641         "wires": []
642     },
643     {
644         "id": "719a9d1d.42e6d4",
645         "type": "record",
646         "name": "record",
647         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
648         "comments": "",
649         "outputs": 1,
650         "x": 1456.1666259765625,
651         "y": 1332.2498779296875,
652         "z": "52a683af.ecb40c",
653         "wires": [
654             []
655         ]
656     },
657     {
658         "id": "f6da6946.3b0728",
659         "type": "block",
660         "name": "block : atomic",
661         "xml": "<block atomic=\"true\">",
662         "atomic": "true",
663         "comments": "",
664         "outputs": 1,
665         "x": 1742.083251953125,
666         "y": 1015.6665649414062,
667         "z": "52a683af.ecb40c",
668         "wires": [
669             [
670                 "8515cd05.a6164",
671                 "c1b64b94.7d4608"
672             ]
673         ]
674     },
675     {
676         "id": "f644bf25.edfc6",
677         "type": "not-found",
678         "name": "not-found",
679         "xml": "<outcome value='not-found'>\n",
680         "comments": "",
681         "outputs": 1,
682         "x": 1512.583251953125,
683         "y": 1020.4165649414062,
684         "z": "52a683af.ecb40c",
685         "wires": [
686             [
687                 "f6da6946.3b0728"
688             ]
689         ]
690     },
691     {
692         "id": "8515cd05.a6164",
693         "type": "set",
694         "name": "set:  dcae-error message",
695         "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",
696         "comments": "",
697         "x": 1981,
698         "y": 984.9165649414062,
699         "z": "52a683af.ecb40c",
700         "wires": []
701     },
702     {
703         "id": "c1b64b94.7d4608",
704         "type": "record",
705         "name": "record",
706         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n",
707         "comments": "",
708         "outputs": 1,
709         "x": 1949.4998779296875,
710         "y": 1044.7499389648438,
711         "z": "52a683af.ecb40c",
712         "wires": [
713             []
714         ]
715     },
716     {
717         "id": "4841c4f7.18404c",
718         "type": "execute",
719         "name": "execute getCommonConfigInfo",
720         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n",
721         "comments": "",
722         "outputs": 1,
723         "x": 506.20635986328125,
724         "y": 169.047607421875,
725         "z": "52a683af.ecb40c",
726         "wires": [
727             [
728                 "9e905434.4346c8",
729                 "6c80d4f9.72a4cc"
730             ]
731         ]
732     },
733     {
734         "id": "9e905434.4346c8",
735         "type": "other",
736         "name": "other",
737         "xml": "<outcome value='Other'>\n",
738         "comments": "",
739         "outputs": 1,
740         "x": 775.77783203125,
741         "y": 146.66664123535156,
742         "z": "52a683af.ecb40c",
743         "wires": [
744             [
745                 "5f985c72.409704"
746             ]
747         ]
748     },
749     {
750         "id": "5f985c72.409704",
751         "type": "block",
752         "name": "block",
753         "xml": "<block>\n",
754         "atomic": "false",
755         "comments": "",
756         "outputs": 1,
757         "x": 912.77783203125,
758         "y": 150.66664123535156,
759         "z": "52a683af.ecb40c",
760         "wires": [
761             [
762                 "45365f04.afad5"
763             ]
764         ]
765     },
766     {
767         "id": "45365f04.afad5",
768         "type": "record",
769         "name": "record",
770         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",
771         "comments": "",
772         "outputs": 1,
773         "x": 1063.77783203125,
774         "y": 147.66664123535156,
775         "z": "52a683af.ecb40c",
776         "wires": [
777             []
778         ]
779     },
780     {
781         "id": "6c80d4f9.72a4cc",
782         "type": "failure",
783         "name": "failure",
784         "xml": "<outcome value='failure'>\n",
785         "comments": "",
786         "outputs": 1,
787         "x": 773.7777404785156,
788         "y": 196.80950927734375,
789         "z": "52a683af.ecb40c",
790         "wires": [
791             [
792                 "e30b4176.d834b"
793             ]
794         ]
795     },
796     {
797         "id": "e30b4176.d834b",
798         "type": "block",
799         "name": "block",
800         "xml": "<block>\n",
801         "atomic": "false",
802         "comments": "",
803         "outputs": 1,
804         "x": 905.111083984375,
805         "y": 209.00003051757812,
806         "z": "52a683af.ecb40c",
807         "wires": [
808             [
809                 "111592d3.3018bd"
810             ]
811         ]
812     },
813     {
814         "id": "111592d3.3018bd",
815         "type": "returnFailure",
816         "name": "return failure",
817         "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"DG Workflow GetAaiInfo not found\"/>\n\t",
818         "comments": "",
819         "x": 1062.7776794433594,
820         "y": 213.7142333984375,
821         "z": "52a683af.ecb40c",
822         "wires": []
823     },
824     {
825         "id": "a4911ce9.10e92",
826         "type": "execute",
827         "name": "execute params",
828         "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n  ",
829         "comments": "",
830         "outputs": 1,
831         "x": 495.5038757324219,
832         "y": 432.92860412597656,
833         "z": "52a683af.ecb40c",
834         "wires": [
835             [
836                 "491da197.6b1ed",
837                 "5638bc63.8daca4"
838             ]
839         ]
840     },
841     {
842         "id": "491da197.6b1ed",
843         "type": "failure",
844         "name": "failure",
845         "xml": "<outcome value='failure'>\n",
846         "comments": "",
847         "outputs": 1,
848         "x": 650.9682312011719,
849         "y": 409.5357208251953,
850         "z": "52a683af.ecb40c",
851         "wires": [
852             [
853                 "8c44ccf6.ae75b"
854             ]
855         ]
856     },
857     {
858         "id": "5638bc63.8daca4",
859         "type": "not-found",
860         "name": "not-found",
861         "xml": "<outcome value='not-found'>\n",
862         "comments": "",
863         "outputs": 1,
864         "x": 654.3611145019531,
865         "y": 445.2498321533203,
866         "z": "52a683af.ecb40c",
867         "wires": [
868             [
869                 "8c44ccf6.ae75b"
870             ]
871         ]
872     },
873     {
874         "id": "8c44ccf6.ae75b",
875         "type": "block",
876         "name": "block",
877         "xml": "<block>\n",
878         "atomic": "false",
879         "comments": "",
880         "outputs": 1,
881         "x": 834.3610534667969,
882         "y": 411.85716247558594,
883         "z": "52a683af.ecb40c",
884         "wires": [
885             [
886                 "352edffd.79f5"
887             ]
888         ]
889     },
890     {
891         "id": "352edffd.79f5",
892         "type": "returnFailure",
893         "name": "return failure",
894         "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />",
895         "comments": "",
896         "x": 1002.7538757324219,
897         "y": 403.8214569091797,
898         "z": "52a683af.ecb40c",
899         "wires": []
900     },
901     {
902         "id": "ee11c5a2.de3b28",
903         "type": "get-resource",
904         "name": "get-resource: APPC.protocol",
905         "xml": "<get-resource\n\tplugin='onap.ccsdk.sli.core.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT DISTINCT PROTOCOL FROM PROTOCOL_REFERENCE WHERE ACTION = $input.action AND VNF_TYPE = $vnf-type ;\"\n    force='true'\n\tpfx='APPC.protocol'>\n",
906         "comments": "",
907         "outputs": 1,
908         "x": 464.14276123046875,
909         "y": 264.85719299316406,
910         "z": "52a683af.ecb40c",
911         "wires": [
912             [
913                 "30ddfb05.6b35e4",
914                 "fac18982.a86bd8"
915             ]
916         ]
917     },
918     {
919         "id": "30ddfb05.6b35e4",
920         "type": "failure",
921         "name": "failure",
922         "xml": "<outcome value='failure'>\n",
923         "comments": "",
924         "outputs": 1,
925         "x": 682,
926         "y": 282,
927         "z": "52a683af.ecb40c",
928         "wires": [
929             [
930                 "ef8720d2.bd0c4"
931             ]
932         ]
933     },
934     {
935         "id": "ef8720d2.bd0c4",
936         "type": "block",
937         "name": "block",
938         "xml": "<block>\n",
939         "atomic": "false",
940         "comments": "",
941         "outputs": 1,
942         "x": 812,
943         "y": 279,
944         "z": "52a683af.ecb40c",
945         "wires": [
946             []
947         ]
948     },
949     {
950         "id": "fac18982.a86bd8",
951         "type": "success",
952         "name": "success",
953         "xml": "<outcome value='success'>\n",
954         "comments": "",
955         "outputs": 1,
956         "x": 684,
957         "y": 322,
958         "z": "52a683af.ecb40c",
959         "wires": [
960             [
961                 "c39c3264.cf0ea"
962             ]
963         ]
964     },
965     {
966         "id": "c39c3264.cf0ea",
967         "type": "set",
968         "name": "set protocol",
969         "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",
970         "comments": "",
971         "x": 864,
972         "y": 319,
973         "z": "52a683af.ecb40c",
974         "wires": []
975     },
976     {
977         "id": "f15b33a8.0ec6a",
978         "type": "record",
979         "name": "record",
980         "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name='field2' value='`$APPC.protocol.PROTOCOL`'/>",
981         "comments": "",
982         "outputs": 1,
983         "x": 406.1428527832031,
984         "y": 310.85716247558594,
985         "z": "52a683af.ecb40c",
986         "wires": [
987             []
988         ]
989     },
990     {
991         "id": "aadd18fd.92c118",
992         "type": "set",
993         "name": "set Download params",
994         "xml": "<set> \n <parameter name='host-ip-address' value='`$tmp-host-ip-address`' />\n <parameter name='device-authentication.USER-NAME' value='`$device-login`' /> \n <parameter name='device-authentication.PASSWORD' value='`$device-password`' /> \n <parameter name='device-authentication.PORT-NUMBER' value='`$port-number`' /> \n <parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' /> \n <parameter name='device-config' value='`$deviceconfig-file-content`' /> \n\n \n ",
995         "comments": "",
996         "x": 340.2856750488281,
997         "y": 776.4285888671875,
998         "z": "52a683af.ecb40c",
999         "wires": []
1000     },
1001     {
1002         "id": "cb482016.78079",
1003         "type": "other",
1004         "name": "other",
1005         "xml": "<outcome value='Other'>\n",
1006         "comments": "",
1007         "outputs": 1,
1008         "x": 354.1665344238281,
1009         "y": 399.8806915283203,
1010         "z": "52a683af.ecb40c",
1011         "wires": [
1012             [
1013                 "a4911ce9.10e92"
1014             ]
1015         ]
1016     },
1017     {
1018         "id": "9802424b.872eb",
1019         "type": "switchNode",
1020         "name": "switch : Protocol",
1021         "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",
1022         "comments": "",
1023         "outputs": 1,
1024         "x": 269.8808898925781,
1025         "y": 348.45237731933594,
1026         "z": "52a683af.ecb40c",
1027         "wires": [
1028             [
1029                 "aaf0fc4a.6e257",
1030                 "cb482016.78079"
1031             ]
1032         ]
1033     },
1034     {
1035         "id": "aaf0fc4a.6e257",
1036         "type": "outcome",
1037         "name": "CHEF",
1038         "xml": "<outcome value='CHEF'>\n",
1039         "comments": "",
1040         "outputs": 1,
1041         "x": 485.5951843261719,
1042         "y": 357.02381896972656,
1043         "z": "52a683af.ecb40c",
1044         "wires": [
1045             [
1046                 "80c740aa.e503"
1047             ]
1048         ]
1049     },
1050     {
1051         "id": "80c740aa.e503",
1052         "type": "block",
1053         "name": "block : atomic",
1054         "xml": "<block atomic=\"true\">",
1055         "atomic": "true",
1056         "outputs": 1,
1057         "x": 700.1666564941406,
1058         "y": 358.14283752441406,
1059         "z": "52a683af.ecb40c",
1060         "wires": [
1061             []
1062         ]
1063     },
1064     {
1065         "id": "6d3f90cf.e8c4c",
1066         "type": "switchNode",
1067         "name": "switch: IpAddress In Payload",
1068         "xml": "<switch test='`$vnf-host-ip-address`'>\n",
1069         "comments": "",
1070         "outputs": 1,
1071         "x": 374,
1072         "y": 567,
1073         "z": "52a683af.ecb40c",
1074         "wires": [
1075             [
1076                 "1132819.1839f7e",
1077                 "7017363b.88eae8"
1078             ]
1079         ]
1080     },
1081     {
1082         "id": "1132819.1839f7e",
1083         "type": "outcome",
1084         "name": "null",
1085         "xml": "<outcome value=''>\n",
1086         "comments": "",
1087         "outputs": 1,
1088         "x": 587,
1089         "y": 531,
1090         "z": "52a683af.ecb40c",
1091         "wires": [
1092             [
1093                 "d4cf6b30.28a6e8"
1094             ]
1095         ]
1096     },
1097     {
1098         "id": "7017363b.88eae8",
1099         "type": "success",
1100         "name": "outcome: Other",
1101         "xml": "<outcome value='Other'>",
1102         "comments": "",
1103         "outputs": 1,
1104         "x": 602,
1105         "y": 605,
1106         "z": "52a683af.ecb40c",
1107         "wires": [
1108             [
1109                 "b244538a.84f09"
1110             ]
1111         ]
1112     },
1113     {
1114         "id": "d4cf6b30.28a6e8",
1115         "type": "block",
1116         "name": "block",
1117         "xml": "<block>",
1118         "atomic": "false",
1119         "comments": "",
1120         "outputs": 1,
1121         "x": 755,
1122         "y": 530,
1123         "z": "52a683af.ecb40c",
1124         "wires": [
1125             [
1126                 "f951247.1c448d8"
1127             ]
1128         ]
1129     },
1130     {
1131         "id": "b244538a.84f09",
1132         "type": "block",
1133         "name": "block",
1134         "xml": "<block>",
1135         "atomic": "false",
1136         "comments": "",
1137         "outputs": 1,
1138         "x": 778,
1139         "y": 605,
1140         "z": "52a683af.ecb40c",
1141         "wires": [
1142             [
1143                 "6eb3911b.57f3b"
1144             ]
1145         ]
1146     },
1147     {
1148         "id": "f951247.1c448d8",
1149         "type": "switchNode",
1150         "name": "switch vnfc-type",
1151         "xml": "<switch test='`$vnfc-type`'>\n",
1152         "comments": "",
1153         "outputs": 1,
1154         "x": 932,
1155         "y": 526,
1156         "z": "52a683af.ecb40c",
1157         "wires": [
1158             [
1159                 "c1225d38.97cb1",
1160                 "82d8f695.8b5c68"
1161             ]
1162         ]
1163     },
1164     {
1165         "id": "6eb3911b.57f3b",
1166         "type": "set",
1167         "name": "set payload ip-address",
1168         "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$vnf-host-ip-address`' />\n",
1169         "comments": "",
1170         "x": 993,
1171         "y": 605,
1172         "z": "52a683af.ecb40c",
1173         "wires": []
1174     },
1175     {
1176         "id": "c1225d38.97cb1",
1177         "type": "outcome",
1178         "name": "null",
1179         "xml": "<outcome value=''>\n",
1180         "comments": "",
1181         "outputs": 1,
1182         "x": 1131,
1183         "y": 482,
1184         "z": "52a683af.ecb40c",
1185         "wires": [
1186             [
1187                 "f17c7d9f.507bf"
1188             ]
1189         ]
1190     },
1191     {
1192         "id": "82d8f695.8b5c68",
1193         "type": "success",
1194         "name": "outcome: Other",
1195         "xml": "<outcome value='Other'>",
1196         "comments": "",
1197         "outputs": 1,
1198         "x": 1149,
1199         "y": 553,
1200         "z": "52a683af.ecb40c",
1201         "wires": [
1202             [
1203                 "a6d1702d.69cfe"
1204             ]
1205         ]
1206     },
1207     {
1208         "id": "f17c7d9f.507bf",
1209         "type": "block",
1210         "name": "block",
1211         "xml": "<block>",
1212         "atomic": "false",
1213         "comments": "",
1214         "outputs": 1,
1215         "x": 1288,
1216         "y": 480,
1217         "z": "52a683af.ecb40c",
1218         "wires": [
1219             [
1220                 "ba20b173.7fe9"
1221             ]
1222         ]
1223     },
1224     {
1225         "id": "ba20b173.7fe9",
1226         "type": "set",
1227         "name": "set vnf ip-address",
1228         "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$tmp.vnfInfo.vnf.ipv4-oam-address`' />\n",
1229         "comments": "",
1230         "x": 1475,
1231         "y": 475,
1232         "z": "52a683af.ecb40c",
1233         "wires": []
1234     },
1235     {
1236         "id": "a6d1702d.69cfe",
1237         "type": "block",
1238         "name": "block",
1239         "xml": "<block>",
1240         "atomic": "false",
1241         "comments": "",
1242         "outputs": 1,
1243         "x": 1312,
1244         "y": 554,
1245         "z": "52a683af.ecb40c",
1246         "wires": [
1247             [
1248                 "8c1da743.f18f08"
1249             ]
1250         ]
1251     },
1252     {
1253         "id": "8c1da743.f18f08",
1254         "type": "switchNode",
1255         "name": "switch vnfc-type",
1256         "xml": "<switch test='`$vnfc-type==$tmp.vnfInfo.vnfcInfo.ipaddress-v4-oam-vip`'>\n",
1257         "comments": "",
1258         "outputs": 1,
1259         "x": 1484,
1260         "y": 547,
1261         "z": "52a683af.ecb40c",
1262         "wires": [
1263             [
1264                 "25c93d80.d7f872",
1265                 "18f7dcf1.4c1b83"
1266             ]
1267         ]
1268     },
1269     {
1270         "id": "25c93d80.d7f872",
1271         "type": "outcomeTrue",
1272         "name": "true",
1273         "xml": "<outcome value='true'>\n",
1274         "comments": "",
1275         "outputs": 1,
1276         "x": 1662,
1277         "y": 506,
1278         "z": "52a683af.ecb40c",
1279         "wires": [
1280             [
1281                 "aef4367c.80d138"
1282             ]
1283         ]
1284     },
1285     {
1286         "id": "18f7dcf1.4c1b83",
1287         "type": "outcomeFalse",
1288         "name": "false",
1289         "xml": "<outcome value='false'>\n",
1290         "comments": "",
1291         "outputs": 1,
1292         "x": 1656,
1293         "y": 586,
1294         "z": "52a683af.ecb40c",
1295         "wires": [
1296             [
1297                 "9f404420.87c118"
1298             ]
1299         ]
1300     },
1301     {
1302         "id": "aef4367c.80d138",
1303         "type": "set",
1304         "name": "set vnfc ip-address",
1305         "xml": "<set>\n<parameter name='tmp-host-ip-address' value='`$tmp.vnfInfo.vnfcInfo.ipaddress-v4-oam-vip`' />\n",
1306         "comments": "",
1307         "x": 1850,
1308         "y": 506,
1309         "z": "52a683af.ecb40c",
1310         "wires": []
1311     },
1312     {
1313         "id": "9f404420.87c118",
1314         "type": "block",
1315         "name": "block",
1316         "xml": "<block>\n",
1317         "atomic": "false",
1318         "comments": "",
1319         "outputs": 1,
1320         "x": 1817,
1321         "y": 586,
1322         "z": "52a683af.ecb40c",
1323         "wires": [
1324             []
1325         ]
1326     }
1327 ]