3 "id": "ff549c79.63961",
\r
8 "y": 49.00012397766113,
\r
9 "z": "f47a0348.da1fc",
\r
17 "id": "a05176da.ae3e48",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
23 "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
\r
25 "x": 275.03125381469727,
\r
26 "y": 109.00014114379883,
\r
27 "z": "f47a0348.da1fc",
\r
35 "id": "fe524cbe.32e62",
\r
37 "name": "sotn-attachment-topology-operation-deactivate",
\r
38 "xml": "<method rpc='sotn-attachment-topology-operation-deactivate' mode='sync'>\n",
\r
41 "x": 263.0313720703125,
\r
42 "y": 197.00012397766113,
\r
43 "z": "f47a0348.da1fc",
\r
51 "id": "437c9c25.6eb2d4",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
58 "x": 279.0313720703125,
\r
59 "y": 752.0003685951233,
\r
60 "z": "f47a0348.da1fc",
\r
87 "id": "a802b53.c930648",
\r
89 "name": "set tmp.ar.allotted-resource-id,etc",
\r
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",
\r
92 "x": 676.0248107910156,
\r
93 "y": 150.99361085891724,
\r
94 "z": "f47a0348.da1fc",
\r
98 "id": "88124680.e6b8a8",
\r
100 "name": "set tmp ar-id to fetch resource from MDSAL",
\r
103 "x": 704.9851226806641,
\r
104 "y": 115.02540683746338,
\r
105 "z": "f47a0348.da1fc",
\r
109 "id": "1068510.ffabdaf",
\r
111 "name": "set tmp.ar.self-link",
\r
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",
\r
114 "x": 630.0247497558594,
\r
115 "y": 243.99361610412598,
\r
116 "z": "f47a0348.da1fc",
\r
120 "id": "f6798703.c71c48",
\r
122 "name": "execute Properties",
\r
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",
\r
126 "x": 636.2866401672363,
\r
127 "y": 331.66034507751465,
\r
128 "z": "f47a0348.da1fc",
\r
134 "id": "90b4d4b2.478c88",
\r
136 "name": "generate allotted-resource tmp.ar-url",
\r
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",
\r
140 "x": 686.2867431640625,
\r
141 "y": 418.66034603118896,
\r
142 "z": "f47a0348.da1fc",
\r
148 "id": "182d3b03.4e2c15",
\r
150 "name": "GET connection-attachment-allotted-resource from mdsal",
\r
153 "x": 729.8397369384766,
\r
154 "y": 489.5388927459717,
\r
155 "z": "f47a0348.da1fc",
\r
159 "id": "bbe52b99.83dd68",
\r
161 "name": "Used for setting output to API Handler",
\r
164 "x": 684.0247802734375,
\r
165 "y": 210.99362564086914,
\r
166 "z": "f47a0348.da1fc",
\r
170 "id": "dce4912.220bb7",
\r
172 "name": "Obtain different URL, template location etc",
\r
173 "info": "For saving resource information to MDSAL & for AAI",
\r
175 "x": 702.0247459411621,
\r
176 "y": 296.88250637054443,
\r
177 "z": "f47a0348.da1fc",
\r
181 "id": "66940a34.fde394",
\r
183 "name": "Used to Get AR by id to MDSAL, same as self-link",
\r
186 "x": 728.0247650146484,
\r
187 "y": 383.8824653625488,
\r
188 "z": "f47a0348.da1fc",
\r
192 "id": "55776be8.abf844",
\r
195 "xml": "<outcome value='success'>\n",
\r
198 "x": 1170.6980781555176,
\r
199 "y": 537.0001525878906,
\r
200 "z": "f47a0348.da1fc",
\r
208 "id": "5a06af0c.5db4c",
\r
210 "name": "block: atomic",
\r
211 "xml": "<block atomic=\"true\">\n",
\r
215 "x": 1339.6980819702148,
\r
216 "y": 535.5000534057617,
\r
217 "z": "f47a0348.da1fc",
\r
225 "id": "faae066.03a7ef8",
\r
226 "type": "switchNode",
\r
227 "name": "switch cr length",
\r
228 "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
\r
231 "x": 1512.5553512573242,
\r
232 "y": 473.119215965271,
\r
233 "z": "f47a0348.da1fc",
\r
242 "id": "74bd4c84.2a01f4",
\r
244 "name": "outcome 1",
\r
245 "xml": "<outcome value='1'>\n",
\r
248 "x": 1749.8885955810547,
\r
249 "y": 451.11916637420654,
\r
250 "z": "f47a0348.da1fc",
\r
258 "id": "932b115b.ef744",
\r
260 "name": "block: atomic",
\r
261 "xml": "<block atomic='true'>\n",
\r
265 "x": 1934.4124851226807,
\r
266 "y": 448.0240001678467,
\r
267 "z": "f47a0348.da1fc",
\r
277 "id": "1d1825f2.925d0a",
\r
278 "type": "returnFailure",
\r
279 "name": "return failure",
\r
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",
\r
282 "x": 1858.5503273010254,
\r
283 "y": 573.0662412643433,
\r
284 "z": "f47a0348.da1fc",
\r
288 "id": "2f2bf02.ca60d1",
\r
291 "xml": "<outcome value='Other'>\n",
\r
294 "x": 1162.5498809814453,
\r
295 "y": 572.066237449646,
\r
296 "z": "f47a0348.da1fc",
\r
304 "id": "82e6da2.ad6fd28",
\r
306 "name": "block: atomic",
\r
307 "xml": "<block atomic=\"true\">\n",
\r
311 "x": 1342.5498313903809,
\r
312 "y": 572.7327880859375,
\r
313 "z": "f47a0348.da1fc",
\r
321 "id": "6215df1.a21872",
\r
324 "xml": "<outcome value='Other'>\n",
\r
327 "x": 1738.2165489196777,
\r
328 "y": 488.39952659606934,
\r
329 "z": "f47a0348.da1fc",
\r
337 "id": "d5b08a67.3e5c48",
\r
339 "name": "set connection-attachment-ar from get",
\r
340 "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
\r
342 "x": 2180.476043701172,
\r
343 "y": 408.00022983551025,
\r
344 "z": "f47a0348.da1fc",
\r
348 "id": "fa1f1660.477578",
\r
350 "name": "set oper-status",
\r
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",
\r
353 "x": 2113.4760398864746,
\r
354 "y": 498.42878437042236,
\r
355 "z": "f47a0348.da1fc",
\r
359 "id": "5ce1e592.04689c",
\r
360 "type": "switchNode",
\r
361 "name": "switch order-status",
\r
362 "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
\r
365 "x": 2124.475875854492,
\r
366 "y": 452.0002336502075,
\r
367 "z": "f47a0348.da1fc",
\r
376 "id": "46412cb7.a5f6f4",
\r
378 "name": "outcome Active",
\r
379 "xml": "<outcome value='Active'>\n",
\r
382 "x": 2331.075824737549,
\r
383 "y": 442.0002336502075,
\r
384 "z": "f47a0348.da1fc",
\r
392 "id": "b5fc3d64.54bed",
\r
394 "name": "outcome Other",
\r
395 "xml": "<outcome value='Other'>\n",
\r
398 "x": 2330.7903442382812,
\r
399 "y": 484.42882442474365,
\r
400 "z": "f47a0348.da1fc",
\r
408 "id": "11963437.b728dc",
\r
411 "xml": "<block>\n",
\r
415 "x": 2483.5463790893555,
\r
416 "y": 440.3758840560913,
\r
417 "z": "f47a0348.da1fc",
\r
423 "id": "1c1d147e.4224ac",
\r
424 "type": "returnFailure",
\r
425 "name": "return failure",
\r
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",
\r
428 "x": 2503.6982345581055,
\r
429 "y": 481.00023555755615,
\r
430 "z": "f47a0348.da1fc",
\r
434 "id": "6ad0e2bd.71bc3c",
\r
436 "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
\r
437 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
\r
440 "x": 891.3343658447266,
\r
441 "y": 633.4937148094177,
\r
442 "z": "f47a0348.da1fc",
\r
448 "id": "74b419be.6c1dc8",
\r
450 "name": "block: atomic",
\r
451 "xml": "<block atomic=\"true\">\n",
\r
455 "x": 588.3405303955078,
\r
456 "y": 634.5000629425049,
\r
457 "z": "f47a0348.da1fc",
\r
465 "id": "8a5e890a.680be8",
\r
467 "name": "GET parent-service-data from mdsal to check existence of other End point",
\r
470 "x": 770.0316925048828,
\r
471 "y": 695.5318222045898,
\r
472 "z": "f47a0348.da1fc",
\r
476 "id": "2205c5d5.df45ea",
\r
478 "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
\r
479 "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
\r
482 "x": 1660.2162475585938,
\r
483 "y": 899.0042066574097,
\r
484 "z": "f47a0348.da1fc",
\r
492 "id": "f3fcb7.3cb38348",
\r
495 "xml": "<outcome value='Other'>\n",
\r
498 "x": 1066.3582191467285,
\r
499 "y": 1031.5756673812866,
\r
500 "z": "f47a0348.da1fc",
\r
508 "id": "640c50fa.9b815",
\r
510 "name": "block : atomic",
\r
511 "xml": "<block atomic=\"true\">",
\r
514 "x": 1257.4856204986572,
\r
515 "y": 896.7016951814294,
\r
516 "z": "f47a0348.da1fc",
\r
524 "id": "325e72dd.42ae0e",
\r
525 "type": "switchNode",
\r
526 "name": "switch allotted-resource-id",
\r
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",
\r
530 "x": 2095.327648162842,
\r
531 "y": 899.0041036605835,
\r
532 "z": "f47a0348.da1fc",
\r
541 "id": "27ec9aa5.cff036",
\r
542 "type": "outcomeTrue",
\r
544 "xml": "<outcome value='true'>\n",
\r
547 "x": 2304.137996673584,
\r
548 "y": 879.468560218811,
\r
549 "z": "f47a0348.da1fc",
\r
557 "id": "7260dcf8.1fb0a4",
\r
559 "name": "block : atomic",
\r
560 "xml": "<block atomic=\"true\">",
\r
563 "x": 2452.898750305176,
\r
564 "y": 915.3257417678833,
\r
565 "z": "f47a0348.da1fc",
\r
573 "id": "5e185008.36b4b",
\r
575 "name": "set tmp.pidx and ptx.consumed-ar",
\r
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' />",
\r
578 "x": 2687.756187438965,
\r
579 "y": 913.8972730636597,
\r
580 "z": "f47a0348.da1fc",
\r
584 "id": "b3d0356b.e2dd48",
\r
586 "name": "Check existence of other AR in parent service data",
\r
587 "info": "Check if other allotted resource is available.",
\r
589 "x": 693.9940948486328,
\r
590 "y": 865.8930444717407,
\r
591 "z": "f47a0348.da1fc",
\r
595 "id": "31b6e940.d005b6",
\r
597 "name": "outcome 1",
\r
598 "xml": "<outcome value='1'>\n",
\r
601 "x": 1077.0105667114258,
\r
602 "y": 966.6773881912231,
\r
603 "z": "f47a0348.da1fc",
\r
611 "id": "ed4934e0.63e078",
\r
612 "type": "returnFailure",
\r
613 "name": "return failure",
\r
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",
\r
616 "x": 1239.0105628967285,
\r
617 "y": 1030.677409172058,
\r
618 "z": "f47a0348.da1fc",
\r
622 "id": "998ab047.1d3cb",
\r
624 "name": "outcome 2",
\r
625 "xml": "<outcome value='2'>\n",
\r
628 "x": 1083.0106410980225,
\r
629 "y": 897.6773955598474,
\r
630 "z": "f47a0348.da1fc",
\r
638 "id": "ac118201.9b0e6",
\r
641 "xml": "<block>\n",
\r
645 "x": 2433.122055053711,
\r
646 "y": 874.677300453186,
\r
647 "z": "f47a0348.da1fc",
\r
653 "id": "495a6869.e7e8d8",
\r
654 "type": "outcomeTrue",
\r
656 "xml": "<outcome value='false'>\n",
\r
659 "x": 2304.1220474243164,
\r
660 "y": 913.6773042678833,
\r
661 "z": "f47a0348.da1fc",
\r
669 "id": "e0954e7f.0fc95",
\r
670 "type": "switchNode",
\r
671 "name": "switch mdsal-psd.networks_length",
\r
672 "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
\r
675 "x": 1489.3442459106445,
\r
676 "y": 969.8998851776123,
\r
677 "z": "f47a0348.da1fc",
\r
686 "id": "8b08dda8.1325d",
\r
688 "name": "outcome 1",
\r
689 "xml": "<outcome value='1'>\n",
\r
692 "x": 1719.3442687988281,
\r
693 "y": 945.7887172698975,
\r
694 "z": "f47a0348.da1fc",
\r
702 "id": "6d21348c.4e000c",
\r
705 "xml": "<outcome value='Other'>\n",
\r
708 "x": 1713.3443908691406,
\r
709 "y": 1005.7887172698975,
\r
710 "z": "f47a0348.da1fc",
\r
718 "id": "33f517e8.5f1128",
\r
719 "type": "returnFailure",
\r
720 "name": "return failure",
\r
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",
\r
723 "x": 1885.9967765808105,
\r
724 "y": 1005.8905239105225,
\r
725 "z": "f47a0348.da1fc",
\r
729 "id": "6f8f7dac.c1bd54",
\r
731 "name": "set tmp.network.",
\r
732 "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n",
\r
734 "x": 2087.789192199707,
\r
735 "y": 935.7888765335083,
\r
736 "z": "f47a0348.da1fc",
\r
740 "id": "864fe6a.0f93518",
\r
742 "name": "block : atomic",
\r
743 "xml": "<block atomic=\"true\">",
\r
746 "x": 1249.454921722412,
\r
747 "y": 967.7886362075806,
\r
748 "z": "f47a0348.da1fc",
\r
756 "id": "2e4674ae.83d44c",
\r
758 "name": "block : atomic",
\r
759 "xml": "<block atomic=\"true\">",
\r
762 "x": 1887.121940612793,
\r
763 "y": 964.7885513305664,
\r
764 "z": "f47a0348.da1fc",
\r
773 "id": "ac5226f5.253788",
\r
775 "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
\r
776 "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
\r
779 "x": 2263.12255859375,
\r
780 "y": 1007.7885589599609,
\r
781 "z": "f47a0348.da1fc",
\r
789 "id": "314fe564.900c2a",
\r
792 "xml": "<block>\n",
\r
796 "x": 2586.6782188415527,
\r
797 "y": 1008.7886362075806,
\r
798 "z": "f47a0348.da1fc",
\r
807 "id": "6d64b0f1.beb81",
\r
808 "type": "switchNode",
\r
809 "name": "switch access-node-id",
\r
810 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
\r
813 "x": 2765.1883239746094,
\r
814 "y": 992.799054145813,
\r
815 "z": "f47a0348.da1fc",
\r
823 "id": "c510bd0d.90a2",
\r
824 "type": "outcomeTrue",
\r
826 "xml": "<outcome value='true'>\n",
\r
829 "x": 2952.1883239746094,
\r
830 "y": 993.799054145813,
\r
831 "z": "f47a0348.da1fc",
\r
839 "id": "a92bc658.3e7468",
\r
841 "name": "set tmp.found-in-network tmp.ep-available",
\r
842 "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
\r
844 "x": 3203.188331604004,
\r
845 "y": 993.3989963531494,
\r
846 "z": "f47a0348.da1fc",
\r
850 "id": "e3bdd7fd.7d8fe8",
\r
851 "type": "returnSuccess",
\r
852 "name": "return success",
\r
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",
\r
855 "x": 2748.17822265625,
\r
856 "y": 1037.7886533737183,
\r
857 "z": "f47a0348.da1fc",
\r
861 "id": "96a33d9.74471c",
\r
862 "type": "switchNode",
\r
863 "name": "switch tmp.ep-available",
\r
864 "xml": "<switch test='`$tmp.ep-available`'>\n",
\r
867 "x": 625.3441162109375,
\r
868 "y": 1170.2329092025757,
\r
869 "z": "f47a0348.da1fc",
\r
878 "id": "6c4d286f.2a00a8",
\r
879 "type": "outcomeTrue",
\r
881 "xml": "<outcome value='true'>\n",
\r
884 "x": 808.0109519958496,
\r
885 "y": 1194.5663175582886,
\r
886 "z": "f47a0348.da1fc",
\r
894 "id": "61b02086.d03f9",
\r
895 "type": "outcomeTrue",
\r
897 "xml": "<outcome value='false'>\n",
\r
900 "x": 810.8997230529785,
\r
901 "y": 1133.5664157867432,
\r
902 "z": "f47a0348.da1fc",
\r
910 "id": "856596b.3c40368",
\r
913 "xml": "<block>\n",
\r
917 "x": 947.8997993469238,
\r
918 "y": 1132.4552297592163,
\r
919 "z": "f47a0348.da1fc",
\r
925 "id": "929ee9e7.521368",
\r
927 "name": "block : atomic",
\r
928 "xml": "<block atomic=\"true\">",
\r
931 "x": 978.1220397949219,
\r
932 "y": 1192.5662755966187,
\r
933 "z": "f47a0348.da1fc",
\r
941 "id": "eb0bfad4.778f58",
\r
943 "name": "GET connection-attachment-ar to store AR data from mdsal",
\r
946 "x": 2163.504196166992,
\r
947 "y": 372.504093170166,
\r
948 "z": "f47a0348.da1fc",
\r
952 "id": "114f8c87.a5aa33",
\r
954 "name": "Set source end point",
\r
957 "x": 602.0040893554688,
\r
958 "y": 602.2541885375977,
\r
959 "z": "f47a0348.da1fc",
\r
963 "id": "cea5b658.f38fb8",
\r
965 "name": "set tmp.ar.parent-service-instance-id",
\r
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",
\r
968 "x": 655.0001678466797,
\r
969 "y": 727.0003328323364,
\r
970 "z": "f47a0348.da1fc",
\r
974 "id": "5d8dc0c4.ff757",
\r
977 "xml": "<outcome value='success'>\n",
\r
980 "x": 1033.0001640319824,
\r
981 "y": 776.0003318786621,
\r
982 "z": "f47a0348.da1fc",
\r
990 "id": "83b7907.b55937",
\r
993 "xml": "<outcome value='Other'>\n",
\r
996 "x": 1024.8519668579102,
\r
997 "y": 811.0664167404175,
\r
998 "z": "f47a0348.da1fc",
\r
1006 "id": "4f4eb4c7.cc9fdc",
\r
1007 "type": "returnFailure",
\r
1008 "name": "return failure",
\r
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",
\r
1011 "x": 1200.0006523132324,
\r
1012 "y": 807.3337669372559,
\r
1013 "z": "f47a0348.da1fc",
\r
1017 "id": "6a1bf843.4d25b8",
\r
1020 "xml": "<block>\n",
\r
1021 "atomic": "false",
\r
1024 "x": 1184.0001640319824,
\r
1025 "y": 774.0003318786621,
\r
1026 "z": "f47a0348.da1fc",
\r
1032 "id": "8fc6baf4.1c66d8",
\r
1034 "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
\r
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' />",
\r
1037 "x": 742.0001602172852,
\r
1038 "y": 901.0003061294556,
\r
1039 "z": "f47a0348.da1fc",
\r
1043 "id": "ce5d7876.710a68",
\r
1044 "type": "comment",
\r
1045 "name": "If other EP exists delete from domain controller",
\r
1048 "x": 676.0000610351562,
\r
1049 "y": 1095.0001211166382,
\r
1050 "z": "f47a0348.da1fc",
\r
1054 "id": "fd46c38b.b0e06",
\r
1056 "name": "set controller data",
\r
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",
\r
1059 "x": 2674.000877380371,
\r
1060 "y": 1385.0007133483887,
\r
1061 "z": "f47a0348.da1fc",
\r
1065 "id": "ff817e6a.4c262",
\r
1066 "type": "get-resource",
\r
1067 "name": "get-resource esr-thirdparty-sdnc",
\r
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",
\r
1071 "x": 2237.500816345215,
\r
1072 "y": 1444.0007133483887,
\r
1073 "z": "f47a0348.da1fc",
\r
1083 "id": "f3622c21.50f46",
\r
1084 "type": "success",
\r
1085 "name": "success",
\r
1086 "xml": "<outcome value='success'>\n",
\r
1089 "x": 2476.500816345215,
\r
1090 "y": 1397.0007133483887,
\r
1091 "z": "f47a0348.da1fc",
\r
1099 "id": "e431ae5e.58828",
\r
1100 "type": "not-found",
\r
1101 "name": "not-found",
\r
1102 "xml": "<outcome value='not-found'>\n",
\r
1105 "x": 2479.99178314209,
\r
1106 "y": 1444.57474899292,
\r
1107 "z": "f47a0348.da1fc",
\r
1115 "id": "a151b89e.28add8",
\r
1118 "xml": "<outcome value='Other'>\n",
\r
1121 "x": 2475.32479095459,
\r
1122 "y": 1485.9080619812012,
\r
1123 "z": "f47a0348.da1fc",
\r
1131 "id": "236bc0bf.99bb6",
\r
1132 "type": "returnFailure",
\r
1133 "name": "return failure",
\r
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",
\r
1136 "x": 2656.5631942749023,
\r
1137 "y": 1432.8604850769043,
\r
1138 "z": "f47a0348.da1fc",
\r
1142 "id": "6adb79b2.e33818",
\r
1143 "type": "returnFailure",
\r
1144 "name": "return failure",
\r
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",
\r
1147 "x": 2663.0973472595215,
\r
1148 "y": 1481.3472547531128,
\r
1149 "z": "f47a0348.da1fc",
\r
1153 "id": "993c0a9c.fa2968",
\r
1154 "type": "get-resource",
\r
1155 "name": "get-resource pnf",
\r
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",
\r
1159 "x": 2187.0009841918945,
\r
1160 "y": 1336.000542640686,
\r
1161 "z": "f47a0348.da1fc",
\r
1164 "6cbbdc6c.177994",
\r
1171 "id": "6cbbdc6c.177994",
\r
1172 "type": "success",
\r
1173 "name": "success",
\r
1174 "xml": "<outcome value='success'>\n",
\r
1177 "x": 2375.0009994506836,
\r
1178 "y": 1282.0005350112915,
\r
1179 "z": "f47a0348.da1fc",
\r
1187 "id": "d6b323fb.dd5df",
\r
1188 "type": "not-found",
\r
1189 "name": "not-found",
\r
1190 "xml": "<outcome value='not-found'>\n",
\r
1193 "x": 2380.492046356201,
\r
1194 "y": 1324.5744314193726,
\r
1195 "z": "f47a0348.da1fc",
\r
1203 "id": "691cb9fb.eb1b88",
\r
1206 "xml": "<outcome value='Other'>\n",
\r
1209 "x": 2366.825054168701,
\r
1210 "y": 1362.9077672958374,
\r
1211 "z": "f47a0348.da1fc",
\r
1219 "id": "44a433a2.c4cb1c",
\r
1220 "type": "returnFailure",
\r
1221 "name": "return failure",
\r
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",
\r
1224 "x": 2534.063346862793,
\r
1225 "y": 1314.8602380752563,
\r
1226 "z": "f47a0348.da1fc",
\r
1230 "id": "a204db7f.ac39f8",
\r
1231 "type": "returnFailure",
\r
1232 "name": "return failure",
\r
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",
\r
1235 "x": 2530.597526550293,
\r
1236 "y": 1354.3470573425293,
\r
1237 "z": "f47a0348.da1fc",
\r
1241 "id": "f3a2b0cc.a6cd3",
\r
1243 "name": "set tmp.thirdparty-sdnc-id",
\r
1244 "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
\r
1246 "x": 2575.0010147094727,
\r
1247 "y": 1277.0005350112915,
\r
1248 "z": "f47a0348.da1fc",
\r
1252 "id": "d61e54ea.0473f8",
\r
1253 "type": "comment",
\r
1254 "name": "get domain controller information",
\r
1257 "x": 2230.5048904418945,
\r
1258 "y": 1305.0045099258423,
\r
1259 "z": "f47a0348.da1fc",
\r
1263 "id": "10d17cd1.f30ab3",
\r
1264 "type": "execute",
\r
1265 "name": "execute RestApiCallNode Delete ethernet Service",
\r
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`\" />",
\r
1269 "x": 2761.001152038574,
\r
1270 "y": 1730.000747680664,
\r
1271 "z": "f47a0348.da1fc",
\r
1280 "id": "94d88f9c.771f9",
\r
1281 "type": "success",
\r
1282 "name": "success",
\r
1283 "xml": "<outcome value='success'>\n",
\r
1286 "x": 3107.000801086426,
\r
1287 "y": 1714.0007457733154,
\r
1288 "z": "f47a0348.da1fc",
\r
1296 "id": "1c7ac915.f6a6b7",
\r
1298 "name": "block : atomic",
\r
1299 "xml": "<block atomic=\"true\">",
\r
1303 "x": 3277.0007400512695,
\r
1304 "y": 1717.0007457733154,
\r
1305 "z": "f47a0348.da1fc",
\r
1311 "id": "73cc424c.c105bc",
\r
1312 "type": "returnFailure",
\r
1313 "name": "return failure",
\r
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",
\r
1316 "x": 3277.000862121582,
\r
1317 "y": 1673.0007457733154,
\r
1318 "z": "f47a0348.da1fc",
\r
1322 "id": "f2badd12.3e9c1",
\r
1323 "type": "failure",
\r
1324 "name": "failure",
\r
1325 "xml": "<outcome value='failure'>\n",
\r
1328 "x": 3110.0007400512695,
\r
1329 "y": 1673.0007457733154,
\r
1330 "z": "f47a0348.da1fc",
\r
1338 "id": "4d3c7e74.2037b",
\r
1339 "type": "failure",
\r
1340 "name": "failure",
\r
1341 "xml": "<outcome value='failure'>\n",
\r
1344 "x": 904.7619972229004,
\r
1345 "y": 1694.9529141187668,
\r
1346 "z": "f47a0348.da1fc",
\r
1354 "id": "9a2c9c7c.b67bf",
\r
1355 "type": "returnFailure",
\r
1356 "name": "return failure",
\r
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",
\r
1359 "x": 1071.2858772277832,
\r
1360 "y": 1706.5719851255417,
\r
1361 "z": "f47a0348.da1fc",
\r
1365 "id": "76fdd751.58a9d8",
\r
1366 "type": "failure",
\r
1367 "name": "not-found",
\r
1368 "xml": "<outcome value='not-found'>\n",
\r
1371 "x": 911.8572845458984,
\r
1372 "y": 1727.7148817777634,
\r
1373 "z": "f47a0348.da1fc",
\r
1381 "id": "4fec1ce6.1b1a34",
\r
1382 "type": "comment",
\r
1383 "name": "Save Resource to AAI",
\r
1386 "x": 623.8097114562988,
\r
1387 "y": 1677.3023023605347,
\r
1388 "z": "f47a0348.da1fc",
\r
1392 "id": "d507ebff.314fd8",
\r
1394 "name": "set output to api handler",
\r
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",
\r
1397 "x": 638.5774078369141,
\r
1398 "y": 1598.8277835845947,
\r
1399 "z": "f47a0348.da1fc",
\r
1403 "id": "9f388371.4f18e",
\r
1404 "type": "returnSuccess",
\r
1405 "name": "return success",
\r
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",
\r
1408 "x": 606.9904899597168,
\r
1409 "y": 1759.4435358047485,
\r
1410 "z": "f47a0348.da1fc",
\r
1414 "id": "8e1d23f5.d1706",
\r
1415 "type": "execute",
\r
1416 "name": "execute RestApiCallNode - PUT AR by id",
\r
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",
\r
1420 "x": 688.3095092773438,
\r
1421 "y": 1506.468557357788,
\r
1422 "z": "f47a0348.da1fc",
\r
1425 "e11c7417.4fa658",
\r
1426 "64cfcda1.4c2f84",
\r
1432 "id": "e11c7417.4fa658",
\r
1433 "type": "not-found",
\r
1434 "name": "not-found",
\r
1435 "xml": "<outcome value='not-found'>\n",
\r
1438 "x": 956.9508857727051,
\r
1439 "y": 1557.799969099462,
\r
1440 "z": "f47a0348.da1fc",
\r
1448 "id": "64cfcda1.4c2f84",
\r
1449 "type": "failure",
\r
1450 "name": "failure",
\r
1451 "xml": "<outcome value='failure'>\n",
\r
1454 "x": 947.9509353637695,
\r
1455 "y": 1526.2999948486686,
\r
1456 "z": "f47a0348.da1fc",
\r
1464 "id": "c55d4506.901118",
\r
1465 "type": "success",
\r
1466 "name": "success",
\r
1467 "xml": "<outcome value='success'>\n",
\r
1470 "x": 951.7009735107422,
\r
1471 "y": 1496.657099723816,
\r
1472 "z": "f47a0348.da1fc",
\r
1480 "id": "14bdf473.21930c",
\r
1481 "type": "returnFailure",
\r
1482 "name": "return failure",
\r
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",
\r
1485 "x": 1117.7009735107422,
\r
1486 "y": 1527.0500186905265,
\r
1487 "z": "f47a0348.da1fc",
\r
1491 "id": "82c892ac.f910d",
\r
1494 "xml": "<block>\n",
\r
1495 "atomic": "false",
\r
1498 "x": 1093.3569412231445,
\r
1499 "y": 1492.849268913269,
\r
1500 "z": "f47a0348.da1fc",
\r
1506 "id": "bd5b936a.6f494",
\r
1508 "name": "set ar-data",
\r
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.` \" />",
\r
1511 "x": 588.5231285095215,
\r
1512 "y": 1356.8494803905487,
\r
1513 "z": "f47a0348.da1fc",
\r
1517 "id": "754f8876.c41b88",
\r
1518 "type": "execute",
\r
1519 "name": "execute getTime",
\r
1520 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
\r
1523 "x": 605.8089714050293,
\r
1524 "y": 1429.4690780639648,
\r
1525 "z": "f47a0348.da1fc",
\r
1531 "id": "1fa63937.8805f7",
\r
1533 "name": "set allotted-resource-oper-status",
\r
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",
\r
1536 "x": 660.796028137207,
\r
1537 "y": 1467.4202156066895,
\r
1538 "z": "f47a0348.da1fc",
\r
1542 "id": "1ecf912a.ad8d5f",
\r
1544 "name": "set model-data",
\r
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.` \" />",
\r
1547 "x": 602.3646697998047,
\r
1548 "y": 1396.024130821228,
\r
1549 "z": "f47a0348.da1fc",
\r
1553 "id": "3d5eb994.20a306",
\r
1554 "type": "comment",
\r
1555 "name": "Prepare data for allotted-resource addition to MDSAL",
\r
1556 "info": "This will add to allotted-resource which is present inside service.",
\r
1558 "x": 715.6981315612793,
\r
1559 "y": 1317.0240828990936,
\r
1560 "z": "f47a0348.da1fc",
\r
1564 "id": "35db93ec.682e9c",
\r
1565 "type": "comment",
\r
1566 "name": "Add to allotted-resources in mdsal",
\r
1569 "x": 657.2779579162598,
\r
1570 "y": 1284.4373846054077,
\r
1571 "z": "f47a0348.da1fc",
\r
1575 "id": "31cf3c93.494fc4",
\r
1577 "name": "update AAI allotted-resource",
\r
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",
\r
1581 "x": 650.2539901733398,
\r
1582 "y": 1714.7544450759888,
\r
1583 "z": "f47a0348.da1fc",
\r
1592 "id": "be61dd8a.9e196",
\r
1593 "type": "get-resource",
\r
1594 "name": "get-resource connectivity",
\r
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",
\r
1598 "x": 1184.0318145751953,
\r
1599 "y": 1192.504550933838,
\r
1600 "z": "f47a0348.da1fc",
\r
1603 "ec3a781a.b17a88",
\r
1609 "id": "3730ddb4.d493b2",
\r
1611 "name": "block : atomic",
\r
1612 "xml": "<block atomic=\"true\">",
\r
1615 "x": 1957.1491241455078,
\r
1616 "y": 1389.3446836471558,
\r
1617 "z": "f47a0348.da1fc",
\r
1621 "ddc37a19.aa1838",
\r
1622 "993c0a9c.fa2968",
\r
1624 "d2c267be.388018",
\r
1625 "4ec4550f.fd160c",
\r
1631 "id": "2d7c3367.b4917c",
\r
1632 "type": "outcome",
\r
1633 "name": "vpn-binding",
\r
1634 "xml": "<outcome value='vpn-binding'>\n",
\r
1637 "x": 1783.317642211914,
\r
1638 "y": 1391.8262071609497,
\r
1639 "z": "f47a0348.da1fc",
\r
1647 "id": "95f1a2bf.0b285",
\r
1649 "name": "for each relationship",
\r
1650 "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.connectivity.relationship-list.relationship_length`' >\n",
\r
1653 "x": 1405.0315856933594,
\r
1654 "y": 1390.004433631897,
\r
1655 "z": "f47a0348.da1fc",
\r
1663 "id": "68b3b3fe.7b312c",
\r
1664 "type": "switchNode",
\r
1665 "name": "switch related-to",
\r
1666 "xml": "<switch test='`$tmp.connectivity.relationship-list.relationship[$vidx].related-to`'>\n",
\r
1669 "x": 1617.0315971374512,
\r
1670 "y": 1391.004433631897,
\r
1671 "z": "f47a0348.da1fc",
\r
1679 "id": "ddc37a19.aa1838",
\r
1681 "name": "set tmp.vpn-name",
\r
1682 "xml": "<set>\n<parameter name='tmp.vpn-name' value=\"`$tmp.connectivity.relationship-list.relationship[$vidx].relationship-data[0].relationship-value` \" />\n",
\r
1684 "x": 2190.0317916870117,
\r
1685 "y": 1103.00475025177,
\r
1686 "z": "f47a0348.da1fc",
\r
1690 "id": "76aabffd.38e",
\r
1691 "type": "execute",
\r
1692 "name": "split vpnName to find nodeId",
\r
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",
\r
1696 "x": 2226.0317459106445,
\r
1697 "y": 1204.004117012024,
\r
1698 "z": "f47a0348.da1fc",
\r
1707 "id": "637ec688.c44a88",
\r
1708 "type": "failure",
\r
1709 "name": "success",
\r
1710 "xml": "<outcome value='success'>\n",
\r
1713 "x": 2427.031936645508,
\r
1714 "y": 1181.0041093826294,
\r
1715 "z": "f47a0348.da1fc",
\r
1723 "id": "b87e837.b66ce8",
\r
1725 "name": "set tmp.node-id",
\r
1726 "xml": "<set>\n<parameter name='tmp.node-id' value='`$route1[0]`' />\n<parameter name='tmp.actual.vpn-name' value='`$route1[1]`' />\n",
\r
1728 "x": 2580.032096862793,
\r
1729 "y": 1179.0041103363037,
\r
1730 "z": "f47a0348.da1fc",
\r
1734 "id": "857b862a.e6a0b8",
\r
1735 "type": "returnFailure",
\r
1736 "name": "return failure",
\r
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",
\r
1739 "x": 2564.032262802124,
\r
1740 "y": 1228.0041122436523,
\r
1741 "z": "f47a0348.da1fc",
\r
1745 "id": "78a77003.35ea4",
\r
1746 "type": "failure",
\r
1747 "name": "failure",
\r
1748 "xml": "<outcome value='failure'>\n",
\r
1751 "x": 2424.03191947937,
\r
1752 "y": 1229.004114151001,
\r
1753 "z": "f47a0348.da1fc",
\r
1761 "id": "ec3a781a.b17a88",
\r
1762 "type": "success",
\r
1763 "name": "success",
\r
1764 "xml": "<outcome value='success'>\n",
\r
1767 "x": 1365.0314140319824,
\r
1768 "y": 1227.0001955032349,
\r
1769 "z": "f47a0348.da1fc",
\r
1777 "id": "13bcbf26.d71d71",
\r
1780 "xml": "<outcome value='Other'>\n",
\r
1783 "x": 1367.883144378662,
\r
1784 "y": 1154.0664405822754,
\r
1785 "z": "f47a0348.da1fc",
\r
1793 "id": "c5f74144.ebbac",
\r
1794 "type": "returnFailure",
\r
1795 "name": "return failure",
\r
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",
\r
1798 "x": 1510.0319137573242,
\r
1799 "y": 1154.3338508605957,
\r
1800 "z": "f47a0348.da1fc",
\r
1804 "id": "8cc479bc.b82368",
\r
1807 "xml": "<block>\n",
\r
1808 "atomic": "false",
\r
1811 "x": 1367.0314254760742,
\r
1812 "y": 1305.000361442566,
\r
1813 "z": "f47a0348.da1fc",
\r
1821 "id": "61d4f147.44641",
\r
1822 "type": "execute",
\r
1823 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
\r
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",
\r
1827 "x": 803.3652038574219,
\r
1828 "y": 553.5000734329224,
\r
1829 "z": "f47a0348.da1fc",
\r
1832 "55776be8.abf844",
\r
1838 "id": "7bc058aa.42a598",
\r
1839 "type": "execute",
\r
1840 "name": "get parent-service-data tmp.ar-url-psd",
\r
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",
\r
1844 "x": 657.0314483642578,
\r
1845 "y": 762.0003347396851,
\r
1846 "z": "f47a0348.da1fc",
\r
1852 "id": "7c847f3c.b2ac4",
\r
1853 "type": "execute",
\r
1854 "name": "execute RestApiCallNode - get-resource parent service data",
\r
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",
\r
1858 "x": 724.0314102172852,
\r
1859 "y": 797.0004186630249,
\r
1860 "z": "f47a0348.da1fc",
\r
1869 "id": "f0fb1a1c.cc2828",
\r
1870 "type": "switchNode",
\r
1871 "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
\r
1872 "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
\r
1875 "x": 740.2155303955078,
\r
1876 "y": 971.7182464599609,
\r
1877 "z": "f47a0348.da1fc",
\r
1880 "f3fcb7.3cb38348",
\r
1881 "31b6e940.d005b6",
\r
1887 "id": "d2c267be.388018",
\r
1889 "name": "delete AAI vpn-binding",
\r
1890 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.vpn-name' >",
\r
1893 "x": 2211.031204223633,
\r
1894 "y": 1801.0002889633179,
\r
1895 "z": "f47a0348.da1fc",
\r
1898 "e8b749f3.e275f8",
\r
1904 "id": "e8b749f3.e275f8",
\r
1905 "type": "failure",
\r
1906 "name": "failure",
\r
1907 "xml": "<outcome value='failure'>\n",
\r
1910 "x": 2465.5392112731934,
\r
1911 "y": 1781.1987580060959,
\r
1912 "z": "f47a0348.da1fc",
\r
1920 "id": "ef20a9a9.f1fb18",
\r
1921 "type": "failure",
\r
1922 "name": "not-found",
\r
1923 "xml": "<outcome value='not-found'>\n",
\r
1926 "x": 2472.6344985961914,
\r
1927 "y": 1813.9607256650925,
\r
1928 "z": "f47a0348.da1fc",
\r
1936 "id": "b53766de.89b208",
\r
1937 "type": "returnFailure",
\r
1938 "name": "return failure",
\r
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",
\r
1941 "x": 2632.063091278076,
\r
1942 "y": 1792.8178290128708,
\r
1943 "z": "f47a0348.da1fc",
\r
1947 "id": "4ec4550f.fd160c",
\r
1948 "type": "execute",
\r
1949 "name": "execute RestApiCallNode Get token",
\r
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\"/>",
\r
1953 "x": 2250.7854080200195,
\r
1954 "y": 1581.254126548767,
\r
1955 "z": "f47a0348.da1fc",
\r
1958 "d144148d.dc75b8",
\r
1964 "id": "d144148d.dc75b8",
\r
1965 "type": "success",
\r
1966 "name": "success",
\r
1967 "xml": "<outcome value='success'>\n",
\r
1970 "x": 2485.7854080200195,
\r
1971 "y": 1559.254126548767,
\r
1972 "z": "f47a0348.da1fc",
\r
1980 "id": "6622df6c.28bd",
\r
1981 "type": "failure",
\r
1982 "name": "failure",
\r
1983 "xml": "<outcome value='failure'>\n",
\r
1986 "x": 2478.0354080200195,
\r
1987 "y": 1612.8970098495483,
\r
1988 "z": "f47a0348.da1fc",
\r
1996 "id": "11df681e.1cd4c8",
\r
1998 "name": "set token-id",
\r
1999 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
2001 "x": 2639.7854080200195,
\r
2002 "y": 1560.254126548767,
\r
2003 "z": "f47a0348.da1fc",
\r
2007 "id": "767b76a3.973bd8",
\r
2008 "type": "switchNode",
\r
2009 "name": "switch prop.sdncRestApi.token_id",
\r
2010 "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",
\r
2013 "x": 2257.031126022339,
\r
2014 "y": 1686.5312061309814,
\r
2015 "z": "f47a0348.da1fc",
\r
2018 "647e08e2.0afec8",
\r
2024 "id": "4b8f5cd7.3f8294",
\r
2027 "xml": "<outcome value='Other'>\n",
\r
2030 "x": 2477.0312519073486,
\r
2031 "y": 1726.031084060669,
\r
2032 "z": "f47a0348.da1fc",
\r
2040 "id": "647e08e2.0afec8",
\r
2043 "xml": "<outcome value=''>\n",
\r
2046 "x": 2483.031373977661,
\r
2047 "y": 1662.5310831069946,
\r
2048 "z": "f47a0348.da1fc",
\r
2056 "id": "a07b50ef.81562",
\r
2059 "xml": "<block>\n",
\r
2060 "atomic": "false",
\r
2063 "x": 2623.0311431884766,
\r
2064 "y": 1610.5309600830078,
\r
2065 "z": "f47a0348.da1fc",
\r
2071 "id": "e34fee1b.784d2",
\r
2072 "type": "execute",
\r
2073 "name": "execute RestApiCallNode Delete ethernet Service",
\r
2074 "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",
\r
2078 "y": 1659.5311279296875,
\r
2079 "z": "f47a0348.da1fc",
\r