summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json1011
1 files changed, 1011 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json
new file mode 100644
index 00000000..4e31cf5d
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-delete.json
@@ -0,0 +1,1011 @@
+[
+ {
+ "id": "9067dc50.e26888",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 130,
+ "y": 78,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "51326c57.b5118c"
+ ]
+ ]
+ },
+ {
+ "id": "51326c57.b5118c",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 261.2856903076172,
+ "y": 127.23810863494873,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "1a80b7c8.5e20d"
+ ]
+ ]
+ },
+ {
+ "id": "1a80b7c8.5e20d",
+ "type": "method",
+ "name": "method tsli-vnf-topology-operation-trans-slice-delete",
+ "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-delete' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 264.4286193847656,
+ "y": 212.00003242492676,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "727ca303.e92f14"
+ ]
+ ]
+ },
+ {
+ "id": "727ca303.e92f14",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 414.238037109375,
+ "y": 341.6666564941406,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "89ce3405.afdad8",
+ "f34628af.971e58",
+ "662b7b8b.c02da4"
+ ]
+ ]
+ },
+ {
+ "id": "89ce3405.afdad8",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 710.5716552734375,
+ "y": 618.59716796875,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "7661af19.3745a8",
+ "type": "comment",
+ "name": "new for TransportSlicing",
+ "info": "",
+ "comments": "",
+ "x": 742,
+ "y": 293,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "f34628af.971e58",
+ "type": "save",
+ "name": "get service-instance from aai",
+ "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!-- AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n \n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 762,
+ "y": 389,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "f2d7e1a3.9c55b8",
+ "893eca26.41fe2",
+ "67ceb9a8.a14aa8"
+ ]
+ ]
+ },
+ {
+ "id": "f2d7e1a3.9c55b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 981,
+ "y": 327,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "6a81e2af.afefb4"
+ ]
+ ]
+ },
+ {
+ "id": "893eca26.41fe2",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 990.490966796875,
+ "y": 369.57403564453125,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "adcdedad.e4cfa8"
+ ]
+ ]
+ },
+ {
+ "id": "67ceb9a8.a14aa8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 979,
+ "y": 416,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "51f8ebc0.b96fdc"
+ ]
+ ]
+ },
+ {
+ "id": "adcdedad.e4cfa8",
+ "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.l3vpn.pe1_id`\" />\n\n",
+ "comments": "",
+ "x": 1144.0623779296875,
+ "y": 372.8597717285156,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "51f8ebc0.b96fdc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1148,
+ "y": 417,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "6a81e2af.afefb4",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1178,
+ "y": 323,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "37d91278.b2e28e"
+ ]
+ ]
+ },
+ {
+ "id": "37d91278.b2e28e",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1401.33349609375,
+ "y": 322.99993896484375,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "63dc2a73.eea004"
+ ]
+ ]
+ },
+ {
+ "id": "63dc2a73.eea004",
+ "type": "outcome",
+ "name": "connectivity",
+ "xml": "<outcome value='connectivity'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1602.0001335144043,
+ "y": 324.00002098083496,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "3bc5d31f.4eff1c"
+ ]
+ ]
+ },
+ {
+ "id": "662b7b8b.c02da4",
+ "type": "execute",
+ "name": "execute properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 728,
+ "y": 337,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3bc5d31f.4eff1c",
+ "type": "save",
+ "name": "get connectivity from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1840,
+ "y": 326,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "f9ddca30.13fc18",
+ "2e83e20a.a4c64e",
+ "bbb85f3b.347968"
+ ]
+ ]
+ },
+ {
+ "id": "f9ddca30.13fc18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2048,
+ "y": 290,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "7f6304c6.68b434"
+ ]
+ ]
+ },
+ {
+ "id": "2e83e20a.a4c64e",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2048.490966796875,
+ "y": 335.57403564453125,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "848ced52.aed45"
+ ]
+ ]
+ },
+ {
+ "id": "bbb85f3b.347968",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2046,
+ "y": 379,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "67746d9a.bb8fac"
+ ]
+ ]
+ },
+ {
+ "id": "848ced52.aed45",
+ "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.l3vpn.pe1_id`\" />\n\n",
+ "comments": "",
+ "x": 2211.0623779296875,
+ "y": 335.8597717285156,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "67746d9a.bb8fac",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2215,
+ "y": 380,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "a1788c2.5cbcc7",
+ "type": "save",
+ "name": "get vpn-binding from aai",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2521,
+ "y": 379,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "ff5b5708.803718",
+ "2b7ab4e7.4996c4",
+ "8f3a9f9c.feba08"
+ ]
+ ]
+ },
+ {
+ "id": "66c494d6.d131ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2905,
+ "y": 379,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "4df4ccfd.828a9c",
+ "cc810976.1e78e",
+ "6804b3fb.447a5c",
+ "1114cd30.8fbe33",
+ "77014142.ee291",
+ "eea604e.273be78",
+ "c7f4c6b5.89c68"
+ ]
+ ]
+ },
+ {
+ "id": "ff5b5708.803718",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2732,
+ "y": 381,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "66c494d6.d131ec"
+ ]
+ ]
+ },
+ {
+ "id": "2b7ab4e7.4996c4",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2732.490966796875,
+ "y": 426.57403564453125,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "71b7f260.a02afc"
+ ]
+ ]
+ },
+ {
+ "id": "8f3a9f9c.feba08",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2730,
+ "y": 470,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "f1455dfe.4b515"
+ ]
+ ]
+ },
+ {
+ "id": "f1455dfe.4b515",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2897,
+ "y": 469,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "71b7f260.a02afc",
+ "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.l3vpn.pe1_id`\" />\n\n",
+ "comments": "",
+ "x": 2895.0623779296875,
+ "y": 426.8597717285156,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "7f6304c6.68b434",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2249,
+ "y": 285,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "df01a5ae.6dc3e8"
+ ]
+ ]
+ },
+ {
+ "id": "df01a5ae.6dc3e8",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2454,
+ "y": 285,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "3c18e8d0.67c0b"
+ ]
+ ]
+ },
+ {
+ "id": "3c18e8d0.67c0b",
+ "type": "outcome",
+ "name": "vpn-binding",
+ "xml": "<outcome value='vpn-binding'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2620,
+ "y": 285,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "2564f00.0bbdd9"
+ ]
+ ]
+ },
+ {
+ "id": "2564f00.0bbdd9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2783,
+ "y": 285,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "a1788c2.5cbcc7"
+ ]
+ ]
+ },
+ {
+ "id": "4df4ccfd.828a9c",
+ "type": "set",
+ "name": "set pnf-name",
+ "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n $tmp.aai.vpn-binding.src-access-node-id`\" />\n",
+ "comments": "",
+ "x": 3120,
+ "y": 89,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "cc810976.1e78e",
+ "type": "get-resource",
+ "name": "get-resource src pnf",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n pfx='tmp.aai.source-pnf' local-only='false' >\n\n <!--AND depth = '0'\"-->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3146,
+ "y": 206,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "fbb5125b.955718",
+ "693af83c.f3ea18",
+ "2473f4a.835008c"
+ ]
+ ]
+ },
+ {
+ "id": "fbb5125b.955718",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3341.5001220703125,
+ "y": 158,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "9a9b433a.0ee84"
+ ]
+ ]
+ },
+ {
+ "id": "693af83c.f3ea18",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3333.5001220703125,
+ "y": 213,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "3249d5d1.aac972"
+ ]
+ ]
+ },
+ {
+ "id": "9a9b433a.0ee84",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3485.8824462890625,
+ "y": 157.65567016601562,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "4c1ac004.69f11"
+ ]
+ ]
+ },
+ {
+ "id": "4c1ac004.69f11",
+ "type": "for",
+ "name": "for each relationship",
+ "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3670,
+ "y": 156,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "4cdbe422.34f9d4"
+ ]
+ ]
+ },
+ {
+ "id": "4cdbe422.34f9d4",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3865,
+ "y": 156,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "9761202f.b6a0b"
+ ]
+ ]
+ },
+ {
+ "id": "2473f4a.835008c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3338.5001220703125,
+ "y": 270,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "aacead6d.fefcb8"
+ ]
+ ]
+ },
+ {
+ "id": "aacead6d.fefcb8",
+ "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": 3490.5001220703125,
+ "y": 271,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "3249d5d1.aac972",
+ "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": 3501.5001220703125,
+ "y": 214,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "4c67262e.3701a8",
+ "type": "execute",
+ "name": "get 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 = $tmp.domain.esr-thirdparty-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 4453,
+ "y": 173,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "906ef06e.7739a8",
+ "cb4dc0cc.5ae2c",
+ "8ceaa5d5.dc9b88"
+ ]
+ ]
+ },
+ {
+ "id": "12825971.5566ff",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4247,
+ "y": 160,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "dddd5795.4cbcd",
+ "4c67262e.3701a8",
+ "459c85bd.d88044"
+ ]
+ ]
+ },
+ {
+ "id": "dddd5795.4cbcd",
+ "type": "set",
+ "name": "set esr-thirdparty-sdnc domain id",
+ "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 4483,
+ "y": 121,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "906ef06e.7739a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4663,
+ "y": 164,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "97b50ccf.b69cd8"
+ ]
+ ]
+ },
+ {
+ "id": "cb4dc0cc.5ae2c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4655,
+ "y": 219,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "34cf9d59.f69aea"
+ ]
+ ]
+ },
+ {
+ "id": "8ceaa5d5.dc9b88",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4660,
+ "y": 276,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "6573a76f.8f9128"
+ ]
+ ]
+ },
+ {
+ "id": "6573a76f.8f9128",
+ "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": 4812,
+ "y": 277,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "34cf9d59.f69aea",
+ "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": 4823,
+ "y": 222,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "97b50ccf.b69cd8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4807.38232421875,
+ "y": 161.65567016601562,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "e66f9d95.0b353"
+ ]
+ ]
+ },
+ {
+ "id": "9761202f.b6a0b",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4068,
+ "y": 160,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "12825971.5566ff"
+ ]
+ ]
+ },
+ {
+ "id": "e66f9d95.0b353",
+ "type": "set",
+ "name": "set controller domain data",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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",
+ "comments": "",
+ "x": 5022,
+ "y": 158,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "459c85bd.d88044",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 4403,
+ "y": 237,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "1114cd30.8fbe33",
+ "type": "execute",
+ "name": "execute RestApiCallNode Delete transport slice without token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-optical-slice:deallocate-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3270,
+ "y": 504,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "aa415b48.c51fe8",
+ "f0d3a65b.427ad8"
+ ]
+ ]
+ },
+ {
+ "id": "aa415b48.c51fe8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3613.5,
+ "y": 499,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "c60de7c9.d4f7f8"
+ ]
+ ]
+ },
+ {
+ "id": "f0d3a65b.427ad8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3617.5,
+ "y": 539,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "a329dc5b.ef894"
+ ]
+ ]
+ },
+ {
+ "id": "a329dc5b.ef894",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3775,
+ "y": 539,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c60de7c9.d4f7f8",
+ "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=\"Error executing Create vpn rest api\" />\n",
+ "comments": "",
+ "x": 3771.5,
+ "y": 499,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "6804b3fb.447a5c",
+ "type": "set",
+ "name": "set attachment_param for TN NSSSI deleteion in PNC",
+ "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",
+ "comments": "",
+ "x": 3246,
+ "y": 379,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "77014142.ee291",
+ "type": "save",
+ "name": "delete connectivity resource in AAI",
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3176,
+ "y": 814,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eea604e.273be78",
+ "type": "save",
+ "name": "delete vpn-binding resource in AAI",
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3172,
+ "y": 858,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7f4c6b5.89c68",
+ "type": "execute",
+ "name": "execute RestApiCallNode domain UNI deColoring",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-network:networks/network=networkId-providerId-' + $tmp.aai.connectivity.access-provider-id + '-clientId-' + $tmp.aai.connectivity.access-client-id + '-topologyId-' + $tmp.aai.connectivity.access-topology-id + '/node=' + $tmp.aai.connectivity.access-node-id + '/ietf-network-topology:termination-point=' + $tmp.aai.connectivity.access-ltp-id + '/ietf-te-topology:te/ietf-optical-slice:tp-slice-id' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3233,
+ "y": 677,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "e6edfa38.71c268",
+ "137ffb3e.b1daa5"
+ ]
+ ]
+ },
+ {
+ "id": "137ffb3e.b1daa5",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3499,
+ "y": 657,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "7548726d.c6844c"
+ ]
+ ]
+ },
+ {
+ "id": "e6edfa38.71c268",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3500.000213623047,
+ "y": 707.9999094009399,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ [
+ "67229e1a.f4d798"
+ ]
+ ]
+ },
+ {
+ "id": "7548726d.c6844c",
+ "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=\"Error executing OOF api\" />\n",
+ "comments": "",
+ "x": 3639.0002479553223,
+ "y": 657.0000009536743,
+ "z": "65374df1.8a48d4",
+ "wires": []
+ },
+ {
+ "id": "67229e1a.f4d798",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3645.02725982666,
+ "y": 705.7453947067261,
+ "z": "65374df1.8a48d4",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file