3 "id": "e773e89.91c6b98",
\r
6 "xml": "<outcome value='Update'>\n",
\r
11 "z": "8a5117b5.c01db8",
\r
19 "id": "c1b624e8.c4a36",
\r
22 "xml": "<outcome value='Delete'>\n",
\r
27 "z": "8a5117b5.c01db8",
\r
35 "id": "f94d770b.d7a21",
\r
37 "name": "block : atomic",
\r
38 "xml": "<block atomic=\"true\">",
\r
43 "z": "8a5117b5.c01db8",
\r
51 "id": "a0413cd2.f1f8e8",
\r
52 "type": "switchNode",
\r
53 "name": "switch aai-event-trigger",
\r
54 "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
\r
59 "z": "8a5117b5.c01db8",
\r
68 "id": "24096151.ae8cf6",
\r
70 "name": "block : atomic",
\r
71 "xml": "<block atomic=\"true\">",
\r
76 "z": "8a5117b5.c01db8",
\r
88 "id": "2e3a9914.38f54e",
\r
90 "name": "execute RestApiCallNode Get token",
\r
91 "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
94 "x": 1516.5001983642578,
\r
95 "y": 163.00000953674316,
\r
96 "z": "8a5117b5.c01db8",
\r
105 "id": "e0b90864.1c659",
\r
108 "xml": "<outcome value='success'>\n",
\r
111 "x": 1806.000244140625,
\r
113 "z": "8a5117b5.c01db8",
\r
121 "id": "2d5ac090.7f4d28",
\r
124 "xml": "<outcome value='failure'>\n",
\r
127 "x": 1802.000244140625,
\r
129 "z": "8a5117b5.c01db8",
\r
137 "id": "fbadc5f1.b9042",
\r
139 "name": "set token-id",
\r
140 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
142 "x": 1956.500244140625,
\r
144 "z": "8a5117b5.c01db8",
\r
148 "id": "74d21b60.35097c",
\r
150 "name": "execute RestApiCallNode Get Topology",
\r
151 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\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
154 "x": 2023.500244140625,
\r
156 "z": "8a5117b5.c01db8",
\r
165 "id": "73b2188f.535b88",
\r
168 "xml": "<outcome value='success'>\n",
\r
171 "x": 2266.000244140625,
\r
173 "z": "8a5117b5.c01db8",
\r
181 "id": "4a760f4a.5cb7e8",
\r
183 "name": "block : atomic",
\r
184 "xml": "<block atomic=\"true\">",
\r
188 "x": 2423.500244140625,
\r
190 "z": "8a5117b5.c01db8",
\r
199 "id": "8f9fe5f7.1e28d",
\r
200 "type": "returnFailure",
\r
201 "name": "return failure",
\r
202 "xml": "<return status='failure'>\n <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
204 "x": 2400.000244140625,
\r
206 "z": "8a5117b5.c01db8",
\r
210 "id": "e3942d82.1d981",
\r
213 "xml": "<outcome value='failure'>\n",
\r
216 "x": 2262.000244140625,
\r
218 "z": "8a5117b5.c01db8",
\r
226 "id": "52ac41c0.5bfd18",
\r
232 "z": "8a5117b5.c01db8",
\r
240 "id": "2f07965a.1dd8e2",
\r
241 "type": "service-logic",
\r
242 "name": "DataChange ${project.version}",
\r
243 "module": "DataChange",
\r
244 "version": "${project.version}",
\r
246 "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='DataChange' version='${project.version}'>",
\r
250 "z": "8a5117b5.c01db8",
\r
258 "id": "be9d83e5.bff8b",
\r
260 "name": "method esr-thirdparty-sdnc-discovery",
\r
261 "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",
\r
266 "z": "8a5117b5.c01db8",
\r
274 "id": "dc3c6fc7.178d18",
\r
276 "name": "block : atomic",
\r
277 "xml": "<block atomic=\"true\">\n",
\r
283 "z": "8a5117b5.c01db8",
\r
291 "id": "300a5bac.b9481c",
\r
293 "name": "for each Network",
\r
294 "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
297 "x": 2642.500244140625,
\r
299 "z": "8a5117b5.c01db8",
\r
307 "id": "2eec7c8a.0065d4",
\r
310 "xml": "<block>\n",
\r
314 "x": 2791.000244140625,
\r
316 "z": "8a5117b5.c01db8",
\r
326 "id": "c6d65b06.9b8418",
\r
328 "name": "call update-network-to-aai",
\r
329 "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",
\r
332 "x": 2970.000244140625,
\r
334 "z": "8a5117b5.c01db8",
\r
340 "id": "d5bb0470.a0963",
\r
342 "name": "set network",
\r
343 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",
\r
345 "x": 2923.000244140625,
\r
347 "z": "8a5117b5.c01db8",
\r
351 "id": "8ebd62d2.d420b",
\r
354 "xml": "<block>\n",
\r
358 "x": 1922.000244140625,
\r
360 "z": "8a5117b5.c01db8",
\r
366 "id": "e262d253.cb79",
\r
368 "name": "Do Nothing",
\r
371 "x": 2092.000244140625,
\r
373 "z": "8a5117b5.c01db8",
\r
377 "id": "a6bffc76.37edc",
\r
378 "type": "switchNode",
\r
379 "name": "switch type",
\r
380 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
385 "z": "8a5117b5.c01db8",
\r
396 "id": "e959cc87.47852",
\r
399 "xml": "<block>\n",
\r
405 "z": "8a5117b5.c01db8",
\r
413 "id": "6f99e35d.de977c",
\r
416 "xml": "<outcome value='WAN'>\n",
\r
421 "z": "8a5117b5.c01db8",
\r
429 "id": "c02a6e99.4562c",
\r
432 "xml": "<outcome value='Other'>\n",
\r
436 "y": 703.5001220703125,
\r
437 "z": "8a5117b5.c01db8",
\r
445 "id": "1f5381b5.13672e",
\r
446 "type": "returnFailure",
\r
447 "name": "return failure",
\r
448 "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
\r
451 "y": 729.5001220703125,
\r
452 "z": "8a5117b5.c01db8",
\r
456 "id": "d3849c0c.290268",
\r
458 "name": "execute Properties",
\r
459 "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
462 "x": 1463.0001983642578,
\r
463 "y": 123.00000953674316,
\r
464 "z": "8a5117b5.c01db8",
\r
470 "id": "5d9111f6.fc1a7",
\r
471 "type": "switchNode",
\r
472 "name": "switch prop.sdncRestApi.token_id",
\r
473 "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",
\r
476 "x": 1509.5001983642578,
\r
477 "y": 243.00000953674316,
\r
478 "z": "8a5117b5.c01db8",
\r
487 "id": "8bff0ee3.9c1d08",
\r
490 "xml": "<outcome value=''>\n",
\r
493 "x": 1802.000244140625,
\r
495 "z": "8a5117b5.c01db8",
\r
503 "id": "46defe8b.c98d58",
\r
506 "xml": "<outcome value='Other'>\n",
\r
509 "x": 1802.000244140625,
\r
511 "z": "8a5117b5.c01db8",
\r
519 "id": "4af5b25c.a6728c",
\r
521 "name": "execute RestApiCallNode Get Topology",
\r
522 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\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
525 "x": 2023.500244140625,
\r
527 "z": "8a5117b5.c01db8",
\r
536 "id": "4884da36.8dcb24",
\r
538 "name": "execute RestconfDiscoveryNode",
\r
539 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",
\r
542 "x": 1506.0001983642578,
\r
543 "y": 383.00000953674316,
\r
544 "z": "8a5117b5.c01db8",
\r
550 "id": "e1aa7ec9.6ea95",
\r
552 "name": "set encoding-format",
\r
553 "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",
\r
555 "x": 1466.0001983642578,
\r
556 "y": 343.00000953674316,
\r
557 "z": "8a5117b5.c01db8",
\r
561 "id": "bbab4551.0a236",
\r
563 "name": "Notification subscription",
\r
566 "x": 1471.000343322754,
\r
567 "y": 300.00000858306885,
\r
568 "z": "8a5117b5.c01db8",
\r
572 "id": "febec156.8b3598",
\r
573 "type": "switchNode",
\r
575 "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",
\r
580 "z": "8a5117b5.c01db8",
\r
589 "id": "9a519619.b1895",
\r
590 "type": "outcomeFalse",
\r
592 "xml": "<outcome value='false'>\n",
\r
597 "z": "8a5117b5.c01db8",
\r
605 "id": "48ffb5b3.b827e4",
\r
606 "type": "outcomeTrue",
\r
608 "xml": "<outcome value='true'>\n",
\r
611 "x": 117.00003051757812,
\r
613 "z": "8a5117b5.c01db8",
\r
621 "id": "9ffa3ea5.b70bf",
\r
623 "name": "call esr-thirdparty-sdnc-of-zte",
\r
624 "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",
\r
628 "y": 1144.5000610351562,
\r
629 "z": "8a5117b5.c01db8",
\r
635 "id": "3d7935ef.04d57a",
\r
638 "xml": "<outcome value='TAPI'>\n",
\r
643 "z": "8a5117b5.c01db8",
\r
651 "id": "4fe6a7b1.5767f",
\r
653 "name": "block : atomic",
\r
654 "xml": "<block atomic=\"true\">",
\r
659 "z": "8a5117b5.c01db8",
\r
667 "id": "f9123ca9.fc888",
\r
670 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/> \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=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"topologies\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.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
675 "z": "8a5117b5.c01db8",
\r
684 "id": "dd1ac4e1.b59088",
\r
687 "xml": "<outcome value='success'>\n",
\r
692 "z": "8a5117b5.c01db8",
\r
700 "id": "cc52ed00.f5d2c",
\r
703 "xml": "<outcome value='failure'>\n",
\r
708 "z": "8a5117b5.c01db8",
\r
716 "id": "54fdb7ce.6dd1a",
\r
717 "type": "returnFailure",
\r
718 "name": "return failure",
\r
719 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",
\r
723 "z": "8a5117b5.c01db8",
\r
727 "id": "f1e8f88.8710a88",
\r
729 "name": "block : atomic",
\r
730 "xml": "<block atomic=\"true\">",
\r
735 "z": "8a5117b5.c01db8",
\r
743 "id": "f8f968a.7a53a98",
\r
745 "name": "for each topology",
\r
746 "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",
\r
751 "z": "8a5117b5.c01db8",
\r
759 "id": "3fb827df.939078",
\r
762 "xml": "<block>\n",
\r
768 "z": "8a5117b5.c01db8",
\r
777 "id": "6c8666ff.44e6e8",
\r
779 "name": "set topology",
\r
780 "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",
\r
784 "z": "8a5117b5.c01db8",
\r
788 "id": "8622f8e6.4ca888",
\r
790 "name": "call tapi-update-network-to-aai",
\r
791 "xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",
\r
796 "z": "8a5117b5.c01db8",
\r
802 "id": "cfd2103d.fd26",
\r
805 "xml": "<outcome value='MSA'>\n",
\r
808 "x": 1130.677324295044,
\r
809 "y": 632.8993349075317,
\r
810 "z": "8a5117b5.c01db8",
\r
818 "id": "787c580c.21a83",
\r
820 "name": "block : atomic",
\r
821 "xml": "<block atomic=\"true\">",
\r
824 "x": 1292.6773872375488,
\r
825 "y": 630.899335861206,
\r
826 "z": "8a5117b5.c01db8",
\r
834 "id": "cb55af39.dad0b",
\r
837 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-topology'`\"/> \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=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"networks\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.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
840 "x": 1469.6771354675293,
\r
841 "y": 622.8992919921875,
\r
842 "z": "8a5117b5.c01db8",
\r
851 "id": "55b8f3fc.f2c404",
\r
854 "xml": "<outcome value='failure'>\n",
\r
857 "x": 1622.6771354675293,
\r
858 "y": 619.8992919921875,
\r
859 "z": "8a5117b5.c01db8",
\r
867 "id": "2cc6fdd5.2640a2",
\r
868 "type": "returnFailure",
\r
869 "name": "return failure",
\r
870 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",
\r
872 "x": 1797.6771354675293,
\r
873 "y": 618.8992919921875,
\r
874 "z": "8a5117b5.c01db8",
\r
878 "id": "dba7d725.59fa18",
\r
881 "xml": "<outcome value='success'>\n",
\r
884 "x": 1628.6771354675293,
\r
885 "y": 692.8992919921875,
\r
886 "z": "8a5117b5.c01db8",
\r
894 "id": "170b822d.317ece",
\r
896 "name": "block : atomic",
\r
897 "xml": "<block atomic=\"true\">",
\r
900 "x": 1812.6771354675293,
\r
901 "y": 694.8992919921875,
\r
902 "z": "8a5117b5.c01db8",
\r
910 "id": "8f4caf49.c88e68",
\r
912 "name": "call msa-update-network-to-aai",
\r
913 "xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",
\r
916 "x": 2091.677001953125,
\r
917 "y": 692.8992919921875,
\r
918 "z": "8a5117b5.c01db8",
\r
924 "id": "4f7d3c56.d58604",
\r
925 "type": "switchNode",
\r
926 "name": "switch type",
\r
927 "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
\r
930 "x": 262.566650390625,
\r
931 "y": 861.5666809082031,
\r
932 "z": "8a5117b5.c01db8",
\r
942 "id": "7c479945.15b6c",
\r
945 "xml": "<outcome value='MSA'>\n",
\r
948 "x": 441.857177734375,
\r
949 "y": 778.9285888671875,
\r
950 "z": "8a5117b5.c01db8",
\r
958 "id": "41dab8d.79e9dc8",
\r
961 "xml": "<outcome value='TAPI'>\n",
\r
964 "x": 450.6070556640625,
\r
965 "y": 1029.6428527832031,
\r
966 "z": "8a5117b5.c01db8",
\r
974 "id": "d9d0d78b.47d9f",
\r
976 "name": "block : atomic",
\r
977 "xml": "<block atomic='true'>",
\r
981 "x": 595.607177734375,
\r
982 "y": 775.7143249511719,
\r
983 "z": "8a5117b5.c01db8",
\r
992 "id": "1a2de346.3f0ebd",
\r
995 "xml": "<block>\n",
\r
1001 "z": "8a5117b5.c01db8",
\r
1004 "39caa350.271204",
\r
1010 "id": "fb32359d.de7e3",
\r
1013 "xml": "<outcome value='Other'>\n",
\r
1018 "z": "8a5117b5.c01db8",
\r
1026 "id": "33b66d76.b73a6a",
\r
1027 "type": "returnFailure",
\r
1028 "name": "return failure",
\r
1029 "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",
\r
1033 "z": "8a5117b5.c01db8",
\r
1037 "id": "e787c325.7a3d48",
\r
1038 "type": "get-resource",
\r
1039 "name": "get resources from DB -controller_id",
\r
1040 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",
\r
1045 "z": "8a5117b5.c01db8",
\r
1048 "48ef075d.23d478",
\r
1055 "id": "e74f02d1.684a5",
\r
1057 "name": "set controller_id",
\r
1058 "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
\r
1062 "z": "8a5117b5.c01db8",
\r
1066 "id": "48ef075d.23d478",
\r
1067 "type": "success",
\r
1068 "name": "success",
\r
1069 "xml": "<outcome value='success'>\n",
\r
1074 "z": "8a5117b5.c01db8",
\r
1082 "id": "3a0200d5.7fabc",
\r
1084 "name": "delete from db",
\r
1085 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",
\r
1090 "z": "8a5117b5.c01db8",
\r
1096 "id": "39caa350.271204",
\r
1098 "name": "set controller_id",
\r
1099 "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",
\r
1103 "z": "8a5117b5.c01db8",
\r
1107 "id": "14436f1d.f47b89",
\r
1108 "type": "get-resource",
\r
1109 "name": "get resources from DB -controller_id",
\r
1110 "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",
\r
1115 "z": "8a5117b5.c01db8",
\r
1119 "7b1e0312.764db4",
\r
1125 "id": "82076a69.af01a",
\r
1126 "type": "success",
\r
1127 "name": "success",
\r
1128 "xml": "<outcome value='success'>\n",
\r
1133 "z": "8a5117b5.c01db8",
\r
1141 "id": "dc7dee5b.44e56",
\r
1143 "name": "delete from db",
\r
1144 "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",
\r
1149 "z": "8a5117b5.c01db8",
\r
1155 "id": "6aefa7bc.0e864",
\r
1156 "type": "failure",
\r
1157 "name": "failure",
\r
1158 "xml": "<outcome value='failure'>\n",
\r
1163 "z": "8a5117b5.c01db8",
\r
1171 "id": "7b1e0312.764db4",
\r
1172 "type": "failure",
\r
1173 "name": "failure",
\r
1174 "xml": "<outcome value='failure'>\n",
\r
1179 "z": "8a5117b5.c01db8",
\r
1187 "id": "2c713fb3.4d6888",
\r
1188 "type": "returnFailure",
\r
1189 "name": "return failure",
\r
1190 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",
\r
1194 "z": "8a5117b5.c01db8",
\r
1198 "id": "b6643c83.4fa068",
\r
1199 "type": "not-found",
\r
1200 "name": "not-found",
\r
1201 "xml": "<outcome value='not-found'>\n",
\r
1206 "z": "8a5117b5.c01db8",
\r
1214 "id": "a2919cf8.1bf828",
\r
1215 "type": "returnFailure",
\r
1216 "name": "return failure",
\r
1217 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",
\r
1221 "z": "8a5117b5.c01db8",
\r
1225 "id": "2bfd8d24.d64f22",
\r
1226 "type": "returnFailure",
\r
1227 "name": "return failure",
\r
1228 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure in getting controller-id from DB\" />\n\n",
\r
1232 "z": "8a5117b5.c01db8",
\r
1236 "id": "5cc08e4.aa9e2f",
\r
1237 "type": "not-found",
\r
1238 "name": "not-found",
\r
1239 "xml": "<outcome value='not-found'>\n",
\r
1244 "z": "8a5117b5.c01db8",
\r
1252 "id": "2f855e70.bc0c7a",
\r
1253 "type": "returnFailure",
\r
1254 "name": "return failure",
\r
1255 "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"controller-id could not be found in DB\" />\n\n",
\r
1259 "z": "8a5117b5.c01db8",
\r
1263 "id": "ad97aa98.c768d",
\r
1264 "type": "switchNode",
\r
1265 "name": "switch network_length",
\r
1266 "xml": "<switch test='`$topology.networks.network_length >= 2`'>\n",
\r
1271 "z": "8a5117b5.c01db8",
\r
1279 "id": "47f11a60.715fe4",
\r
1280 "type": "outcomeTrue",
\r
1282 "xml": "<outcome value='true'>\n",
\r
1287 "z": "8a5117b5.c01db8",
\r
1295 "id": "3f621874.83f7b",
\r
1297 "name": "for each Network",
\r
1298 "xml": "<for index='netidx' start='0' end='`$topology.networks.network_length`' >\n",
\r
1303 "z": "8a5117b5.c01db8",
\r
1311 "id": "47e16032.729b78",
\r
1314 "xml": "<block>\n",
\r
1315 "atomic": "false",
\r
1320 "z": "8a5117b5.c01db8",
\r
1323 "cc7e5bc4.9fb7e8",
\r
1324 "8fc85a95.09a108",
\r
1330 "id": "40eac1bc.82a228",
\r
1332 "name": "call update-tp-ttp-relationship",
\r
1333 "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",
\r
1338 "z": "8a5117b5.c01db8",
\r
1344 "id": "610c5ba8.ab12f4",
\r
1346 "name": "block : atomic",
\r
1347 "xml": "<block atomic='true'>",
\r
1353 "z": "8a5117b5.c01db8",
\r
1362 "id": "c99c88.f08ccb78",
\r
1364 "name": "unset network",
\r
1365 "xml": "<set>\n<parameter name='network.' value='' />\n",
\r
1369 "z": "8a5117b5.c01db8",
\r
1373 "id": "cc7e5bc4.9fb7e8",
\r
1375 "name": "set network",
\r
1376 "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1380 "z": "8a5117b5.c01db8",
\r
1384 "id": "8fc85a95.09a108",
\r
1385 "type": "switchNode",
\r
1386 "name": "switch network-types with topologyId",
\r
1387 "xml": "<switch test='`$network.te-topology-id`'>\n",
\r
1392 "z": "8a5117b5.c01db8",
\r
1395 "a101ef60.461f68",
\r
1401 "id": "a101ef60.461f68",
\r
1402 "type": "outcome",
\r
1404 "xml": "<outcome value='1'>\n",
\r
1409 "z": "8a5117b5.c01db8",
\r
1417 "id": "46ddd7fc.c3c038",
\r
1418 "type": "outcome",
\r
1420 "xml": "<outcome value='2'>\n",
\r
1425 "z": "8a5117b5.c01db8",
\r
1433 "id": "55fe80ee.35e4c",
\r
1435 "name": "set network-otn",
\r
1436 "xml": "<set>\n<parameter name='network-otn.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1440 "z": "8a5117b5.c01db8",
\r
1444 "id": "b736da6.72f0128",
\r
1446 "name": "set network eth",
\r
1447 "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[$netidx].`' />\n",
\r
1451 "z": "8a5117b5.c01db8",
\r
1455 "id": "9f9b045e.002478",
\r
1458 "xml": "<block>\n",
\r
1459 "atomic": "false",
\r
1464 "z": "8a5117b5.c01db8",
\r
1472 "id": "c00ddb6e.187aa",
\r
1475 "xml": "<block>\n",
\r
1476 "atomic": "false",
\r
1481 "z": "8a5117b5.c01db8",
\r
1489 "id": "51f49074.c67e58",
\r
1491 "name": "unset network",
\r
1492 "xml": "<set>\n<parameter name='network.' value='' />\n",
\r
1496 "z": "8a5117b5.c01db8",
\r