3 "id": "510329fc.5eb288",
9 "z": "f24fb736.66a428",
17 "id": "d0754e51.43601",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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='GENERIC-RESOURCE-API' version='${project.version}'>",
25 "x": 304.00000381469727,
26 "y": 123.0000171661377,
27 "z": "f24fb736.66a428",
35 "id": "5324d186.c424e",
37 "name": "sotn-attachment-topology-operation-activate",
38 "xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",
41 "x": 292.0001220703125,
43 "z": "f24fb736.66a428",
51 "id": "200d23ad.1ba52c",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 308.0001220703125,
59 "y": 766.0002446174622,
60 "z": "f24fb736.66a428",
87 "id": "50fa98f0.7c4998",
89 "name": "set tmp.ar.allotted-resource-id,etc",
90 "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
92 "x": 704.9935607910156,
93 "y": 164.9934868812561,
94 "z": "f24fb736.66a428",
98 "id": "d87c2a28.d4a808",
100 "name": "set tmp ar-id to fetch resource from MDSAL",
103 "x": 733.9538726806641,
104 "y": 129.02528285980225,
105 "z": "f24fb736.66a428",
109 "id": "6f233fc4.4456d",
111 "name": "set tmp.ar.self-link",
112 "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",
114 "x": 658.9934997558594,
115 "y": 257.99349212646484,
116 "z": "f24fb736.66a428",
120 "id": "b2920bb5.1af8e8",
122 "name": "execute Properties",
123 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
126 "x": 665.2553901672363,
127 "y": 345.6602210998535,
128 "z": "f24fb736.66a428",
134 "id": "8ef678b.4678d88",
136 "name": "generate allotted-resource tmp.ar-url",
137 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
140 "x": 712.2554473876953,
141 "y": 433.6602249145508,
142 "z": "f24fb736.66a428",
148 "id": "2c8ad64b.5a9c0a",
150 "name": "GET connection-attachment-allotted-resource from mdsal",
153 "x": 758.8083801269531,
154 "y": 564.5386590957642,
155 "z": "f24fb736.66a428",
159 "id": "3f345735.382a78",
161 "name": "Used for setting output to API Handler",
164 "x": 712.9935302734375,
165 "y": 224.993501663208,
166 "z": "f24fb736.66a428",
170 "id": "dc7c3756.7911f8",
172 "name": "Obtain different URL, template location etc",
173 "info": "For saving resource information to MDSAL & for AAI",
175 "x": 730.9934959411621,
176 "y": 310.8823823928833,
177 "z": "f24fb736.66a428",
181 "id": "385fcb45.8d58e4",
183 "name": "Used to Get AR by id to MDSAL, same as self-link",
186 "x": 756.9935150146484,
187 "y": 397.8823413848877,
188 "z": "f24fb736.66a428",
192 "id": "fb3f3db1.2e857",
195 "xml": "<outcome value='success'>\n",
198 "x": 1218.6667919158936,
199 "y": 581.9999847412109,
200 "z": "f24fb736.66a428",
208 "id": "7924d66d.1039e8",
210 "name": "block: atomic",
211 "xml": "<block atomic=\"true\">\n",
215 "x": 1362.6668701171875,
216 "y": 539.4999027252197,
217 "z": "f24fb736.66a428",
225 "id": "2e9884a4.fb6aac",
226 "type": "switchNode",
227 "name": "switch cr length",
228 "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
231 "x": 1531.5242938995361,
232 "y": 537.1190738677979,
233 "z": "f24fb736.66a428",
242 "id": "a5020a5a.1a8de8",
245 "xml": "<outcome value='1'>\n",
248 "x": 1686.8574295043945,
249 "y": 509.1189889907837,
250 "z": "f24fb736.66a428",
258 "id": "dc7b8304.a3929",
260 "name": "block: atomic",
261 "xml": "<block atomic='true'>\n",
265 "x": 1845.381233215332,
266 "y": 507.02383613586426,
267 "z": "f24fb736.66a428",
277 "id": "57e48b3f.e4d594",
278 "type": "returnFailure",
279 "name": "return failure",
280 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Connection attachment resource not exist\" />\n \n",
282 "x": 1785.5191650390625,
283 "y": 614.0660705566406,
284 "z": "f24fb736.66a428",
288 "id": "549a2a73.774b74",
291 "xml": "<outcome value='Other'>\n",
294 "x": 1210.5185947418213,
295 "y": 617.0660696029663,
296 "z": "f24fb736.66a428",
304 "id": "13c58b6.0463e75",
306 "name": "block: atomic",
307 "xml": "<block atomic=\"true\">\n",
311 "x": 1390.5185451507568,
312 "y": 617.7326202392578,
313 "z": "f24fb736.66a428",
321 "id": "a75f121c.781a7",
324 "xml": "<outcome value='Other'>\n",
327 "x": 1678.185432434082,
328 "y": 568.3993635177612,
329 "z": "f24fb736.66a428",
337 "id": "2e53bf10.53616",
339 "name": "set connection-attachment-ar from get",
340 "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
342 "x": 2092.4446868896484,
343 "y": 480.00008821487427,
344 "z": "f24fb736.66a428",
348 "id": "16d5ef9e.67621",
350 "name": "set oper-status",
351 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
353 "x": 2026.4447174072266,
354 "y": 553.4285907745361,
355 "z": "f24fb736.66a428",
359 "id": "4d06247.7481adc",
360 "type": "switchNode",
361 "name": "switch order-status",
362 "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
365 "x": 2036.4444961547852,
366 "y": 519.0000247955322,
367 "z": "f24fb736.66a428",
377 "id": "13c3c1da.98e52e",
379 "name": "outcome Created",
380 "xml": "<outcome value='Created'>\n",
383 "x": 2272.044578552246,
384 "y": 513.0000557899475,
385 "z": "f24fb736.66a428",
393 "id": "c01b9863.c31138",
395 "name": "outcome Other",
396 "xml": "<outcome value='Other'>\n",
399 "x": 2265.759078979492,
400 "y": 593.4286904335022,
401 "z": "f24fb736.66a428",
409 "id": "29af8103.34f60e",
416 "x": 2430.515251159668,
417 "y": 513.37571144104,
418 "z": "f24fb736.66a428",
424 "id": "869d355f.ff5a28",
425 "type": "returnFailure",
426 "name": "return failure",
427 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" \n value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
429 "x": 2441.666893005371,
430 "y": 592.0000896453857,
431 "z": "f24fb736.66a428",
435 "id": "4c9dfad4.b5cb94",
437 "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
438 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
441 "x": 929.303050994873,
442 "y": 664.4936046600342,
443 "z": "f24fb736.66a428",
449 "id": "525ecaee.ee9b24",
451 "name": "block: atomic",
452 "xml": "<block atomic=\"true\">\n",
456 "x": 623.3091506958008,
457 "y": 665.4999752044678,
458 "z": "f24fb736.66a428",
466 "id": "f0374b61.7fdcc8",
468 "name": "GET parent-service-data from mdsal to check existence of other End point",
471 "x": 811.00048828125,
472 "y": 710.5317525863647,
473 "z": "f24fb736.66a428",
477 "id": "ee77ccab.555f2",
479 "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
480 "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
483 "x": 1702.1851959228516,
484 "y": 863.0042300224304,
485 "z": "f24fb736.66a428",
493 "id": "41e3aa85.858d54",
494 "type": "switchNode",
495 "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
496 "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
499 "x": 786.1842193603516,
500 "y": 970.7182664871216,
501 "z": "f24fb736.66a428",
511 "id": "227fe562.bef93a",
514 "xml": "<outcome value='Other'>\n",
517 "x": 1114.3272399902344,
518 "y": 1043.5755405426025,
519 "z": "f24fb736.66a428",
527 "id": "d8325992.1c7e08",
529 "name": "block : atomic",
530 "xml": "<block atomic=\"true\">",
533 "x": 1298.454502105713,
534 "y": 902.7015495300293,
535 "z": "f24fb736.66a428",
544 "id": "1d8e18c9.612a97",
545 "type": "switchNode",
546 "name": "switch allotted-resource-id",
547 "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
550 "x": 2142.2965240478516,
551 "y": 860.0040321350098,
552 "z": "f24fb736.66a428",
561 "id": "d475cadd.1a2f78",
562 "type": "outcomeTrue",
564 "xml": "<outcome value='true'>\n",
567 "x": 2315.1067390441895,
568 "y": 831.4686470031738,
569 "z": "f24fb736.66a428",
577 "id": "7b37e59c.23ec7c",
579 "name": "block : atomic",
580 "xml": "<block atomic=\"true\">",
583 "x": 2463.8672103881836,
584 "y": 888.3257341384888,
585 "z": "f24fb736.66a428",
593 "id": "102e4d37.8fb7c3",
595 "name": "set tmp.pidx and ptx.consumed-ar",
596 "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
598 "x": 2698.724636077881,
599 "y": 886.8972663879395,
600 "z": "f24fb736.66a428",
604 "id": "82ecf3e0.5c52b",
606 "name": "Check existence of other AR in parent service data",
607 "info": "Check if other allotted resource is available.",
609 "x": 733.9626579284668,
610 "y": 875.8929615020752,
611 "z": "f24fb736.66a428",
615 "id": "30f6347f.71f27c",
618 "xml": "<outcome value='1'>\n",
621 "x": 1128.9797096252441,
622 "y": 982.6772241592407,
623 "z": "f24fb736.66a428",
631 "id": "70131877.497ee8",
632 "type": "returnFailure",
633 "name": "return failure",
634 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: End points not available\" />\n \n",
636 "x": 1273.9795875549316,
637 "y": 1042.67746925354,
638 "z": "f24fb736.66a428",
642 "id": "8d3aa09e.93736",
645 "xml": "<outcome value='2'>\n",
648 "x": 1123.9795227050781,
649 "y": 903.6772499084473,
650 "z": "f24fb736.66a428",
658 "id": "4ae70fe8.b24e9",
665 "x": 2473.0909538269043,
666 "y": 830.6773900985718,
667 "z": "f24fb736.66a428",
673 "id": "4ec4a51f.47decc",
674 "type": "outcomeTrue",
676 "xml": "<outcome value='false'>\n",
679 "x": 2322.0905952453613,
680 "y": 887.6772499084473,
681 "z": "f24fb736.66a428",
689 "id": "7fdc18ff.582858",
690 "type": "switchNode",
691 "name": "switch tmp.found-in-ar",
692 "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",
695 "x": 1510.9794998168945,
696 "y": 956.4550676345825,
697 "z": "f24fb736.66a428",
705 "id": "92b2633f.8d761",
706 "type": "outcomeTrue",
708 "xml": "<outcome value='true'>\n",
711 "x": 1681.97953414917,
712 "y": 957.5662889480591,
713 "z": "f24fb736.66a428",
721 "id": "c3df20e.333b9e",
723 "name": "block : atomic",
724 "xml": "<block atomic=\"true\">",
727 "x": 1830.9796295166016,
728 "y": 957.5662879943848,
729 "z": "f24fb736.66a428",
738 "id": "642168d6.c96a08",
741 "xml": "<outcome value='success'>\n",
744 "x": 2577.097454071045,
745 "y": 973.7951421737671,
746 "z": "f24fb736.66a428",
754 "id": "d6797517.070b08",
757 "xml": "<outcome value='Other'>\n",
760 "x": 2568.9492568969727,
761 "y": 1008.8612270355225,
762 "z": "f24fb736.66a428",
770 "id": "5a7b91f3.92074",
771 "type": "switchNode",
772 "name": "switch mdsal-psd.service-data.networks_length",
773 "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
776 "x": 1574.313003540039,
777 "y": 1057.899908065796,
778 "z": "f24fb736.66a428",
787 "id": "decd8771.495088",
790 "xml": "<outcome value='1'>\n",
793 "x": 1838.3128509521484,
794 "y": 1037.7886543273926,
795 "z": "f24fb736.66a428",
803 "id": "5c7b0dd2.1db974",
806 "xml": "<outcome value='Other'>\n",
809 "x": 1828.3129119873047,
810 "y": 1085.788625717163,
811 "z": "f24fb736.66a428",
819 "id": "2701bab7.b74336",
820 "type": "returnFailure",
821 "name": "return failure",
822 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Incorrect state found more then 1 network\" />\n \n",
824 "x": 1966.9652557373047,
825 "y": 1087.890386581421,
826 "z": "f24fb736.66a428",
830 "id": "3f964f3.96aa1b",
832 "name": "set tmp.network.",
833 "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",
835 "x": 2199.757709503174,
836 "y": 1038.788824081421,
837 "z": "f24fb736.66a428",
841 "id": "2cd6df64.b8473",
843 "name": "block : atomic",
844 "xml": "<block atomic=\"true\">",
847 "x": 1296.4240188598633,
848 "y": 981.7884912490845,
849 "z": "f24fb736.66a428",
857 "id": "26e27dfe.c23ed2",
859 "name": "block : atomic",
860 "xml": "<block atomic=\"true\">",
863 "x": 1997.0906219482422,
864 "y": 1040.7884883880615,
865 "z": "f24fb736.66a428",
874 "id": "d34f3159.b7d95",
876 "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
877 "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
880 "x": 2360.090660095215,
881 "y": 1086.7886428833008,
882 "z": "f24fb736.66a428",
890 "id": "6c6f677c.4a6ae8",
897 "x": 2406.646728515625,
898 "y": 1317.7884521484375,
899 "z": "f24fb736.66a428",
916 "id": "5a5ff171.f67b5",
917 "type": "switchNode",
918 "name": "switch access-node-id",
919 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
922 "x": 2683.1569442749023,
923 "y": 1159.7991995811462,
924 "z": "f24fb736.66a428",
932 "id": "83c25cc5.35c9d",
933 "type": "outcomeTrue",
935 "xml": "<outcome value='true'>\n",
938 "x": 2872.1565704345703,
939 "y": 1161.7990641593933,
940 "z": "f24fb736.66a428",
948 "id": "80bf2f28.f9eae",
950 "name": "set tmp.found-in-network tmp.ep-available",
951 "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
953 "x": 3125.1567459106445,
954 "y": 1161.3991103172302,
955 "z": "f24fb736.66a428",
959 "id": "5ac44b36.e6ed64",
960 "type": "returnSuccess",
961 "name": "return success",
962 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
964 "x": 2657.146396636963,
965 "y": 1533.7884907722473,
966 "z": "f24fb736.66a428",
970 "id": "b3a2976e.016ed8",
971 "type": "switchNode",
972 "name": "switch tmp.ep-available",
973 "xml": "<switch test='`$tmp.ep-available`'>\n",
976 "x": 649.3128204345703,
977 "y": 1166.232801437378,
978 "z": "f24fb736.66a428",
987 "id": "d4dded0c.3defe",
988 "type": "outcomeTrue",
990 "xml": "<outcome value='true'>\n",
993 "x": 867.9795398712158,
994 "y": 1215.5661582946777,
995 "z": "f24fb736.66a428",
1003 "id": "d67d36b.8c807c8",
1004 "type": "outcomeTrue",
1006 "xml": "<outcome value='false'>\n",
1009 "x": 872.8683414459229,
1010 "y": 1124.566219329834,
1011 "z": "f24fb736.66a428",
1019 "id": "fea8c889.837c28",
1026 "x": 1019.8683376312256,
1027 "y": 1126.4550323486328,
1028 "z": "f24fb736.66a428",
1034 "id": "dac36818.3ade18",
1036 "name": "block : atomic",
1037 "xml": "<block atomic=\"true\">",
1040 "x": 1038.090627670288,
1041 "y": 1213.5661163330078,
1042 "z": "f24fb736.66a428",
1052 "id": "47a53791.ce00e8",
1053 "type": "switchNode",
1054 "name": "switch tmp.found-in-ar",
1055 "xml": "<switch test='`$tmp.found-in-ar`'>\n",
1058 "x": 1264.2016410827637,
1059 "y": 1180.5661163330078,
1060 "z": "f24fb736.66a428",
1069 "id": "f3f2f58d.f1fde8",
1070 "type": "outcomeTrue",
1072 "xml": "<outcome value='true'>\n",
1075 "x": 1459.6460876464844,
1076 "y": 1158.566177368164,
1077 "z": "f24fb736.66a428",
1085 "id": "73ae144b.6c716c",
1086 "type": "outcomeTrue",
1088 "xml": "<outcome value='false'>\n",
1091 "x": 1456.64599609375,
1092 "y": 1206.566162109375,
1093 "z": "f24fb736.66a428",
1101 "id": "a49cc189.c10f7",
1103 "name": "block : atomic",
1104 "xml": "<block atomic=\"true\">",
1107 "x": 1647.2017517089844,
1108 "y": 1155.566177368164,
1109 "z": "f24fb736.66a428",
1117 "id": "5c6b8964.10acc8",
1119 "name": "block : atomic",
1120 "xml": "<block atomic=\"true\">",
1123 "x": 1644.20166015625,
1124 "y": 1205.566162109375,
1125 "z": "f24fb736.66a428",
1133 "id": "b9bd1802.9893c8",
1135 "name": "GET connection-attachment-ar to store AR data from mdsal",
1138 "x": 2156.4728355407715,
1139 "y": 442.50394773483276,
1140 "z": "f24fb736.66a428",
1144 "id": "811f13c4.a802b",
1146 "name": "Set source end point",
1149 "x": 645.9727325439453,
1150 "y": 531.2539677619934,
1151 "z": "f24fb736.66a428",
1155 "id": "ab2f4625.6243a8",
1157 "name": "set tmp.ar.parent-service-instance-id",
1158 "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",
1160 "x": 696.9688262939453,
1161 "y": 740.0000905990601,
1162 "z": "f24fb736.66a428",
1166 "id": "e3a34e44.03f86",
1169 "xml": "<outcome value='success'>\n",
1172 "x": 1056.968978881836,
1173 "y": 811.0000772476196,
1174 "z": "f24fb736.66a428",
1182 "id": "8447b050.f664b",
1185 "xml": "<outcome value='Other'>\n",
1188 "x": 1048.8207817077637,
1189 "y": 846.066162109375,
1190 "z": "f24fb736.66a428",
1198 "id": "7bd6123e.8e599c",
1199 "type": "returnFailure",
1200 "name": "return failure",
1201 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Parent service data not available\" />\n \n",
1203 "x": 1194.9695625305176,
1204 "y": 845.3335733413696,
1205 "z": "f24fb736.66a428",
1209 "id": "1cfd4bb9.99d9a4",
1216 "x": 1187.9690742492676,
1217 "y": 811.0001382827759,
1218 "z": "f24fb736.66a428",
1224 "id": "863cf5ba.41a538",
1225 "type": "returnFailure",
1226 "name": "return failure",
1227 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN provided attachment resource not found\" />\n \n",
1229 "x": 2718.969306945801,
1230 "y": 1009.00026512146,
1231 "z": "f24fb736.66a428",
1235 "id": "28182687.5e2d2a",
1242 "x": 2703.9694290161133,
1243 "y": 976.0002498626709,
1244 "z": "f24fb736.66a428",
1250 "id": "b09745d8.bb7668",
1252 "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
1253 "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",
1255 "x": 782.9687652587891,
1256 "y": 913.0000648498535,
1257 "z": "f24fb736.66a428",
1261 "id": "53f5b769.1d9ac8",
1263 "name": "If other EP exists set destination end point",
1264 "info": "Check if other allotted resource is available.",
1266 "x": 699.9687652587891,
1267 "y": 1091.0000133514404,
1268 "z": "f24fb736.66a428",
1272 "id": "39192112.9a7a9e",
1279 "x": 1439.9688873291016,
1280 "y": 1418.0002946853638,
1281 "z": "f24fb736.66a428",
1296 "id": "29497381.2907dc",
1297 "type": "switchNode",
1298 "name": "switch access-node-id",
1299 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",
1302 "x": 1682.4791889190674,
1303 "y": 1288.010691165924,
1304 "z": "f24fb736.66a428",
1312 "id": "a8454134.72dfa",
1313 "type": "returnSuccess",
1314 "name": "return success",
1315 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
1317 "x": 1655.4691410064697,
1318 "y": 1593.0006546974182,
1319 "z": "f24fb736.66a428",
1323 "id": "b437b233.85dc6",
1324 "type": "switchNode",
1325 "name": "switch access-ltp-id",
1326 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",
1329 "x": 1673.9690189361572,
1330 "y": 1331.7782225608826,
1331 "z": "f24fb736.66a428",
1339 "id": "d5da4e92.fd9d5",
1340 "type": "switchNode",
1341 "name": "switch clientSignal",
1342 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",
1345 "x": 1667.9690570831299,
1346 "y": 1377.778269290924,
1347 "z": "f24fb736.66a428",
1355 "id": "527cda61.4c5444",
1356 "type": "switchNode",
1357 "name": "switch cVLAN",
1358 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",
1361 "x": 1651.9585590362549,
1362 "y": 1416.767771244049,
1363 "z": "f24fb736.66a428",
1371 "id": "b53954e3.75f548",
1372 "type": "outcomeTrue",
1374 "xml": "<outcome value='true'>\n",
1377 "x": 1860.1911029815674,
1378 "y": 1288.6670632362366,
1379 "z": "f24fb736.66a428",
1387 "id": "b7855c9c.e078",
1389 "name": "set dst-access-node-id",
1390 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1392 "x": 2035.1911029815674,
1393 "y": 1288.267038345337,
1394 "z": "f24fb736.66a428",
1398 "id": "4beb5c8f.437a34",
1399 "type": "outcomeTrue",
1401 "xml": "<outcome value='true'>\n",
1404 "x": 1855.6809711456299,
1405 "y": 1331.434519290924,
1406 "z": "f24fb736.66a428",
1414 "id": "a652bfee.a4a86",
1415 "type": "outcomeTrue",
1417 "xml": "<outcome value='true'>\n",
1420 "x": 1855.6809711456299,
1421 "y": 1377.434519290924,
1422 "z": "f24fb736.66a428",
1430 "id": "b6d9ed74.687c9",
1431 "type": "outcomeTrue",
1433 "xml": "<outcome value='true'>\n",
1436 "x": 1855.6704730987549,
1437 "y": 1416.4241433143616,
1438 "z": "f24fb736.66a428",
1446 "id": "49abb372.8700ac",
1448 "name": "for idx..tmp.ep.parameters[]",
1449 "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",
1454 "z": "f24fb736.66a428",
1462 "id": "50540586.cfd78c",
1464 "name": "set tmp.ep.parameters",
1465 "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",
1467 "x": 1858.9688053131104,
1468 "y": 1155.0000743865967,
1469 "z": "f24fb736.66a428",
1473 "id": "7849a3ee.c57b4c",
1475 "name": "set tmp.ep.parameters",
1476 "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",
1478 "x": 1855.968713760376,
1479 "y": 1201.0000591278076,
1480 "z": "f24fb736.66a428",
1484 "id": "17f7ba24.7fa566",
1486 "name": "set dst-access-node-id",
1487 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1489 "x": 2032.9689350128174,
1490 "y": 1331.0003151893616,
1491 "z": "f24fb736.66a428",
1495 "id": "b4e0c929.110668",
1497 "name": "set dst-clientSignal",
1498 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",
1500 "x": 2026.9689350128174,
1501 "y": 1375.0003151893616,
1502 "z": "f24fb736.66a428",
1506 "id": "90d8491c.861238",
1508 "name": "set dst-cVLAN",
1509 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",
1511 "x": 2017.9689350128174,
1512 "y": 1414.0003151893616,
1513 "z": "f24fb736.66a428",
1517 "id": "7a6bd4c0.0a23ac",
1519 "name": "Get controller info and send request",
1522 "x": 1899.968807220459,
1523 "y": 1885.000153541565,
1524 "z": "f24fb736.66a428",
1528 "id": "e5ca51fb.cb5be",
1530 "name": "execute RestApiCallNode Create ethernet Service",
1531 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1534 "x": 1963.9693450927734,
1535 "y": 2159.001121520996,
1536 "z": "f24fb736.66a428",
1545 "id": "4fd581be.ae7c5",
1548 "xml": "<outcome value='success'>\n",
1551 "x": 2229.9690704345703,
1552 "y": 2188.001244544983,
1553 "z": "f24fb736.66a428",
1561 "id": "9a1df066.c1be9",
1563 "name": "block : atomic",
1564 "xml": "<block atomic=\"true\">",
1568 "x": 2377.9690704345703,
1569 "y": 2186.0011224746704,
1570 "z": "f24fb736.66a428",
1576 "id": "434af439.625b6c",
1577 "type": "returnFailure",
1578 "name": "return failure",
1579 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
1581 "x": 2359.9691009521484,
1582 "y": 2133.0011825561523,
1583 "z": "f24fb736.66a428",
1587 "id": "cba0e7bf.640378",
1590 "xml": "<outcome value='failure'>\n",
1593 "x": 2220.969009399414,
1594 "y": 2133.0011825561523,
1595 "z": "f24fb736.66a428",
1603 "id": "1a8278df.ac4137",
1606 "xml": "<outcome value='failure'>\n",
1609 "x": 871.7311744689941,
1610 "y": 2108.9537086486816,
1611 "z": "f24fb736.66a428",
1619 "id": "c4aa74e4.35ca78",
1620 "type": "returnFailure",
1621 "name": "return failure",
1622 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"AAI failed\" />\n",
1624 "x": 1038.2549953460693,
1625 "y": 2135.5727157592773,
1626 "z": "f24fb736.66a428",
1630 "id": "33c28cf6.2b21a4",
1632 "name": "not-found",
1633 "xml": "<outcome value='not-found'>\n",
1636 "x": 873.8264026641846,
1637 "y": 2156.715551376343,
1638 "z": "f24fb736.66a428",
1646 "id": "cb1a048d.e95fc8",
1648 "name": "Save Resource to AAI",
1651 "x": 645.7788181304932,
1652 "y": 2097.3028717041016,
1653 "z": "f24fb736.66a428",
1657 "id": "c4803883.47c5a8",
1659 "name": "set output to api handler",
1660 "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
1662 "x": 660.5465145111084,
1663 "y": 2018.8283529281616,
1664 "z": "f24fb736.66a428",
1668 "id": "c4ade364.dff4",
1669 "type": "returnSuccess",
1670 "name": "return success",
1671 "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
1673 "x": 620.9596862792969,
1674 "y": 2204.4441413879395,
1675 "z": "f24fb736.66a428",
1679 "id": "21b8bdc2.b30a32",
1681 "name": "execute RestApiCallNode - PUT AR by id",
1682 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
1685 "x": 713.2785968780518,
1686 "y": 1943.4692058563232,
1687 "z": "f24fb736.66a428",
1697 "id": "72334169.43788",
1698 "type": "not-found",
1699 "name": "not-found",
1700 "xml": "<outcome value='not-found'>\n",
1703 "x": 967.9200191497803,
1704 "y": 1987.8006000518799,
1705 "z": "f24fb736.66a428",
1713 "id": "91c81d87.0f2e3",
1716 "xml": "<outcome value='failure'>\n",
1719 "x": 969.9200420379639,
1720 "y": 1946.3005641922355,
1721 "z": "f24fb736.66a428",
1729 "id": "4377487a.aa9b58",
1732 "xml": "<outcome value='success'>\n",
1735 "x": 973.6701259613037,
1736 "y": 1897.6577167510986,
1737 "z": "f24fb736.66a428",
1745 "id": "3aa37f14.b2a12",
1746 "type": "returnFailure",
1747 "name": "return failure",
1748 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error updating md-sal for connection-attachment-allotted-resource\" />\n",
1750 "x": 1128.67014503479,
1751 "y": 1966.050630569458,
1752 "z": "f24fb736.66a428",
1756 "id": "ce3cc849.21f268",
1763 "x": 1101.3260707855225,
1764 "y": 1899.8498849868774,
1765 "z": "f24fb736.66a428",
1771 "id": "33c05db5.bb8532",
1773 "name": "set ar-data",
1774 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",
1776 "x": 615.4922122955322,
1777 "y": 1777.8501069545746,
1778 "z": "f24fb736.66a428",
1782 "id": "3d236d8e.1a1ed2",
1784 "name": "execute getTime",
1785 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
1788 "x": 632.77805519104,
1789 "y": 1850.4697046279907,
1790 "z": "f24fb736.66a428",
1796 "id": "9dd9851c.cc5e08",
1798 "name": "set allotted-resource-oper-status",
1799 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
1801 "x": 682.7651348114014,
1802 "y": 1887.4207849502563,
1803 "z": "f24fb736.66a428",
1807 "id": "dde46f65.1623c",
1809 "name": "set model-data",
1810 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",
1812 "x": 629.3337535858154,
1813 "y": 1817.024757385254,
1814 "z": "f24fb736.66a428",
1818 "id": "c0243700.483a78",
1820 "name": "Prepare data for allotted-resource addition to MDSAL",
1821 "info": "This will add to allotted-resource which is present inside service.",
1823 "x": 742.66721534729,
1824 "y": 1738.0247094631195,
1825 "z": "f24fb736.66a428",
1829 "id": "b128777a.bf8ad8",
1831 "name": "Add to allotted-resources in mdsal",
1834 "x": 684.2470417022705,
1835 "y": 1705.4380111694336,
1836 "z": "f24fb736.66a428",
1840 "id": "ad2575da.f719b8",
1842 "name": "update AAI allotted-resource",
1843 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.service-information.service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"Active\" />\n",
1846 "x": 672.2230968475342,
1847 "y": 2134.7550144195557,
1848 "z": "f24fb736.66a428",
1857 "id": "73456eef.45eac",
1859 "name": "execute RestApiCallNode getPath from OOF",
1860 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1863 "x": 1480.973056793213,
1864 "y": 1697.2546663284302,
1865 "z": "f24fb736.66a428",
1874 "id": "473a6700.6236e8",
1877 "xml": "<outcome value='success'>\n",
1880 "x": 1720.9731979370117,
1881 "y": 1721.254635810852,
1882 "z": "f24fb736.66a428",
1890 "id": "dc79f611.cf4238",
1891 "type": "returnFailure",
1892 "name": "return failure",
1893 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",
1895 "x": 1859.973232269287,
1896 "y": 1670.2547273635864,
1897 "z": "f24fb736.66a428",
1901 "id": "5286278b.3b3cd8",
1904 "xml": "<outcome value='failure'>\n",
1907 "x": 1719.9729843139648,
1908 "y": 1670.254726409912,
1909 "z": "f24fb736.66a428",
1917 "id": "deb094f6.e597f8",
1919 "name": "Get VPNs from OOF",
1922 "x": 1466.976978302002,
1923 "y": 1664.2586660385132,
1924 "z": "f24fb736.66a428",
1928 "id": "da1582e5.d9e86",
1930 "name": "for vidx..oof.vpns_length[]",
1931 "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
1934 "x": 1420.972900390625,
1935 "y": 1779.50439453125,
1936 "z": "f24fb736.66a428",
1944 "id": "c9df49cc.0e8008",
1946 "name": "Loop through VPN and configure them",
1949 "x": 1466.9733505249023,
1950 "y": 1914.0047721862793,
1951 "z": "f24fb736.66a428",
1955 "id": "477598ab.94c4f8",
1956 "type": "switchNode",
1957 "name": "switch name",
1958 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n \n",
1961 "x": 2660.757080078125,
1962 "y": 1251.121826171875,
1963 "z": "f24fb736.66a428",
1971 "id": "7c0be7f6.9e8c58",
1972 "type": "outcomeTrue",
1974 "xml": "<outcome value='true'>\n",
1977 "x": 2849.757049560547,
1978 "y": 1251.121811389923,
1979 "z": "f24fb736.66a428",
1987 "id": "1cf5a70.cc26659",
1989 "name": "set etht-svc-name & bandwidth-profile-name",
1990 "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
1992 "x": 3090.75736618042,
1993 "y": 1250.7218661308289,
1994 "z": "f24fb736.66a428",
1998 "id": "bf3fd182.60613",
1999 "type": "switchNode",
2000 "name": "switch description",
2001 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",
2004 "x": 2673.5969581604004,
2005 "y": 1286.1219210624695,
2006 "z": "f24fb736.66a428",
2014 "id": "f2fb468e.d467f8",
2015 "type": "outcomeTrue",
2017 "xml": "<outcome value='true'>\n",
2020 "x": 2848.597023010254,
2021 "y": 1288.1219067573547,
2022 "z": "f24fb736.66a428",
2030 "id": "e7ce8468.64c938",
2032 "name": "set etht-svc-descr",
2033 "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2035 "x": 3004.9303398132324,
2036 "y": 1285.5829815864563,
2037 "z": "f24fb736.66a428",
2041 "id": "ee0ac40b.7c8918",
2042 "type": "switchNode",
2043 "name": "switch tenantId",
2044 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",
2047 "x": 2668.979221343994,
2048 "y": 1319.4553112983704,
2049 "z": "f24fb736.66a428",
2057 "id": "db11a89d.57ead8",
2058 "type": "outcomeTrue",
2060 "xml": "<outcome value='true'>\n",
2063 "x": 2846.9792251586914,
2064 "y": 1323.4551892280579,
2065 "z": "f24fb736.66a428",
2073 "id": "a28b1daa.bce21",
2075 "name": "set tenantId",
2076 "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2078 "x": 2984.9794120788574,
2079 "y": 1320.0551648139954,
2080 "z": "f24fb736.66a428",
2084 "id": "6b4b64b0.8aa49c",
2085 "type": "switchNode",
2086 "name": "switch cir",
2087 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",
2090 "x": 2651.818820953369,
2091 "y": 1392.4552664756775,
2092 "z": "f24fb736.66a428",
2100 "id": "779ba6d5.68a5b8",
2101 "type": "outcomeTrue",
2103 "xml": "<outcome value='true'>\n",
2106 "x": 2846.8188858032227,
2107 "y": 1393.4552664756775,
2108 "z": "f24fb736.66a428",
2116 "id": "51c8d37d.57c57c",
2119 "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2121 "x": 2971.15238571167,
2122 "y": 1391.916341304779,
2123 "z": "f24fb736.66a428",
2127 "id": "334ef95a.804996",
2128 "type": "switchNode",
2129 "name": "switch vpnType",
2130 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",
2133 "x": 2666.127109527588,
2134 "y": 1355.232976436615,
2135 "z": "f24fb736.66a428",
2143 "id": "edf65e2e.17eef",
2144 "type": "outcomeTrue",
2146 "xml": "<outcome value='true'>\n",
2149 "x": 2848.127296447754,
2150 "y": 1358.232961177826,
2151 "z": "f24fb736.66a428",
2159 "id": "3a58a10e.af006e",
2161 "name": "set vpnType",
2162 "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2164 "x": 2984.461040496826,
2165 "y": 1354.6942028999329,
2166 "z": "f24fb736.66a428",
2170 "id": "f2f619ae.81dc88",
2171 "type": "switchNode",
2172 "name": "switch eir",
2173 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",
2176 "x": 2647.1091651916504,
2177 "y": 1426.1531739234924,
2178 "z": "f24fb736.66a428",
2186 "id": "290775a.582758a",
2187 "type": "outcomeTrue",
2189 "xml": "<outcome value='true'>\n",
2192 "x": 2847.1094131469727,
2193 "y": 1429.1531128883362,
2194 "z": "f24fb736.66a428",
2202 "id": "be16065f.3cc068",
2205 "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2207 "x": 2970.4430351257324,
2208 "y": 1428.6141724586487,
2209 "z": "f24fb736.66a428",
2213 "id": "7f22248e.623acc",
2214 "type": "switchNode",
2215 "name": "switch colorAware",
2216 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",
2219 "x": 2672.109775543213,
2220 "y": 1460.1530528068542,
2221 "z": "f24fb736.66a428",
2229 "id": "60b638c9.9f5cf8",
2230 "type": "outcomeTrue",
2232 "xml": "<outcome value='true'>\n",
2235 "x": 2843.1095962524414,
2236 "y": 1466.1529912948608,
2237 "z": "f24fb736.66a428",
2245 "id": "6283050a.9a352c",
2247 "name": "set colorAware",
2248 "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2250 "x": 2991.44291305542,
2251 "y": 1466.6142039299011,
2252 "z": "f24fb736.66a428",
2256 "id": "1977cf51.112051",
2257 "type": "switchNode",
2258 "name": "switch couplingFlag",
2259 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",
2262 "x": 2674.1097145080566,
2263 "y": 1496.1531147956848,
2264 "z": "f24fb736.66a428",
2272 "id": "95d93fbe.f7437",
2273 "type": "outcomeTrue",
2275 "xml": "<outcome value='true'>\n",
2278 "x": 2846.1095962524414,
2279 "y": 1505.1530842781067,
2280 "z": "f24fb736.66a428",
2288 "id": "ceecc29f.0a56b",
2290 "name": "set couplingFlag",
2291 "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",
2293 "x": 2999.44291305542,
2294 "y": 1505.6142048835754,
2295 "z": "f24fb736.66a428",
2299 "id": "b4b830f7.2edfb",
2301 "name": "Check if other EP exists in SOTNConnectionResource",
2304 "x": 2805.312744140625,
2305 "y": 1114.7884521484375,
2306 "z": "f24fb736.66a428",
2310 "id": "85af2b8.2c027d8",
2312 "name": "Get other global parameters from network",
2316 "y": 1200.7884521484375,
2317 "z": "f24fb736.66a428",
2321 "id": "21b345b.f16dcba",
2322 "type": "switchNode",
2323 "name": "switch access-provider-id",
2324 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",
2327 "x": 1689.5348529815674,
2328 "y": 1462.2329812049866,
2329 "z": "f24fb736.66a428",
2337 "id": "88d75ee0.36aab",
2338 "type": "outcomeTrue",
2340 "xml": "<outcome value='true'>\n",
2343 "x": 1876.5348529815674,
2344 "y": 1458.2329812049866,
2345 "z": "f24fb736.66a428",
2353 "id": "144324cd.dbe03b",
2355 "name": "set access-provider-id",
2356 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2358 "x": 2044.5348529815674,
2359 "y": 1458.8329873085022,
2360 "z": "f24fb736.66a428",
2364 "id": "847549d0.8fada8",
2365 "type": "switchNode",
2366 "name": "switch access-client-id",
2367 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",
2370 "x": 1680.5348682403564,
2371 "y": 1505.2434296607971,
2372 "z": "f24fb736.66a428",
2380 "id": "429ac662.d36c08",
2381 "type": "outcomeTrue",
2383 "xml": "<outcome value='true'>\n",
2386 "x": 1867.5348682403564,
2387 "y": 1501.2434296607971,
2388 "z": "f24fb736.66a428",
2396 "id": "fdfea883.43ef38",
2398 "name": "set access-client-id",
2399 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2401 "x": 2035.5348682403564,
2402 "y": 1501.8434357643127,
2403 "z": "f24fb736.66a428",
2407 "id": "46d04af2.172014",
2408 "type": "switchNode",
2409 "name": "switch access-topology-id",
2410 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",
2413 "x": 1693.534812927246,
2414 "y": 1547.2434606552124,
2415 "z": "f24fb736.66a428",
2423 "id": "f9888c9d.14fbf",
2424 "type": "outcomeTrue",
2426 "xml": "<outcome value='true'>\n",
2429 "x": 1880.534812927246,
2430 "y": 1543.2434606552124,
2431 "z": "f24fb736.66a428",
2439 "id": "9db1bbe8.d24ee8",
2441 "name": "set access-topology-id",
2442 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2444 "x": 2048.534812927246,
2445 "y": 1543.843466758728,
2446 "z": "f24fb736.66a428",
2450 "id": "b2ef8ded.b479a",
2452 "name": "block : atomic",
2453 "xml": "<block atomic=\"true\">",
2456 "x": 1644.090217590332,
2457 "y": 1816.3444538116455,
2458 "z": "f24fb736.66a428",
2476 "id": "9f0b7f15.8c307",
2478 "name": "set controller data",
2479 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
2481 "x": 2285.534881591797,
2482 "y": 1880.6776461601257,
2483 "z": "f24fb736.66a428",
2487 "id": "3af624e0.31f91c",
2488 "type": "get-resource",
2489 "name": "get-resource esr-thirdparty-sdnc",
2490 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
2493 "x": 1902.0347900390625,
2494 "y": 1917.6775856018066,
2495 "z": "f24fb736.66a428",
2505 "id": "72570e2d.a62fe",
2508 "xml": "<outcome value='success'>\n",
2511 "x": 2122.034725189209,
2512 "y": 1881.6775546073914,
2513 "z": "f24fb736.66a428",
2521 "id": "c43ec6a3.683488",
2522 "type": "not-found",
2523 "name": "not-found",
2524 "xml": "<outcome value='not-found'>\n",
2527 "x": 2131.525665283203,
2528 "y": 1922.2515606880188,
2529 "z": "f24fb736.66a428",
2537 "id": "fb06874f.97c548",
2540 "xml": "<outcome value='Other'>\n",
2543 "x": 2126.858642578125,
2544 "y": 1958.5848736763,
2545 "z": "f24fb736.66a428",
2553 "id": "c36ea2d9.d18c4",
2554 "type": "returnFailure",
2555 "name": "return failure",
2556 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
2558 "x": 2278.0970153808594,
2559 "y": 1918.5373873710632,
2560 "z": "f24fb736.66a428",
2564 "id": "668b481.e36d4b8",
2565 "type": "returnFailure",
2566 "name": "return failure",
2567 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
2569 "x": 2281.6312866210938,
2570 "y": 1960.0240216255188,
2571 "z": "f24fb736.66a428",
2575 "id": "55066de5.c71104",
2576 "type": "get-resource",
2577 "name": "get-resource pnf",
2578 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
2581 "x": 1847.534683227539,
2582 "y": 1826.6772294044495,
2583 "z": "f24fb736.66a428",
2593 "id": "84c5aa59.ee67d8",
2596 "xml": "<outcome value='success'>\n",
2599 "x": 2029.5347290039062,
2600 "y": 1771.677339553833,
2601 "z": "f24fb736.66a428",
2609 "id": "41b15be2.0ba8d4",
2610 "type": "not-found",
2611 "name": "not-found",
2612 "xml": "<outcome value='not-found'>\n",
2615 "x": 2030.0256309509277,
2616 "y": 1809.2514362335205,
2617 "z": "f24fb736.66a428",
2625 "id": "f1b5d69a.0d7998",
2628 "xml": "<outcome value='Other'>\n",
2631 "x": 2021.358642578125,
2632 "y": 1842.5848112106323,
2633 "z": "f24fb736.66a428",
2641 "id": "e55b495c.733518",
2642 "type": "returnFailure",
2643 "name": "return failure",
2644 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
2646 "x": 2177.597255706787,
2647 "y": 1808.5373249053955,
2648 "z": "f24fb736.66a428",
2652 "id": "4d6a36cc.899768",
2653 "type": "returnFailure",
2654 "name": "return failure",
2655 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
2657 "x": 2175.1312866210938,
2658 "y": 1842.023959159851,
2659 "z": "f24fb736.66a428",
2663 "id": "7e1d241.12440dc",
2665 "name": "set tmp.thirdparty-sdnc-id",
2666 "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
2668 "x": 2214.5347290039062,
2669 "y": 1770.6774616241455,
2670 "z": "f24fb736.66a428",
2674 "id": "9df363c3.42e7",
2676 "name": "get domain controller information",
2679 "x": 1898.0385971069336,
2680 "y": 1793.6811847686768,
2681 "z": "f24fb736.66a428",
2685 "id": "2e8e574c.c64e68",
2687 "name": "set oof.vpn",
2688 "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
2690 "x": 1859.534683227539,
2691 "y": 1747.7883129119873,
2692 "z": "f24fb736.66a428",
2696 "id": "f4e8e4f3.f6e418",
2698 "name": "save VPN resource in AAI",
2699 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />",
2702 "x": 1874.0001602172852,
2703 "y": 2324.7506742477417,
2704 "z": "f24fb736.66a428",
2710 "id": "dea701ef.7abc9",
2712 "name": "set tmp.vpnName",
2713 "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`\" />",
2715 "x": 1850.5001602172852,
2716 "y": 2277.250370979309,
2717 "z": "f24fb736.66a428",
2721 "id": "644c2300.fecafc",
2723 "name": "save connectivity relationship in AAI",
2724 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",
2727 "x": 1909.0001602172852,
2728 "y": 2369.7504301071167,
2729 "z": "f24fb736.66a428",
2735 "id": "ce418ee5.81a4e",
2737 "name": "save vpn and its relation to AAI",
2740 "x": 1892.000358581543,
2741 "y": 2238.7506399154663,
2742 "z": "f24fb736.66a428",
2746 "id": "ca8a96be.c9e6a8",
2748 "name": "set src-ltpId dst-ltpId",
2749 "xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",
2751 "x": 1861.0001907348633,
2752 "y": 2409.7505502700806,
2753 "z": "f24fb736.66a428",
2757 "id": "8bddc111.2e08f",
2759 "name": "save srcLTP relationship in AAI",
2760 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
2763 "x": 1895.0004425048828,
2764 "y": 2449.500759124756,
2765 "z": "f24fb736.66a428",
2771 "id": "981ad4ae.e983a8",
2773 "name": "save dstLTP relationship in AAI",
2774 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
2777 "x": 1893.0002746582031,
2778 "y": 2495.2505979537964,
2779 "z": "f24fb736.66a428",
2785 "id": "b13bf095.cdea1",
2787 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
2788 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
2791 "x": 839.0039367675781,
2792 "y": 600.0039119720459,
2793 "z": "f24fb736.66a428",
2802 "id": "dcca5b8a.14d818",
2804 "name": "execute RestApiCallNode - get-resource parent service data",
2805 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
2808 "x": 766.0040893554688,
2809 "y": 827.004075050354,
2810 "z": "f24fb736.66a428",
2819 "id": "5d5e7f8f.d3d28",
2821 "name": "get parent-service-data url",
2822 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
2825 "x": 666.0039978027344,
2826 "y": 790.0039081573486,
2827 "z": "f24fb736.66a428",
2833 "id": "8c502b5e.ba0e48",
2835 "name": "generate tmp.ar-other-url-connection",
2836 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-other-url-connection\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.provided-ar.allotted-resource-id`\"/>\n \n\n",
2839 "x": 2080.0003509521484,
2840 "y": 946.3334693908691,
2841 "z": "f24fb736.66a428",
2847 "id": "b7c302f0.0eaa4",
2849 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
2850 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-other-url-connection`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-other-ar\" />\n\n",
2853 "x": 2217.000991821289,
2854 "y": 988.8333339691162,
2855 "z": "f24fb736.66a428",
2864 "id": "cafce3b5.74fb5",
2871 "x": 1842.0002708435059,
2872 "y": 1712.0001192092896,
2873 "z": "f24fb736.66a428",
2879 "id": "73f1353a.31fe0c",
2881 "name": "block : atomic",
2882 "xml": "<block atomic=\"true\">",
2885 "x": 1218.9688835144043,
2886 "y": 1737.0003032684326,
2887 "z": "f24fb736.66a428",
2896 "id": "bd2b5022.a474e",
2898 "name": "outcome PendingDelete",
2899 "xml": "<outcome value='PendingDelete'>\n",
2902 "x": 2293.0313415527344,
2903 "y": 552.0312976837158,
2904 "z": "f24fb736.66a428",
2912 "id": "44575632.3edd28",
2919 "x": 2477.031352996826,
2920 "y": 548.0312976837158,
2921 "z": "f24fb736.66a428",
2927 "id": "b731c6a4.c3a218",
2929 "name": "execute RestApiCallNode Get token",
2930 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
2933 "x": 1922.5039367675781,
2934 "y": 2044.003927230835,
2935 "z": "f24fb736.66a428",
2944 "id": "ce234ab1.289298",
2947 "xml": "<outcome value='success'>\n",
2950 "x": 2157.503936767578,
2951 "y": 2022.003927230835,
2952 "z": "f24fb736.66a428",
2960 "id": "b6c8858.bd95c78",
2963 "xml": "<outcome value='failure'>\n",
2966 "x": 2149.753936767578,
2967 "y": 2075.646810531616,
2968 "z": "f24fb736.66a428",
2976 "id": "82c72a3.d7e47d8",
2977 "type": "returnFailure",
2978 "name": "return failure",
2979 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get token rest api\" />\n",
2981 "x": 2302.503936767578,
2982 "y": 2075.3968715667725,
2983 "z": "f24fb736.66a428",
2987 "id": "98d09cc3.1216f",
2989 "name": "set token-id",
2990 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
2992 "x": 2311.503936767578,
2993 "y": 2023.003927230835,
2994 "z": "f24fb736.66a428",