+ },\r
+ {\r
+ "id": "c991cb25.a4c41",\r
+ "type": "execute",\r
+ "name": "execute Base64 Converter",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='base64DecodingAlgo' >\n <parameter name=\"encodedValue\" value='`$tp.te.inter-domain-plug-id`'/>\n <parameter name=\"decodedValue\" value=\"tmp.decoded-plug-id\"/>\n ",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2045,\r
+ "y": 688.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "dcbfdbac.4106e8",\r
+ "25f66573.5f2caa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fe275075.949f1",\r
+ "type": "switchNode",\r
+ "name": "switch inter-domain-plug-id empty?",\r
+ "xml": "<switch test='`length($tp.te.inter-domain-plug-id) == 0`'>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1615,\r
+ "y": 689.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "2202ef19.0cb66",\r
+ "a44d5e08.8645a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a44d5e08.8645a8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1842,\r
+ "y": 642.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "77ac957f.8f7e64"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2202ef19.0cb66",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1843,\r
+ "y": 688.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "c991cb25.a4c41"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "77ac957f.8f7e64",\r
+ "type": "set",\r
+ "name": "unset tmp.decoded-plug-id",\r
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='' />\n",\r
+ "comments": "",\r
+ "x": 2046,\r
+ "y": 642.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dcbfdbac.4106e8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2250,\r
+ "y": 665.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "21836a86.63b72e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "25f66573.5f2caa",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2243.6785888671875,\r
+ "y": 717.220781326294,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "8297f536.6bb4a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "21836a86.63b72e",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2391,\r
+ "y": 665.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8297f536.6bb4a",\r
+ "type": "set",\r
+ "name": "unset tmp.decoded-plug-id",\r
+ "xml": "<set>\n<parameter name='tmp.decoded-plug-id' value='`$tp.te.inter-domain-plug-id`' />\n",\r
+ "comments": "",\r
+ "x": 2450,\r
+ "y": 717.0064697265625,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1c1d34a0.adaa8b",\r
+ "type": "set",\r
+ "name": "set tmp.network-if",\r
+ "xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 675,\r
+ "y": 81.00650024414062,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4469da89.6a377c",\r
+ "type": "get-resource",\r
+ "name": "get-resource esr-thirdparty-sdnc",\r
+ "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 = $prop.sdncRestApi.thirdpartySdnc.id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 736,\r
+ "y": 220,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "259a6f10.d859c",\r
+ "2643a1bc.bc0f46",\r
+ "7a6e0ac1.83425c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "259a6f10.d859c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 982,\r
+ "y": 180,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "83c13ac.c0250c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2643a1bc.bc0f46",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 986,\r
+ "y": 220,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "7add65bd.d43c1c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7a6e0ac1.83425c",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 978,\r
+ "y": 260,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "a3451a06.01294"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7add65bd.d43c1c",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 1136,\r
+ "y": 220,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a3451a06.01294",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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
+ "comments": "",\r
+ "x": 1136,\r
+ "y": 260,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "83c13ac.c0250c8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1126,\r
+ "y": 178,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "70f6d2fc.749b0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "70f6d2fc.749b0c",\r
+ "type": "save",\r
+ "name": "save network-resource relationship to esr-thirdparty-sdnc",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource:relationship-list' \n key='network-resource.network-id = $tmp.network-id'\n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"esr-thirdparty-sdnc\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/aai/v19/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"esr-thirdparty-sdnc.thirdparty-sdnc-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n<!--/aai/v19/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/SOTNControllerDomain2-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1429,\r
+ "y": 179,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "58b65656.8480c8",\r
+ "type": "switchNode",\r
+ "name": "switch llcl length",\r
+ "xml": "<switch test='`$node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1559,\r
+ "y": 1319,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "cf6621ae.60449",\r
+ "a969fa1e.a9262",\r
+ "31cb7972.09206e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cf6621ae.60449",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1747,\r
+ "y": 1205,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "95b8f366.2c9b38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a969fa1e.a9262",\r
+ "type": "outcome",\r
+ "name": "length 0",\r
+ "xml": "<outcome value='0'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1752,\r
+ "y": 1280,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "95b8f366.2c9b38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "31cb7972.09206e",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1754,\r
+ "y": 1354,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "df66f384.e71e78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95b8f366.2c9b38",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1907,\r
+ "y": 1271,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba6a5053.fa9158",\r
+ "type": "save",\r
+ "name": "save ttp relationship to tp in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point:relationship-list' \n key='tunnel-termination-point.ttp-id = $unique-ttpId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-nodeId + '/p-interfaces/p-interface/' + $unique-ltpId-second`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ltpId-second`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2135,\r
+ "y": 1357,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f20766b0.56af",\r
+ "type": "set",\r
+ "name": "set unique-ltpId second",\r
+ "xml": "<set>\n<parameter name='unique-ltpId-second' value=\"`$unique-nodeId + '-ltpId-' + $node.te.tunnel-termination-point[$ttidx].local-link-connectivities.local-link-connectivity[0].link-tp-ref`\" />\n",\r
+ "comments": "",\r
+ "x": 2084,\r
+ "y": 1313,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df66f384.e71e78",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1894,\r
+ "y": 1350,\r
+ "z": "6d6b8a1f.be1cb4",\r
+ "wires": [\r
+ [\r
+ "f20766b0.56af",\r
+ "ba6a5053.fa9158"\r
+ ]\r
+ ]\r