aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-deactivate.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-deactivate.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-deactivate.json1062
1 files changed, 1062 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-deactivate.json b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-deactivate.json
new file mode 100644
index 00000000..c9a977f4
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/p2p_eline/GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-deactivate.json
@@ -0,0 +1,1062 @@
+[
+ {
+ "id": "7987293a.445a38",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 167.75,
+ "y": 154,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "45444450.d7f6dc"
+ ]
+ ]
+ },
+ {
+ "id": "45444450.d7f6dc",
+ "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": 299.0356903076172,
+ "y": 203.23810863494873,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "ae3ab411.371d58"
+ ]
+ ]
+ },
+ {
+ "id": "ae3ab411.371d58",
+ "type": "method",
+ "name": "method tsli-vnf-topology-operation-trans-slice-deactivate",
+ "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-deactivate' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 302.1786193847656,
+ "y": 288.00003242492676,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "d12b8d84.55791"
+ ]
+ ]
+ },
+ {
+ "id": "d12b8d84.55791",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 451.988037109375,
+ "y": 417.6666564941406,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "1c123ec2.4b5549",
+ "134fd372.6771b5",
+ "ab4d5dd1.8ac7f"
+ ]
+ ]
+ },
+ {
+ "id": "1c123ec2.4b5549",
+ "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": 726.3216552734375,
+ "y": 684.59716796875,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "901e34f6.602458",
+ "type": "comment",
+ "name": "new for TransportSlicing",
+ "info": "",
+ "comments": "",
+ "x": 757.75,
+ "y": 359,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "134fd372.6771b5",
+ "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<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": 777.75,
+ "y": 455,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "2d1d6b25.d0297c",
+ "507ea16f.c4686",
+ "afd8f070.eec4e8"
+ ]
+ ]
+ },
+ {
+ "id": "2d1d6b25.d0297c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 996.75,
+ "y": 393,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "97138a32.2f3f5"
+ ]
+ ]
+ },
+ {
+ "id": "507ea16f.c4686",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.240966796875,
+ "y": 435.57403564453125,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "888faa2.34cabd8"
+ ]
+ ]
+ },
+ {
+ "id": "afd8f070.eec4e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 994.75,
+ "y": 482,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "50c527ec.505a7"
+ ]
+ ]
+ },
+ {
+ "id": "888faa2.34cabd8",
+ "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": 1159.8123779296875,
+ "y": 438.8597717285156,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "50c527ec.505a7",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 1163.75,
+ "y": 483,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "97138a32.2f3f5",
+ "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": 1193.75,
+ "y": 389,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "73002c56.e20dcc"
+ ]
+ ]
+ },
+ {
+ "id": "73002c56.e20dcc",
+ "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": 1417.08349609375,
+ "y": 388.99993896484375,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "f5ce1b9b.6f43c"
+ ]
+ ]
+ },
+ {
+ "id": "f5ce1b9b.6f43c",
+ "type": "outcome",
+ "name": "connectivity",
+ "xml": "<outcome value='connectivity'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.7501335144043,
+ "y": 390.00002098083496,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "5b31678.585da18"
+ ]
+ ]
+ },
+ {
+ "id": "ab4d5dd1.8ac7f",
+ "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": 743.75,
+ "y": 403,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b31678.585da18",
+ "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": 1855.75,
+ "y": 392,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "7e6bd44c.4a0d84",
+ "3c965ca8.a0aa94",
+ "a01cc737.c0329"
+ ]
+ ]
+ },
+ {
+ "id": "7e6bd44c.4a0d84",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2063.75,
+ "y": 356,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "acdeaad5.a6cc1"
+ ]
+ ]
+ },
+ {
+ "id": "3c965ca8.a0aa94",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2064.240966796875,
+ "y": 401.57403564453125,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "905f7b79.76f648"
+ ]
+ ]
+ },
+ {
+ "id": "a01cc737.c0329",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2061.75,
+ "y": 445,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "76441f4c.a06df"
+ ]
+ ]
+ },
+ {
+ "id": "905f7b79.76f648",
+ "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": 2226.8123779296875,
+ "y": 401.8597717285156,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "76441f4c.a06df",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2230.75,
+ "y": 446,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "40981562.d0dc0c",
+ "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": 2536.75,
+ "y": 445,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "b886e1a9.d43df",
+ "4c757dd3.2c3a1c",
+ "490d4ff6.7bfb2"
+ ]
+ ]
+ },
+ {
+ "id": "29ed7f6b.7ef5c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2920.75,
+ "y": 445,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "dbce8d50.3a5c2",
+ "697b34e.12e544c",
+ "595bb85e.e54e8",
+ "e28e0e7a.57d778"
+ ]
+ ]
+ },
+ {
+ "id": "b886e1a9.d43df",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2747.75,
+ "y": 447,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "29ed7f6b.7ef5c"
+ ]
+ ]
+ },
+ {
+ "id": "4c757dd3.2c3a1c",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2748.240966796875,
+ "y": 492.57403564453125,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "cd02fceb.e80ee8"
+ ]
+ ]
+ },
+ {
+ "id": "490d4ff6.7bfb2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2745.75,
+ "y": 536,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "10b6485e.f13c18"
+ ]
+ ]
+ },
+ {
+ "id": "10b6485e.f13c18",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
+ "comments": "",
+ "x": 2912.75,
+ "y": 535,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "cd02fceb.e80ee8",
+ "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": 2910.8123779296875,
+ "y": 492.8597717285156,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "acdeaad5.a6cc1",
+ "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": 2264.75,
+ "y": 351,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "590f481d.6deaf8"
+ ]
+ ]
+ },
+ {
+ "id": "590f481d.6deaf8",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.75,
+ "y": 351,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "3e88a914.31d29e"
+ ]
+ ]
+ },
+ {
+ "id": "3e88a914.31d29e",
+ "type": "outcome",
+ "name": "vpn-binding",
+ "xml": "<outcome value='vpn-binding'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2635.75,
+ "y": 351,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "d5611bfd.8b5ba8"
+ ]
+ ]
+ },
+ {
+ "id": "d5611bfd.8b5ba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2798.75,
+ "y": 351,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "40981562.d0dc0c"
+ ]
+ ]
+ },
+ {
+ "id": "dbce8d50.3a5c2",
+ "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": 3135.75,
+ "y": 155,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "697b34e.12e544c",
+ "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": 3161.75,
+ "y": 272,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "d00072ef.37f678",
+ "e25ba00b.85ab78",
+ "af08c977.c21ff8"
+ ]
+ ]
+ },
+ {
+ "id": "d00072ef.37f678",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3357.2501220703125,
+ "y": 224,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "5add0fc2.e455a8"
+ ]
+ ]
+ },
+ {
+ "id": "e25ba00b.85ab78",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3349.2501220703125,
+ "y": 279,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "e5b74ae2.bf4d7"
+ ]
+ ]
+ },
+ {
+ "id": "5add0fc2.e455a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3501.6324462890625,
+ "y": 223.65567016601562,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "7c91c82b.801f4"
+ ]
+ ]
+ },
+ {
+ "id": "7c91c82b.801f4",
+ "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": 3685.75,
+ "y": 222,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "40f3da44.52c9bc"
+ ]
+ ]
+ },
+ {
+ "id": "40f3da44.52c9bc",
+ "type": "switchNode",
+ "name": "switch related-to",
+ "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3880.75,
+ "y": 222,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "ec33b794.fa679"
+ ]
+ ]
+ },
+ {
+ "id": "af08c977.c21ff8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3354.2501220703125,
+ "y": 336,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "d0c572d6.450d98"
+ ]
+ ]
+ },
+ {
+ "id": "d0c572d6.450d98",
+ "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": 3506.2501220703125,
+ "y": 337,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "e5b74ae2.bf4d7",
+ "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": 3517.2501220703125,
+ "y": 280,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "5f838eee.116ce",
+ "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": 4468.75,
+ "y": 239,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "50b81d5a.269cfc",
+ "baecba51.c84f4",
+ "3764c57a.2235a2"
+ ]
+ ]
+ },
+ {
+ "id": "c9bd9c8c.3dcca",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 4262.75,
+ "y": 226,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "df5cc029.1b2a68",
+ "5f838eee.116ce",
+ "7167c2a2.e60ca4"
+ ]
+ ]
+ },
+ {
+ "id": "df5cc029.1b2a68",
+ "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": 4498.75,
+ "y": 187,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "50b81d5a.269cfc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4678.75,
+ "y": 230,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "cd3637d1.c154d8"
+ ]
+ ]
+ },
+ {
+ "id": "baecba51.c84f4",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4670.75,
+ "y": 285,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "47ed2855.6b69a"
+ ]
+ ]
+ },
+ {
+ "id": "3764c57a.2235a2",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4675.75,
+ "y": 342,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "c2dbfa93.1077a"
+ ]
+ ]
+ },
+ {
+ "id": "c2dbfa93.1077a",
+ "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": 4827.75,
+ "y": 343,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "47ed2855.6b69a",
+ "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": 4838.75,
+ "y": 288,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "cd3637d1.c154d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4823.13232421875,
+ "y": 227.65567016601562,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "a315466.e353338"
+ ]
+ ]
+ },
+ {
+ "id": "ec33b794.fa679",
+ "type": "outcome",
+ "name": "esr-thirdparty-sdnc",
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4083.75,
+ "y": 226,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "c9bd9c8c.3dcca"
+ ]
+ ]
+ },
+ {
+ "id": "a315466.e353338",
+ "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": 5037.75,
+ "y": 224,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "7167c2a2.e60ca4",
+ "type": "break",
+ "name": "break",
+ "xml": "<break>\n",
+ "comments": "",
+ "x": 4418.75,
+ "y": 303,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "921a6da5.facfa8",
+ "type": "execute",
+ "name": "execute RestApiCallNode Delete ethernet Service without token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\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='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",
+ "comments": "",
+ "outputs": 1,
+ "x": 3796.75,
+ "y": 652,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "f23ad1ae.7a421",
+ "2e318f27.a95f18"
+ ]
+ ]
+ },
+ {
+ "id": "f23ad1ae.7a421",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4143.25,
+ "y": 645,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "e679ed8f.b4a3b"
+ ]
+ ]
+ },
+ {
+ "id": "2e318f27.a95f18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4147.25,
+ "y": 685,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "85d951e1.733df8"
+ ]
+ ]
+ },
+ {
+ "id": "85d951e1.733df8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4304.75,
+ "y": 685,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "cd6438e5.f17948",
+ "9dae1cfd.fe5bb8",
+ "c8b6c5b0.42c5d"
+ ]
+ ]
+ },
+ {
+ "id": "e679ed8f.b4a3b",
+ "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 delete ethernet service rest api\" />\n",
+ "comments": "",
+ "x": 4301.25,
+ "y": 645,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "cd6438e5.f17948",
+ "type": "save",
+ "name": "update vpn-binding resource (aka. OTN domainA) in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n\n<parameter name='operational-status' value='Deactivated' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4633.25,
+ "y": 685,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9dae1cfd.fe5bb8",
+ "type": "save",
+ "name": "update connectivity resource in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Deactivated' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4560.25,
+ "y": 731,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "595bb85e.e54e8",
+ "type": "execute",
+ "name": "execute RestApiCallNode Delete OTN tunnel with token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3264.75,
+ "y": 539,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "3b1365ed.b0919a",
+ "2f6c4f0a.446848"
+ ]
+ ]
+ },
+ {
+ "id": "3b1365ed.b0919a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3597.25,
+ "y": 509,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "fc7e9165.b22f48"
+ ]
+ ]
+ },
+ {
+ "id": "2f6c4f0a.446848",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3602.25,
+ "y": 574,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "12d60626.768032"
+ ]
+ ]
+ },
+ {
+ "id": "fc7e9165.b22f48",
+ "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 delete OTN tunnel rest api\" />\n",
+ "comments": "",
+ "x": 3773.25,
+ "y": 509,
+ "z": "316d1be5.aa32c4",
+ "wires": []
+ },
+ {
+ "id": "12d60626.768032",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3768.75,
+ "y": 574,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e28e0e7a.57d778",
+ "type": "switchNode",
+ "name": "switch connectivity has ethernet service",
+ "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3202.75,
+ "y": 674,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "58217adc.044174",
+ "7dc25247.ea55a4"
+ ]
+ ]
+ },
+ {
+ "id": "7dc25247.ea55a4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3455.75,
+ "y": 652,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ [
+ "921a6da5.facfa8"
+ ]
+ ]
+ },
+ {
+ "id": "58217adc.044174",
+ "type": "outcome",
+ "name": "Null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3455.75,
+ "y": 708,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c8b6c5b0.42c5d",
+ "type": "save",
+ "name": "update service-instance resource in AAI",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \n key='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<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Deactivated' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4578,
+ "y": 784.75,
+ "z": "316d1be5.aa32c4",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file