+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-nodeId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-nodeId`\" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 984,\r
+ "y": 754,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "99a9f83c.592fb",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1746.499885559082,\r
+ "y": 790.7525482177734,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "7275269b.187718"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2cd1ffbf.d1e38",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1740.1784744262695,\r
+ "y": 842.9668598175049,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "6558158e.20a7e4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7275269b.187718",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1897.0000457763672,\r
+ "y": 790.0064792633057,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "6558158e.20a7e4",\r
+ "type": "update",\r
+ "name": "update p-interface",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' > \n<parameter name='interface-name' value='`$unique-ltpId`' />\n<parameter name='network-ref' value='`$tp.supporting-termination-point[0].network-ref`' />\n<parameter name='transparent' value='`$tp.svc.supported-classification.transparent`' />\n<parameter name='speed-value' value='`$tp.te.interface-switching-capability[0].max-lsp-bandwidth[0].te-bandwidth.eth-bandwidth`' />\n<parameter name='operational-status' value='`$tp.te.oper-status`' />\n<parameter name='in-maint' value=\"true\" />\n\n<parameter name='inter-layer-lock-id' value='`$tp.te.inter-layer-lock-id[0]`' />\n<!--<parameter name='inter-domain-plug-id' value='`$tp.te.inter-domain-plug-id`' />-->\n<parameter name='inter-domain-plug-id' value='`$tmp.decoded-plug-id`' />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1926,\r
+ "y": 844.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "b62e74a8.72d8f8",\r
+ "type": "save",\r
+ "name": "save tunnel-termination-point",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n key='tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id[0]`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1640,\r
+ "y": 1095.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "7c8389d1.ee45",\r
+ "bbd909f2.ba2d1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b69752f.a47b03",\r
+ "type": "for",\r
+ "name": "for each tunnel termination point",\r
+ "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1303,\r
+ "y": 1083.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "25de11e2.0dd0ae",\r
+ "b2448024.6d9268",\r
+ "b62e74a8.72d8f8",\r
+ "4cb5cbe8.ee37a4",\r
+ "3ba1d3d8.7bd96c",\r
+ "ead9d9cc.bab4f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "25de11e2.0dd0ae",\r
+ "type": "set",\r
+ "name": "set tunnel termination point",\r
+ "xml": "<set>\n<parameter name='ttp.' value='`$node.te.tunnel-termination-point[$ttidx].`' />\n",\r
+ "comments": "",\r
+ "x": 1638,\r
+ "y": 1003.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b2448024.6d9268",\r
+ "type": "set",\r
+ "name": "set unique-ttpId",\r
+ "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-nodeId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",\r
+ "comments": "",\r
+ "x": 1596.888916015625,\r
+ "y": 1041.1175537109375,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7c8389d1.ee45",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1906,\r
+ "y": 1081.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "49e600b2.247268"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bbd909f2.ba2d1",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1899.6785888671875,\r
+ "y": 1133.220781326294,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "8a380f1a.fa11e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "49e600b2.247268",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2056.500160217285,\r
+ "y": 1080.2604007720947,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8a380f1a.fa11e",\r
+ "type": "update",\r
+ "name": "update tunnel-termination-point",\r
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='tunnel-termination-point' \n key='tunnel-termination-point.ttp-id = $unique-ttpId' >\n\n<parameter name='ttp-id' value='`$unique-ttpId`' />\n<parameter name='tunnel-tp-id' value='`$ttp.tunnel-tp-id`' />\n<parameter name='name' value='`$ttp.name`' />\n<parameter name='admin-status' value='`$ttp.admin-status`' />\n<parameter name='oper-status' value='`$ttp.oper-status`' />\n<parameter name='inter-layer-lock-id' value='`$ttp.inter-layer-lock-id[0]`' />\n<parameter name='switching-capability' value='`$ttp.switching-capability`' />\n<parameter name='protection-type' value='`$ttp.protection-type`' />\n<parameter name='encoding' value='`$ttp.encoding`' />\n\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2137,\r
+ "y": 1135.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "dcf15e98.55cd98",\r
+ "type": "set",\r
+ "name": "set local variables",\r
+ "xml": "<set>\n<parameter name='unique-nodeId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $node.node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 936,\r
+ "y": 485.0065002441406,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ff89ecd9.d9563",\r
+ "type": "call",\r
+ "name": "call update-network-links-to-aai",\r
+ "xml": "<call module='DataChange' rpc='update-network-links-to-aai' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 620,\r
+ "y": 648.0065002441406,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7b3037a.697688",\r
+ "type": "save",\r
+ "name": "save pnf-interface relationship to pnf in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface:relationship-list' \n key='pnf.pnf-name = $unique-nodeId\n AND p-interface.interface-name = $unique-ltpId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"pnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $unique-nodeId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-nodeId`\" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1402,\r
+ "y": 1672.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4cb5cbe8.ee37a4",\r
+ "type": "save",\r
+ "name": "save pnf relationship to tunnel termination point in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n key='pnf.pnf-name = $unique-nodeId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"tunnel-termination-point\" />\n<!--<parameter name=\"relationship-list.relationship[$ttidx].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id + '/pnfs/pnf/' + $node.node-id '/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />-->\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/tunnel-termination-points/tunnel-termination-point/' + $unique-ttpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"tunnel-termination-point.ttp-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ttpId`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1711,\r
+ "y": 1187.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "477ea94a.d9b708",\r
+ "1857aab6.41528d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2d8d0a77.affafe",\r
+ "type": "switchNode",\r
+ "name": "switch node ttp",\r
+ "xml": "<switch test='`$node.te.tunnel-termination-point_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 875,\r
+ "y": 1059.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "df28f111.dccd78",\r
+ "56382251.f0ed44",\r
+ "836a4c10.0f5058"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "efccb4e8.6c1f7",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1223,\r
+ "y": 1011.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "836a4c10.0f5058",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1070,\r
+ "y": 1094.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "b69752f.a47b03"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1758985b.dd13f8",\r
+ "type": "switchNode",\r
+ "name": "switch node tp",\r
+ "xml": "<switch test='`$node.termination-point_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 924,\r
+ "y": 609.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "9b64d5a2.85c768",\r
+ "9d78d705.498a28",\r
+ "fec4616c.fd5128"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b64d5a2.85c768",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1103,\r
+ "y": 561.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "31b2e806.d617f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d78d705.498a28",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1102,\r
+ "y": 663.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "f06afd2d.6a87a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "31b2e806.d617f",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1258,\r
+ "y": 561.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "264d4645.5fe58a",\r
+ "type": "record",\r
+ "name": "log file",\r
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n ",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 853,\r
+ "y": 1103.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "df28f111.dccd78",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1063,\r
+ "y": 945.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "efccb4e8.6c1f7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "56382251.f0ed44",\r
+ "type": "outcome",\r
+ "name": "length 0",\r
+ "xml": "<outcome value='0'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1068,\r
+ "y": 1020.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "efccb4e8.6c1f7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fec4616c.fd5128",\r
+ "type": "outcome",\r
+ "name": "length 0",\r
+ "xml": "<outcome value='0'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1113,\r
+ "y": 609.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "31b2e806.d617f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7f99493d.24ad2",\r
+ "type": "set",\r
+ "name": "unset node",\r
+ "xml": "<set>\n<parameter name='node.' value='' />\n\n",\r
+ "comments": "",\r
+ "x": 908,\r
+ "y": 387.0065002441406,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cdce39b5.3e2ce8",\r
+ "type": "set",\r
+ "name": "unset termination point",\r
+ "xml": "<set>\n<parameter name='tp.' value='' />\n",\r
+ "comments": "",\r
+ "x": 1592,\r
+ "y": 559.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3ba1d3d8.7bd96c",\r
+ "type": "set",\r
+ "name": "unset tunnel termination point",\r
+ "xml": "<set>\n<parameter name='ttp.' value='' />\n",\r
+ "comments": "",\r
+ "x": 1638,\r
+ "y": 955.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "477ea94a.d9b708",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2043,\r
+ "y": 1190.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "1857aab6.41528d",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2040,\r
+ "y": 1238.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "7abfb291.6dcbac",\r
+ "type": "record",\r
+ "name": "log file",\r
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n <parameter name=\"field5\" value=\"sucessfully saved ttp\" />\n <parameter name=\"field6\" value=\"`relationship-list.relationship[$ttidx].related-link`\" />\n ",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2198,\r
+ "y": 1191.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ec345a2.2004e28",\r
+ "type": "record",\r
+ "name": "log file",\r
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"sucess executing Hesam log file\" />\n <parameter name=\"field3\" value=\"`$node.te.tunnel-termination-point_length`\" />\n <parameter name=\"field4\" value=\"`$node.termination-point_length`\" />\n <parameter name=\"field5\" value=\"failuire on saving ttp\" />\n <parameter name=\"field6\" value=\"`relationship-list.relationship[$ttidx].related-link`\" />\n\n ",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2199,\r
+ "y": 1239.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "49dd63ef.87e564",\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": 2058,\r
+ "y": 728.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "fafe42.8d2fb9c",\r
+ "2c876749.ba8618"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c12a9ec.a16bae",\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": 1628,\r
+ "y": 729.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "a32fa569.0a3c28",\r
+ "b8de06da.79eb1"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b8de06da.79eb1",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1855,\r
+ "y": 682.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "578202f3.fbbe74"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a32fa569.0a3c28",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1856,\r
+ "y": 728.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "49dd63ef.87e564"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "578202f3.fbbe74",\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": 2059,\r
+ "y": 682.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fafe42.8d2fb9c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2263,\r
+ "y": 705.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "cad449b6.73c6d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2c876749.ba8618",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2256.6785888671875,\r
+ "y": 757.220781326294,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ [\r
+ "92336385.660b18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cad449b6.73c6d",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2404,\r
+ "y": 705.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "92336385.660b18",\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": 2463,\r
+ "y": 757.0064697265625,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e471027b.286e6",\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<parameter name='tmp.network-id' value=\"`$tmp.original-network-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 688,\r
+ "y": 121.00650024414062,\r
+ "z": "a1dc56fc.25a538",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "159870db.58eb07",\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