Updates to config directed graph bundle
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_Generic_Configure.json
1 [
2     {
3         "id": "b0f9211a.8565b",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 105,
8         "y": 38,
9         "z": "e89a08c1.a81ec8",
10         "wires": [
11             [
12                 "699a5b4e.9b3424"
13             ]
14         ]
15     },
16     {
17         "id": "699a5b4e.9b3424",
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": 268,
26         "y": 28,
27         "z": "e89a08c1.a81ec8",
28         "wires": [
29             [
30                 "b5f8776.2cb9d08"
31             ]
32         ]
33     },
34     {
35         "id": "b5f8776.2cb9d08",
36         "type": "method",
37         "name": "method Generic_Configure",
38         "xml": "<method rpc='Generic_Configure' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 483,
42         "y": 20,
43         "z": "e89a08c1.a81ec8",
44         "wires": [
45             [
46                 "c8da0de1.45978"
47             ]
48         ]
49     },
50     {
51         "id": "c8da0de1.45978",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic=\"true\">",
55         "atomic": "true",
56         "outputs": 1,
57         "x": 102,
58         "y": 163.33332538604736,
59         "z": "e89a08c1.a81ec8",
60         "wires": [
61             [
62                 "76e59cfc.5f7fd4",
63                 "9ac0661e.7b3d",
64                 "de144a77.072fa",
65                 "76000bcb.0030c4",
66                 "e735dcb3.3976b8",
67                 "c495eaeb.1027f8",
68                 "ba117359.6eb8e8",
69                 "8dc5295f.7416"
70             ]
71         ]
72     },
73     {
74         "id": "76e59cfc.5f7fd4",
75         "type": "call",
76         "name": "call: DownloadConfig",
77         "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",
78         "comments": "",
79         "outputs": 1,
80         "x": 325.5872802734375,
81         "y": 526.5873565673828,
82         "z": "e89a08c1.a81ec8",
83         "wires": [
84             [
85                 "bec90611.274c8",
86                 "c8608cf4.c7b0b8",
87                 "edda4be2.6e2648"
88             ]
89         ]
90     },
91     {
92         "id": "bec90611.274c8",
93         "type": "failure",
94         "name": "failure",
95         "xml": "<outcome value='failure'>\n",
96         "comments": "",
97         "outputs": 1,
98         "x": 597.9523620605469,
99         "y": 444.68251037597656,
100         "z": "e89a08c1.a81ec8",
101         "wires": [
102             [
103                 "ac9b5f59.4e86f8"
104             ]
105         ]
106     },
107     {
108         "id": "c8608cf4.c7b0b8",
109         "type": "failure",
110         "name": "not-found",
111         "xml": "<outcome value='not-found'>\n",
112         "comments": "",
113         "outputs": 1,
114         "x": 614.9166984558105,
115         "y": 543.5001087188721,
116         "z": "e89a08c1.a81ec8",
117         "wires": [
118             [
119                 "afea7253.f346a"
120             ]
121         ]
122     },
123     {
124         "id": "edda4be2.6e2648",
125         "type": "success",
126         "name": " success",
127         "xml": "<outcome value=\"success\">",
128         "comments": "",
129         "outputs": 1,
130         "x": 563.2500114440918,
131         "y": 735.8333644866943,
132         "z": "e89a08c1.a81ec8",
133         "wires": [
134             [
135                 "afbcbd37.a519b"
136             ]
137         ]
138     },
139     {
140         "id": "ac9b5f59.4e86f8",
141         "type": "block",
142         "name": "block : atomic",
143         "xml": "<block atomic=\"true\">",
144         "atomic": "true",
145         "outputs": 1,
146         "x": 802.3332824707031,
147         "y": 433.1905059814453,
148         "z": "e89a08c1.a81ec8",
149         "wires": [
150             [
151                 "2c2b8553.7799aa",
152                 "86d71d06.bd08c",
153                 "8dd523f9.336fd8"
154             ]
155         ]
156     },
157     {
158         "id": "afea7253.f346a",
159         "type": "block",
160         "name": "block : atomic",
161         "xml": "<block atomic=\"true\">",
162         "atomic": "true",
163         "outputs": 1,
164         "x": 797.8333282470703,
165         "y": 588.6667346954346,
166         "z": "e89a08c1.a81ec8",
167         "wires": [
168             [
169                 "1b0dc446.a2656c"
170             ]
171         ]
172     },
173     {
174         "id": "afbcbd37.a519b",
175         "type": "block",
176         "name": "block : atomic",
177         "xml": "<block atomic=\"true\">",
178         "atomic": "true",
179         "outputs": 1,
180         "x": 769.2500114440918,
181         "y": 727.0833644866943,
182         "z": "e89a08c1.a81ec8",
183         "wires": [
184             [
185                 "c938aa48.dcd3a8",
186                 "95955f25.02697",
187                 "2f0feda0.bacb3a",
188                 "553a35f.e4a004c"
189             ]
190         ]
191     },
192     {
193         "id": "2c2b8553.7799aa",
194         "type": "record",
195         "name": "record",
196         "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",
197         "comments": "",
198         "outputs": 1,
199         "x": 1065.2222938537598,
200         "y": 352.5555419921875,
201         "z": "e89a08c1.a81ec8",
202         "wires": [
203             []
204         ]
205     },
206     {
207         "id": "1b0dc446.a2656c",
208         "type": "returnFailure",
209         "name": "return failure",
210         "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",
211         "comments": "",
212         "x": 1201.2500228881836,
213         "y": 613.4166736602783,
214         "z": "e89a08c1.a81ec8",
215         "wires": []
216     },
217     {
218         "id": "c938aa48.dcd3a8",
219         "type": "record",
220         "name": "record",
221         "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\" />",
222         "comments": "",
223         "outputs": 1,
224         "x": 1059.750015258789,
225         "y": 722.8333601951599,
226         "z": "e89a08c1.a81ec8",
227         "wires": [
228             []
229         ]
230     },
231     {
232         "id": "86d71d06.bd08c",
233         "type": "returnFailure",
234         "name": "return failure",
235         "xml": "<return status=\"failure\">\n\t",
236         "comments": "",
237         "x": 1081.777847290039,
238         "y": 516.1110925674438,
239         "z": "e89a08c1.a81ec8",
240         "wires": []
241     },
242     {
243         "id": "9ac0661e.7b3d",
244         "type": "set",
245         "name": "set Download params",
246         "xml": "<set>\n<parameter name='host-ip-address' value='`$vnf-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",
247         "comments": "",
248         "x": 347.4602966308594,
249         "y": 424.2538604736328,
250         "z": "e89a08c1.a81ec8",
251         "wires": []
252     },
253     {
254         "id": "95955f25.02697",
255         "type": "set",
256         "name": "set error-code 400 and message",
257         "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n",
258         "comments": "",
259         "x": 1077.583267211914,
260         "y": 674.0000476837158,
261         "z": "e89a08c1.a81ec8",
262         "wires": []
263     },
264     {
265         "id": "e3d10299.5519e8",
266         "type": "comment",
267         "name": "ConfigCompAdaptor resets error code for success cases",
268         "info": "",
269         "comments": "",
270         "x": 1431.7500305175781,
271         "y": 671.0000514984131,
272         "z": "e89a08c1.a81ec8",
273         "wires": []
274     },
275     {
276         "id": "de144a77.072fa",
277         "type": "execute",
278         "name": "execute saveTxLog",
279         "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",
280         "comments": "",
281         "outputs": 1,
282         "x": 439.98406982421875,
283         "y": 141.20639038085938,
284         "z": "e89a08c1.a81ec8",
285         "wires": [
286             [
287                 "8db27e16.957fb"
288             ]
289         ]
290     },
291     {
292         "id": "2f0feda0.bacb3a",
293         "type": "execute",
294         "name": "execute saveTxLog",
295         "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",
296         "comments": "",
297         "outputs": 1,
298         "x": 1060.000015258789,
299         "y": 794.4166793823242,
300         "z": "e89a08c1.a81ec8",
301         "wires": [
302             [
303                 "be65d4b2.0f598"
304             ]
305         ]
306     },
307     {
308         "id": "f41ab2e3.c61a18",
309         "type": "execute",
310         "name": "execute saveTxLog",
311         "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",
312         "comments": "",
313         "outputs": 1,
314         "x": 1857.8889350891113,
315         "y": 518.2222175598145,
316         "z": "e89a08c1.a81ec8",
317         "wires": [
318             []
319         ]
320     },
321     {
322         "id": "f325ba8f.662a2",
323         "type": "set",
324         "name": "set tmp.message",
325         "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",
326         "comments": "",
327         "x": 1859.1110229492188,
328         "y": 444.55554962158203,
329         "z": "e89a08c1.a81ec8",
330         "wires": []
331     },
332     {
333         "id": "8dd523f9.336fd8",
334         "type": "switchNode",
335         "name": "switch: error-code",
336         "xml": "<switch test=\"`$error-code`\">\n",
337         "comments": "",
338         "outputs": 1,
339         "x": 1090.9999084472656,
340         "y": 423.6666316986084,
341         "z": "e89a08c1.a81ec8",
342         "wires": [
343             [
344                 "52b728b4.72535",
345                 "9ac38973.82aa58"
346             ]
347         ]
348     },
349     {
350         "id": "52b728b4.72535",
351         "type": "success",
352         "name": "outcome: 400",
353         "xml": "<outcome value=\"400\">",
354         "comments": "",
355         "outputs": 1,
356         "x": 1286.6666946411133,
357         "y": 366.3333282470703,
358         "z": "e89a08c1.a81ec8",
359         "wires": [
360             [
361                 "c34ec64f.1a02d8"
362             ]
363         ]
364     },
365     {
366         "id": "c34ec64f.1a02d8",
367         "type": "block",
368         "name": "block : atomic",
369         "xml": "<block atomic=\"true\">",
370         "atomic": "true",
371         "outputs": 1,
372         "x": 1521.6666717529297,
373         "y": 363.88890743255615,
374         "z": "e89a08c1.a81ec8",
375         "wires": [
376             []
377         ]
378     },
379     {
380         "id": "9ac38973.82aa58",
381         "type": "success",
382         "name": "outcome: Other",
383         "xml": "<outcome value=\"Other\">",
384         "comments": "",
385         "outputs": 1,
386         "x": 1297.6666259765625,
387         "y": 449.11109161376953,
388         "z": "e89a08c1.a81ec8",
389         "wires": [
390             [
391                 "268d24.c9906adc"
392             ]
393         ]
394     },
395     {
396         "id": "268d24.c9906adc",
397         "type": "block",
398         "name": "block : atomic",
399         "xml": "<block atomic=\"true\">",
400         "atomic": "true",
401         "outputs": 1,
402         "x": 1521.1110382080078,
403         "y": 451.2222309112549,
404         "z": "e89a08c1.a81ec8",
405         "wires": [
406             [
407                 "f325ba8f.662a2",
408                 "f41ab2e3.c61a18"
409             ]
410         ]
411     },
412     {
413         "id": "aeac9862.7a823",
414         "type": "comment",
415         "name": "ISBC cases returns failure to stop polling",
416         "info": "",
417         "comments": "",
418         "x": 1571.6665344238281,
419         "y": 264.5555238723755,
420         "z": "e89a08c1.a81ec8",
421         "wires": []
422     },
423     {
424         "id": "be65d4b2.0f598",
425         "type": "failure",
426         "name": "failure",
427         "xml": "<outcome value='failure'>\n",
428         "comments": "",
429         "outputs": 1,
430         "x": 1255.916648864746,
431         "y": 790.0000534057617,
432         "z": "e89a08c1.a81ec8",
433         "wires": [
434             [
435                 "62276952.dd6d28"
436             ]
437         ]
438     },
439     {
440         "id": "62276952.dd6d28",
441         "type": "block",
442         "name": "block : atomic",
443         "xml": "<block atomic=\"true\">",
444         "atomic": "true",
445         "outputs": 1,
446         "x": 1429.5000267028809,
447         "y": 791.5000534057617,
448         "z": "e89a08c1.a81ec8",
449         "wires": [
450             []
451         ]
452     },
453     {
454         "id": "8db27e16.957fb",
455         "type": "failure",
456         "name": "failure",
457         "xml": "<outcome value='failure'>\n",
458         "comments": "",
459         "outputs": 1,
460         "x": 605.6666870117188,
461         "y": 165.6666259765625,
462         "z": "e89a08c1.a81ec8",
463         "wires": [
464             [
465                 "74d92b55.5304dc"
466             ]
467         ]
468     },
469     {
470         "id": "74d92b55.5304dc",
471         "type": "block",
472         "name": "block : atomic",
473         "xml": "<block atomic=\"true\">",
474         "atomic": "true",
475         "outputs": 1,
476         "x": 756.888916015625,
477         "y": 164.5555419921875,
478         "z": "e89a08c1.a81ec8",
479         "wires": [
480             []
481         ]
482     },
483     {
484         "id": "553a35f.e4a004c",
485         "type": "block",
486         "name": "block : atomic",
487         "xml": "<block atomic=\"true\">",
488         "atomic": "true",
489         "outputs": 1,
490         "x": 1025.000015258789,
491         "y": 868.6665592193604,
492         "z": "e89a08c1.a81ec8",
493         "wires": [
494             [
495                 "7854f6c7.2823e",
496                 "ebfb9352.ec50b"
497             ]
498         ]
499     },
500     {
501         "id": "ebfb9352.ec50b",
502         "type": "call",
503         "name": "call: SaveRunningConfig",
504         "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
505         "comments": "",
506         "outputs": 1,
507         "x": 1284.750015258789,
508         "y": 867.4999322891235,
509         "z": "e89a08c1.a81ec8",
510         "wires": [
511             [
512                 "377b00f2.109a08"
513             ]
514         ]
515     },
516     {
517         "id": "7854f6c7.2823e",
518         "type": "switchNode",
519         "name": "switch: request-action",
520         "xml": "<switch test=\"`$request-action`\">\n",
521         "comments": "",
522         "outputs": 1,
523         "x": 1239.4998970031738,
524         "y": 959.1665554046631,
525         "z": "e89a08c1.a81ec8",
526         "wires": [
527             [
528                 "16e33ba.c1e34c4",
529                 "25348bc1.fddc5c"
530             ]
531         ]
532     },
533     {
534         "id": "16e33ba.c1e34c4",
535         "type": "other",
536         "name": "Configure",
537         "xml": "<outcome value='Configure'>",
538         "comments": "",
539         "outputs": 1,
540         "x": 1486.749900817871,
541         "y": 949.0831813812256,
542         "z": "e89a08c1.a81ec8",
543         "wires": [
544             [
545                 "15d9940.14ffcec"
546             ]
547         ]
548     },
549     {
550         "id": "25348bc1.fddc5c",
551         "type": "other",
552         "name": "ConfigScale",
553         "xml": "<outcome value='ConfigScale'>",
554         "comments": "",
555         "outputs": 1,
556         "x": 1491.5000228881836,
557         "y": 1016.1665563583374,
558         "z": "e89a08c1.a81ec8",
559         "wires": [
560             [
561                 "15d9940.14ffcec"
562             ]
563         ]
564     },
565     {
566         "id": "15d9940.14ffcec",
567         "type": "block",
568         "name": "block : atomic",
569         "xml": "<block atomic=\"true\">",
570         "atomic": "true",
571         "outputs": 1,
572         "x": 1768.9165344238281,
573         "y": 996.2499361038208,
574         "z": "e89a08c1.a81ec8",
575         "wires": [
576             [
577                 "fb1e2601.90a2e8"
578             ]
579         ]
580     },
581     {
582         "id": "fb1e2601.90a2e8",
583         "type": "call",
584         "name": "call: UpdateAaiInfo",
585         "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
586         "comments": "",
587         "outputs": 1,
588         "x": 790.3334465026855,
589         "y": 1106.5833053588867,
590         "z": "e89a08c1.a81ec8",
591         "wires": [
592             [
593                 "59b2723b.e9deec"
594             ]
595         ]
596     },
597     {
598         "id": "59b2723b.e9deec",
599         "type": "not-found",
600         "name": "not-found",
601         "xml": "<outcome value='not-found'>\n",
602         "comments": "",
603         "outputs": 1,
604         "x": 997.9167556762695,
605         "y": 1110.833306312561,
606         "z": "e89a08c1.a81ec8",
607         "wires": [
608             [
609                 "5eb00d25.62c5ac"
610             ]
611         ]
612     },
613     {
614         "id": "5eb00d25.62c5ac",
615         "type": "block",
616         "name": "block : atomic",
617         "xml": "<block atomic=\"true\">",
618         "atomic": "true",
619         "comments": "",
620         "outputs": 1,
621         "x": 1192.083267211914,
622         "y": 1112.416561126709,
623         "z": "e89a08c1.a81ec8",
624         "wires": [
625             [
626                 "2893c600.5cbb62",
627                 "733a4c40.f8b7f4"
628             ]
629         ]
630     },
631     {
632         "id": "2893c600.5cbb62",
633         "type": "set",
634         "name": "set:  dcae-error message",
635         "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t  ",
636         "comments": "",
637         "x": 1499.2500228881836,
638         "y": 1086.999930858612,
639         "z": "e89a08c1.a81ec8",
640         "wires": []
641     },
642     {
643         "id": "733a4c40.f8b7f4",
644         "type": "record",
645         "name": "record",
646         "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",
647         "comments": "",
648         "outputs": 1,
649         "x": 1442.1666526794434,
650         "y": 1133.2499332427979,
651         "z": "e89a08c1.a81ec8",
652         "wires": [
653             []
654         ]
655     },
656     {
657         "id": "49c0512d.dc8838",
658         "type": "block",
659         "name": "block : atomic",
660         "xml": "<block atomic=\"true\">",
661         "atomic": "true",
662         "comments": "",
663         "outputs": 1,
664         "x": 1691.0832748413086,
665         "y": 867.6665601730347,
666         "z": "e89a08c1.a81ec8",
667         "wires": [
668             [
669                 "e5201048.7701c8",
670                 "3646c95c.027db6"
671             ]
672         ]
673     },
674     {
675         "id": "377b00f2.109a08",
676         "type": "not-found",
677         "name": "not-found",
678         "xml": "<outcome value='not-found'>\n",
679         "comments": "",
680         "outputs": 1,
681         "x": 1498.5832748413086,
682         "y": 867.4165601730347,
683         "z": "e89a08c1.a81ec8",
684         "wires": [
685             [
686                 "49c0512d.dc8838"
687             ]
688         ]
689     },
690     {
691         "id": "e5201048.7701c8",
692         "type": "set",
693         "name": "set:  dcae-error message",
694         "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",
695         "comments": "",
696         "x": 2000.0000305175781,
697         "y": 869.916558265686,
698         "z": "e89a08c1.a81ec8",
699         "wires": []
700     },
701     {
702         "id": "3646c95c.027db6",
703         "type": "record",
704         "name": "record",
705         "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",
706         "comments": "",
707         "outputs": 1,
708         "x": 1944.4999084472656,
709         "y": 924.7499341964722,
710         "z": "e89a08c1.a81ec8",
711         "wires": [
712             []
713         ]
714     },
715     {
716         "id": "76000bcb.0030c4",
717         "type": "execute",
718         "name": "execute getCommonConfigInfo",
719         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n",
720         "comments": "",
721         "outputs": 1,
722         "x": 481.20635986328125,
723         "y": 95.047607421875,
724         "z": "e89a08c1.a81ec8",
725         "wires": [
726             [
727                 "f0fb9050.5b961",
728                 "104a596e.149de7"
729             ]
730         ]
731     },
732     {
733         "id": "f0fb9050.5b961",
734         "type": "other",
735         "name": "other",
736         "xml": "<outcome value='Other'>\n",
737         "comments": "",
738         "outputs": 1,
739         "x": 750.77783203125,
740         "y": 72.66664123535156,
741         "z": "e89a08c1.a81ec8",
742         "wires": [
743             [
744                 "554248d0.355a58"
745             ]
746         ]
747     },
748     {
749         "id": "554248d0.355a58",
750         "type": "block",
751         "name": "block",
752         "xml": "<block>\n",
753         "atomic": "false",
754         "comments": "",
755         "outputs": 1,
756         "x": 887.77783203125,
757         "y": 76.66664123535156,
758         "z": "e89a08c1.a81ec8",
759         "wires": [
760             [
761                 "8e5daf5e.ab8be8"
762             ]
763         ]
764     },
765     {
766         "id": "8e5daf5e.ab8be8",
767         "type": "record",
768         "name": "record",
769         "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",
770         "comments": "",
771         "outputs": 1,
772         "x": 1038.77783203125,
773         "y": 73.66664123535156,
774         "z": "e89a08c1.a81ec8",
775         "wires": [
776             []
777         ]
778     },
779     {
780         "id": "104a596e.149de7",
781         "type": "failure",
782         "name": "failure",
783         "xml": "<outcome value='failure'>\n",
784         "comments": "",
785         "outputs": 1,
786         "x": 748.7777404785156,
787         "y": 122.80950927734375,
788         "z": "e89a08c1.a81ec8",
789         "wires": [
790             [
791                 "b194c7ee.140c08"
792             ]
793         ]
794     },
795     {
796         "id": "b194c7ee.140c08",
797         "type": "block",
798         "name": "block",
799         "xml": "<block>\n",
800         "atomic": "false",
801         "comments": "",
802         "outputs": 1,
803         "x": 880.111083984375,
804         "y": 135.00003051757812,
805         "z": "e89a08c1.a81ec8",
806         "wires": [
807             [
808                 "66e55728.0e3458"
809             ]
810         ]
811     },
812     {
813         "id": "66e55728.0e3458",
814         "type": "returnFailure",
815         "name": "return failure",
816         "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",
817         "comments": "",
818         "x": 1037.7776794433594,
819         "y": 139.7142333984375,
820         "z": "e89a08c1.a81ec8",
821         "wires": []
822     },
823     {
824         "id": "af6bb1c9.1133d",
825         "type": "execute",
826         "name": "execute params",
827         "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n  ",
828         "comments": "",
829         "outputs": 1,
830         "x": 470.5038757324219,
831         "y": 358.92860412597656,
832         "z": "e89a08c1.a81ec8",
833         "wires": [
834             [
835                 "f51503a4.2189b",
836                 "38f4d1e3.88fbc6"
837             ]
838         ]
839     },
840     {
841         "id": "f51503a4.2189b",
842         "type": "failure",
843         "name": "failure",
844         "xml": "<outcome value='failure'>\n",
845         "comments": "",
846         "outputs": 1,
847         "x": 625.9682312011719,
848         "y": 335.5357208251953,
849         "z": "e89a08c1.a81ec8",
850         "wires": [
851             [
852                 "1368e660.9cb882"
853             ]
854         ]
855     },
856     {
857         "id": "38f4d1e3.88fbc6",
858         "type": "not-found",
859         "name": "not-found",
860         "xml": "<outcome value='not-found'>\n",
861         "comments": "",
862         "outputs": 1,
863         "x": 629.3611145019531,
864         "y": 371.2498321533203,
865         "z": "e89a08c1.a81ec8",
866         "wires": [
867             [
868                 "1368e660.9cb882"
869             ]
870         ]
871     },
872     {
873         "id": "1368e660.9cb882",
874         "type": "block",
875         "name": "block",
876         "xml": "<block>\n",
877         "atomic": "false",
878         "comments": "",
879         "outputs": 1,
880         "x": 809.3610534667969,
881         "y": 337.85716247558594,
882         "z": "e89a08c1.a81ec8",
883         "wires": [
884             [
885                 "c113d3d.533a0b"
886             ]
887         ]
888     },
889     {
890         "id": "c113d3d.533a0b",
891         "type": "returnFailure",
892         "name": "return failure",
893         "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />",
894         "comments": "",
895         "x": 977.7538757324219,
896         "y": 329.8214569091797,
897         "z": "e89a08c1.a81ec8",
898         "wires": []
899     },
900     {
901         "id": "e735dcb3.3976b8",
902         "type": "get-resource",
903         "name": "get-resource: APPC.protocol",
904         "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.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",
905         "comments": "",
906         "outputs": 1,
907         "x": 439.14276123046875,
908         "y": 190.85719299316406,
909         "z": "e89a08c1.a81ec8",
910         "wires": [
911             [
912                 "79be303c.d125d",
913                 "9260b491.583b18"
914             ]
915         ]
916     },
917     {
918         "id": "79be303c.d125d",
919         "type": "failure",
920         "name": "failure",
921         "xml": "<outcome value='failure'>\n",
922         "comments": "",
923         "outputs": 1,
924         "x": 657,
925         "y": 208,
926         "z": "e89a08c1.a81ec8",
927         "wires": [
928             [
929                 "2ce2ab4d.00561c"
930             ]
931         ]
932     },
933     {
934         "id": "2ce2ab4d.00561c",
935         "type": "block",
936         "name": "block",
937         "xml": "<block>\n",
938         "atomic": "false",
939         "comments": "",
940         "outputs": 1,
941         "x": 787,
942         "y": 205,
943         "z": "e89a08c1.a81ec8",
944         "wires": [
945             []
946         ]
947     },
948     {
949         "id": "9260b491.583b18",
950         "type": "success",
951         "name": "success",
952         "xml": "<outcome value='success'>\n",
953         "comments": "",
954         "outputs": 1,
955         "x": 659,
956         "y": 248,
957         "z": "e89a08c1.a81ec8",
958         "wires": [
959             [
960                 "d4f3c05.c88d1c"
961             ]
962         ]
963     },
964     {
965         "id": "d4f3c05.c88d1c",
966         "type": "set",
967         "name": "set protocol",
968         "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",
969         "comments": "",
970         "x": 839,
971         "y": 245,
972         "z": "e89a08c1.a81ec8",
973         "wires": []
974     },
975     {
976         "id": "c495eaeb.1027f8",
977         "type": "record",
978         "name": "record",
979         "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`'/>",
980         "comments": "",
981         "outputs": 1,
982         "x": 381.1428527832031,
983         "y": 236.85716247558594,
984         "z": "e89a08c1.a81ec8",
985         "wires": [
986             []
987         ]
988     },
989     {
990         "id": "ba117359.6eb8e8",
991         "type": "set",
992         "name": "set Download params",
993         "xml": "<set> <parameter name='host-ip-address' value='`$vnf-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 ",
994         "comments": "",
995         "x": 339.2856750488281,
996         "y": 472.42860412597656,
997         "z": "e89a08c1.a81ec8",
998         "wires": []
999     },
1000     {
1001         "id": "fbd748bf.9caff",
1002         "type": "other",
1003         "name": "other",
1004         "xml": "<outcome value='Other'>\n",
1005         "comments": "",
1006         "outputs": 1,
1007         "x": 329.1665344238281,
1008         "y": 325.8806915283203,
1009         "z": "e89a08c1.a81ec8",
1010         "wires": [
1011             [
1012                 "af6bb1c9.1133d"
1013             ]
1014         ]
1015     },
1016     {
1017         "id": "8dc5295f.7416",
1018         "type": "switchNode",
1019         "name": "switch : Protocol",
1020         "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",
1021         "comments": "",
1022         "outputs": 1,
1023         "x": 244.88088989257812,
1024         "y": 274.45237731933594,
1025         "z": "e89a08c1.a81ec8",
1026         "wires": [
1027             [
1028                 "f2258254.879a48",
1029                 "fbd748bf.9caff"
1030             ]
1031         ]
1032     },
1033     {
1034         "id": "f2258254.879a48",
1035         "type": "outcome",
1036         "name": "CHEF",
1037         "xml": "<outcome value='CHEF'>\n",
1038         "comments": "",
1039         "outputs": 1,
1040         "x": 460.5951843261719,
1041         "y": 283.02381896972656,
1042         "z": "e89a08c1.a81ec8",
1043         "wires": [
1044             [
1045                 "945892f0.a8e7b8"
1046             ]
1047         ]
1048     },
1049     {
1050         "id": "945892f0.a8e7b8",
1051         "type": "block",
1052         "name": "block : atomic",
1053         "xml": "<block atomic=\"true\">",
1054         "atomic": "true",
1055         "outputs": 1,
1056         "x": 675.1666564941406,
1057         "y": 284.14283752441406,
1058         "z": "e89a08c1.a81ec8",
1059         "wires": [
1060             []
1061         ]
1062     }
1063 ]