3 "id": "b0f9211a.8565b",
9 "z": "e89a08c1.a81ec8",
17 "id": "699a5b4e.9b3424",
18 "type": "service-logic",
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'>",
27 "z": "e89a08c1.a81ec8",
35 "id": "b5f8776.2cb9d08",
37 "name": "method Generic_Configure",
38 "xml": "<method rpc='Generic_Configure' mode='sync'>\n",
43 "z": "e89a08c1.a81ec8",
51 "id": "c8da0de1.45978",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
58 "y": 163.33332538604736,
59 "z": "e89a08c1.a81ec8",
74 "id": "76e59cfc.5f7fd4",
76 "name": "call: DownloadConfig",
77 "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",
80 "x": 325.5872802734375,
81 "y": 526.5873565673828,
82 "z": "e89a08c1.a81ec8",
92 "id": "bec90611.274c8",
95 "xml": "<outcome value='failure'>\n",
98 "x": 597.9523620605469,
99 "y": 444.68251037597656,
100 "z": "e89a08c1.a81ec8",
108 "id": "c8608cf4.c7b0b8",
111 "xml": "<outcome value='not-found'>\n",
114 "x": 614.9166984558105,
115 "y": 543.5001087188721,
116 "z": "e89a08c1.a81ec8",
124 "id": "edda4be2.6e2648",
127 "xml": "<outcome value=\"success\">",
130 "x": 563.2500114440918,
131 "y": 735.8333644866943,
132 "z": "e89a08c1.a81ec8",
140 "id": "ac9b5f59.4e86f8",
142 "name": "block : atomic",
143 "xml": "<block atomic=\"true\">",
146 "x": 802.3332824707031,
147 "y": 433.1905059814453,
148 "z": "e89a08c1.a81ec8",
158 "id": "afea7253.f346a",
160 "name": "block : atomic",
161 "xml": "<block atomic=\"true\">",
164 "x": 797.8333282470703,
165 "y": 588.6667346954346,
166 "z": "e89a08c1.a81ec8",
174 "id": "afbcbd37.a519b",
176 "name": "block : atomic",
177 "xml": "<block atomic=\"true\">",
180 "x": 769.2500114440918,
181 "y": 727.0833644866943,
182 "z": "e89a08c1.a81ec8",
193 "id": "2c2b8553.7799aa",
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",
199 "x": 1065.2222938537598,
200 "y": 352.5555419921875,
201 "z": "e89a08c1.a81ec8",
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",
212 "x": 1201.2500228881836,
213 "y": 613.4166736602783,
214 "z": "e89a08c1.a81ec8",
218 "id": "c938aa48.dcd3a8",
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\" />",
224 "x": 1059.750015258789,
225 "y": 722.8333601951599,
226 "z": "e89a08c1.a81ec8",
232 "id": "86d71d06.bd08c",
233 "type": "returnFailure",
234 "name": "return failure",
235 "xml": "<return status=\"failure\">\n\t",
237 "x": 1081.777847290039,
238 "y": 516.1110925674438,
239 "z": "e89a08c1.a81ec8",
243 "id": "9ac0661e.7b3d",
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",
248 "x": 347.4602966308594,
249 "y": 424.2538604736328,
250 "z": "e89a08c1.a81ec8",
254 "id": "95955f25.02697",
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",
259 "x": 1077.583267211914,
260 "y": 674.0000476837158,
261 "z": "e89a08c1.a81ec8",
265 "id": "e3d10299.5519e8",
267 "name": "ConfigCompAdaptor resets error code for success cases",
270 "x": 1431.7500305175781,
271 "y": 671.0000514984131,
272 "z": "e89a08c1.a81ec8",
276 "id": "de144a77.072fa",
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",
282 "x": 439.98406982421875,
283 "y": 141.20639038085938,
284 "z": "e89a08c1.a81ec8",
292 "id": "2f0feda0.bacb3a",
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",
298 "x": 1060.000015258789,
299 "y": 794.4166793823242,
300 "z": "e89a08c1.a81ec8",
308 "id": "f41ab2e3.c61a18",
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",
314 "x": 1857.8889350891113,
315 "y": 518.2222175598145,
316 "z": "e89a08c1.a81ec8",
322 "id": "f325ba8f.662a2",
324 "name": "set tmp.message",
325 "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",
327 "x": 1859.1110229492188,
328 "y": 444.55554962158203,
329 "z": "e89a08c1.a81ec8",
333 "id": "8dd523f9.336fd8",
334 "type": "switchNode",
335 "name": "switch: error-code",
336 "xml": "<switch test=\"`$error-code`\">\n",
339 "x": 1090.9999084472656,
340 "y": 423.6666316986084,
341 "z": "e89a08c1.a81ec8",
350 "id": "52b728b4.72535",
352 "name": "outcome: 400",
353 "xml": "<outcome value=\"400\">",
356 "x": 1286.6666946411133,
357 "y": 366.3333282470703,
358 "z": "e89a08c1.a81ec8",
366 "id": "c34ec64f.1a02d8",
368 "name": "block : atomic",
369 "xml": "<block atomic=\"true\">",
372 "x": 1521.6666717529297,
373 "y": 363.88890743255615,
374 "z": "e89a08c1.a81ec8",
380 "id": "9ac38973.82aa58",
382 "name": "outcome: Other",
383 "xml": "<outcome value=\"Other\">",
386 "x": 1297.6666259765625,
387 "y": 449.11109161376953,
388 "z": "e89a08c1.a81ec8",
396 "id": "268d24.c9906adc",
398 "name": "block : atomic",
399 "xml": "<block atomic=\"true\">",
402 "x": 1521.1110382080078,
403 "y": 451.2222309112549,
404 "z": "e89a08c1.a81ec8",
413 "id": "aeac9862.7a823",
415 "name": "ISBC cases returns failure to stop polling",
418 "x": 1571.6665344238281,
419 "y": 264.5555238723755,
420 "z": "e89a08c1.a81ec8",
424 "id": "be65d4b2.0f598",
427 "xml": "<outcome value='failure'>\n",
430 "x": 1255.916648864746,
431 "y": 790.0000534057617,
432 "z": "e89a08c1.a81ec8",
440 "id": "62276952.dd6d28",
442 "name": "block : atomic",
443 "xml": "<block atomic=\"true\">",
446 "x": 1429.5000267028809,
447 "y": 791.5000534057617,
448 "z": "e89a08c1.a81ec8",
454 "id": "8db27e16.957fb",
457 "xml": "<outcome value='failure'>\n",
460 "x": 605.6666870117188,
461 "y": 165.6666259765625,
462 "z": "e89a08c1.a81ec8",
470 "id": "74d92b55.5304dc",
472 "name": "block : atomic",
473 "xml": "<block atomic=\"true\">",
476 "x": 756.888916015625,
477 "y": 164.5555419921875,
478 "z": "e89a08c1.a81ec8",
484 "id": "553a35f.e4a004c",
486 "name": "block : atomic",
487 "xml": "<block atomic=\"true\">",
490 "x": 1025.000015258789,
491 "y": 868.6665592193604,
492 "z": "e89a08c1.a81ec8",
501 "id": "ebfb9352.ec50b",
503 "name": "call: SaveRunningConfig",
504 "xml": "<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">",
507 "x": 1284.750015258789,
508 "y": 867.4999322891235,
509 "z": "e89a08c1.a81ec8",
517 "id": "7854f6c7.2823e",
518 "type": "switchNode",
519 "name": "switch: request-action",
520 "xml": "<switch test=\"`$request-action`\">\n",
523 "x": 1239.4998970031738,
524 "y": 959.1665554046631,
525 "z": "e89a08c1.a81ec8",
534 "id": "16e33ba.c1e34c4",
537 "xml": "<outcome value='Configure'>",
540 "x": 1486.749900817871,
541 "y": 949.0831813812256,
542 "z": "e89a08c1.a81ec8",
550 "id": "25348bc1.fddc5c",
552 "name": "ConfigScale",
553 "xml": "<outcome value='ConfigScale'>",
556 "x": 1491.5000228881836,
557 "y": 1016.1665563583374,
558 "z": "e89a08c1.a81ec8",
566 "id": "15d9940.14ffcec",
568 "name": "block : atomic",
569 "xml": "<block atomic=\"true\">",
572 "x": 1768.9165344238281,
573 "y": 996.2499361038208,
574 "z": "e89a08c1.a81ec8",
582 "id": "fb1e2601.90a2e8",
584 "name": "call: UpdateAaiInfo",
585 "xml": "<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">",
588 "x": 790.3334465026855,
589 "y": 1106.5833053588867,
590 "z": "e89a08c1.a81ec8",
598 "id": "59b2723b.e9deec",
601 "xml": "<outcome value='not-found'>\n",
604 "x": 997.9167556762695,
605 "y": 1110.833306312561,
606 "z": "e89a08c1.a81ec8",
614 "id": "5eb00d25.62c5ac",
616 "name": "block : atomic",
617 "xml": "<block atomic=\"true\">",
621 "x": 1192.083267211914,
622 "y": 1112.416561126709,
623 "z": "e89a08c1.a81ec8",
632 "id": "2893c600.5cbb62",
634 "name": "set: dcae-error message",
635 "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ",
637 "x": 1499.2500228881836,
638 "y": 1086.999930858612,
639 "z": "e89a08c1.a81ec8",
643 "id": "733a4c40.f8b7f4",
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",
649 "x": 1442.1666526794434,
650 "y": 1133.2499332427979,
651 "z": "e89a08c1.a81ec8",
657 "id": "49c0512d.dc8838",
659 "name": "block : atomic",
660 "xml": "<block atomic=\"true\">",
664 "x": 1691.0832748413086,
665 "y": 867.6665601730347,
666 "z": "e89a08c1.a81ec8",
675 "id": "377b00f2.109a08",
678 "xml": "<outcome value='not-found'>\n",
681 "x": 1498.5832748413086,
682 "y": 867.4165601730347,
683 "z": "e89a08c1.a81ec8",
691 "id": "e5201048.7701c8",
693 "name": "set: dcae-error message",
694 "xml": "<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ",
696 "x": 2000.0000305175781,
697 "y": 869.916558265686,
698 "z": "e89a08c1.a81ec8",
702 "id": "3646c95c.027db6",
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",
708 "x": 1944.4999084472656,
709 "y": 924.7499341964722,
710 "z": "e89a08c1.a81ec8",
716 "id": "76000bcb.0030c4",
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",
722 "x": 481.20635986328125,
723 "y": 95.047607421875,
724 "z": "e89a08c1.a81ec8",
733 "id": "f0fb9050.5b961",
736 "xml": "<outcome value='Other'>\n",
739 "x": 750.77783203125,
740 "y": 72.66664123535156,
741 "z": "e89a08c1.a81ec8",
749 "id": "554248d0.355a58",
756 "x": 887.77783203125,
757 "y": 76.66664123535156,
758 "z": "e89a08c1.a81ec8",
766 "id": "8e5daf5e.ab8be8",
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",
772 "x": 1038.77783203125,
773 "y": 73.66664123535156,
774 "z": "e89a08c1.a81ec8",
780 "id": "104a596e.149de7",
783 "xml": "<outcome value='failure'>\n",
786 "x": 748.7777404785156,
787 "y": 122.80950927734375,
788 "z": "e89a08c1.a81ec8",
796 "id": "b194c7ee.140c08",
803 "x": 880.111083984375,
804 "y": 135.00003051757812,
805 "z": "e89a08c1.a81ec8",
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",
818 "x": 1037.7776794433594,
819 "y": 139.7142333984375,
820 "z": "e89a08c1.a81ec8",
824 "id": "af6bb1c9.1133d",
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 ",
830 "x": 470.5038757324219,
831 "y": 358.92860412597656,
832 "z": "e89a08c1.a81ec8",
841 "id": "f51503a4.2189b",
844 "xml": "<outcome value='failure'>\n",
847 "x": 625.9682312011719,
848 "y": 335.5357208251953,
849 "z": "e89a08c1.a81ec8",
857 "id": "38f4d1e3.88fbc6",
860 "xml": "<outcome value='not-found'>\n",
863 "x": 629.3611145019531,
864 "y": 371.2498321533203,
865 "z": "e89a08c1.a81ec8",
873 "id": "1368e660.9cb882",
880 "x": 809.3610534667969,
881 "y": 337.85716247558594,
882 "z": "e89a08c1.a81ec8",
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`\" />",
895 "x": 977.7538757324219,
896 "y": 329.8214569091797,
897 "z": "e89a08c1.a81ec8",
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",
907 "x": 439.14276123046875,
908 "y": 190.85719299316406,
909 "z": "e89a08c1.a81ec8",
918 "id": "79be303c.d125d",
921 "xml": "<outcome value='failure'>\n",
926 "z": "e89a08c1.a81ec8",
934 "id": "2ce2ab4d.00561c",
943 "z": "e89a08c1.a81ec8",
949 "id": "9260b491.583b18",
952 "xml": "<outcome value='success'>\n",
957 "z": "e89a08c1.a81ec8",
965 "id": "d4f3c05.c88d1c",
967 "name": "set protocol",
968 "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$APPC.protocol.PROTOCOL`' />\n\n\n\n\n\n",
972 "z": "e89a08c1.a81ec8",
976 "id": "c495eaeb.1027f8",
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`'/>",
982 "x": 381.1428527832031,
983 "y": 236.85716247558594,
984 "z": "e89a08c1.a81ec8",
990 "id": "ba117359.6eb8e8",
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 ",
995 "x": 339.2856750488281,
996 "y": 472.42860412597656,
997 "z": "e89a08c1.a81ec8",
1001 "id": "fbd748bf.9caff",
1004 "xml": "<outcome value='Other'>\n",
1007 "x": 329.1665344238281,
1008 "y": 325.8806915283203,
1009 "z": "e89a08c1.a81ec8",
1017 "id": "8dc5295f.7416",
1018 "type": "switchNode",
1019 "name": "switch : Protocol",
1020 "xml": "<switch test=\"`$APPC.protocol.PROTOCOL`\">\n",
1023 "x": 244.88088989257812,
1024 "y": 274.45237731933594,
1025 "z": "e89a08c1.a81ec8",
1034 "id": "f2258254.879a48",
1037 "xml": "<outcome value='CHEF'>\n",
1040 "x": 460.5951843261719,
1041 "y": 283.02381896972656,
1042 "z": "e89a08c1.a81ec8",
1050 "id": "945892f0.a8e7b8",
1052 "name": "block : atomic",
1053 "xml": "<block atomic=\"true\">",
1056 "x": 675.1666564941406,
1057 "y": 284.14283752441406,
1058 "z": "e89a08c1.a81ec8",