+ "x": 1939,\r
+ "y": 1595,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6d07bcb7.ffff34",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1484,\r
+ "y": 2320,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "9547fb43.8165f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "261f721d.19cda6",\r
+ "type": "execute",\r
+ "name": "get 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 = $tmp.domainConn.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domainConn.esr-thirdparty-sdnc' local-only='false' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1869,\r
+ "y": 2333,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "a4fad359.d63e7",\r
+ "d7202a06.97a2a8",\r
+ "d2a1d22e.b2ed6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9547fb43.8165f",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1663,\r
+ "y": 2320,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "9b0cdae9.5834e8",\r
+ "261f721d.19cda6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b0cdae9.5834e8",\r
+ "type": "set",\r
+ "name": "set esr-thirdparty-sdnc domainConn id",\r
+ "xml": "<set>\n<parameter name='tmp.domainConn.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 1899,\r
+ "y": 2281,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a4fad359.d63e7",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2079,\r
+ "y": 2324,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "ce2ed097.248ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7202a06.97a2a8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2071,\r
+ "y": 2379,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "15f2754c.6e5b2b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d2a1d22e.b2ed6",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2076,\r
+ "y": 2436,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "fe7bb44f.f58b7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fe7bb44f.f58b7",\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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2228,\r
+ "y": 2437,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "15f2754c.6e5b2b",\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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2239,\r
+ "y": 2382,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ce2ed097.248ac",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2223.38232421875,\r
+ "y": 2321.6556701660156,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "1c2a2a5a.6d8256"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1c2a2a5a.6d8256",\r
+ "type": "set",\r
+ "name": "set controller domainConn data",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.url' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.user' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainConn.password' value=\"`$tmp.aai.domainConn.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<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
+ "comments": "",\r
+ "x": 2438,\r
+ "y": 2318,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9710382e.112c58",\r
+ "type": "get-resource",\r
+ "name": "get-resource src pnf",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.pnf-name-forUrl\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 562,\r
+ "y": 2366,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "afc311a9.64a498",\r
+ "1b364ee.7270531",\r
+ "aa64b78b.7ab17"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "afc311a9.64a498",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 757.5001220703125,\r
+ "y": 2318,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "7cd619d5.a4e8c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1b364ee.7270531",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 749.5001220703125,\r
+ "y": 2373,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "7127ee10.2a0b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7cd619d5.a4e8c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 901.8824462890625,\r
+ "y": 2317.6556701660156,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "fd5a5a0.ad9b128"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fd5a5a0.ad9b128",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1086,\r
+ "y": 2316,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "8c513405.b809e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8c513405.b809e8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1281,\r
+ "y": 2316,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "6d07bcb7.ffff34"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aa64b78b.7ab17",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 754.5001220703125,\r
+ "y": 2430,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "22a641d1.a7babe"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "22a641d1.a7babe",\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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 906.5001220703125,\r
+ "y": 2431,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7127ee10.2a0b4",\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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 917.5001220703125,\r
+ "y": 2374,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "41c682cf.a83f2c",\r
+ "type": "set",\r
+ "name": "set tmp.pnf-name-forUrl",\r
+ "xml": "<set>\n\n<parameter name='tmp.pnf-name-forUrl' value=\"`'networkId-providerId-' +\n $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n $tmp.aai.connectivity.access-node-id`\" />\n",\r
+ "comments": "",\r
+ "x": 552,\r
+ "y": 2278,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c7cb304b.f39168",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 297,\r
+ "y": 2409,\r
+ "z": "ed7c1675.7a56b",\r
+ "wires": [\r
+ [\r
+ "41c682cf.a83f2c",\r
+ "9710382e.112c58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d390d070.3dc4c",\r
+ "type": "comment",\r
+ "name": "Temporary skipping this check - to support multiple instances in one slice",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1511.9666748046875,\r
+ "y": 226.88333129882812,\r
+ "z": "ed7c1675.7a56b",\r