Platform Hardening for DG Json files- Part 6
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_Generic_Configure.json
1 [\r
2     {\r
3         "id": "61d37abe.82cd64",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 84.28573608398438,\r
8         "y": 119.42857360839844,\r
9         "z": "285db0f2.06375",\r
10         "wires": [\r
11             [\r
12                 "8423b79b.d7cec8"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "8423b79b.d7cec8",\r
18         "type": "service-logic",\r
19         "name": "APPC 4.0.0",\r
20         "module": "APPC",\r
21         "version": "4.0.0",\r
22         "comments": "",\r
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'>",\r
24         "outputs": 1,\r
25         "x": 247.28573608398438,\r
26         "y": 109.42857360839844,\r
27         "z": "285db0f2.06375",\r
28         "wires": [\r
29             [\r
30                 "c1e3b38c.2f63f8"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "c1e3b38c.2f63f8",\r
36         "type": "method",\r
37         "name": "method Generic_Configure",\r
38         "xml": "<method rpc='Generic_Configure' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 462.2857360839844,\r
42         "y": 101.42857360839844,\r
43         "z": "285db0f2.06375",\r
44         "wires": [\r
45             [\r
46                 "6c0716c5.8d7c4"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "6c0716c5.8d7c4",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 81.28573608398438,\r
58         "y": 244.7618989944458,\r
59         "z": "285db0f2.06375",\r
60         "wires": [\r
61             [\r
62                 "631bacee.3786bc",\r
63                 "84032bec.a688d",\r
64                 "7804109c.c266",\r
65                 "76262d39.a182fc",\r
66                 "a333263.a3f5058",\r
67                 "9c2591d5.def7f",\r
68                 "924230.050aadd",\r
69                 "ff3926e6.0b79d"\r
70             ]\r
71         ]\r
72     },\r
73     {\r
74         "id": "631bacee.3786bc",\r
75         "type": "call",\r
76         "name": "call: DownloadConfig",\r
77         "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",\r
78         "comments": "",\r
79         "outputs": 1,\r
80         "x": 304.8730163574219,\r
81         "y": 608.0159301757812,\r
82         "z": "285db0f2.06375",\r
83         "wires": [\r
84             [\r
85                 "5a3b601a.374b",\r
86                 "804e66f1.5cf248",\r
87                 "1a953b4d.331fc5"\r
88             ]\r
89         ]\r
90     },\r
91     {\r
92         "id": "5a3b601a.374b",\r
93         "type": "failure",\r
94         "name": "failure",\r
95         "xml": "<outcome value='failure'>\n",\r
96         "comments": "",\r
97         "outputs": 1,\r
98         "x": 577.2380981445312,\r
99         "y": 526.111083984375,\r
100         "z": "285db0f2.06375",\r
101         "wires": [\r
102             [\r
103                 "efcc7633.772ba8"\r
104             ]\r
105         ]\r
106     },\r
107     {\r
108         "id": "804e66f1.5cf248",\r
109         "type": "failure",\r
110         "name": "not-found",\r
111         "xml": "<outcome value='not-found'>\n",\r
112         "comments": "",\r
113         "outputs": 1,\r
114         "x": 594.2024345397949,\r
115         "y": 624.9286823272705,\r
116         "z": "285db0f2.06375",\r
117         "wires": [\r
118             [\r
119                 "2c5dd8ce.28ae88"\r
120             ]\r
121         ]\r
122     },\r
123     {\r
124         "id": "1a953b4d.331fc5",\r
125         "type": "success",\r
126         "name": " success",\r
127         "xml": "<outcome value=\"success\">",\r
128         "comments": "",\r
129         "outputs": 1,\r
130         "x": 542.5357475280762,\r
131         "y": 817.2619380950928,\r
132         "z": "285db0f2.06375",\r
133         "wires": [\r
134             [\r
135                 "3084d7e.c6c89a8"\r
136             ]\r
137         ]\r
138     },\r
139     {\r
140         "id": "efcc7633.772ba8",\r
141         "type": "block",\r
142         "name": "block : atomic",\r
143         "xml": "<block atomic=\"true\">",\r
144         "atomic": "true",\r
145         "outputs": 1,\r
146         "x": 781.6190185546875,\r
147         "y": 514.6190795898438,\r
148         "z": "285db0f2.06375",\r
149         "wires": [\r
150             [\r
151                 "3e7902ac.0f9fe6",\r
152                 "325f4a9b.803c4e",\r
153                 "28140a27.57ead6"\r
154             ]\r
155         ]\r
156     },\r
157     {\r
158         "id": "2c5dd8ce.28ae88",\r
159         "type": "block",\r
160         "name": "block : atomic",\r
161         "xml": "<block atomic=\"true\">",\r
162         "atomic": "true",\r
163         "outputs": 1,\r
164         "x": 777.1190643310547,\r
165         "y": 670.095308303833,\r
166         "z": "285db0f2.06375",\r
167         "wires": [\r
168             [\r
169                 "fb347bda.285858"\r
170             ]\r
171         ]\r
172     },\r
173     {\r
174         "id": "3084d7e.c6c89a8",\r
175         "type": "block",\r
176         "name": "block : atomic",\r
177         "xml": "<block atomic=\"true\">",\r
178         "atomic": "true",\r
179         "outputs": 1,\r
180         "x": 748.5357475280762,\r
181         "y": 808.5119380950928,\r
182         "z": "285db0f2.06375",\r
183         "wires": [\r
184             [\r
185                 "8f8a8b2.9140078",\r
186                 "fcfff614.97d76",\r
187                 "f359c38b.fbc24",\r
188                 "6bf58f1f.85fe98"\r
189             ]\r
190         ]\r
191     },\r
192     {\r
193         "id": "3e7902ac.0f9fe6",\r
194         "type": "record",\r
195         "name": "record",\r
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",\r
197         "comments": "",\r
198         "outputs": 1,\r
199         "x": 1044.5080299377441,\r
200         "y": 433.98411560058594,\r
201         "z": "285db0f2.06375",\r
202         "wires": [\r
203             []\r
204         ]\r
205     },\r
206     {\r
207         "id": "fb347bda.285858",\r
208         "type": "returnFailure",\r
209         "name": "return failure",\r
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",\r
211         "comments": "",\r
212         "x": 1180.535758972168,\r
213         "y": 694.8452472686768,\r
214         "z": "285db0f2.06375",\r
215         "wires": []\r
216     },\r
217     {\r
218         "id": "8f8a8b2.9140078",\r
219         "type": "record",\r
220         "name": "record",\r
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\" />",\r
222         "comments": "",\r
223         "outputs": 1,\r
224         "x": 1039.0357513427734,\r
225         "y": 804.2619338035583,\r
226         "z": "285db0f2.06375",\r
227         "wires": [\r
228             []\r
229         ]\r
230     },\r
231     {\r
232         "id": "325f4a9b.803c4e",\r
233         "type": "returnFailure",\r
234         "name": "return failure",\r
235         "xml": "<return status=\"failure\">\n\t",\r
236         "comments": "",\r
237         "x": 1061.0635833740234,\r
238         "y": 597.5396661758423,\r
239         "z": "285db0f2.06375",\r
240         "wires": []\r
241     },\r
242     {\r
243         "id": "84032bec.a688d",\r
244         "type": "set",\r
245         "name": "set Download params",\r
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",\r
247         "comments": "",\r
248         "x": 326.74603271484375,\r
249         "y": 505.68243408203125,\r
250         "z": "285db0f2.06375",\r
251         "wires": []\r
252     },\r
253     {\r
254         "id": "fcfff614.97d76",\r
255         "type": "set",\r
256         "name": "set error-code 400 and message",\r
257         "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n",\r
258         "comments": "",\r
259         "x": 1056.8690032958984,\r
260         "y": 755.4286212921143,\r
261         "z": "285db0f2.06375",\r
262         "wires": []\r
263     },\r
264     {\r
265         "id": "81444e09.a0133",\r
266         "type": "comment",\r
267         "name": "ConfigCompAdaptor resets error code for success cases",\r
268         "info": "",\r
269         "comments": "",\r
270         "x": 1411.0357666015625,\r
271         "y": 752.4286251068115,\r
272         "z": "285db0f2.06375",\r
273         "wires": []\r
274     },\r
275     {\r
276         "id": "7804109c.c266",\r
277         "type": "execute",\r
278         "name": "execute saveTxLog",\r
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",\r
280         "comments": "",\r
281         "outputs": 1,\r
282         "x": 419.2698059082031,\r
283         "y": 222.6349639892578,\r
284         "z": "285db0f2.06375",\r
285         "wires": [\r
286             [\r
287                 "f44893b1.e8784"\r
288             ]\r
289         ]\r
290     },\r
291     {\r
292         "id": "f359c38b.fbc24",\r
293         "type": "execute",\r
294         "name": "execute saveTxLog",\r
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",\r
296         "comments": "",\r
297         "outputs": 1,\r
298         "x": 1039.2857513427734,\r
299         "y": 875.8452529907227,\r
300         "z": "285db0f2.06375",\r
301         "wires": [\r
302             [\r
303                 "e8b248c8.a2d1c8"\r
304             ]\r
305         ]\r
306     },\r
307     {\r
308         "id": "48ae0cb6.816864",\r
309         "type": "execute",\r
310         "name": "execute saveTxLog",\r
311         "xml": "<execute plugin=\"org.onap.appc.config.generator.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",\r
312         "comments": "",\r
313         "outputs": 1,\r
314         "x": 1837.1746711730957,\r
315         "y": 599.6507911682129,\r
316         "z": "285db0f2.06375",\r
317         "wires": [\r
318             []\r
319         ]\r
320     },\r
321     {\r
322         "id": "e35b4c6.218223",\r
323         "type": "set",\r
324         "name": "set tmp.message",\r
325         "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",\r
326         "comments": "",\r
327         "x": 1838.3967590332031,\r
328         "y": 525.9841232299805,\r
329         "z": "285db0f2.06375",\r
330         "wires": []\r
331     },\r
332     {\r
333         "id": "28140a27.57ead6",\r
334         "type": "switchNode",\r
335         "name": "switch: error-code",\r
336         "xml": "<switch test=\"`$error-code`\">\n",\r
337         "comments": "",\r
338         "outputs": 1,\r
339         "x": 1070.28564453125,\r
340         "y": 505.09520530700684,\r
341         "z": "285db0f2.06375",\r
342         "wires": [\r
343             [\r
344                 "bfd4e5f2.1ecdb",\r
345                 "c962e995.964488"\r
346             ]\r
347         ]\r
348     },\r
349     {\r
350         "id": "bfd4e5f2.1ecdb",\r
351         "type": "success",\r
352         "name": "outcome: 400",\r
353         "xml": "<outcome value=\"400\">",\r
354         "comments": "",\r
355         "outputs": 1,\r
356         "x": 1265.9524307250977,\r
357         "y": 447.76190185546875,\r
358         "z": "285db0f2.06375",\r
359         "wires": [\r
360             [\r
361                 "817eeef5.e90f38"\r
362             ]\r
363         ]\r
364     },\r
365     {\r
366         "id": "817eeef5.e90f38",\r
367         "type": "block",\r
368         "name": "block : atomic",\r
369         "xml": "<block atomic=\"true\">",\r
370         "atomic": "true",\r
371         "outputs": 1,\r
372         "x": 1500.952407836914,\r
373         "y": 445.3174810409546,\r
374         "z": "285db0f2.06375",\r
375         "wires": [\r
376             []\r
377         ]\r
378     },\r
379     {\r
380         "id": "c962e995.964488",\r
381         "type": "success",\r
382         "name": "outcome: Other",\r
383         "xml": "<outcome value=\"Other\">",\r
384         "comments": "",\r
385         "outputs": 1,\r
386         "x": 1276.9523620605469,\r
387         "y": 530.539665222168,\r
388         "z": "285db0f2.06375",\r
389         "wires": [\r
390             [\r
391                 "c25ad54c.2de7a8"\r
392             ]\r
393         ]\r
394     },\r
395     {\r
396         "id": "c25ad54c.2de7a8",\r
397         "type": "block",\r
398         "name": "block : atomic",\r
399         "xml": "<block atomic=\"true\">",\r
400         "atomic": "true",\r
401         "outputs": 1,\r
402         "x": 1500.3967742919922,\r
403         "y": 532.6508045196533,\r
404         "z": "285db0f2.06375",\r
405         "wires": [\r
406             [\r
407                 "e35b4c6.218223",\r
408                 "48ae0cb6.816864"\r
409             ]\r
410         ]\r
411     },\r
412     {\r
413         "id": "af4ae47d.be227",\r
414         "type": "comment",\r
415         "name": "ISBC cases returns failure to stop polling",\r
416         "info": "",\r
417         "comments": "",\r
418         "x": 1550.9522705078125,\r
419         "y": 345.9840974807739,\r
420         "z": "285db0f2.06375",\r
421         "wires": []\r
422     },\r
423     {\r
424         "id": "e8b248c8.a2d1c8",\r
425         "type": "failure",\r
426         "name": "failure",\r
427         "xml": "<outcome value='failure'>\n",\r
428         "comments": "",\r
429         "outputs": 1,\r
430         "x": 1235.2023849487305,\r
431         "y": 871.4286270141602,\r
432         "z": "285db0f2.06375",\r
433         "wires": [\r
434             [\r
435                 "7a66cbd7.d92d5c"\r
436             ]\r
437         ]\r
438     },\r
439     {\r
440         "id": "7a66cbd7.d92d5c",\r
441         "type": "block",\r
442         "name": "block : atomic",\r
443         "xml": "<block atomic=\"true\">",\r
444         "atomic": "true",\r
445         "outputs": 1,\r
446         "x": 1408.7857627868652,\r
447         "y": 872.9286270141602,\r
448         "z": "285db0f2.06375",\r
449         "wires": [\r
450             []\r
451         ]\r
452     },\r
453     {\r
454         "id": "f44893b1.e8784",\r
455         "type": "failure",\r
456         "name": "failure",\r
457         "xml": "<outcome value='failure'>\n",\r
458         "comments": "",\r
459         "outputs": 1,\r
460         "x": 584.9524230957031,\r
461         "y": 247.09519958496094,\r
462         "z": "285db0f2.06375",\r
463         "wires": [\r
464             [\r
465                 "72adbd63.dc9ac4"\r
466             ]\r
467         ]\r
468     },\r
469     {\r
470         "id": "72adbd63.dc9ac4",\r
471         "type": "block",\r
472         "name": "block : atomic",\r
473         "xml": "<block atomic=\"true\">",\r
474         "atomic": "true",\r
475         "outputs": 1,\r
476         "x": 736.1746520996094,\r
477         "y": 245.98411560058594,\r
478         "z": "285db0f2.06375",\r
479         "wires": [\r
480             []\r
481         ]\r
482     },\r
483     {\r
484         "id": "6bf58f1f.85fe98",\r
485         "type": "block",\r
486         "name": "block : atomic",\r
487         "xml": "<block atomic=\"true\">",\r
488         "atomic": "true",\r
489         "outputs": 1,\r
490         "x": 1004.2857513427734,\r
491         "y": 950.0951328277588,\r
492         "z": "285db0f2.06375",\r
493         "wires": [\r
494             [\r
495                 "5119c46c.b2c834",\r
496                 "cde8c474.69f89"\r
497             ]\r
498         ]\r
499     },\r
500     {\r
501         "id": "cde8c474.69f89",\r
502         "type": "call",\r
503         "name": "call: SaveRunningConfig",\r
504         "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",\r
505         "comments": "",\r
506         "outputs": 1,\r
507         "x": 1264.0357513427734,\r
508         "y": 948.928505897522,\r
509         "z": "285db0f2.06375",\r
510         "wires": [\r
511             [\r
512                 "e8122e51.2f1118"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "5119c46c.b2c834",\r
518         "type": "switchNode",\r
519         "name": "switch: request-action",\r
520         "xml": "<switch test=\"`$request-action`\">\n",\r
521         "comments": "",\r
522         "outputs": 1,\r
523         "x": 1218.7856330871582,\r
524         "y": 1040.5951290130615,\r
525         "z": "285db0f2.06375",\r
526         "wires": [\r
527             [\r
528                 "cc8bbfb7.1f569",\r
529                 "714a8c07.043b74"\r
530             ]\r
531         ]\r
532     },\r
533     {\r
534         "id": "cc8bbfb7.1f569",\r
535         "type": "other",\r
536         "name": "Configure",\r
537         "xml": "<outcome value='Configure'>",\r
538         "comments": "",\r
539         "outputs": 1,\r
540         "x": 1466.0356369018555,\r
541         "y": 1030.511754989624,\r
542         "z": "285db0f2.06375",\r
543         "wires": [\r
544             [\r
545                 "e8957f63.e948e8"\r
546             ]\r
547         ]\r
548     },\r
549     {\r
550         "id": "714a8c07.043b74",\r
551         "type": "other",\r
552         "name": "ConfigScale",\r
553         "xml": "<outcome value='ConfigScale'>",\r
554         "comments": "",\r
555         "outputs": 1,\r
556         "x": 1470.785758972168,\r
557         "y": 1097.5951299667358,\r
558         "z": "285db0f2.06375",\r
559         "wires": [\r
560             [\r
561                 "e8957f63.e948e8"\r
562             ]\r
563         ]\r
564     },\r
565     {\r
566         "id": "e8957f63.e948e8",\r
567         "type": "block",\r
568         "name": "block : atomic",\r
569         "xml": "<block atomic=\"true\">",\r
570         "atomic": "true",\r
571         "outputs": 1,\r
572         "x": 1748.2022705078125,\r
573         "y": 1077.6785097122192,\r
574         "z": "285db0f2.06375",\r
575         "wires": [\r
576             [\r
577                 "733ba7f3.56f7d"\r
578             ]\r
579         ]\r
580     },\r
581     {\r
582         "id": "733ba7f3.56f7d",\r
583         "type": "call",\r
584         "name": "call: UpdateAaiInfo",\r
585         "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",\r
586         "comments": "",\r
587         "outputs": 1,\r
588         "x": 769.6191825866699,\r
589         "y": 1188.0118789672852,\r
590         "z": "285db0f2.06375",\r
591         "wires": [\r
592             [\r
593                 "d9f6f7d6.2125b8"\r
594             ]\r
595         ]\r
596     },\r
597     {\r
598         "id": "d9f6f7d6.2125b8",\r
599         "type": "not-found",\r
600         "name": "not-found",\r
601         "xml": "<outcome value='not-found'>\n",\r
602         "comments": "",\r
603         "outputs": 1,\r
604         "x": 977.2024917602539,\r
605         "y": 1192.2618799209595,\r
606         "z": "285db0f2.06375",\r
607         "wires": [\r
608             [\r
609                 "6e506adf.2422a4"\r
610             ]\r
611         ]\r
612     },\r
613     {\r
614         "id": "6e506adf.2422a4",\r
615         "type": "block",\r
616         "name": "block : atomic",\r
617         "xml": "<block atomic=\"true\">",\r
618         "atomic": "true",\r
619         "comments": "",\r
620         "outputs": 1,\r
621         "x": 1171.3690032958984,\r
622         "y": 1193.8451347351074,\r
623         "z": "285db0f2.06375",\r
624         "wires": [\r
625             [\r
626                 "69c05144.643008",\r
627                 "6a796326.9a5d0c"\r
628             ]\r
629         ]\r
630     },\r
631     {\r
632         "id": "69c05144.643008",\r
633         "type": "set",\r
634         "name": "set:  dcae-error message",\r
635         "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t  ",\r
636         "comments": "",\r
637         "x": 1478.535758972168,\r
638         "y": 1168.4285044670105,\r
639         "z": "285db0f2.06375",\r
640         "wires": []\r
641     },\r
642     {\r
643         "id": "6a796326.9a5d0c",\r
644         "type": "record",\r
645         "name": "record",\r
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",\r
647         "comments": "",\r
648         "outputs": 1,\r
649         "x": 1421.4523887634277,\r
650         "y": 1214.6785068511963,\r
651         "z": "285db0f2.06375",\r
652         "wires": [\r
653             []\r
654         ]\r
655     },\r
656     {\r
657         "id": "9fa67fcc.8cbfb8",\r
658         "type": "block",\r
659         "name": "block : atomic",\r
660         "xml": "<block atomic=\"true\">",\r
661         "atomic": "true",\r
662         "comments": "",\r
663         "outputs": 1,\r
664         "x": 1670.369010925293,\r
665         "y": 949.0951337814331,\r
666         "z": "285db0f2.06375",\r
667         "wires": [\r
668             [\r
669                 "56905444.ee048c",\r
670                 "a6130136.14cf"\r
671             ]\r
672         ]\r
673     },\r
674     {\r
675         "id": "e8122e51.2f1118",\r
676         "type": "not-found",\r
677         "name": "not-found",\r
678         "xml": "<outcome value='not-found'>\n",\r
679         "comments": "",\r
680         "outputs": 1,\r
681         "x": 1477.869010925293,\r
682         "y": 948.8451337814331,\r
683         "z": "285db0f2.06375",\r
684         "wires": [\r
685             [\r
686                 "9fa67fcc.8cbfb8"\r
687             ]\r
688         ]\r
689     },\r
690     {\r
691         "id": "56905444.ee048c",\r
692         "type": "set",\r
693         "name": "set:  dcae-error message",\r
694         "xml": "<set>\n\t  <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",\r
695         "comments": "",\r
696         "x": 1979.2857666015625,\r
697         "y": 951.3451318740845,\r
698         "z": "285db0f2.06375",\r
699         "wires": []\r
700     },\r
701     {\r
702         "id": "a6130136.14cf",\r
703         "type": "record",\r
704         "name": "record",\r
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",\r
706         "comments": "",\r
707         "outputs": 1,\r
708         "x": 1923.78564453125,\r
709         "y": 1006.1785078048706,\r
710         "z": "285db0f2.06375",\r
711         "wires": [\r
712             []\r
713         ]\r
714     },\r
715     {\r
716         "id": "76262d39.a182fc",\r
717         "type": "execute",\r
718         "name": "execute getCommonConfigInfo",\r
719         "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n",\r
720         "comments": "",\r
721         "outputs": 1,\r
722         "x": 460.4920959472656,\r
723         "y": 176.47618103027344,\r
724         "z": "285db0f2.06375",\r
725         "wires": [\r
726             [\r
727                 "5b5f729f.d2e9dc",\r
728                 "1ef0e43c.497fbc"\r
729             ]\r
730         ]\r
731     },\r
732     {\r
733         "id": "5b5f729f.d2e9dc",\r
734         "type": "other",\r
735         "name": "other",\r
736         "xml": "<outcome value='Other'>\n",\r
737         "comments": "",\r
738         "outputs": 1,\r
739         "x": 730.0635681152344,\r
740         "y": 154.09521484375,\r
741         "z": "285db0f2.06375",\r
742         "wires": [\r
743             [\r
744                 "61354486.d04ddc"\r
745             ]\r
746         ]\r
747     },\r
748     {\r
749         "id": "61354486.d04ddc",\r
750         "type": "block",\r
751         "name": "block",\r
752         "xml": "<block>\n",\r
753         "atomic": "false",\r
754         "comments": "",\r
755         "outputs": 1,\r
756         "x": 867.0635681152344,\r
757         "y": 158.09521484375,\r
758         "z": "285db0f2.06375",\r
759         "wires": [\r
760             [\r
761                 "356ae353.38975c"\r
762             ]\r
763         ]\r
764     },\r
765     {\r
766         "id": "356ae353.38975c",\r
767         "type": "record",\r
768         "name": "record",\r
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",\r
770         "comments": "",\r
771         "outputs": 1,\r
772         "x": 1018.0635681152344,\r
773         "y": 155.09521484375,\r
774         "z": "285db0f2.06375",\r
775         "wires": [\r
776             []\r
777         ]\r
778     },\r
779     {\r
780         "id": "1ef0e43c.497fbc",\r
781         "type": "failure",\r
782         "name": "failure",\r
783         "xml": "<outcome value='failure'>\n",\r
784         "comments": "",\r
785         "outputs": 1,\r
786         "x": 728.0634765625,\r
787         "y": 204.2380828857422,\r
788         "z": "285db0f2.06375",\r
789         "wires": [\r
790             [\r
791                 "822988bb.6c77c"\r
792             ]\r
793         ]\r
794     },\r
795     {\r
796         "id": "822988bb.6c77c",\r
797         "type": "block",\r
798         "name": "block",\r
799         "xml": "<block>\n",\r
800         "atomic": "false",\r
801         "comments": "",\r
802         "outputs": 1,\r
803         "x": 859.3968200683594,\r
804         "y": 216.42860412597656,\r
805         "z": "285db0f2.06375",\r
806         "wires": [\r
807             [\r
808                 "45133d81.5404ec"\r
809             ]\r
810         ]\r
811     },\r
812     {\r
813         "id": "45133d81.5404ec",\r
814         "type": "returnFailure",\r
815         "name": "return failure",\r
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",\r
817         "comments": "",\r
818         "x": 1017.0634155273438,\r
819         "y": 221.14280700683594,\r
820         "z": "285db0f2.06375",\r
821         "wires": []\r
822     },\r
823     {\r
824         "id": "de8fcfa2.bd48e",\r
825         "type": "execute",\r
826         "name": "execute params",\r
827         "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n  ",\r
828         "comments": "",\r
829         "outputs": 1,\r
830         "x": 449.78961181640625,\r
831         "y": 440.357177734375,\r
832         "z": "285db0f2.06375",\r
833         "wires": [\r
834             [\r
835                 "d9220a62.de752",\r
836                 "eeb5df0e.d7827"\r
837             ]\r
838         ]\r
839     },\r
840     {\r
841         "id": "d9220a62.de752",\r
842         "type": "failure",\r
843         "name": "failure",\r
844         "xml": "<outcome value='failure'>\n",\r
845         "comments": "",\r
846         "outputs": 1,\r
847         "x": 605.2539672851562,\r
848         "y": 416.96429443359375,\r
849         "z": "285db0f2.06375",\r
850         "wires": [\r
851             [\r
852                 "c03a5b17.52d19"\r
853             ]\r
854         ]\r
855     },\r
856     {\r
857         "id": "eeb5df0e.d7827",\r
858         "type": "not-found",\r
859         "name": "not-found",\r
860         "xml": "<outcome value='not-found'>\n",\r
861         "comments": "",\r
862         "outputs": 1,\r
863         "x": 608.6468505859375,\r
864         "y": 452.67840576171875,\r
865         "z": "285db0f2.06375",\r
866         "wires": [\r
867             [\r
868                 "c03a5b17.52d19"\r
869             ]\r
870         ]\r
871     },\r
872     {\r
873         "id": "c03a5b17.52d19",\r
874         "type": "block",\r
875         "name": "block",\r
876         "xml": "<block>\n",\r
877         "atomic": "false",\r
878         "comments": "",\r
879         "outputs": 1,\r
880         "x": 788.6467895507812,\r
881         "y": 419.2857360839844,\r
882         "z": "285db0f2.06375",\r
883         "wires": [\r
884             [\r
885                 "45b54218.56b09c"\r
886             ]\r
887         ]\r
888     },\r
889     {\r
890         "id": "45b54218.56b09c",\r
891         "type": "returnFailure",\r
892         "name": "return failure",\r
893         "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />",\r
894         "comments": "",\r
895         "x": 957.0396118164062,\r
896         "y": 411.2500305175781,\r
897         "z": "285db0f2.06375",\r
898         "wires": []\r
899     },\r
900     {\r
901         "id": "a333263.a3f5058",\r
902         "type": "get-resource",\r
903         "name": "get-resource: APPC.protocol",\r
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",\r
905         "comments": "",\r
906         "outputs": 1,\r
907         "x": 418.4284973144531,\r
908         "y": 272.2857666015625,\r
909         "z": "285db0f2.06375",\r
910         "wires": [\r
911             [\r
912                 "c052a17a.5bc6e",\r
913                 "81e83b37.11f208"\r
914             ]\r
915         ]\r
916     },\r
917     {\r
918         "id": "c052a17a.5bc6e",\r
919         "type": "failure",\r
920         "name": "failure",\r
921         "xml": "<outcome value='failure'>\n",\r
922         "comments": "",\r
923         "outputs": 1,\r
924         "x": 636.2857360839844,\r
925         "y": 289.42857360839844,\r
926         "z": "285db0f2.06375",\r
927         "wires": [\r
928             [\r
929                 "499f48a.6c30ab8"\r
930             ]\r
931         ]\r
932     },\r
933     {\r
934         "id": "499f48a.6c30ab8",\r
935         "type": "block",\r
936         "name": "block",\r
937         "xml": "<block>\n",\r
938         "atomic": "false",\r
939         "comments": "",\r
940         "outputs": 1,\r
941         "x": 766.2857360839844,\r
942         "y": 286.42857360839844,\r
943         "z": "285db0f2.06375",\r
944         "wires": [\r
945             []\r
946         ]\r
947     },\r
948     {\r
949         "id": "81e83b37.11f208",\r
950         "type": "success",\r
951         "name": "success",\r
952         "xml": "<outcome value='success'>\n",\r
953         "comments": "",\r
954         "outputs": 1,\r
955         "x": 638.2857360839844,\r
956         "y": 329.42857360839844,\r
957         "z": "285db0f2.06375",\r
958         "wires": [\r
959             [\r
960                 "3b23aa3d.9ed0ee"\r
961             ]\r
962         ]\r
963     },\r
964     {\r
965         "id": "3b23aa3d.9ed0ee",\r
966         "type": "set",\r
967         "name": "set protocol",\r
968         "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",\r
969         "comments": "",\r
970         "x": 818.2857360839844,\r
971         "y": 326.42857360839844,\r
972         "z": "285db0f2.06375",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "9c2591d5.def7f",\r
977         "type": "record",\r
978         "name": "record",\r
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`'/>",\r
980         "comments": "",\r
981         "outputs": 1,\r
982         "x": 360.4285888671875,\r
983         "y": 318.2857360839844,\r
984         "z": "285db0f2.06375",\r
985         "wires": [\r
986             []\r
987         ]\r
988     },\r
989     {\r
990         "id": "924230.050aadd",\r
991         "type": "set",\r
992         "name": "set Download params",\r
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 ",\r
994         "comments": "",\r
995         "x": 318.5714111328125,\r
996         "y": 553.857177734375,\r
997         "z": "285db0f2.06375",\r
998         "wires": []\r
999     },\r
1000     {\r
1001         "id": "20606bf4.018594",\r
1002         "type": "other",\r
1003         "name": "other",\r
1004         "xml": "<outcome value='Other'>\n",\r
1005         "comments": "",\r
1006         "outputs": 1,\r
1007         "x": 308.4522705078125,\r
1008         "y": 407.30926513671875,\r
1009         "z": "285db0f2.06375",\r
1010         "wires": [\r
1011             [\r
1012                 "de8fcfa2.bd48e"\r
1013             ]\r
1014         ]\r
1015     },\r
1016     {\r
1017         "id": "ff3926e6.0b79d",\r
1018         "type": "switchNode",\r
1019         "name": "switch : Protocol",\r
1020         "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",\r
1021         "comments": "",\r
1022         "outputs": 1,\r
1023         "x": 224.1666259765625,\r
1024         "y": 355.8809509277344,\r
1025         "z": "285db0f2.06375",\r
1026         "wires": [\r
1027             [\r
1028                 "d7f8d6e5.1b2da8",\r
1029                 "20606bf4.018594"\r
1030             ]\r
1031         ]\r
1032     },\r
1033     {\r
1034         "id": "d7f8d6e5.1b2da8",\r
1035         "type": "outcome",\r
1036         "name": "CHEF",\r
1037         "xml": "<outcome value='CHEF'>\n",\r
1038         "comments": "",\r
1039         "outputs": 1,\r
1040         "x": 439.88092041015625,\r
1041         "y": 364.452392578125,\r
1042         "z": "285db0f2.06375",\r
1043         "wires": [\r
1044             [\r
1045                 "45809dc8.5741ac"\r
1046             ]\r
1047         ]\r
1048     },\r
1049     {\r
1050         "id": "45809dc8.5741ac",\r
1051         "type": "block",\r
1052         "name": "block : atomic",\r
1053         "xml": "<block atomic=\"true\">",\r
1054         "atomic": "true",\r
1055         "outputs": 1,\r
1056         "x": 654.452392578125,\r
1057         "y": 365.5714111328125,\r
1058         "z": "285db0f2.06375",\r
1059         "wires": [\r
1060             []\r
1061         ]\r
1062     }\r
1063 ]