3 "id": "a77629b2.29acf8",
8 "y": 31.999999523162842,
9 "z": "205403e9.560efc",
17 "id": "2a935009.ef91b",
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": 316.03125381469727,
26 "y": 104.00001668930054,
27 "z": "205403e9.560efc",
35 "id": "394d3966.f7a306",
37 "name": "sotn-attachment-topology-operation-activate",
38 "xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",
41 "x": 304.0313720703125,
42 "y": 191.99999952316284,
43 "z": "205403e9.560efc",
51 "id": "3355788a.12aa08",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 320.0313720703125,
59 "y": 747.000244140625,
60 "z": "205403e9.560efc",
86 "id": "3df84881.f08dd8",
88 "name": "set tmp.ar.allotted-resource-id,etc",
89 "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",
91 "x": 717.0248107910156,
92 "y": 145.99348640441895,
93 "z": "205403e9.560efc",
99 "id": "66bc483f.e63618",
101 "name": "set tmp ar-id to fetch resource from MDSAL",
104 "x": 745.9851226806641,
105 "y": 110.02528238296509,
106 "z": "205403e9.560efc",
112 "id": "d2f1b91d.444978",
114 "name": "set tmp.ar.self-link",
115 "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",
117 "x": 671.0247497558594,
118 "y": 238.99349164962769,
119 "z": "205403e9.560efc",
125 "id": "c7d4c837.69f1a8",
127 "name": "execute Properties",
128 "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",
131 "x": 677.2866401672363,
132 "y": 326.66022062301636,
133 "z": "205403e9.560efc",
141 "id": "e6d1c52b.520cc8",
143 "name": "generate allotted-resource url",
144 "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",
147 "x": 709.2866668701172,
148 "y": 414.6602020263672,
149 "z": "205403e9.560efc",
157 "id": "1587558f.923b5a",
158 "type": "get-resource",
159 "name": "get-resource connection-attachment-allotted-resource",
160 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='connection-attachment-allotted-resources/connection-attachment-allotted-resource/$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id/' pfx='mdsal-ar' >\n",
163 "x": 780.0247650146484,
164 "y": 504.7712607383728,
165 "z": "205403e9.560efc",
174 "id": "4c5a1d8d.682774",
176 "name": "GET connection-attachment-allotted-resource from mdsal",
179 "x": 786.8395614624023,
180 "y": 476.53857946395874,
181 "z": "205403e9.560efc",
187 "id": "6cf9a5a4.2b253c",
189 "name": "Used for setting output to API Handler",
192 "x": 725.0247802734375,
193 "y": 205.99350118637085,
194 "z": "205403e9.560efc",
200 "id": "15f9c1a1.7257ee",
202 "name": "Obtain different URL, template location etc",
203 "info": "For saving resource information to MDSAL & for AAI",
205 "x": 743.0247459411621,
206 "y": 291.88238191604614,
207 "z": "205403e9.560efc",
213 "id": "b17883ed.6bb59",
215 "name": "Used to Get AR by id to MDSAL, same as self-link",
218 "x": 769.0247650146484,
219 "y": 378.88234090805054,
220 "z": "205403e9.560efc",
226 "id": "9d21fc06.56c9b",
229 "xml": "<outcome value='success'>\n",
232 "x": 1079.6979675292969,
233 "y": 489.9999918937683,
234 "z": "205403e9.560efc",
242 "id": "a51a2d9d.383d",
244 "name": "block: atomic",
245 "xml": "<block atomic=\"true\">\n",
249 "x": 1248.6979713439941,
250 "y": 488.4998927116394,
251 "z": "205403e9.560efc",
259 "id": "1edb162f.f7047a",
260 "type": "switchNode",
261 "name": "switch cr length",
262 "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
265 "x": 1459.5552139282227,
266 "y": 488.1190218925476,
267 "z": "205403e9.560efc",
276 "id": "2c727498.5563ec",
279 "xml": "<outcome value='1'>\n",
282 "x": 1648.8885192871094,
283 "y": 488.1189799308777,
284 "z": "205403e9.560efc",
292 "id": "94f9a14a.aa9d1",
294 "name": "block: atomic",
295 "xml": "<block atomic='true'>\n",
299 "x": 1833.4124088287354,
300 "y": 485.0238137245178,
301 "z": "205403e9.560efc",
311 "id": "151fea4f.a51286",
312 "type": "returnFailure",
313 "name": "return failure",
314 "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",
316 "x": 1792.5502090454102,
317 "y": 566.0660452842712,
318 "z": "205403e9.560efc",
324 "id": "b5f5dd22.5d92a",
327 "xml": "<outcome value='Other'>\n",
330 "x": 1071.5497703552246,
331 "y": 525.0660767555237,
332 "z": "205403e9.560efc",
340 "id": "318eef9c.54777",
342 "name": "block: atomic",
343 "xml": "<block atomic=\"true\">\n",
347 "x": 1251.5497207641602,
348 "y": 525.7326273918152,
349 "z": "205403e9.560efc",
357 "id": "cc396d19.c6009",
360 "xml": "<outcome value='Other'>\n",
363 "x": 1637.2164726257324,
364 "y": 525.3993401527405,
365 "z": "205403e9.560efc",
373 "id": "ccbbcb55.91af38",
375 "name": "set connection-attachment-ar from get",
376 "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
378 "x": 2201.4758911132812,
379 "y": 454.0000534057617,
380 "z": "205403e9.560efc",
386 "id": "b1755c5c.5e7d2",
388 "name": "set oper-status",
389 "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",
391 "x": 2135.4759216308594,
392 "y": 527.4285559654236,
393 "z": "205403e9.560efc",
399 "id": "ca13a843.2cf298",
400 "type": "switchNode",
401 "name": "switch order-status",
402 "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
405 "x": 2145.475700378418,
406 "y": 492.9999899864197,
407 "z": "205403e9.560efc",
416 "id": "c5c8df87.d7496",
418 "name": "outcome Created",
419 "xml": "<outcome value='Created'>\n",
422 "x": 2381.075782775879,
423 "y": 487.00002098083496,
424 "z": "205403e9.560efc",
432 "id": "96fbbcc4.3796a",
434 "name": "outcome Other",
435 "xml": "<outcome value='Other'>\n",
438 "x": 2374.7902221679688,
439 "y": 526.4286289215088,
440 "z": "205403e9.560efc",
448 "id": "88f78e4e.b4f9",
455 "x": 2595.546298980713,
456 "y": 488.37565517425537,
457 "z": "205403e9.560efc",
465 "id": "935468c0.294618",
466 "type": "returnFailure",
467 "name": "return failure",
468 "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",
470 "x": 2614.6980018615723,
471 "y": 529.0000190734863,
472 "z": "205403e9.560efc",
478 "id": "cd666072.c4472",
480 "name": "call GENERIC-RESOURCE-API:sotn-get-request-input-param",
481 "xml": "<call module='GENERIC-RESOURCE-API' rpc='connection-attachment-get-request-input-param' mode='sync' >\n",
484 "x": 967.3342895507812,
485 "y": 594.4935550689697,
486 "z": "205403e9.560efc",
494 "id": "f3e22a0c.d8db48",
496 "name": "block: atomic",
497 "xml": "<block atomic=\"true\">\n",
501 "x": 649.3403663635254,
502 "y": 594.4998416900635,
503 "z": "205403e9.560efc",
511 "id": "606696e.6cc0f68",
512 "type": "get-resource",
513 "name": "get-resource parent-service-data",
514 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='services/service/$tmp.ar.parent-service-instance-id/service-data' pfx='mdsal-psd' >\n",
517 "x": 714.0316772460938,
518 "y": 736.5316162109375,
519 "z": "205403e9.560efc",
528 "id": "3f9c5fc2.bcfea",
530 "name": "GET parent-service-data from mdsal to check existence of other End point",
533 "x": 834.0316162109375,
534 "y": 665.5315551757812,
535 "z": "205403e9.560efc",
541 "id": "a4aef874.7e7e88",
543 "name": "for pidx..mdsal-psd.provided-allotted-resources.provided-allotted-resource[]",
544 "xml": "<for index='pidx' start='0' end='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource_length`' >\n",
547 "x": 1723.2160968780518,
548 "y": 904.0041084289551,
549 "z": "205403e9.560efc",
557 "id": "6558b5c9.5b8bec",
558 "type": "switchNode",
559 "name": "switch mdsal-psd.provided-allotted-resources_length",
560 "xml": "<switch test='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource_length`'>\n",
563 "x": 780.2154541015625,
564 "y": 880.7180786132812,
565 "z": "205403e9.560efc",
575 "id": "c8d5ad22.c170b",
578 "xml": "<outcome value='Other'>\n",
581 "x": 1112.3582763671875,
582 "y": 1157.5755004882812,
583 "z": "205403e9.560efc",
591 "id": "3a4d0461.4005dc",
593 "name": "block : atomic",
594 "xml": "<block atomic=\"true\">",
597 "x": 1306.4856853485107,
598 "y": 898.7015209197998,
599 "z": "205403e9.560efc",
608 "id": "c0e3f5d5.ead6e8",
609 "type": "switchNode",
610 "name": "switch allotted-resource-id",
611 "xml": "<switch test=\"`$mdsal-psd.provided-allotted-resources.provided-allotted-resource[$cidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
614 "x": 2158.3274974823,
615 "y": 904.0040054321289,
616 "z": "205403e9.560efc",
625 "id": "ac0df227.58a1c",
626 "type": "outcomeTrue",
628 "xml": "<outcome value='true'>\n",
631 "x": 2367.1377239227295,
632 "y": 876.4684953689575,
633 "z": "205403e9.560efc",
641 "id": "64186f05.4be35",
643 "name": "block : atomic",
644 "xml": "<block atomic=\"true\">",
647 "x": 2546.8984203338623,
648 "y": 940.3256740570068,
649 "z": "205403e9.560efc",
658 "id": "482d5120.f30ca",
660 "name": "set tmp.pidx and ptx.consumed-ar",
661 "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
663 "x": 2803.755926132202,
664 "y": 914.8971881866455,
665 "z": "205403e9.560efc",
671 "id": "a13cbdb.502bd4",
676 "x": 2714.6166439056396,
677 "y": 961.6532039642334,
678 "z": "205403e9.560efc",
684 "id": "f72ddcab.98ba7",
686 "name": "Check existence of other AR in parent service data",
687 "info": "Check if other allotted resource is available.",
689 "x": 769.993896484375,
690 "y": 814.8928833007812,
691 "z": "205403e9.560efc",
697 "id": "7c868dde.220b24",
700 "xml": "<outcome value='1'>\n",
703 "x": 1124.0107231140137,
704 "y": 1028.6772651672363,
705 "z": "205403e9.560efc",
713 "id": "bad30438.d05408",
714 "type": "returnFailure",
715 "name": "return failure",
716 "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",
718 "x": 1285.0106201171875,
719 "y": 1156.6772422790527,
720 "z": "205403e9.560efc",
726 "id": "5e4728c1.e810e8",
729 "xml": "<outcome value='2'>\n",
732 "x": 1132.010705947876,
733 "y": 899.6772212982178,
734 "z": "205403e9.560efc",
742 "id": "22a29502.ccff9a",
749 "x": 2525.1219387054443,
750 "y": 875.6772384643555,
751 "z": "205403e9.560efc",
759 "id": "39a3c95.9a56f36",
760 "type": "outcomeTrue",
762 "xml": "<outcome value='false'>\n",
765 "x": 2366.1219387054443,
766 "y": 938.6772384643555,
767 "z": "205403e9.560efc",
775 "id": "e5572f4b.0166d",
776 "type": "switchNode",
777 "name": "switch tmp.found-in-ar",
778 "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",
781 "x": 1553.0106105804443,
782 "y": 975.4549942016602,
783 "z": "205403e9.560efc",
791 "id": "23e2fd66.fcd7c2",
792 "type": "outcomeTrue",
794 "xml": "<outcome value='true'>\n",
797 "x": 1776.0106563568115,
798 "y": 974.5661640167236,
799 "z": "205403e9.560efc",
807 "id": "8fa1eba4.3c67f8",
809 "name": "block : atomic",
810 "xml": "<block atomic=\"true\">",
813 "x": 1966.0106868743896,
814 "y": 974.5662136077881,
815 "z": "205403e9.560efc",
823 "id": "5c438258.2817dc",
824 "type": "get-resource",
825 "name": "get-resource provided-ar.allotted-resource",
826 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='connection-attachment-allotted-resources/connection-attachment-allotted-resource/$tmp.provided-ar.allotted-resource-id/' pfx='mdsal-other-ar' >",
829 "x": 2271.4550399780273,
830 "y": 1026.5662593841553,
831 "z": "205403e9.560efc",
840 "id": "75e596c5.28a268",
843 "xml": "<outcome value='success'>\n",
846 "x": 2571.128242492676,
847 "y": 1011.7949905395508,
848 "z": "205403e9.560efc",
856 "id": "3fc2682f.986b78",
859 "xml": "<outcome value='Other'>\n",
862 "x": 2562.9800453186035,
863 "y": 1046.8610754013062,
864 "z": "205403e9.560efc",
872 "id": "abb4ba72.e83978",
873 "type": "switchNode",
874 "name": "switch mdsal-psd.networks_length",
875 "xml": "<switch test='`$mdsal-psd.networks.network_length`'>\n",
878 "x": 1550.3441162109375,
879 "y": 1127.8997802734375,
880 "z": "205403e9.560efc",
889 "id": "f199acdb.1cc56",
892 "xml": "<outcome value='1'>\n",
895 "x": 1829.343994140625,
896 "y": 1137.78857421875,
897 "z": "205403e9.560efc",
905 "id": "7abae666.d51f58",
908 "xml": "<outcome value='Other'>\n",
911 "x": 1823.3441162109375,
912 "y": 1197.78857421875,
913 "z": "205403e9.560efc",
921 "id": "7c1c105.99f43f",
922 "type": "returnFailure",
923 "name": "return failure",
924 "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",
926 "x": 1979.9964599609375,
927 "y": 1198.890380859375,
928 "z": "205403e9.560efc",
934 "id": "df5ebca6.dc1ea",
936 "name": "set tmp.network.",
937 "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.networks.network[0].`' />\n",
939 "x": 2276.7888259887695,
940 "y": 1121.7887411117554,
941 "z": "205403e9.560efc",
947 "id": "4884d527.f966cc",
949 "name": "block : atomic",
950 "xml": "<block atomic=\"true\">",
954 "y": 1029.7885131835938,
955 "z": "205403e9.560efc",
963 "id": "362dc46c.af4b8c",
965 "name": "block : atomic",
966 "xml": "<block atomic=\"true\">",
969 "x": 2021.1217041015625,
970 "y": 1140.7884521484375,
971 "z": "205403e9.560efc",
980 "id": "37668a8f.d84a36",
982 "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
983 "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
986 "x": 2438.1218338012695,
987 "y": 1188.7885284423828,
988 "z": "205403e9.560efc",
996 "id": "8d783898.486c38",
1003 "x": 2809.67724609375,
1004 "y": 1221.7884521484375,
1005 "z": "205403e9.560efc",
1022 "id": "f4f7612.08260a",
1023 "type": "switchNode",
1024 "name": "switch access-node-id",
1025 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
1028 "x": 3015.1881942749023,
1029 "y": 1069.7990770339966,
1030 "z": "205403e9.560efc",
1038 "id": "5989197c.f6f7f8",
1039 "type": "outcomeTrue",
1041 "xml": "<outcome value='true'>\n",
1044 "x": 3204.1878204345703,
1045 "y": 1071.7989416122437,
1046 "z": "205403e9.560efc",
1054 "id": "b51d0ed2.6b0e5",
1056 "name": "set tmp.found-in-network tmp.ep-available",
1057 "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
1059 "x": 3457.1879959106445,
1060 "y": 1071.3989877700806,
1061 "z": "205403e9.560efc",
1067 "id": "4421135d.084d2c",
1068 "type": "returnSuccess",
1069 "name": "return success",
1070 "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",
1072 "x": 2996.1772994995117,
1073 "y": 1526.7884120941162,
1074 "z": "205403e9.560efc",
1080 "id": "d1e1bdb5.615f1",
1081 "type": "switchNode",
1082 "name": "switch tmp.ep-available",
1083 "xml": "<switch test='`$tmp.ep-available`'>\n",
1086 "x": 706.3440551757812,
1087 "y": 1292.2327880859375,
1088 "z": "205403e9.560efc",
1097 "id": "3e428e4a.b1f8b2",
1098 "type": "outcomeTrue",
1100 "xml": "<outcome value='true'>\n",
1103 "x": 925.0107746124268,
1104 "y": 1341.5661449432373,
1105 "z": "205403e9.560efc",
1113 "id": "32c06766.90eaa8",
1114 "type": "outcomeTrue",
1116 "xml": "<outcome value='false'>\n",
1119 "x": 929.8995761871338,
1120 "y": 1250.5662059783936,
1121 "z": "205403e9.560efc",
1129 "id": "64e7831f.72ebbc",
1136 "x": 1076.8995723724365,
1137 "y": 1252.4550189971924,
1138 "z": "205403e9.560efc",
1146 "id": "5db74705.3b89f8",
1148 "name": "block : atomic",
1149 "xml": "<block atomic=\"true\">",
1152 "x": 1095.121862411499,
1153 "y": 1339.5661029815674,
1154 "z": "205403e9.560efc",
1164 "id": "3c2f6627.61512a",
1165 "type": "switchNode",
1166 "name": "switch tmp.found-in-ar",
1167 "xml": "<switch test='`$tmp.found-in-ar`'>\n",
1170 "x": 1325.23291015625,
1171 "y": 1274.566162109375,
1172 "z": "205403e9.560efc",
1181 "id": "d79615f7.087d78",
1182 "type": "outcomeTrue",
1184 "xml": "<outcome value='true'>\n",
1187 "x": 1545.677282333374,
1188 "y": 1260.5661029815674,
1189 "z": "205403e9.560efc",
1197 "id": "1c319701.787ef9",
1198 "type": "outcomeTrue",
1200 "xml": "<outcome value='false'>\n",
1203 "x": 1546.67724609375,
1204 "y": 1306.566162109375,
1205 "z": "205403e9.560efc",
1213 "id": "ba9cd8cc.15f248",
1215 "name": "block : atomic",
1216 "xml": "<block atomic=\"true\">",
1219 "x": 1733.232946395874,
1220 "y": 1257.5661029815674,
1221 "z": "205403e9.560efc",
1229 "id": "719bb92a.4ee018",
1231 "name": "block : atomic",
1232 "xml": "<block atomic=\"true\">",
1235 "x": 1734.23291015625,
1236 "y": 1305.566162109375,
1237 "z": "205403e9.560efc",
1245 "id": "25783fac.20762",
1247 "name": "GET connection-attachment-ar to store AR data from mdsal",
1250 "x": 2265.5040397644043,
1251 "y": 416.5039129257202,
1252 "z": "205403e9.560efc",
1258 "id": "b02bb1b6.e7f4b",
1260 "name": "Set source end point",
1263 "x": 671.0039176940918,
1264 "y": 562.2539224624634,
1265 "z": "205403e9.560efc",
1271 "id": "cb89d188.f33cc",
1273 "name": "set tmp.ar.parent-service-instance-id",
1274 "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",
1278 "z": "205403e9.560efc",
1284 "id": "f37fbd01.3a27c",
1287 "xml": "<outcome value='success'>\n",
1292 "z": "205403e9.560efc",
1300 "id": "a7659493.fc2068",
1303 "xml": "<outcome value='Other'>\n",
1306 "x": 952.8518028259277,
1307 "y": 764.0660848617554,
1308 "z": "205403e9.560efc",
1316 "id": "7b61e92b.2f9e78",
1317 "type": "returnFailure",
1318 "name": "return failure",
1319 "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",
1321 "x": 1128.00048828125,
1322 "y": 760.3334350585938,
1323 "z": "205403e9.560efc",
1329 "id": "204f751a.862bca",
1338 "z": "205403e9.560efc",
1346 "id": "1ccb7b0b.274855",
1347 "type": "returnFailure",
1348 "name": "return failure",
1349 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN provided attachment resource not found\" />\n \n",
1351 "x": 2732.9999256134033,
1352 "y": 1048.0000953674316,
1353 "z": "205403e9.560efc",
1359 "id": "2d352ea7.0e12c2",
1366 "x": 2716.9999256134033,
1367 "y": 1009.0000953674316,
1368 "z": "205403e9.560efc",
1376 "id": "3bc10ee7.beb432",
1378 "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
1379 "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' />",
1383 "z": "205403e9.560efc",
1389 "id": "c79a6189.fcf2c",
1391 "name": "If other EP exists set destination end point",
1392 "info": "Check if other allotted resource is available.",
1396 "z": "205403e9.560efc",
1402 "id": "bac44858.bd4fb8",
1411 "z": "205403e9.560efc",
1426 "id": "43736465.ded50c",
1427 "type": "switchNode",
1428 "name": "switch access-node-id",
1429 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",
1432 "x": 1760.51025390625,
1433 "y": 1356.0103759765625,
1434 "z": "205403e9.560efc",
1442 "id": "1f0536d6.03d209",
1443 "type": "returnSuccess",
1444 "name": "return success",
1445 "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",
1447 "x": 1733.5002059936523,
1448 "y": 1661.0003395080566,
1449 "z": "205403e9.560efc",
1455 "id": "1c6c8b83.e7b554",
1456 "type": "switchNode",
1457 "name": "switch access-ltp-id",
1458 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",
1461 "x": 1752.0000839233398,
1462 "y": 1399.777907371521,
1463 "z": "205403e9.560efc",
1471 "id": "804dff2.f416",
1472 "type": "switchNode",
1473 "name": "switch clientSignal",
1474 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",
1477 "x": 1746.0001220703125,
1478 "y": 1445.7779541015625,
1479 "z": "205403e9.560efc",
1487 "id": "faab91d9.9baa6",
1488 "type": "switchNode",
1489 "name": "switch cVLAN",
1490 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",
1493 "x": 1729.9896240234375,
1494 "y": 1484.7674560546875,
1495 "z": "205403e9.560efc",
1503 "id": "327e9777.bfc4d8",
1504 "type": "outcomeTrue",
1506 "xml": "<outcome value='true'>\n",
1509 "x": 1938.22216796875,
1510 "y": 1356.666748046875,
1511 "z": "205403e9.560efc",
1519 "id": "ded3a3b2.bb6de",
1521 "name": "set dst-access-node-id",
1522 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1524 "x": 2111.22216796875,
1525 "y": 1356.2667236328125,
1526 "z": "205403e9.560efc",
1532 "id": "a140ea29.0beb08",
1533 "type": "outcomeTrue",
1535 "xml": "<outcome value='true'>\n",
1538 "x": 1933.7120361328125,
1539 "y": 1399.4342041015625,
1540 "z": "205403e9.560efc",
1548 "id": "ce02a989.0990f8",
1549 "type": "outcomeTrue",
1551 "xml": "<outcome value='true'>\n",
1554 "x": 1933.7120361328125,
1555 "y": 1445.4342041015625,
1556 "z": "205403e9.560efc",
1564 "id": "f26df0a2.edf49",
1565 "type": "outcomeTrue",
1567 "xml": "<outcome value='true'>\n",
1570 "x": 1933.7015380859375,
1571 "y": 1484.423828125,
1572 "z": "205403e9.560efc",
1580 "id": "380c3c36.553114",
1582 "name": "for idx..tmp.ep.parameters[]",
1583 "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`' >",
1588 "z": "205403e9.560efc",
1596 "id": "a6fc819d.1ebca",
1598 "name": "set tmp.ep.parameters",
1599 "xml": "<set>\n<parameter name='tmp.ep.parameters' value='`$mdsal-other-ar.allotted-resource-data.connection-attachment-topology.connection-attachment-parameters`' />",
1603 "z": "205403e9.560efc",
1609 "id": "815fbac.230c748",
1611 "name": "set tmp.ep.parameters",
1612 "xml": "<set>\n<parameter name='tmp.ep.parameters' value='`$tmp.network.network-data.network-request-input.network-input-parameters`' />\n",
1614 "x": 1945.999963760376,
1615 "y": 1301.0000591278076,
1616 "z": "205403e9.560efc",
1622 "id": "d26fb8e0.ff59f8",
1624 "name": "set dst-access-node-id",
1625 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",
1629 "z": "205403e9.560efc",
1635 "id": "ee911b75.034b28",
1637 "name": "set dst-clientSignal",
1638 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",
1642 "z": "205403e9.560efc",
1648 "id": "16f5641b.4b39fc",
1650 "name": "set dst-cVLAN",
1651 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",
1655 "z": "205403e9.560efc",
1661 "id": "42f94a2e.999604",
1663 "name": "block : atomic",
1664 "xml": "<block atomic=\"true\">",
1669 "z": "205403e9.560efc",
1678 "id": "164aff86.323ed",
1680 "name": "Get controller info and send request",
1685 "z": "205403e9.560efc",
1691 "id": "9edea41a.d68a58",
1693 "name": "execute RestApiCallNode Create ethernet Service",
1694 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + 'restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
1697 "x": 1379.0000305175781,
1698 "y": 2062.0007610321045,
1699 "z": "205403e9.560efc",
1708 "id": "616e1655.379198",
1711 "xml": "<outcome value='success'>\n",
1714 "x": 1666.0000228881836,
1715 "y": 2083.0007104873657,
1716 "z": "205403e9.560efc",
1724 "id": "96c14b60.8835b8",
1726 "name": "block : atomic",
1727 "xml": "<block atomic=\"true\">",
1731 "x": 1835.9999618530273,
1732 "y": 2086.0007104873657,
1733 "z": "205403e9.560efc",
1741 "id": "a39478d4.ff01e8",
1742 "type": "returnFailure",
1743 "name": "return failure",
1744 "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",
1746 "x": 1836.0000839233398,
1747 "y": 2042.0007104873657,
1748 "z": "205403e9.560efc",
1754 "id": "b0089735.e037f8",
1757 "xml": "<outcome value='failure'>\n",
1760 "x": 1668.9999618530273,
1761 "y": 2042.0007104873657,
1762 "z": "205403e9.560efc",
1770 "id": "ed031fec.cf219",
1773 "xml": "<outcome value='failure'>\n",
1776 "x": 1018.7622451782227,
1777 "y": 2481.953144431114,
1778 "z": "205403e9.560efc",
1786 "id": "2bd27313.7e4a0c",
1787 "type": "returnFailure",
1788 "name": "return failure",
1789 "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",
1791 "x": 1185.2861251831055,
1792 "y": 2493.572215437889,
1793 "z": "205403e9.560efc",
1799 "id": "581d8c50.26f904",
1801 "name": "not-found",
1802 "xml": "<outcome value='not-found'>\n",
1805 "x": 1025.8575325012207,
1806 "y": 2514.715112090111,
1807 "z": "205403e9.560efc",
1815 "id": "9aeb74dd.a24a08",
1817 "name": "Save Resource to AAI",
1820 "x": 737.8099594116211,
1821 "y": 2464.302532672882,
1822 "z": "205403e9.560efc",
1828 "id": "9158a090.142c2",
1830 "name": "TODO: Rework after confirmation from AAI",
1833 "x": 1038.1688690185547,
1834 "y": 2441.873571395874,
1835 "z": "205403e9.560efc",
1841 "id": "f9e2a4f.0cf5858",
1843 "name": "set output to api handler",
1844 "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",
1846 "x": 752.5776557922363,
1847 "y": 2385.828013896942,
1848 "z": "205403e9.560efc",
1854 "id": "6afb5fe5.f951c",
1855 "type": "returnSuccess",
1856 "name": "return success",
1857 "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",
1859 "x": 720.9907379150391,
1860 "y": 2546.443766117096,
1861 "z": "205403e9.560efc",
1867 "id": "9ab0f309.357b6",
1869 "name": "execute RestApiCallNode - PUT AR by id",
1870 "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",
1873 "x": 802.309757232666,
1874 "y": 2293.4687876701355,
1875 "z": "205403e9.560efc",
1885 "id": "cf614e80.0a4b3",
1886 "type": "not-found",
1887 "name": "not-found",
1888 "xml": "<outcome value='not-found'>\n",
1891 "x": 1070.9511337280273,
1892 "y": 2344.8001994118094,
1893 "z": "205403e9.560efc",
1901 "id": "6d53da86.669ad4",
1904 "xml": "<outcome value='failure'>\n",
1907 "x": 1061.9511833190918,
1908 "y": 2313.300225161016,
1909 "z": "205403e9.560efc",
1917 "id": "131ccd05.2f3143",
1920 "xml": "<outcome value='success'>\n",
1923 "x": 1065.7012214660645,
1924 "y": 2283.6573300361633,
1925 "z": "205403e9.560efc",
1933 "id": "ef1dfc84.71501",
1934 "type": "returnFailure",
1935 "name": "return failure",
1936 "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",
1938 "x": 1231.7012214660645,
1939 "y": 2314.050249002874,
1940 "z": "205403e9.560efc",
1946 "id": "e18bb85.a259b48",
1953 "x": 1207.3571891784668,
1954 "y": 2279.8494992256165,
1955 "z": "205403e9.560efc",
1963 "id": "bef55f2e.ad6b3",
1965 "name": "set ar-data",
1966 "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.` \" />",
1968 "x": 707.5233535766602,
1969 "y": 2144.849767923355,
1970 "z": "205403e9.560efc",
1976 "id": "d7f464d6.9ac5f8",
1978 "name": "execute getTime",
1979 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
1982 "x": 724.809196472168,
1983 "y": 2217.4693655967712,
1984 "z": "205403e9.560efc",
1992 "id": "a66d68ee.9308e8",
1994 "name": "set allotted-resource-oper-status",
1995 "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
1997 "x": 774.7962760925293,
1998 "y": 2254.420445919037,
1999 "z": "205403e9.560efc",
2005 "id": "36004db7.4505d2",
2007 "name": "set model-data",
2008 "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.` \" />",
2010 "x": 721.3648948669434,
2011 "y": 2184.0244183540344,
2012 "z": "205403e9.560efc",
2018 "id": "8c652fd0.4d9e2",
2020 "name": "Prepare data for allotted-resource addition to MDSAL",
2021 "info": "This will add to allotted-resource which is present inside service.",
2023 "x": 834.698356628418,
2024 "y": 2105.0243704319,
2025 "z": "205403e9.560efc",
2031 "id": "69186aa2.60ef84",
2033 "name": "Add to allotted-resources in mdsal",
2036 "x": 776.2781829833984,
2037 "y": 2072.437672138214,
2038 "z": "205403e9.560efc",
2044 "id": "7b232ea8.d345",
2046 "name": "update AAI allotted-resource",
2047 "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.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"Active\" />\n",
2050 "x": 764.2542381286621,
2051 "y": 2501.754675388336,
2052 "z": "205403e9.560efc",
2061 "id": "cb687dc5.52b2d",
2063 "name": "execute RestApiCallNode getPath from OOF",
2064 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
2067 "x": 1043.0040130615234,
2068 "y": 1572.2544918060303,
2069 "z": "205403e9.560efc",
2078 "id": "e275a7ba.f6ec08",
2081 "xml": "<outcome value='success'>\n",
2084 "x": 1350.0039558410645,
2085 "y": 1593.2543387413025,
2086 "z": "205403e9.560efc",
2094 "id": "d000e963.b327a8",
2096 "name": "block : atomic",
2097 "xml": "<block atomic=\"true\">",
2101 "x": 1520.0038948059082,
2102 "y": 1596.2543387413025,
2103 "z": "205403e9.560efc",
2111 "id": "773ede9b.4ecb",
2112 "type": "returnFailure",
2113 "name": "return failure",
2114 "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",
2116 "x": 1520.0040168762207,
2117 "y": 1552.2543387413025,
2118 "z": "205403e9.560efc",
2124 "id": "ec20f395.66c91",
2127 "xml": "<outcome value='failure'>\n",
2130 "x": 1353.0038948059082,
2131 "y": 1552.2543387413025,
2132 "z": "205403e9.560efc",
2140 "id": "461ac2a4.5bdfec",
2142 "name": "Get VPNs from OOF",
2145 "x": 963.0079040527344,
2146 "y": 1535.2584590911865,
2147 "z": "205403e9.560efc",
2153 "id": "4ed51df6.e8ec54",
2155 "name": "for vidx..oof.vpns_length[]",
2156 "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
2159 "x": 994.0039024353027,
2160 "y": 1656.5040574073792,
2161 "z": "205403e9.560efc",
2169 "id": "9e6cff97.3e047",
2171 "name": "Loop through VPN and configure them",
2174 "x": 1016.004020690918,
2175 "y": 1620.0043177604675,
2176 "z": "205403e9.560efc",
2182 "id": "5f144f0e.31549",
2183 "type": "switchNode",
2184 "name": "switch name",
2185 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
2188 "x": 2994.7882919311523,
2189 "y": 1167.1217517852783,
2190 "z": "205403e9.560efc",
2198 "id": "36d080c6.aaac9",
2199 "type": "outcomeTrue",
2201 "xml": "<outcome value='true'>\n",
2204 "x": 3181.788299560547,
2205 "y": 1161.1216888427734,
2206 "z": "205403e9.560efc",
2214 "id": "dd94e80d.e79a58",
2216 "name": "set etht-svc-name & bandwidth-profile-name",
2217 "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
2219 "x": 3443.788589477539,
2220 "y": 1147.721715927124,
2221 "z": "205403e9.560efc",
2227 "id": "37e78cdf.278a44",
2228 "type": "switchNode",
2229 "name": "switch description",
2230 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'description'`\">\n",
2233 "x": 3005.627960205078,
2234 "y": 1205.1216869354248,
2235 "z": "205403e9.560efc",
2243 "id": "87cfc59c.1be938",
2244 "type": "outcomeTrue",
2246 "xml": "<outcome value='true'>\n",
2249 "x": 3175.627960205078,
2250 "y": 1201.1216869354248,
2251 "z": "205403e9.560efc",
2259 "id": "af30cb49.aad268",
2261 "name": "set etht-svc-descr",
2262 "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
2264 "x": 3362.961400985718,
2265 "y": 1199.5828437805176,
2266 "z": "205403e9.560efc",
2272 "id": "ed440eb3.36c94",
2273 "type": "switchNode",
2274 "name": "switch tenantId",
2275 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'tenantId'`\">\n",
2278 "x": 2991.010353088379,
2279 "y": 1251.455090522766,
2280 "z": "205403e9.560efc",
2288 "id": "824d6eab.2a9f8",
2289 "type": "outcomeTrue",
2291 "xml": "<outcome value='true'>\n",
2294 "x": 3183.010341644287,
2295 "y": 1244.4550142288208,
2296 "z": "205403e9.560efc",
2304 "id": "58ea9e80.950b3",
2306 "name": "set tenantId",
2307 "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
2309 "x": 3351.010341644287,
2310 "y": 1245.0550203323364,
2311 "z": "205403e9.560efc",
2317 "id": "5523625.526319c",
2318 "type": "switchNode",
2319 "name": "switch CIR",
2320 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'CIR'`\">\n",
2323 "x": 2977.849998474121,
2324 "y": 1338.455072402954,
2325 "z": "205403e9.560efc",
2333 "id": "6cc5147d.9f838c",
2334 "type": "outcomeTrue",
2336 "xml": "<outcome value='true'>\n",
2339 "x": 3185.850067138672,
2340 "y": 1334.4550857543945,
2341 "z": "205403e9.560efc",
2349 "id": "5119c20c.53e31c",
2352 "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
2354 "x": 3335.1833877563477,
2355 "y": 1332.9162330627441,
2356 "z": "205403e9.560efc",
2362 "id": "f75e941b.01edb8",
2363 "type": "switchNode",
2364 "name": "switch vpnType",
2365 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'vpnType'`\">\n",
2368 "x": 2997.1584701538086,
2369 "y": 1292.2327914237976,
2370 "z": "205403e9.560efc",
2378 "id": "94f8c651.7d4c68",
2379 "type": "outcomeTrue",
2381 "xml": "<outcome value='true'>\n",
2384 "x": 3184.1584701538086,
2385 "y": 1288.2327914237976,
2386 "z": "205403e9.560efc",
2394 "id": "a2401fbd.0e5a6",
2396 "name": "set vpnType",
2397 "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
2399 "x": 3353.49210357666,
2400 "y": 1285.693956375122,
2401 "z": "205403e9.560efc",
2407 "id": "882c3718.7bb828",
2408 "type": "switchNode",
2409 "name": "switch EIR",
2410 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'EIR'`\">\n",
2413 "x": 2979.140449523926,
2414 "y": 1381.1529388427734,
2415 "z": "205403e9.560efc",
2423 "id": "6a090cfc.b29bc4",
2424 "type": "outcomeTrue",
2426 "xml": "<outcome value='true'>\n",
2429 "x": 3181.140411376953,
2430 "y": 1376.152958869934,
2431 "z": "205403e9.560efc",
2439 "id": "7cfdc8c0.796128",
2442 "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
2444 "x": 3337.4739151000977,
2445 "y": 1375.614094734192,
2446 "z": "205403e9.560efc",
2452 "id": "dae6d839.a75e08",
2453 "type": "switchNode",
2454 "name": "switch color-aware",
2455 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'color-aware'`\">\n",
2458 "x": 3006.1407203674316,
2459 "y": 1435.152904510498,
2460 "z": "205403e9.560efc",
2468 "id": "1c170ed.c3c73f1",
2469 "type": "outcomeTrue",
2471 "xml": "<outcome value='true'>\n",
2474 "x": 3184.140724182129,
2475 "y": 1429.1528968811035,
2476 "z": "205403e9.560efc",
2484 "id": "aafef618.cfb6d8",
2486 "name": "set colorAware",
2487 "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
2489 "x": 3365.4741020202637,
2490 "y": 1428.614055633545,
2491 "z": "205403e9.560efc",
2497 "id": "bc77042c.0ab858",
2498 "type": "switchNode",
2499 "name": "switch coupling-flag",
2500 "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].name == 'coupling-flag'`\">\n",
2503 "x": 3006.140727996826,
2504 "y": 1481.1529293060303,
2505 "z": "205403e9.560efc",
2513 "id": "9c20abd0.a9e0c8",
2514 "type": "outcomeTrue",
2516 "xml": "<outcome value='true'>\n",
2519 "x": 3184.1407203674316,
2520 "y": 1473.1528978347778,
2521 "z": "205403e9.560efc",
2529 "id": "28950acd.c17166",
2531 "name": "set couplingFlag",
2532 "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
2534 "x": 3369.4741020202637,
2535 "y": 1473.6140804290771,
2536 "z": "205403e9.560efc",
2542 "id": "dddada55.283bb8",
2544 "name": "Check if other EP exists in SOTNConnectionResource",
2547 "x": 3109.3440551757812,
2548 "y": 1034.7883319854736,
2549 "z": "205403e9.560efc",
2555 "id": "e2fb1fc.98e08e",
2557 "name": "Get other global parameters from network",
2560 "x": 3080.3438568115234,
2561 "y": 1126.7882843017578,
2562 "z": "205403e9.560efc",
2568 "id": "40922023.6161",
2569 "type": "switchNode",
2570 "name": "switch access-provider-id",
2571 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",
2574 "x": 1767.56591796875,
2575 "y": 1530.232666015625,
2576 "z": "205403e9.560efc",
2584 "id": "dcc5b1ab.d080a",
2585 "type": "outcomeTrue",
2587 "xml": "<outcome value='true'>\n",
2590 "x": 1954.56591796875,
2591 "y": 1526.232666015625,
2592 "z": "205403e9.560efc",
2600 "id": "61749b73.8eae04",
2602 "name": "set access-provider-id",
2603 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2605 "x": 2122.56591796875,
2606 "y": 1526.8326721191406,
2607 "z": "205403e9.560efc",
2613 "id": "cce7fa52.3ac5b8",
2614 "type": "switchNode",
2615 "name": "switch access-client-id",
2616 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",
2619 "x": 1758.565933227539,
2620 "y": 1573.2431144714355,
2621 "z": "205403e9.560efc",
2629 "id": "17cba761.8a69d9",
2630 "type": "outcomeTrue",
2632 "xml": "<outcome value='true'>\n",
2635 "x": 1945.565933227539,
2636 "y": 1569.2431144714355,
2637 "z": "205403e9.560efc",
2645 "id": "e72fdf36.f1b28",
2647 "name": "set access-client-id",
2648 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2650 "x": 2113.565933227539,
2651 "y": 1569.8431205749512,
2652 "z": "205403e9.560efc",
2658 "id": "afdc2a42.250d98",
2659 "type": "switchNode",
2660 "name": "switch access-topology-id",
2661 "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",
2664 "x": 1771.5658779144287,
2665 "y": 1615.2431454658508,
2666 "z": "205403e9.560efc",
2674 "id": "d336b3c.0b7875",
2675 "type": "outcomeTrue",
2677 "xml": "<outcome value='true'>\n",
2680 "x": 1958.5658779144287,
2681 "y": 1611.2431454658508,
2682 "z": "205403e9.560efc",
2690 "id": "85508473.900a98",
2692 "name": "set access-topology-id",
2693 "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",
2695 "x": 2126.5658779144287,
2696 "y": 1611.8431515693665,
2697 "z": "205403e9.560efc",
2703 "id": "fa8596fd.dc6fb8",
2705 "name": "block : atomic",
2706 "xml": "<block atomic=\"true\">",
2709 "x": 1066.1213836669922,
2710 "y": 1742.3442287445068,
2711 "z": "205403e9.560efc",
2722 "id": "521aa066.c8761",
2724 "name": "set controller data",
2725 "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",
2727 "x": 1764.56591796875,
2728 "y": 1896.6771240234375,
2729 "z": "205403e9.560efc",
2735 "id": "abb09171.f6ee",
2736 "type": "get-resource",
2737 "name": "get-resource esr-thirdparty-sdnc",
2738 "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",
2741 "x": 1328.0658569335938,
2742 "y": 1955.6771240234375,
2743 "z": "205403e9.560efc",
2753 "id": "b2bcb2cd.da9e",
2756 "xml": "<outcome value='success'>\n",
2759 "x": 1567.0658569335938,
2760 "y": 1908.6771240234375,
2761 "z": "205403e9.560efc",
2769 "id": "d1f1ad90.96011",
2770 "type": "not-found",
2771 "name": "not-found",
2772 "xml": "<outcome value='not-found'>\n",
2775 "x": 1570.5568237304688,
2776 "y": 1956.2511596679688,
2777 "z": "205403e9.560efc",
2785 "id": "bed51f39.f008",
2788 "xml": "<outcome value='Other'>\n",
2791 "x": 1565.8898315429688,
2792 "y": 1997.58447265625,
2793 "z": "205403e9.560efc",
2801 "id": "d02c15ce.c1c438",
2802 "type": "returnFailure",
2803 "name": "return failure",
2804 "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",
2806 "x": 1747.1282348632812,
2807 "y": 1944.5368957519531,
2808 "z": "205403e9.560efc",
2814 "id": "1dfb5bf0.cbb2c4",
2815 "type": "returnFailure",
2816 "name": "return failure",
2817 "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",
2819 "x": 1753.6623878479004,
2820 "y": 1993.0236654281616,
2821 "z": "205403e9.560efc",
2827 "id": "abc114d6.41e528",
2828 "type": "get-resource",
2829 "name": "get-resource pnf",
2830 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id AND \n\t\t depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n",
2833 "x": 1274.56591796875,
2834 "y": 1768.6771240234375,
2835 "z": "205403e9.560efc",
2845 "id": "e5c7f4bb.a977b8",
2848 "xml": "<outcome value='success'>\n",
2851 "x": 1621.5658569335938,
2852 "y": 1772.6771545410156,
2853 "z": "205403e9.560efc",
2861 "id": "c9ac24e7.49a298",
2862 "type": "not-found",
2863 "name": "not-found",
2864 "xml": "<outcome value='not-found'>\n",
2867 "x": 1625.0568237304688,
2868 "y": 1820.2511901855469,
2869 "z": "205403e9.560efc",
2877 "id": "89a637ca.249d28",
2880 "xml": "<outcome value='Other'>\n",
2883 "x": 1620.3898315429688,
2884 "y": 1861.5845031738281,
2885 "z": "205403e9.560efc",
2893 "id": "700f50e2.2becf",
2894 "type": "returnFailure",
2895 "name": "return failure",
2896 "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",
2898 "x": 1801.6282348632812,
2899 "y": 1808.5369262695312,
2900 "z": "205403e9.560efc",
2906 "id": "634a1d02.90e474",
2907 "type": "returnFailure",
2908 "name": "return failure",
2909 "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",
2911 "x": 1808.1623878479004,
2912 "y": 1857.0236959457397,
2913 "z": "205403e9.560efc",
2919 "id": "9bb25e1d.4626",
2921 "name": "set tmp.thirdparty-sdnc-id",
2922 "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
2924 "x": 1825.5658569335938,
2925 "y": 1759.6771545410156,
2926 "z": "205403e9.560efc",
2932 "id": "f371e386.134de",
2934 "name": "get domain controller information",
2937 "x": 1319.0697860717773,
2938 "y": 1734.6810216903687,
2939 "z": "205403e9.560efc",
2945 "id": "9b39618e.ffe5f",
2947 "name": "set oof.vpn",
2948 "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
2950 "x": 1256.5658874511719,
2951 "y": 1695.7881488800049,
2952 "z": "205403e9.560efc",
2958 "id": "ab06a549.912008",
2960 "name": "TODO: Add VPN resource and its relation with SOTN Connectivity resource",
2963 "x": 1452.0103912353516,
2964 "y": 2134.6769676208496,
2965 "z": "205403e9.560efc",