aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json322
1 files changed, 273 insertions, 49 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
index 658a04cd..6005d810 100644
--- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
+++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-uni-activate.json
@@ -526,9 +526,7 @@
"z": "9b26c8a0.a64c1",
"wires": [
[
- "2cd069f4.1bd85e",
- "e85654b4.901fd",
- "596112fe.dbc0a4"
+ "8a87ece8.73f728"
]
]
},
@@ -536,10 +534,10 @@
"id": "2cd069f4.1bd85e",
"type": "set",
"name": "set tmp.unis.uni[].tpId",
- "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.tpId' value=\"`$tmp.aai.uni.tpId`\" />\n",
+ "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.tp-id' value=\"`$tmp.aai.uni.tp-id`\" />\n",
"comments": "",
- "x": 1843.117431640625,
- "y": 598.3402709960938,
+ "x": 2557.117431640625,
+ "y": 641.3402709960938,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -589,12 +587,12 @@
{
"id": "e85654b4.901fd",
"type": "execute",
- "name": "execute split tpId to get pnf-name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`tmp.unis.uni[$vidx].tpId`'/>\n<parameter name=\"regex\" value=\"nodeId\"/>\n<parameter name=\"tmp.unis.uni[$vidx].pnf-name\" value=\"\"/>\n",
+ "name": "execute split tp-id to get pnf-name",
+ "xml": "<!--<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >-->\n<!--<parameter name=\"original_string\" value='`tmp.unis.uni[$vidx].tp-id`'/>-->\n<!--<parameter name=\"regex\" value=\"nodeId\"/>-->\n<!--<parameter name=\"tmp.unis.uni[$vidx].pnf-name\" value=\"\"/>-->\n\n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`tmp.aai.uni.tp-id`'/>\n<parameter name=\"regex\" value=\"nodeId\"/>\n<parameter name=\"tmp.aai.uni.pnf-name\" value=\"\"/>",
"comments": "",
"outputs": 1,
- "x": 1882,
- "y": 673,
+ "x": 2596,
+ "y": 716,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -610,8 +608,8 @@
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2105,
- "y": 628,
+ "x": 2819,
+ "y": 671,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -626,8 +624,8 @@
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2107,
- "y": 692,
+ "x": 2821,
+ "y": 735,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -641,8 +639,8 @@
"name": "set ipAddress prefixLength",
"xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",
"comments": "",
- "x": 2327,
- "y": 630,
+ "x": 3041,
+ "y": 673,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -652,8 +650,8 @@
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
"comments": "",
- "x": 2266,
- "y": 711,
+ "x": 2980,
+ "y": 754,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -664,8 +662,8 @@
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"'pnf.pnf-name = $tmp.unis.uni[$vidx].pnf-name'\n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\t\tresource=\"generic-vnf\" -->\n<!--\t\tkey=\"'generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id' -->\n<!--\t\tAND depth = '0'\"-->\n<!-- pfx='tmp.aai.generic-vnf' local-only='false' >-->",
"comments": "",
"outputs": 1,
- "x": 1812,
- "y": 810,
+ "x": 2526,
+ "y": 853,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -681,8 +679,8 @@
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2171.88232421875,
- "y": 818.6556396484375,
+ "x": 2885.88232421875,
+ "y": 861.6556396484375,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -697,8 +695,8 @@
"name": "set node-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].node-id`' value=\"`$tmp.aai.pnf.pnf-id`\" />\n",
"comments": "",
- "x": 2351,
- "y": 772,
+ "x": 3065,
+ "y": 815,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -709,8 +707,8 @@
"xml": "<for silentFailure='true' index='ridx' start='0' end='`$tmp.aai.pnf.relationship-list.relationship_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2363.882568359375,
- "y": 858.6597290039062,
+ "x": 3077.882568359375,
+ "y": 901.6597290039062,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -725,8 +723,8 @@
"xml": "<switch test='`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].related-to`'>\n",
"comments": "",
"outputs": 1,
- "x": 2589.882568359375,
- "y": 858.6597290039062,
+ "x": 3303.882568359375,
+ "y": 901.6597290039062,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -742,7 +740,7 @@
"xml": "<outcome value='network-resource'>\n",
"comments": "",
"outputs": 1,
- "x": 2788,
+ "x": 3513,
"y": 971,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -758,7 +756,7 @@
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3001,
+ "x": 3726,
"y": 972,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -774,7 +772,7 @@
"name": "set network-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].network-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3236,
+ "x": 3961,
"y": 902,
"z": "9b26c8a0.a64c1",
"wires": []
@@ -786,7 +784,7 @@
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"'network-resource.network-id = $tmp.unis.uni[$vidx].network-id'\n\t\tAND depth = '0'\"\n pfx='tmp.aai.network-resource' local-only='false' >\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3244,
+ "x": 3969,
"y": 983,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -802,7 +800,7 @@
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3476.5,
+ "x": 4201.5,
"y": 979,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -817,7 +815,7 @@
"name": "set network-id, topo-id, client-id, etc",
"xml": "<set>\n<parameter name=\"`$tmp.unis.uni[$vidx].network-id`\" value=\"`$tmp.aai.network-resource.network-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].provider-id`\" value=\"`$tmp.aai.network-resource.provider-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].client-id`\" value=\"`$tmp.aai.network-resource.client-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].te-topo-id`\" value=\"`$tmp.aai.network-resource.te-topo-id`\" />\n<parameter name=\"`$tmp.unis.uni[$vidx].network-type`\" value=\"`$tmp.aai.network-resource.network-type`\" />\n\n\n",
"comments": "",
- "x": 3745,
+ "x": 4470,
"y": 978,
"z": "9b26c8a0.a64c1",
"wires": []
@@ -843,7 +841,7 @@
"xml": "<outcome value='thirdparty-controller'>\n",
"comments": "",
"outputs": 1,
- "x": 2815,
+ "x": 3540,
"y": 836,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -859,7 +857,7 @@
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 3028,
+ "x": 3753,
"y": 837,
"z": "9b26c8a0.a64c1",
"wires": [
@@ -874,7 +872,7 @@
"name": "set thirdparty-sdnc-id",
"xml": "<set>\n<parameter name='`$tmp.unis.uni[$vidx].thirdparty-sdnc-id`' value=\"`$tmp.aai.pnf.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
"comments": "",
- "x": 3255,
+ "x": 3980,
"y": 836,
"z": "9b26c8a0.a64c1",
"wires": []
@@ -912,8 +910,8 @@
"name": "set oof.vpn",
"xml": "<set>\n<parameter name='oof.vpn.' value='`$tmp.unis.uni[$vidx].`' />",
"comments": "",
- "x": 1092.0272216796875,
- "y": 1027.040771484375,
+ "x": 1096.0272216796875,
+ "y": 946.040771484375,
"z": "9b26c8a0.a64c1",
"wires": []
},
@@ -1067,7 +1065,7 @@
"id": "a9643f3f.4f04b",
"type": "get-resource",
"name": "get-resource esr-thirdparty-sdnc",
- "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 = $oof.vpn.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
+ "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",
"comments": "",
"outputs": 1,
"x": 1156.0272216796875,
@@ -1136,10 +1134,10 @@
"wires": [
[
"124c6957.e07dc7",
- "3ce3b19a.7c10c6",
- "d661efba.3fa238",
- "ee991e0.ab6b36",
- "f7756434.d014e"
+ "f7756434.d014e",
+ "a9643f3f.4f04b",
+ "ae925256.a68df",
+ "ee991e0.ab6b36"
]
]
},
@@ -1197,7 +1195,7 @@
"id": "678c3911.078e2",
"type": "execute",
"name": "execute RestconfApiCallNode Create ethernet Service with token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
"x": 1660.52734375,
@@ -1304,7 +1302,7 @@
"id": "42cb8b06.e7daec",
"type": "execute",
"name": "execute RestconfApiCallNode Create ethernet Service without token",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>",
"comments": "",
"outputs": 1,
"x": 1670.52734375,
@@ -1340,8 +1338,8 @@
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1995,
- "y": 817,
+ "x": 2709,
+ "y": 860,
"z": "9b26c8a0.a64c1",
"wires": [
[
@@ -1353,11 +1351,237 @@
"id": "672fc75a.1e91b",
"type": "set",
"name": "set tmp.unis.uni[].tpId",
- "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=\"\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"\" />\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=\"\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"\" />\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",
+ "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",
"comments": "",
"x": 655,
"y": 1015,
"z": "9b26c8a0.a64c1",
"wires": []
+ },
+ {
+ "id": "ae925256.a68df",
+ "type": "get-resource",
+ "name": "get network-resource",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1128,
+ "y": 1024,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "23c084ce.22a7f4",
+ "d2d56dd3.d8df6",
+ "28e7be58.d60b6a"
+ ]
+ ]
+ },
+ {
+ "id": "23c084ce.22a7f4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1323.5001220703125,
+ "y": 981,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "16ae77fe.3db2f"
+ ]
+ ]
+ },
+ {
+ "id": "d2d56dd3.d8df6",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1315.5001220703125,
+ "y": 1036,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "8f6658aa.e556f8"
+ ]
+ ]
+ },
+ {
+ "id": "28e7be58.d60b6a",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1320.5001220703125,
+ "y": 1093,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "5bc0d431.a1baf4"
+ ]
+ ]
+ },
+ {
+ "id": "5bc0d431.a1baf4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 1472.5001220703125,
+ "y": 1094,
+ "z": "9b26c8a0.a64c1",
+ "wires": []
+ },
+ {
+ "id": "8f6658aa.e556f8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "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",
+ "comments": "",
+ "x": 1483.5001220703125,
+ "y": 1039,
+ "z": "9b26c8a0.a64c1",
+ "wires": []
+ },
+ {
+ "id": "16ae77fe.3db2f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1467.8824462890625,
+ "y": 978.6556701660156,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "1facb6e4.b004d9"
+ ]
+ ]
+ },
+ {
+ "id": "1facb6e4.b004d9",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for index='ridx' start='0' end='`$tmp.aai.network-resource.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1682.8826904296875,
+ "y": 978.6597290039062,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "a5fdb89.17d6dc8"
+ ]
+ ]
+ },
+ {
+ "id": "a5fdb89.17d6dc8",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.network-resource.relationship-list.relationship[$ridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1908.8826904296875,
+ "y": 978.6597290039062,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "d4a46397.2bb99"
+ ]
+ ]
+ },
+ {
+ "id": "d4a46397.2bb99",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2115.0001220703125,
+ "y": 977,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "d4ec153c.0cdc78"
+ ]
+ ]
+ },
+ {
+ "id": "d4ec153c.0cdc78",
+ "type": "set",
+ "name": "set prop.sdncRestApi.thirdpartySdnc.id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value=\"`$tmp.aai.network-resource.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 2133,
+ "y": 1056,
+ "z": "9b26c8a0.a64c1",
+ "wires": []
+ },
+ {
+ "id": "8a87ece8.73f728",
+ "type": "get-resource",
+ "name": "get-resource uni",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1802,
+ "y": 689,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "af655688.304b78"
+ ]
+ ]
+ },
+ {
+ "id": "af655688.304b78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1974,
+ "y": 689,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "91d7b892.85ea"
+ ]
+ ]
+ },
+ {
+ "id": "bc6860a4.74042",
+ "type": "set",
+ "name": "set tmp.unis.uni[]",
+ "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",
+ "comments": "",
+ "x": 2299,
+ "y": 645,
+ "z": "9b26c8a0.a64c1",
+ "wires": []
+ },
+ {
+ "id": "91d7b892.85ea",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2115,
+ "y": 691,
+ "z": "9b26c8a0.a64c1",
+ "wires": [
+ [
+ "bc6860a4.74042",
+ "e85654b4.901fd",
+ "596112fe.dbc0a4"
+ ]
+ ]
}
] \ No newline at end of file