aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json1058
1 files changed, 1058 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
new file mode 100644
index 00000000..1e28b050
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
@@ -0,0 +1,1058 @@
+[
+ {
+ "id": "1ffbc02a.2de6d",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 133,
+ "y": 76,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "74e0b2b2.75108c"
+ ]
+ ]
+ },
+ {
+ "id": "74e0b2b2.75108c",
+ "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": 264.2856903076172,
+ "y": 125.23810863494873,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "f846ccbd.4406d8"
+ ]
+ ]
+ },
+ {
+ "id": "f846ccbd.4406d8",
+ "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": 267.4286193847656,
+ "y": 210.00003242492676,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "dc51143b.674018"
+ ]
+ ]
+ },
+ {
+ "id": "dc51143b.674018",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 417.238037109375,
+ "y": 339.6666564941406,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "45b2aaee.4a9d2c",
+ "3e78a125.3512fe",
+ "45ccee1d.26f07"
+ ]
+ ]
+ },
+ {
+ "id": "45b2aaee.4a9d2c",
+ "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": 713.5716552734375,
+ "y": 616.59716796875,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "9ea4d60.c51a0a8",
+ "type": "comment",
+ "name": "new for TransportSlicing",
+ "info": "",
+ "comments": "",
+ "x": 745,
+ "y": 291,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "3e78a125.3512fe",
+ "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": 765,
+ "y": 387,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "86ee6067.0c17a8",
+ "bf4bb2c3.815168",
+ "ac6196ae.1ef19"
+ ]
+ ]
+ },
+ {
+ "id": "86ee6067.0c17a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 984,
+ "y": 325,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "eb95b4de.4ca18"
+ ]
+ ]
+ },
+ {
+ "id": "bf4bb2c3.815168",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 993.490966796875,
+ "y": 367.57403564453125,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "4da0ff5c.9fdf8"
+ ]
+ ]
+ },
+ {
+ "id": "ac6196ae.1ef19",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982,
+ "y": 414,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "49170b5b.8b327c"
+ ]
+ ]
+ },
+ {
+ "id": "4da0ff5c.9fdf8",
+ "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": 1147.0623779296875,
+ "y": 370.8597717285156,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "49170b5b.8b327c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1151,
+ "y": 415,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "eb95b4de.4ca18",
+ "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": 1181,
+ "y": 321,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "4f2c512c.91fb8"
+ ]
+ ]
+ },
+ {
+ "id": "4f2c512c.91fb8",
+ "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": 1404.33349609375,
+ "y": 320.99993896484375,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "fa463b5.38a29c8"
+ ]
+ ]
+ },
+ {
+ "id": "fa463b5.38a29c8",
+ "type": "outcome",
+ "name": "connectivity",
+ "xml": "<outcome value='connectivity'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1605.0001335144043,
+ "y": 322.00002098083496,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "e51d2b5.f353758"
+ ]
+ ]
+ },
+ {
+ "id": "45ccee1d.26f07",
+ "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": 731,
+ "y": 335,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e51d2b5.f353758",
+ "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": 1843,
+ "y": 324,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "bd96538d.fc9d98",
+ "d296a5a5.03f2d8",
+ "59d0b561.049ff4"
+ ]
+ ]
+ },
+ {
+ "id": "bd96538d.fc9d98",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2051,
+ "y": 288,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "a935f75b.7b8ae8"
+ ]
+ ]
+ },
+ {
+ "id": "d296a5a5.03f2d8",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2051.490966796875,
+ "y": 333.57403564453125,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "b4d9ea13.dc5c6"
+ ]
+ ]
+ },
+ {
+ "id": "59d0b561.049ff4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2049,
+ "y": 377,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "cc59ead5.ab58f"
+ ]
+ ]
+ },
+ {
+ "id": "b4d9ea13.dc5c6",
+ "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": 2214.0623779296875,
+ "y": 333.8597717285156,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "cc59ead5.ab58f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2218,
+ "y": 378,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "2055e9c.9575d16",
+ "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": 2524,
+ "y": 377,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "1719bc42.5de0cc",
+ "b2907373.b3b1a",
+ "fb17b477.f9109"
+ ]
+ ]
+ },
+ {
+ "id": "c87f5113.e0af38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2908,
+ "y": 377,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "1985ee34.d96bba",
+ "52698c53.01b1dc",
+ "6e17a44c.f8e15c",
+ "9562cdef.811fc8",
+ "51f18b3b.809efc",
+ "9405a159.40925",
+ "e776447c.da84c8"
+ ]
+ ]
+ },
+ {
+ "id": "1719bc42.5de0cc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2735,
+ "y": 379,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "c87f5113.e0af38"
+ ]
+ ]
+ },
+ {
+ "id": "b2907373.b3b1a",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2735.490966796875,
+ "y": 424.57403564453125,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "34c1a665.03471a"
+ ]
+ ]
+ },
+ {
+ "id": "fb17b477.f9109",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2733,
+ "y": 468,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "8d4bf215.03d04"
+ ]
+ ]
+ },
+ {
+ "id": "8d4bf215.03d04",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2900,
+ "y": 467,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "34c1a665.03471a",
+ "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": 2898.0623779296875,
+ "y": 424.8597717285156,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "a935f75b.7b8ae8",
+ "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": 2252,
+ "y": 283,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "67091bed.864304"
+ ]
+ ]
+ },
+ {
+ "id": "67091bed.864304",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2457,
+ "y": 283,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "4e4ac25c.008624"
+ ]
+ ]
+ },
+ {
+ "id": "4e4ac25c.008624",
+ "type": "outcome",
+ "name": "vpn-binding",
+ "xml": "<outcome value='vpn-binding'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2623,
+ "y": 283,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "7c62e56b.ccfd7c"
+ ]
+ ]
+ },
+ {
+ "id": "7c62e56b.ccfd7c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2786,
+ "y": 283,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "2055e9c.9575d16"
+ ]
+ ]
+ },
+ {
+ "id": "1985ee34.d96bba",
+ "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": 3123,
+ "y": 87,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "52698c53.01b1dc",
+ "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": 3149,
+ "y": 204,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "df3dfd24.e7243",
+ "21f9901e.5c5cb",
+ "23d5d99c.1069c6"
+ ]
+ ]
+ },
+ {
+ "id": "df3dfd24.e7243",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3344.5001220703125,
+ "y": 156,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "b45e1015.15138"
+ ]
+ ]
+ },
+ {
+ "id": "21f9901e.5c5cb",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3336.5001220703125,
+ "y": 211,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "77f6a688.81ce38"
+ ]
+ ]
+ },
+ {
+ "id": "b45e1015.15138",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3488.8824462890625,
+ "y": 155.65567016601562,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "a3edca1c.ba087"
+ ]
+ ]
+ },
+ {
+ "id": "a3edca1c.ba087",
+ "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": 3673,
+ "y": 154,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "db4aebfd.10c0f"
+ ]
+ ]
+ },
+ {
+ "id": "db4aebfd.10c0f",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3868,
+ "y": 154,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "47e44765.fd9158"
+ ]
+ ]
+ },
+ {
+ "id": "23d5d99c.1069c6",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3341.5001220703125,
+ "y": 268,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "4952922a.0e6edc"
+ ]
+ ]
+ },
+ {
+ "id": "4952922a.0e6edc",
+ "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": 3493.5001220703125,
+ "y": 269,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "77f6a688.81ce38",
+ "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": 3504.5001220703125,
+ "y": 212,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "fa4dfe6b.cee79",
+ "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": 4456,
+ "y": 171,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "cbb209f7.a6664",
+ "74e5e9b0.d9729",
+ "a328bb91.cda89"
+ ]
+ ]
+ },
+ {
+ "id": "3f03e2fb.b5f81e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4250,
+ "y": 158,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "8d9a188f.1a7a4",
+ "fa4dfe6b.cee79",
+ "920b64ba.47efa"
+ ]
+ ]
+ },
+ {
+ "id": "8d9a188f.1a7a4",
+ "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": 4486,
+ "y": 119,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "cbb209f7.a6664",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4666,
+ "y": 162,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "d166346a.002478"
+ ]
+ ]
+ },
+ {
+ "id": "74e5e9b0.d9729",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4658,
+ "y": 217,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "73697be7.45641c"
+ ]
+ ]
+ },
+ {
+ "id": "a328bb91.cda89",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4663,
+ "y": 274,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "482cf24f.1774ec"
+ ]
+ ]
+ },
+ {
+ "id": "482cf24f.1774ec",
+ "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": 4815,
+ "y": 275,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "73697be7.45641c",
+ "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": 4826,
+ "y": 220,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "d166346a.002478",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4810.38232421875,
+ "y": 159.65567016601562,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "2f421760.45d288"
+ ]
+ ]
+ },
+ {
+ "id": "47e44765.fd9158",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4071,
+ "y": 158,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "3f03e2fb.b5f81e"
+ ]
+ ]
+ },
+ {
+ "id": "2f421760.45d288",
+ "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": 5025,
+ "y": 156,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "920b64ba.47efa",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 4406,
+ "y": 235,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "9405a159.40925",
+ "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=\"post\"/>\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": 3273,
+ "y": 502,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "ecacf915.574818",
+ "e290fc99.96c1d8"
+ ]
+ ]
+ },
+ {
+ "id": "ecacf915.574818",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3616.5,
+ "y": 497,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "6c0fb618.3be698"
+ ]
+ ]
+ },
+ {
+ "id": "e290fc99.96c1d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3620.5,
+ "y": 537,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "735428f1.2ceb3"
+ ]
+ ]
+ },
+ {
+ "id": "735428f1.2ceb3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3778,
+ "y": 537,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c0fb618.3be698",
+ "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 deallocate transport slice rest api\" />\n",
+ "comments": "",
+ "x": 3774.5,
+ "y": 497,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "6e17a44c.f8e15c",
+ "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": 3249,
+ "y": 377,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "9562cdef.811fc8",
+ "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": 3179,
+ "y": 812,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51f18b3b.809efc",
+ "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": 3175,
+ "y": 856,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ec21c40.e14a88",
+ "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:slice-id-list=' + $slice-instance-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": 3759,
+ "y": 676,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "f05a4dc0.054df",
+ "f0f39295.b7b9a8"
+ ]
+ ]
+ },
+ {
+ "id": "f0f39295.b7b9a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4025,
+ "y": 656,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "b586e36a.93b3e8"
+ ]
+ ]
+ },
+ {
+ "id": "f05a4dc0.054df",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4026.000213623047,
+ "y": 706.9999094009399,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "67ce9419.db502c"
+ ]
+ ]
+ },
+ {
+ "id": "b586e36a.93b3e8",
+ "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 decoloring UNI rest api\" />\n",
+ "comments": "",
+ "x": 4165.000247955322,
+ "y": 656.0000009536743,
+ "z": "e2fe7a53.da009",
+ "wires": []
+ },
+ {
+ "id": "67ce9419.db502c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4171.02725982666,
+ "y": 704.7453947067261,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e776447c.da84c8",
+ "type": "switchNode",
+ "name": "switch connectivity has ethernet service",
+ "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3208,
+ "y": 693,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "a367a533.706f78",
+ "4d988de7.d09044"
+ ]
+ ]
+ },
+ {
+ "id": "4d988de7.d09044",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3446,
+ "y": 676,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ [
+ "9ec21c40.e14a88"
+ ]
+ ]
+ },
+ {
+ "id": "a367a533.706f78",
+ "type": "outcome",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3458,
+ "y": 743,
+ "z": "e2fe7a53.da009",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file