3 "id": "b0d71f3f.58b13",
9 "z": "ed10e8c7.d58f28",
17 "id": "962f9112.e764e",
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": 92.0000171661377,
27 "z": "ed10e8c7.d58f28",
35 "id": "87a8de44.934de",
37 "name": "sotn-attachment-topology-operation-deactivate",
38 "xml": "<method rpc='sotn-attachment-topology-operation-deactivate' mode='sync'>\n",
41 "x": 292.0001220703125,
43 "z": "ed10e8c7.d58f28",
51 "id": "b2d80288.ba823",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 308.0001220703125,
59 "y": 735.0002446174622,
60 "z": "ed10e8c7.d58f28",
87 "id": "6613ec86.694124",
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": 133.9934868812561,
94 "z": "ed10e8c7.d58f28",
98 "id": "c64c0419.fa25b8",
100 "name": "set tmp ar-id to fetch resource from MDSAL",
103 "x": 733.9538726806641,
104 "y": 98.02528285980225,
105 "z": "ed10e8c7.d58f28",
109 "id": "f6decbbf.dd5e18",
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": 226.99349212646484,
116 "z": "ed10e8c7.d58f28",
120 "id": "1c40b1f3.81976e",
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": 314.6602210998535,
128 "z": "ed10e8c7.d58f28",
134 "id": "1fbc45c.0ff5aba",
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": 715.2554931640625,
141 "y": 401.66022205352783,
142 "z": "ed10e8c7.d58f28",
148 "id": "61a9d102.2b159",
150 "name": "GET connection-attachment-allotted-resource from mdsal",
153 "x": 758.8084869384766,
154 "y": 472.53876876831055,
155 "z": "ed10e8c7.d58f28",
159 "id": "e3f68d6f.a262e",
161 "name": "Used for setting output to API Handler",
164 "x": 712.9935302734375,
165 "y": 193.993501663208,
166 "z": "ed10e8c7.d58f28",
170 "id": "b492f1ea.34bc2",
172 "name": "Obtain different URL, template location etc",
173 "info": "For saving resource information to MDSAL & for AAI",
175 "x": 730.9934959411621,
176 "y": 279.8823823928833,
177 "z": "ed10e8c7.d58f28",
181 "id": "d53312d8.be37d",
183 "name": "Used to Get AR by id to MDSAL, same as self-link",
186 "x": 756.9935150146484,
187 "y": 366.8823413848877,
188 "z": "ed10e8c7.d58f28",
192 "id": "e963cad3.e8d6c8",
195 "xml": "<outcome value='success'>\n",
198 "x": 1199.6668281555176,
199 "y": 520.0000286102295,
200 "z": "ed10e8c7.d58f28",
208 "id": "8ab48cf9.6862d",
210 "name": "block: atomic",
211 "xml": "<block atomic=\"true\">\n",
215 "x": 1368.6668319702148,
216 "y": 518.4999294281006,
217 "z": "ed10e8c7.d58f28",
225 "id": "46b50e5a.245ae",
226 "type": "switchNode",
227 "name": "switch cr length",
228 "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
231 "x": 1541.5241012573242,
232 "y": 456.11909198760986,
233 "z": "ed10e8c7.d58f28",
242 "id": "13dfccaf.a022c3",
245 "xml": "<outcome value='1'>\n",
248 "x": 1778.8573455810547,
249 "y": 434.1190423965454,
250 "z": "ed10e8c7.d58f28",
258 "id": "2fbac1bd.15b6ee",
260 "name": "block: atomic",
261 "xml": "<block atomic='true'>\n",
265 "x": 1963.3812351226807,
266 "y": 431.02387619018555,
267 "z": "ed10e8c7.d58f28",
277 "id": "6cd8cd98.bbac14",
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: SOTN resource not found\" />\n \n",
282 "x": 1887.5190773010254,
283 "y": 556.0661172866821,
284 "z": "ed10e8c7.d58f28",
288 "id": "489ff5d2.164b7c",
291 "xml": "<outcome value='Other'>\n",
294 "x": 1191.5186309814453,
295 "y": 555.0661134719849,
296 "z": "ed10e8c7.d58f28",
304 "id": "6d0a26d5.df63e8",
306 "name": "block: atomic",
307 "xml": "<block atomic=\"true\">\n",
311 "x": 1371.5185813903809,
312 "y": 555.7326641082764,
313 "z": "ed10e8c7.d58f28",
321 "id": "30d435f0.aca96a",
324 "xml": "<outcome value='Other'>\n",
327 "x": 1767.1852989196777,
328 "y": 471.3994026184082,
329 "z": "ed10e8c7.d58f28",
337 "id": "5bdbcf18.37ca8",
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": 2209.444793701172,
343 "y": 391.0001058578491,
344 "z": "ed10e8c7.d58f28",
348 "id": "a9187100.e70c6",
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": 2142.4447898864746,
354 "y": 481.42866039276123,
355 "z": "ed10e8c7.d58f28",
359 "id": "cbe39501.d4aef8",
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": 2153.444625854492,
366 "y": 435.0001096725464,
367 "z": "ed10e8c7.d58f28",
376 "id": "1d7c3fd4.3573f",
378 "name": "outcome Active",
379 "xml": "<outcome value='Active'>\n",
382 "x": 2360.044574737549,
383 "y": 425.0001096725464,
384 "z": "ed10e8c7.d58f28",
392 "id": "34a89ac4.b608e6",
394 "name": "outcome Other",
395 "xml": "<outcome value='Other'>\n",
398 "x": 2359.7590942382812,
399 "y": 467.4287004470825,
400 "z": "ed10e8c7.d58f28",
408 "id": "fffa8dec.2b92a",
415 "x": 2512.5151290893555,
416 "y": 423.3757600784302,
417 "z": "ed10e8c7.d58f28",
423 "id": "31994932.765476",
424 "type": "returnFailure",
425 "name": "return failure",
426 "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",
428 "x": 2532.6669845581055,
429 "y": 464.000111579895,
430 "z": "ed10e8c7.d58f28",
434 "id": "ade228e6.1238f8",
436 "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
437 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
440 "x": 920.3031158447266,
441 "y": 616.4935908317566,
442 "z": "ed10e8c7.d58f28",
448 "id": "4f9b598.14771a8",
450 "name": "block: atomic",
451 "xml": "<block atomic=\"true\">\n",
455 "x": 617.3092803955078,
456 "y": 617.4999389648438,
457 "z": "ed10e8c7.d58f28",
465 "id": "2ee127b4.83e818",
467 "name": "GET parent-service-data from mdsal to check existence of other End point",
470 "x": 799.0004425048828,
471 "y": 678.5316982269287,
472 "z": "ed10e8c7.d58f28",
476 "id": "ac0c0701.4d5818",
478 "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
479 "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
482 "x": 1689.1849975585938,
483 "y": 882.0040826797485,
484 "z": "ed10e8c7.d58f28",
492 "id": "cf2de8b0.5bcd28",
495 "xml": "<outcome value='Other'>\n",
498 "x": 1095.3269691467285,
499 "y": 1014.5755434036255,
500 "z": "ed10e8c7.d58f28",
508 "id": "2c958bf6.015ea4",
510 "name": "block : atomic",
511 "xml": "<block atomic=\"true\">",
514 "x": 1286.4543704986572,
515 "y": 879.7015712037683,
516 "z": "ed10e8c7.d58f28",
524 "id": "6de65a21.ad20a4",
525 "type": "switchNode",
526 "name": "switch allotted-resource-id",
527 "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
530 "x": 2124.296398162842,
531 "y": 882.0039796829224,
532 "z": "ed10e8c7.d58f28",
541 "id": "9440a4ce.27b3b8",
542 "type": "outcomeTrue",
544 "xml": "<outcome value='true'>\n",
547 "x": 2333.106746673584,
548 "y": 862.4684362411499,
549 "z": "ed10e8c7.d58f28",
557 "id": "5d89c62c.f1ebc8",
559 "name": "block : atomic",
560 "xml": "<block atomic=\"true\">",
563 "x": 2481.867500305176,
564 "y": 898.3256177902222,
565 "z": "ed10e8c7.d58f28",
573 "id": "12052b78.fd51b5",
575 "name": "set tmp.pidx and ptx.consumed-ar",
576 "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' />",
578 "x": 2716.724937438965,
579 "y": 896.8971490859985,
580 "z": "ed10e8c7.d58f28",
584 "id": "2107b4e5.fcdf0c",
586 "name": "Check existence of other AR in parent service data",
587 "info": "Check if other allotted resource is available.",
589 "x": 722.9628448486328,
590 "y": 848.8929204940796,
591 "z": "ed10e8c7.d58f28",
595 "id": "103b0ff7.ad1fb",
598 "xml": "<outcome value='1'>\n",
601 "x": 1105.9793167114258,
602 "y": 949.677264213562,
603 "z": "ed10e8c7.d58f28",
611 "id": "75a0a72c.5c3178",
612 "type": "returnFailure",
613 "name": "return failure",
614 "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 resource not found\" />\n \n",
616 "x": 1267.9793128967285,
617 "y": 1013.677285194397,
618 "z": "ed10e8c7.d58f28",
622 "id": "4057b675.85b588",
625 "xml": "<outcome value='2'>\n",
628 "x": 1111.9793910980225,
629 "y": 880.6772715821862,
630 "z": "ed10e8c7.d58f28",
638 "id": "ce614dfc.389e4",
645 "x": 2462.090805053711,
646 "y": 857.6771764755249,
647 "z": "ed10e8c7.d58f28",
653 "id": "44e5c372.52cc1c",
654 "type": "outcomeTrue",
656 "xml": "<outcome value='false'>\n",
659 "x": 2333.0907974243164,
660 "y": 896.6771802902222,
661 "z": "ed10e8c7.d58f28",
669 "id": "4960bf69.46744",
670 "type": "switchNode",
671 "name": "switch mdsal-psd.networks_length",
672 "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
675 "x": 1518.3129959106445,
676 "y": 952.8997611999512,
677 "z": "ed10e8c7.d58f28",
686 "id": "fd1b6df1.cb9a8",
689 "xml": "<outcome value='1'>\n",
692 "x": 1748.3130187988281,
693 "y": 928.7885932922363,
694 "z": "ed10e8c7.d58f28",
702 "id": "21a6ff32.cc535",
705 "xml": "<outcome value='Other'>\n",
708 "x": 1742.3131408691406,
709 "y": 988.7885932922363,
710 "z": "ed10e8c7.d58f28",
718 "id": "8d4e5f2f.b2054",
719 "type": "returnFailure",
720 "name": "return failure",
721 "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",
723 "x": 1914.9655265808105,
724 "y": 988.8903999328613,
725 "z": "ed10e8c7.d58f28",
729 "id": "e3b0ecf2.4e878",
731 "name": "set tmp.network.",
732 "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n",
734 "x": 2116.757942199707,
735 "y": 918.7887525558472,
736 "z": "ed10e8c7.d58f28",
740 "id": "61e7696e.e32818",
742 "name": "block : atomic",
743 "xml": "<block atomic=\"true\">",
746 "x": 1278.423671722412,
747 "y": 950.7885122299194,
748 "z": "ed10e8c7.d58f28",
756 "id": "bb9fff84.461e",
758 "name": "block : atomic",
759 "xml": "<block atomic=\"true\">",
762 "x": 1916.090690612793,
763 "y": 947.7884273529053,
764 "z": "ed10e8c7.d58f28",
773 "id": "2162bd86.35e6f2",
775 "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
776 "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
779 "x": 2292.09130859375,
780 "y": 990.7884349822998,
781 "z": "ed10e8c7.d58f28",
789 "id": "15f15c9c.6120f3",
796 "x": 2615.6469688415527,
797 "y": 991.7885122299194,
798 "z": "ed10e8c7.d58f28",
807 "id": "1f8bf049.48a41",
808 "type": "switchNode",
809 "name": "switch access-node-id",
810 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
813 "x": 2794.1570739746094,
814 "y": 975.7989301681519,
815 "z": "ed10e8c7.d58f28",
823 "id": "8ecdc6ef.8a8ce8",
824 "type": "outcomeTrue",
826 "xml": "<outcome value='true'>\n",
829 "x": 2981.1570739746094,
830 "y": 976.7989301681519,
831 "z": "ed10e8c7.d58f28",
839 "id": "5c66b7eb.d5bf28",
841 "name": "set tmp.found-in-network tmp.ep-available",
842 "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
844 "x": 3232.157081604004,
845 "y": 976.3988723754883,
846 "z": "ed10e8c7.d58f28",
850 "id": "24ef27d4.5acd08",
851 "type": "returnSuccess",
852 "name": "return success",
853 "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",
855 "x": 2777.14697265625,
856 "y": 1020.7885293960571,
857 "z": "ed10e8c7.d58f28",
861 "id": "bc709271.507d8",
862 "type": "switchNode",
863 "name": "switch tmp.ep-available",
864 "xml": "<switch test='`$tmp.ep-available`'>\n",
867 "x": 654.3128662109375,
868 "y": 1153.2327852249146,
869 "z": "ed10e8c7.d58f28",
878 "id": "343945c7.6ea6fa",
879 "type": "outcomeTrue",
881 "xml": "<outcome value='true'>\n",
884 "x": 836.9797019958496,
885 "y": 1177.5661935806274,
886 "z": "ed10e8c7.d58f28",
894 "id": "18bdb942.c7be37",
895 "type": "outcomeTrue",
897 "xml": "<outcome value='false'>\n",
900 "x": 839.8684730529785,
901 "y": 1116.566291809082,
902 "z": "ed10e8c7.d58f28",
910 "id": "33d109a0.0b3696",
917 "x": 976.8685493469238,
918 "y": 1115.4551057815552,
919 "z": "ed10e8c7.d58f28",
925 "id": "eb3e9e9.a810a6",
927 "name": "block : atomic",
928 "xml": "<block atomic=\"true\">",
931 "x": 1007.0907897949219,
932 "y": 1175.5661516189575,
933 "z": "ed10e8c7.d58f28",
941 "id": "eba7f62b.bd7668",
943 "name": "GET connection-attachment-ar to store AR data from mdsal",
946 "x": 2192.472946166992,
947 "y": 355.5039691925049,
948 "z": "ed10e8c7.d58f28",
952 "id": "2d6b93ab.08655c",
954 "name": "Set source end point",
957 "x": 630.9728393554688,
958 "y": 585.2540645599365,
959 "z": "ed10e8c7.d58f28",
963 "id": "8522b683.befcf8",
965 "name": "set tmp.ar.parent-service-instance-id",
966 "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",
968 "x": 683.9689178466797,
969 "y": 710.0002088546753,
970 "z": "ed10e8c7.d58f28",
974 "id": "773fbfc3.82918",
977 "xml": "<outcome value='success'>\n",
980 "x": 1061.9689140319824,
981 "y": 759.000207901001,
982 "z": "ed10e8c7.d58f28",
990 "id": "be2f70a0.4132d",
993 "xml": "<outcome value='Other'>\n",
996 "x": 1053.8207168579102,
997 "y": 794.0662927627563,
998 "z": "ed10e8c7.d58f28",
1006 "id": "82d58d98.da526",
1007 "type": "returnFailure",
1008 "name": "return failure",
1009 "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 resource not found\" />\n \n",
1011 "x": 1228.9694023132324,
1012 "y": 790.3336429595947,
1013 "z": "ed10e8c7.d58f28",
1017 "id": "e1e0569.afbf9a8",
1024 "x": 1212.9689140319824,
1025 "y": 757.000207901001,
1026 "z": "ed10e8c7.d58f28",
1032 "id": "62f18656.44cfe8",
1034 "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
1035 "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' />",
1037 "x": 770.9689102172852,
1038 "y": 884.0001821517944,
1039 "z": "ed10e8c7.d58f28",
1043 "id": "ba6cedb4.1637d",
1045 "name": "If other EP exists delete from domain controller",
1048 "x": 704.9688110351562,
1049 "y": 1077.999997138977,
1050 "z": "ed10e8c7.d58f28",
1054 "id": "84d93cd2.2a2bf",
1056 "name": "set controller data",
1057 "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",
1059 "x": 2702.969627380371,
1060 "y": 1368.0005893707275,
1061 "z": "ed10e8c7.d58f28",
1065 "id": "3c2c4321.6e016c",
1066 "type": "get-resource",
1067 "name": "get-resource esr-thirdparty-sdnc",
1068 "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",
1071 "x": 2266.469566345215,
1072 "y": 1427.0005893707275,
1073 "z": "ed10e8c7.d58f28",
1083 "id": "b9c78202.065c4",
1086 "xml": "<outcome value='success'>\n",
1089 "x": 2505.469566345215,
1090 "y": 1380.0005893707275,
1091 "z": "ed10e8c7.d58f28",
1099 "id": "b1e4c467.b20658",
1100 "type": "not-found",
1101 "name": "not-found",
1102 "xml": "<outcome value='not-found'>\n",
1105 "x": 2508.96053314209,
1106 "y": 1427.5746250152588,
1107 "z": "ed10e8c7.d58f28",
1115 "id": "7cb01101.04dc1",
1118 "xml": "<outcome value='Other'>\n",
1121 "x": 2504.29354095459,
1122 "y": 1468.90793800354,
1123 "z": "ed10e8c7.d58f28",
1131 "id": "912e3892.c38738",
1132 "type": "returnFailure",
1133 "name": "return failure",
1134 "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",
1136 "x": 2685.5319442749023,
1137 "y": 1415.8603610992432,
1138 "z": "ed10e8c7.d58f28",
1142 "id": "ba048e79.e103b",
1143 "type": "returnFailure",
1144 "name": "return failure",
1145 "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",
1147 "x": 2692.0660972595215,
1148 "y": 1464.3471307754517,
1149 "z": "ed10e8c7.d58f28",
1153 "id": "ac6b10fc.018ca",
1154 "type": "get-resource",
1155 "name": "get-resource pnf",
1156 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.node-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n\n",
1159 "x": 2215.9697341918945,
1160 "y": 1319.000418663025,
1161 "z": "ed10e8c7.d58f28",
1171 "id": "7d25011f.79dd3",
1174 "xml": "<outcome value='success'>\n",
1177 "x": 2403.9697494506836,
1178 "y": 1265.0004110336304,
1179 "z": "ed10e8c7.d58f28",
1187 "id": "abbaec43.33e1c",
1188 "type": "not-found",
1189 "name": "not-found",
1190 "xml": "<outcome value='not-found'>\n",
1193 "x": 2409.460796356201,
1194 "y": 1307.5743074417114,
1195 "z": "ed10e8c7.d58f28",
1203 "id": "9bfad8e.2252b28",
1206 "xml": "<outcome value='Other'>\n",
1209 "x": 2395.793804168701,
1210 "y": 1345.9076433181763,
1211 "z": "ed10e8c7.d58f28",
1219 "id": "6b2117db.4230f8",
1220 "type": "returnFailure",
1221 "name": "return failure",
1222 "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",
1224 "x": 2563.032096862793,
1225 "y": 1297.8601140975952,
1226 "z": "ed10e8c7.d58f28",
1230 "id": "c5a2b6cb.8de6a8",
1231 "type": "returnFailure",
1232 "name": "return failure",
1233 "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",
1235 "x": 2559.566276550293,
1236 "y": 1337.3469333648682,
1237 "z": "ed10e8c7.d58f28",
1241 "id": "addfa25b.c3718",
1243 "name": "set tmp.thirdparty-sdnc-id",
1244 "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
1246 "x": 2603.9697647094727,
1247 "y": 1260.0004110336304,
1248 "z": "ed10e8c7.d58f28",
1252 "id": "44ef1c3d.800ab4",
1254 "name": "get domain controller information",
1257 "x": 2259.4736404418945,
1258 "y": 1288.0043859481812,
1259 "z": "ed10e8c7.d58f28",
1263 "id": "7164fdca.4a0d84",
1265 "name": "execute RestApiCallNode Delete ethernet Service",
1266 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.actual.vpn-name`\" />\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=\"delete\"/>\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`\" />",
1269 "x": 2308.969596862793,
1270 "y": 1681.0005912780762,
1271 "z": "ed10e8c7.d58f28",
1280 "id": "2b22380a.f1bc58",
1283 "xml": "<outcome value='success'>\n",
1286 "x": 2595.9695358276367,
1287 "y": 1704.0005912780762,
1288 "z": "ed10e8c7.d58f28",
1296 "id": "2a372b2.85f3bd4",
1298 "name": "block : atomic",
1299 "xml": "<block atomic=\"true\">",
1303 "x": 2765.9694747924805,
1304 "y": 1707.0005912780762,
1305 "z": "ed10e8c7.d58f28",
1311 "id": "9ab48a6d.252ca8",
1312 "type": "returnFailure",
1313 "name": "return failure",
1314 "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",
1316 "x": 2765.969596862793,
1317 "y": 1663.0005912780762,
1318 "z": "ed10e8c7.d58f28",
1322 "id": "2dc816f1.66c67a",
1325 "xml": "<outcome value='failure'>\n",
1328 "x": 2598.9694747924805,
1329 "y": 1663.0005912780762,
1330 "z": "ed10e8c7.d58f28",
1338 "id": "b8fd2a49.d0b368",
1341 "xml": "<outcome value='failure'>\n",
1344 "x": 933.7307472229004,
1345 "y": 1677.9527901411057,
1346 "z": "ed10e8c7.d58f28",
1354 "id": "4d3bfe83.8ac38",
1355 "type": "returnFailure",
1356 "name": "return failure",
1357 "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",
1359 "x": 1100.2546272277832,
1360 "y": 1689.5718611478806,
1361 "z": "ed10e8c7.d58f28",
1365 "id": "59f13b89.e4e7d4",
1367 "name": "not-found",
1368 "xml": "<outcome value='not-found'>\n",
1371 "x": 940.8260345458984,
1372 "y": 1710.7147578001022,
1373 "z": "ed10e8c7.d58f28",
1381 "id": "65a9cdb6.115924",
1383 "name": "Save Resource to AAI",
1386 "x": 652.7784614562988,
1387 "y": 1660.3021783828735,
1388 "z": "ed10e8c7.d58f28",
1392 "id": "a3a48876.1d8a18",
1394 "name": "set output to api handler",
1395 "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",
1397 "x": 667.5461578369141,
1398 "y": 1581.8276596069336,
1399 "z": "ed10e8c7.d58f28",
1403 "id": "7ccf367e.a869f8",
1404 "type": "returnSuccess",
1405 "name": "return success",
1406 "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",
1408 "x": 635.9592399597168,
1409 "y": 1742.4434118270874,
1410 "z": "ed10e8c7.d58f28",
1414 "id": "d3793c0a.e76dd",
1416 "name": "execute RestApiCallNode - PUT AR by id",
1417 "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",
1420 "x": 717.2782592773438,
1421 "y": 1489.468433380127,
1422 "z": "ed10e8c7.d58f28",
1432 "id": "c94958cd.0f7e08",
1433 "type": "not-found",
1434 "name": "not-found",
1435 "xml": "<outcome value='not-found'>\n",
1438 "x": 985.9196357727051,
1439 "y": 1540.799845121801,
1440 "z": "ed10e8c7.d58f28",
1448 "id": "5e263814.55f358",
1451 "xml": "<outcome value='failure'>\n",
1454 "x": 976.9196853637695,
1455 "y": 1509.2998708710074,
1456 "z": "ed10e8c7.d58f28",
1464 "id": "1ecab8f8.94f047",
1467 "xml": "<outcome value='success'>\n",
1470 "x": 980.6697235107422,
1471 "y": 1479.6569757461548,
1472 "z": "ed10e8c7.d58f28",
1480 "id": "916b12ec.48653",
1481 "type": "returnFailure",
1482 "name": "return failure",
1483 "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",
1485 "x": 1146.6697235107422,
1486 "y": 1510.0498947128654,
1487 "z": "ed10e8c7.d58f28",
1491 "id": "9a61150.9613ce8",
1498 "x": 1122.3256912231445,
1499 "y": 1475.849144935608,
1500 "z": "ed10e8c7.d58f28",
1506 "id": "683cb14.3ce605",
1508 "name": "set ar-data",
1509 "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.` \" />",
1511 "x": 617.4918785095215,
1512 "y": 1339.8493564128876,
1513 "z": "ed10e8c7.d58f28",
1517 "id": "802f8ef7.b6731",
1519 "name": "execute getTime",
1520 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
1523 "x": 634.7777214050293,
1524 "y": 1412.4689540863037,
1525 "z": "ed10e8c7.d58f28",
1531 "id": "5c1eba3c.5a3914",
1533 "name": "set allotted-resource-oper-status",
1534 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='PendingDelete' />\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",
1536 "x": 689.764778137207,
1537 "y": 1450.4200916290283,
1538 "z": "ed10e8c7.d58f28",
1542 "id": "c2e56bca.b33d78",
1544 "name": "set model-data",
1545 "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.` \" />",
1547 "x": 631.3334197998047,
1548 "y": 1379.024006843567,
1549 "z": "ed10e8c7.d58f28",
1553 "id": "ae41f871.b43fa8",
1555 "name": "Prepare data for allotted-resource addition to MDSAL",
1556 "info": "This will add to allotted-resource which is present inside service.",
1558 "x": 744.6668815612793,
1559 "y": 1300.0239589214325,
1560 "z": "ed10e8c7.d58f28",
1564 "id": "e752535c.aeb57",
1566 "name": "Add to allotted-resources in mdsal",
1569 "x": 686.2467079162598,
1570 "y": 1267.4372606277466,
1571 "z": "ed10e8c7.d58f28",
1575 "id": "2c211a2d.e90676",
1577 "name": "update AAI allotted-resource",
1578 "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=\"PendingDelete\" />\n",
1581 "x": 679.2227401733398,
1582 "y": 1697.7543210983276,
1583 "z": "ed10e8c7.d58f28",
1592 "id": "d5bc9567.22f988",
1593 "type": "get-resource",
1594 "name": "get-resource connectivity",
1595 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"connectivity\" \n\t\tkey=\"connectivity.connectivity-id = $mdsal-psd.service-data.networks.network[0].network-id AND \n\t\t depth = '1'\"\n pfx='tmp.connectivity' local-only='false' >\n",
1598 "x": 1213.0005645751953,
1599 "y": 1175.5044269561768,
1600 "z": "ed10e8c7.d58f28",
1609 "id": "41a48915.ce4758",
1611 "name": "block : atomic",
1612 "xml": "<block atomic=\"true\">",
1615 "x": 1986.1178741455078,
1616 "y": 1372.3445596694946,
1617 "z": "ed10e8c7.d58f28",
1631 "id": "d567023b.2d9f",
1633 "name": "vpn-binding",
1634 "xml": "<outcome value='vpn-binding'>\n",
1637 "x": 1812.286392211914,
1638 "y": 1374.8260831832886,
1639 "z": "ed10e8c7.d58f28",
1647 "id": "de835816.465b48",
1649 "name": "for each relationship",
1650 "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.connectivity.relationship-list.relationship_length`' >\n",
1653 "x": 1434.0003356933594,
1654 "y": 1373.0043096542358,
1655 "z": "ed10e8c7.d58f28",
1663 "id": "a2ccacd2.b0dbc",
1664 "type": "switchNode",
1665 "name": "switch related-to",
1666 "xml": "<switch test='`$tmp.connectivity.relationship-list.relationship[$vidx].related-to`'>\n",
1669 "x": 1646.0003471374512,
1670 "y": 1374.0043096542358,
1671 "z": "ed10e8c7.d58f28",
1679 "id": "3c342d96.9776c2",
1681 "name": "set tmp.vpn-name",
1682 "xml": "<set>\n<parameter name='tmp.vpn-name' value=\"`$tmp.connectivity.relationship-list.relationship[$vidx].relationship-data[0].relationship-value` \" />\n",
1684 "x": 2219.0005416870117,
1685 "y": 1086.004626274109,
1686 "z": "ed10e8c7.d58f28",
1690 "id": "ae412232.e0411",
1692 "name": "split vpnName to find nodeId",
1693 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.vpn-name`'/>\n<parameter name=\"regex\" value=\"-\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route1\"/>\n",
1696 "x": 2255.0004959106445,
1697 "y": 1187.0039930343628,
1698 "z": "ed10e8c7.d58f28",
1707 "id": "60767ce2.3ab0a4",
1710 "xml": "<outcome value='success'>\n",
1713 "x": 2456.000686645508,
1714 "y": 1164.0039854049683,
1715 "z": "ed10e8c7.d58f28",
1723 "id": "bf10a60c.fdea98",
1725 "name": "set tmp.node-id",
1726 "xml": "<set>\n<parameter name='tmp.node-id' value='`$route1[0]`' />\n<parameter name='tmp.actual.vpn-name' value='`$route1[1]`' />\n",
1728 "x": 2609.000846862793,
1729 "y": 1162.0039863586426,
1730 "z": "ed10e8c7.d58f28",
1734 "id": "a5afcc72.d877b",
1735 "type": "returnFailure",
1736 "name": "return failure",
1737 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
1739 "x": 2593.001012802124,
1740 "y": 1211.0039882659912,
1741 "z": "ed10e8c7.d58f28",
1745 "id": "ae670977.becbb8",
1748 "xml": "<outcome value='failure'>\n",
1751 "x": 2453.00066947937,
1752 "y": 1212.0039901733398,
1753 "z": "ed10e8c7.d58f28",
1761 "id": "7024d4cd.1a62bc",
1764 "xml": "<outcome value='success'>\n",
1767 "x": 1394.0001640319824,
1768 "y": 1210.0000715255737,
1769 "z": "ed10e8c7.d58f28",
1777 "id": "cf432033.112d9",
1780 "xml": "<outcome value='Other'>\n",
1783 "x": 1396.851894378662,
1784 "y": 1137.0663166046143,
1785 "z": "ed10e8c7.d58f28",
1793 "id": "801260ca.47a9",
1794 "type": "returnFailure",
1795 "name": "return failure",
1796 "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: Connectivity resource not found\" />\n \n",
1798 "x": 1539.0006637573242,
1799 "y": 1137.3337268829346,
1800 "z": "ed10e8c7.d58f28",
1804 "id": "ea43f44.e748208",
1811 "x": 1396.0001754760742,
1812 "y": 1288.0002374649048,
1813 "z": "ed10e8c7.d58f28",
1821 "id": "693977cc.87d158",
1823 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1824 "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",
1827 "x": 832.3339538574219,
1828 "y": 536.4999494552612,
1829 "z": "ed10e8c7.d58f28",
1838 "id": "c0b8662.2083398",
1840 "name": "get parent-service-data tmp.ar-url-psd",
1841 "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",
1844 "x": 686.0001983642578,
1845 "y": 745.0002107620239,
1846 "z": "ed10e8c7.d58f28",
1852 "id": "fada7ab3.d1d4e8",
1854 "name": "execute RestApiCallNode - get-resource parent service data",
1855 "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",
1858 "x": 753.0001602172852,
1859 "y": 780.0002946853638,
1860 "z": "ed10e8c7.d58f28",
1869 "id": "cfef8c40.7d401",
1870 "type": "switchNode",
1871 "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
1872 "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
1875 "x": 769.1842803955078,
1876 "y": 954.7181224822998,
1877 "z": "ed10e8c7.d58f28",
1887 "id": "dda1ddc2.84784",
1889 "name": "delete AAI vpn-binding",
1890 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpn-name' >",
1893 "x": 2239.999954223633,
1894 "y": 1784.0001649856567,
1895 "z": "ed10e8c7.d58f28",
1904 "id": "c726da18.1fa408",
1907 "xml": "<outcome value='failure'>\n",
1910 "x": 2494.5079612731934,
1911 "y": 1764.1986340284348,
1912 "z": "ed10e8c7.d58f28",
1920 "id": "b99e2363.4f50b",
1922 "name": "not-found",
1923 "xml": "<outcome value='not-found'>\n",
1926 "x": 2501.6032485961914,
1927 "y": 1796.9606016874313,
1928 "z": "ed10e8c7.d58f28",
1936 "id": "53701c4b.a688d4",
1937 "type": "returnFailure",
1938 "name": "return failure",
1939 "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",
1941 "x": 2661.031841278076,
1942 "y": 1775.8177050352097,
1943 "z": "ed10e8c7.d58f28",
1947 "id": "f1f4e6ef.143a68",
1949 "name": "execute RestApiCallNode Get token",
1950 "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\"/>",
1953 "x": 2279.7541580200195,
1954 "y": 1564.254002571106,
1955 "z": "ed10e8c7.d58f28",
1964 "id": "f8436b41.519d68",
1967 "xml": "<outcome value='success'>\n",
1970 "x": 2514.7541580200195,
1971 "y": 1542.254002571106,
1972 "z": "ed10e8c7.d58f28",
1980 "id": "9d9f79f.4a7c888",
1983 "xml": "<outcome value='failure'>\n",
1986 "x": 2507.0041580200195,
1987 "y": 1595.8968858718872,
1988 "z": "ed10e8c7.d58f28",
1996 "id": "6534e8a7.2122d8",
1997 "type": "returnFailure",
1998 "name": "return failure",
1999 "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",
2001 "x": 2659.7541580200195,
2002 "y": 1595.6469469070435,
2003 "z": "ed10e8c7.d58f28",
2007 "id": "1076a472.b53e4c",
2009 "name": "set token-id",
2010 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
2012 "x": 2668.7541580200195,
2013 "y": 1543.254002571106,
2014 "z": "ed10e8c7.d58f28",