+ "x": 2692,\r
+ "y": 837,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "7ece5f8e.1b9b38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5ed4925c.49643c",\r
+ "type": "set",\r
+ "name": "set tmp.unis.uni[].tpId",\r
+ "xml": "<set>\n<parameter name='tmp.unis.uni[0].id' value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n<parameter name='tmp.unis.uni[0].tp-id' value=\"networkId-providerId-5555-clientId-6666-topologyId-11-nodeId-0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].access-provider-id' value=\"`$domain-A.provider-id`\" />\n<parameter name='tmp.unis.uni[0].access-client-id' value=\"`$domain-A.client-id`\" />\n<parameter name='tmp.unis.uni[0].access-topology-id' value=\"`$domain-A.topology-id`\" />\n<parameter name='tmp.unis.uni[0].access-node-id' value=\"0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"1234\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"5678\" />\n<parameter name='tmp.unis.uni[0].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni[1].id' value=\"5642e9dd-496c-4ef6-be97-5caf4e9beec9\" />\n<parameter name='tmp.unis.uni[1].tp-id' value=\"networkId-domain2-providerId-5555-clientId-6666-topologyId-11-nodeId-0.191.0.4\" />\n<parameter name='tmp.unis.uni[1].access-provider-id' value=\"`$domain-B.provider-id`\" />\n<parameter name='tmp.unis.uni[1].access-client-id' value=\"`$domain-B.client-id`\" />\n<parameter name='tmp.unis.uni[1].access-topology-id' value=\"`$domain-B.topology-id`\" />\n<parameter name='tmp.unis.uni[1].access-node-id' value=\"0.190.0.3\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"9123\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"4567\" />\n<parameter name='tmp.unis.uni[1].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",\r
+ "comments": "",\r
+ "x": 638,\r
+ "y": 992,\r
+ "z": "a9486230.abaca8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "db2b3730.902018",\r
+ "type": "get-resource",\r
+ "name": "get network-resource",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $oof.vpn.network-id\"\n pfx='tmp.aai.network-resource' local-only='false' >\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1111,\r
+ "y": 1001,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "1a14b8d2.a8f357",\r
+ "f7a955ca.9be14",\r
+ "34e2d0ff.2b0ba8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1a14b8d2.a8f357",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1306.5001220703125,\r
+ "y": 958,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "10c48a33.860696"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f7a955ca.9be14",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1298.5001220703125,\r
+ "y": 1013,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "7314720a.de097c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "34e2d0ff.2b0ba8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1303.5001220703125,\r
+ "y": 1070,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "247bba75.1dbfee"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "247bba75.1dbfee",\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": 1455.5001220703125,\r
+ "y": 1071,\r
+ "z": "a9486230.abaca8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7314720a.de097c",\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": 1466.5001220703125,\r
+ "y": 1016,\r
+ "z": "a9486230.abaca8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "10c48a33.860696",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1450.8824462890625,\r
+ "y": 955.6556701660156,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "3803718b.d2dfd6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3803718b.d2dfd6",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for index='ridx' start='0' end='`$tmp.aai.network-resource.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1665.8826904296875,\r
+ "y": 955.6597290039062,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "7cf64c03.a76a4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7cf64c03.a76a4c",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.network-resource.relationship-list.relationship[$ridx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1891.8826904296875,\r
+ "y": 955.6597290039062,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "7cc2a602.3c71d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7cc2a602.3c71d",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2098.0001220703125,\r
+ "y": 954,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "f4284fa2.072448"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4284fa2.072448",\r
+ "type": "set",\r
+ "name": "set prop.sdncRestApi.thirdpartySdnc.id",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value=\"`$tmp.aai.network-resource.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 2116,\r
+ "y": 1033,\r
+ "z": "a9486230.abaca8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7d0630b8.9b289",\r
+ "type": "get-resource",\r
+ "name": "get-resource uni",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"uni\" \n\t\tkey=\"uni.id = $tmp.aai.generic-vnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value\"\n pfx='tmp.aai.uni' local-only='false' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1785,\r
+ "y": 666,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "ad8ad07a.d8a1c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ad8ad07a.d8a1c8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1957,\r
+ "y": 666,\r
+ "z": "a9486230.abaca8",\r
+ "wires": [\r
+ [\r
+ "9b99c47a.3de3d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8d4b6de9.39d208",\r
+ "type": "set",\r
+ "name": "set tmp.unis.uni[]",\r
+ "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='`tmp.unis.uni[$vidx].`' value=\"`$tmp.aai.uni.`\" />\n",\r
+ "comments": "",\r
+ "x": 2282,\r
+ "y": 622,\r
+ "z": "a9486230.abaca8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9b99c47a.3de3d",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2098,\r
+ "y": 668,\r
+ "z": "a9486230.abaca8",\r