aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json
diff options
context:
space:
mode:
authorCheung, Pat (kc1472) <kc1472@att.com>2019-02-28 16:14:59 +0000
committerCheung, Pat (kc1472) <kc1472@att.com>2019-02-28 16:14:59 +0000
commit648e7e06e153fb793928e8f6cd6a73751963a47c (patch)
tree9da749cf9e115b9a2bc750f2e2024e1edc0dbf61 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json
parent8dbbd82465ea1b409dfcd164ef79401f4b3b24ca (diff)
DG bugfix
fix vnf and vf-module unassign to clear MD-SAL Change-Id: If4b9797fa3f206f299bc37fcfb1d68d7bd59241f Issue-ID: SDNC-676 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Former-commit-id: f491b4ef34c30f811e6a082c27fa1cb8c210acf3
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json1695
1 files changed, 905 insertions, 790 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json
index 7476b037..72f6681b 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json
@@ -1,791 +1,906 @@
-[
- {
- "id": "8760ee4d.bacba",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 121.25,
- "y": 101.16365623474121,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "a9ae8cec.2004d"
- ]
- ]
- },
- {
- "id": "a9ae8cec.2004d",
- "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": 235.53570556640625,
- "y": 141.4017677307129,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "3dac1de6.47703a"
- ]
- ]
- },
- {
- "id": "3dac1de6.47703a",
- "type": "method",
- "name": "method vnf-topology-operation-unassign",
- "xml": "<method rpc='vnf-topology-operation-unassign' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 217.67862701416016,
- "y": 181.1636562347412,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "8aa731f2.f78648"
- ]
- ]
- },
- {
- "id": "287c593d.cb7aa6",
- "type": "comment",
- "name": "vnf-topology-operation-unassign",
- "info": "",
- "comments": "",
- "x": 515.594856262207,
- "y": 48.75,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "da8ed21c.290538",
- "type": "switchNode",
- "name": "switch request-action",
- "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 524.773811340332,
- "y": 280.0207939147949,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "50a65b42.041c0c",
- "85a5b069.51ff2"
- ]
- ]
- },
- {
- "id": "50a65b42.041c0c",
- "type": "outcome",
- "name": "DeleteVnfInstance",
- "xml": "<outcome value='DeleteVnfInstance'>\n",
- "comments": "",
- "outputs": 1,
- "x": 778.4881057739258,
- "y": 257.16367530822754,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "93688742.285b9"
- ]
- ]
- },
- {
- "id": "85a5b069.51ff2",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 740.4880714416504,
- "y": 302.87800312042236,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "bfa2ad9d.0bdb1"
- ]
- ]
- },
- {
- "id": "93688742.285b9",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 963.3452339172363,
- "y": 257.16370487213135,
- "z": "b679ce73.4725c",
- "wires": [
- []
- ]
- },
- {
- "id": "bfa2ad9d.0bdb1",
- "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=\"If svc-action is 'deactivate' then request-action must be 'DeleteVnfInstance'\" />\n",
- "comments": "",
- "x": 980.4880790710449,
- "y": 302.87796115875244,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "8aa731f2.f78648",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 199.58333587646484,
- "y": 574.4969902038574,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "da8ed21c.290538",
- "9b073e31.2b9548",
- "d811a825.e4506",
- "230a1984.7eb2de",
- "1570abd0.28319c",
- "91a3386a.faef3",
- "12606f3f.12bf41",
- "a2ededb3.20eb68"
- ]
- ]
- },
- {
- "id": "9b073e31.2b9548",
- "type": "switchNode",
- "name": "switch vnf_length",
- "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 511.24998474121094,
- "y": 349.49701976776123,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "835264a.de01c98"
- ]
- ]
- },
- {
- "id": "835264a.de01c98",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 697.9166641235352,
- "y": 348.8303174972534,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "43688a60.e15ccc"
- ]
- ]
- },
- {
- "id": "43688a60.e15ccc",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"There are no VNFs in MD-SAL\" />\n",
- "comments": "",
- "x": 879.5832901000977,
- "y": 348.8303174972534,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "230a1984.7eb2de",
- "type": "for",
- "name": "for each vnf",
- "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 492.91666412353516,
- "y": 397.83033752441406,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "11f49056.b848d"
- ]
- ]
- },
- {
- "id": "11f49056.b848d",
- "type": "switchNode",
- "name": "switch this vnf-id == input vnf-id",
- "xml": "<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 747.9167518615723,
- "y": 396.4970054626465,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "2be53867.ef76e8"
- ]
- ]
- },
- {
- "id": "2be53867.ef76e8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 986.2500381469727,
- "y": 395.4969835281372,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "e4f701ed.1bfb3"
- ]
- ]
- },
- {
- "id": "e4f701ed.1bfb3",
- "type": "set",
- "name": "set vnf-index",
- "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
- "comments": "",
- "x": 1154.5832328796387,
- "y": 395.4970054626465,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "1570abd0.28319c",
- "type": "switchNode",
- "name": "switch vnf-index",
- "xml": "<switch test='`$vnf-index`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 504.5833282470703,
- "y": 444.4970073699951,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "29a81e7f.f25dfa"
- ]
- ]
- },
- {
- "id": "29a81e7f.f25dfa",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 686.2499465942383,
- "y": 443.83033752441406,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "f6710847.bb5d"
- ]
- ]
- },
- {
- "id": "f6710847.bb5d",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"'Could not find VNF ' + $vnf-topology-operation-input.vnf-information.vnf-id + ' in MD-SAL'\" />\n",
- "comments": "",
- "x": 852.916633605957,
- "y": 443.49696350097656,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "8ffa54f2.b78158",
- "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": 1154.3770751953125,
- "y": 1079.0205762386322,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "54c41547.567a8c",
- "type": "for",
- "name": "for each vnf",
- "xml": "<for index='idx' start='`$vnf-index + 1`' end='`$service-data.vnfs.vnf_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1674.8546524047852,
- "y": 824.576345205307,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "c8a587bb.5748d8"
- ]
- ]
- },
- {
- "id": "3f28287f.120ca",
- "type": "comment",
- "name": "Remove VNF from service data",
- "info": "",
- "comments": "",
- "x": 1117.0134201049805,
- "y": 783.1479976177216,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "c8a587bb.5748d8",
- "type": "set",
- "name": "move vnf to remove one",
- "xml": "<set>\n\t<parameter name=\"$tmpidx\" value=\"`$idx - 1`\"/>\n\t<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"$service-data.vnfs.vnf[$idx].\" />\n\t\n",
- "comments": "",
- "x": 1908.445785522461,
- "y": 823.6002967357635,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "c879ce9c.9d72a",
- "type": "switchNode",
- "name": "switch vnf_length",
- "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1161.1125144958496,
- "y": 826.155974149704,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "9f8acc10.c48f28",
- "901a2ab8.48409"
- ]
- ]
- },
- {
- "id": "9f8acc10.c48f28",
- "type": "outcome",
- "name": "1",
- "xml": "<outcome value='1'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1338.1125564575195,
- "y": 786.8225610256195,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "4a1274f6.357d5c"
- ]
- ]
- },
- {
- "id": "4a1274f6.357d5c",
- "type": "set",
- "name": "Remove vnfs",
- "xml": "<set>\n\t<parameter name=\"service-data.vnfs.\" value=\"\"/>\n\n",
- "comments": "",
- "x": 1501.779052734375,
- "y": 786.8226602077484,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "901a2ab8.48409",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1339.6364479064941,
- "y": 867.298700094223,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "209c0646.4c650a"
- ]
- ]
- },
- {
- "id": "cd8767d7.87479",
- "type": "set",
- "name": "set new vnf length",
- "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value=\"`$service-data.vnfs.vnf_length - 1`\"/>\n\n\t\n",
- "comments": "",
- "x": 1694.4087409973145,
- "y": 915.1559188365936,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "e2f2c18b.32612",
- "type": "set",
- "name": "Remove the last vnf in the list",
- "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$service-data.vnfs.vnf_length-1].\" value=\"\"/>\n\n",
- "comments": "",
- "x": 1730.1123962402344,
- "y": 870.2669398784637,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "209c0646.4c650a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1505.4457893371582,
- "y": 870.8224809169769,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "54c41547.567a8c",
- "e2f2c18b.32612",
- "cd8767d7.87479"
- ]
- ]
- },
- {
- "id": "793a50a1.0d6658",
- "type": "switchNode",
- "name": "switch current vnf-level-oper-status == Created",
- "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status == 'Created'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 603.9166412353516,
- "y": 490.1636772155762,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "33d47343.98cc6c"
- ]
- ]
- },
- {
- "id": "33d47343.98cc6c",
- "type": "outcomeFalse",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 908.5833587646484,
- "y": 489.8303165435791,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "6c7a81eb.1c4e68"
- ]
- ]
- },
- {
- "id": "6c7a81eb.1c4e68",
- "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=\"Cannot delete a VNF in a Created state\" />\n",
- "comments": "",
- "x": 1066.916633605957,
- "y": 489.16364097595215,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "d811a825.e4506",
- "type": "switchNode",
- "name": "switch current vf-module_length",
- "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 554.2499847412109,
- "y": 576.1636428833008,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "973bc91a.8f52e8",
- "d0ced9dc.3f8238",
- "2b82476d.deb568"
- ]
- ]
- },
- {
- "id": "973bc91a.8f52e8",
- "type": "outcome",
- "name": "0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 782.9166259765625,
- "y": 532.8302841186523,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "cb334531.9a038"
- ]
- ]
- },
- {
- "id": "d0ced9dc.3f8238",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 781.488037109375,
- "y": 574.2589416503906,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "cb334531.9a038"
- ]
- ]
- },
- {
- "id": "cb334531.9a038",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 930.0595512390137,
- "y": 554.2589426040649,
- "z": "b679ce73.4725c",
- "wires": [
- []
- ]
- },
- {
- "id": "2b82476d.deb568",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 781.4880867004395,
- "y": 615.6875295639038,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "7cec3149.76d4d"
- ]
- ]
- },
- {
- "id": "7cec3149.76d4d",
- "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=\"Cannot delete the VNF because there are VFs defined\" />\n",
- "comments": "",
- "x": 948.6309814453125,
- "y": 615.2589178085327,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "88d07f29.c5dc6",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1302.5197067260742,
- "y": 1022.7976253032684,
- "z": "b679ce73.4725c",
- "wires": [
- []
- ]
- },
- {
- "id": "b74c2ae7.ae87a",
- "type": "set",
- "name": "set variables for deleting name",
- "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",
- "comments": "",
- "x": 1203.9483261108398,
- "y": 975.65469622612,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "8a7b5d97.e8b09",
- "type": "comment",
- "name": "check removed with US622450",
- "info": "",
- "comments": "",
- "x": 1274.1070098876953,
- "y": 488.75002670288086,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "484f70af.519a08",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 911.5357208251953,
- "y": 908.7500398159027,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "c879ce9c.9d72a",
- "b74c2ae7.ae87a",
- "88d07f29.c5dc6",
- "8ffa54f2.b78158"
- ]
- ]
- },
- {
- "id": "91a3386a.faef3",
- "type": "call",
- "name": "call self-serve-vnf-forking-logic",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 548.3572998046875,
- "y": 722.4999084472656,
- "z": "b679ce73.4725c",
- "wires": [
- []
- ]
- },
- {
- "id": "12606f3f.12bf41",
- "type": "switchNode",
- "name": "switch ss.self-serve-flag",
- "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 518.3928833007812,
- "y": 908.607127904892,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "69816793.5f1658",
- "77171191.032938"
- ]
- ]
- },
- {
- "id": "69816793.5f1658",
- "type": "outcomeFalse",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 734.3928833007812,
- "y": 909.0357129573822,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "484f70af.519a08"
- ]
- ]
- },
- {
- "id": "f6d24b45.0d4258",
- "type": "call",
- "name": "call self-serve-vnf-unassign",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-unassign' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 950.1071472167969,
- "y": 1224.4642741680145,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "b5167dbe.7d8bf8",
- "a7770dc.3f6cef"
- ]
- ]
- },
- {
- "id": "b5167dbe.7d8bf8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1157.8571319580078,
- "y": 1224.7142627239227,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "9c54474e.6dc798"
- ]
- ]
- },
- {
- "id": "9c54474e.6dc798",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error while unassigning self-serve resources with error: '+ $error-message`\" />\n",
- "comments": "",
- "x": 1323.4285583496094,
- "y": 1224.3571574687958,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "a7770dc.3f6cef",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1162.4643058776855,
- "y": 1275.2697970867157,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "f989b85.ea14548"
- ]
- ]
- },
- {
- "id": "f989b85.ea14548",
- "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": 1331.0357208251953,
- "y": 1274.8412387371063,
- "z": "b679ce73.4725c",
- "wires": []
- },
- {
- "id": "77171191.032938",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 735.6785621643066,
- "y": 1224.8928534984589,
- "z": "b679ce73.4725c",
- "wires": [
- [
- "f6d24b45.0d4258"
- ]
- ]
- },
- {
- "id": "a2ededb3.20eb68",
- "type": "get-resource",
- "name": "get VF_MODEL.sdnc_model_name",
- "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n pfx='db.vf-model'>",
- "comments": "",
- "outputs": 1,
- "x": 563.75,
- "y": 655,
- "z": "b679ce73.4725c",
- "wires": [
- []
- ]
- }
+[
+ {
+ "id": "3bf0dc2d.c14a24",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 162.50001525878906,
+ "y": 72.41365623474121,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "b55ba40.7ee5d6"
+ ]
+ ]
+ },
+ {
+ "id": "b55ba40.7ee5d6",
+ "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": 276.7857208251953,
+ "y": 112.65176773071289,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "7d6aee59.8eda9"
+ ]
+ ]
+ },
+ {
+ "id": "7d6aee59.8eda9",
+ "type": "method",
+ "name": "method vnf-topology-operation-unassign",
+ "xml": "<method rpc='vnf-topology-operation-unassign' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 258.9286422729492,
+ "y": 152.4136562347412,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "4d74d1bc.2ae89"
+ ]
+ ]
+ },
+ {
+ "id": "6fec93f5.86db2c",
+ "type": "comment",
+ "name": "vnf-topology-operation-unassign",
+ "info": "",
+ "comments": "",
+ "x": 556.8448715209961,
+ "y": 20,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "9aaca2e2.beb78",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$vnf-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 509.77383041381836,
+ "y": 240.02079010009766,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "abd8c261.c46b3",
+ "d2221c3e.90c3f"
+ ]
+ ]
+ },
+ {
+ "id": "abd8c261.c46b3",
+ "type": "outcome",
+ "name": "DeleteVnfInstance",
+ "xml": "<outcome value='DeleteVnfInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 730.1547660827637,
+ "y": 215.49699878692627,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "a6409d9.036606"
+ ]
+ ]
+ },
+ {
+ "id": "d2221c3e.90c3f",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 692.1547317504883,
+ "y": 261.2113265991211,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "306935db.f49bda"
+ ]
+ ]
+ },
+ {
+ "id": "a6409d9.036606",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 915.0118942260742,
+ "y": 215.49702835083008,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "306935db.f49bda",
+ "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=\"If svc-action is 'deactivate' then request-action must be 'DeleteVnfInstance'\" />\n",
+ "comments": "",
+ "x": 932.1547393798828,
+ "y": 261.2112846374512,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "4d74d1bc.2ae89",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 269.58336639404297,
+ "y": 303.2470169067383,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "9aaca2e2.beb78",
+ "4345ea8f.58f384"
+ ]
+ ]
+ },
+ {
+ "id": "4345ea8f.58f384",
+ "type": "switchNode",
+ "name": "switch vnf_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 498.3333206176758,
+ "y": 359.49701499938965,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "728fa904.537908",
+ "23bd57ed.5c2f68"
+ ]
+ ]
+ },
+ {
+ "id": "728fa904.537908",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 682.9166831970215,
+ "y": 308.83031368255615,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "f32a75d4.e72c28"
+ ]
+ ]
+ },
+ {
+ "id": "ea2e0eca.99875",
+ "type": "for",
+ "name": "for each vnf",
+ "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.2500038146973,
+ "y": 388.49698543548584,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "ff75cb52.105748"
+ ]
+ ]
+ },
+ {
+ "id": "ff75cb52.105748",
+ "type": "switchNode",
+ "name": "switch this vnf-id == input vnf-id",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$idx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.2500915527344,
+ "y": 388.16365337371826,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "49e6f7a3.488758"
+ ]
+ ]
+ },
+ {
+ "id": "49e6f7a3.488758",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1514.5833778381348,
+ "y": 387.163631439209,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "d7731519.ea37c8"
+ ]
+ ]
+ },
+ {
+ "id": "d7731519.ea37c8",
+ "type": "set",
+ "name": "set vnf-index",
+ "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
+ "comments": "",
+ "x": 1682.9165725708008,
+ "y": 387.16365337371826,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "59efadd9.34ff64",
+ "type": "switchNode",
+ "name": "switch vnf-index",
+ "xml": "<switch test='`$vnf-index`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1031.2500114440918,
+ "y": 456.16367626190186,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "4275fe83.7bd96",
+ "d296558f.79c2f8"
+ ]
+ ]
+ },
+ {
+ "id": "4275fe83.7bd96",
+ "type": "other",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1214.5832862854004,
+ "y": 435.49698543548584,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "c8299496.706828"
+ ]
+ ]
+ },
+ {
+ "id": "e72eb007.b4761",
+ "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": 2001.8175811767578,
+ "y": 1314.9729461669922,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "ea9f2a97.ca1f08",
+ "type": "for",
+ "name": "for each vnf",
+ "xml": "<for index='idx' start='`$vnf-index + 1`' end='`$service-data.vnfs.vnf_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2601.8189582824707,
+ "y": 898.5644903182983,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "168141b9.a5a37e"
+ ]
+ ]
+ },
+ {
+ "id": "f463cdaa.41559",
+ "type": "comment",
+ "name": "Remove VNF from service data",
+ "info": "",
+ "comments": "",
+ "x": 1943.6204223632812,
+ "y": 862.3146209716797,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "97d940c.f7414c",
+ "type": "set",
+ "name": "move vnf to remove one",
+ "xml": "<set>\n<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"$service-data.vnfs.vnf[$idx].\" />\n\t\n",
+ "comments": "",
+ "x": 2932.0769996643066,
+ "y": 935.9216842651367,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "9db43d1a.80b5b",
+ "type": "switchNode",
+ "name": "switch vnf_length",
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2030.5766677856445,
+ "y": 903.8940572738647,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "9205be14.b6c51",
+ "a23b009d.a038"
+ ]
+ ]
+ },
+ {
+ "id": "9205be14.b6c51",
+ "type": "outcome",
+ "name": "1",
+ "xml": "<outcome value='1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2207.5767097473145,
+ "y": 864.5606441497803,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "80c57b23.9a7b78"
+ ]
+ ]
+ },
+ {
+ "id": "80c57b23.9a7b78",
+ "type": "set",
+ "name": "Remove vnfs",
+ "xml": "<set>\n\t<parameter name=\"service-data.vnfs.\" value=\"\"/>\n\n",
+ "comments": "",
+ "x": 2371.24320602417,
+ "y": 864.5607433319092,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "a23b009d.a038",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2209.100601196289,
+ "y": 945.0367832183838,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "9a322bdb.0d3758"
+ ]
+ ]
+ },
+ {
+ "id": "632aab75.bfd5f4",
+ "type": "set",
+ "name": "set new vnf length",
+ "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value=\"`$service-data.vnfs.vnf_length - 1`\"/>\n\n\t\n",
+ "comments": "",
+ "x": 2621.373092651367,
+ "y": 1037.4774322509766,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "cc9aa5c.d39c258",
+ "type": "set",
+ "name": "Remove the last vnf in the list",
+ "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$service-data.vnfs.vnf_length - 1].\" value=\"\"/>\n\n",
+ "comments": "",
+ "x": 2657.076747894287,
+ "y": 992.5884532928467,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "9a322bdb.0d3758",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 2374.909942626953,
+ "y": 948.5605640411377,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "ea9f2a97.ca1f08",
+ "cc9aa5c.d39c258",
+ "632aab75.bfd5f4"
+ ]
+ ]
+ },
+ {
+ "id": "422a0307.b6e26c",
+ "type": "switchNode",
+ "name": "switch current vf-module_length",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1405.4999160766602,
+ "y": 677.8303089141846,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "cb71008a.a8f54",
+ "281b69c0.91b136",
+ "b3e6a6da.0a0b88"
+ ]
+ ]
+ },
+ {
+ "id": "cb71008a.a8f54",
+ "type": "outcome",
+ "name": "0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1634.1665573120117,
+ "y": 634.4969501495361,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "c599e4d6.59a018"
+ ]
+ ]
+ },
+ {
+ "id": "281b69c0.91b136",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1632.7379684448242,
+ "y": 675.9256076812744,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "c599e4d6.59a018"
+ ]
+ ]
+ },
+ {
+ "id": "c599e4d6.59a018",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1781.309482574463,
+ "y": 655.9256086349487,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b3e6a6da.0a0b88",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1632.7380180358887,
+ "y": 717.3541955947876,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "46457f5b.3ef86"
+ ]
+ ]
+ },
+ {
+ "id": "46457f5b.3ef86",
+ "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=\"Cannot delete the VNF because there are VF modules defined\" />\n",
+ "comments": "",
+ "x": 1799.8809127807617,
+ "y": 716.9255838394165,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "1b063d0f.a0a6e3",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='naming-policy-generate-name' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2149.9602127075195,
+ "y": 1258.7499952316284,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "85b7a9d.afa5c58",
+ "type": "set",
+ "name": "set variables for deleting name",
+ "xml": "<set>\n<parameter name='naming-policy-generate-name-input.naming-type' value='VNF' />\n<parameter name='naming-policy-generate-name-input.context-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='naming-policy-generate-name-input.action' value='DELETE' />\n",
+ "comments": "",
+ "x": 2051.388832092285,
+ "y": 1211.60706615448,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "f601bfcd.e4487",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1765.6427841186523,
+ "y": 1094.7024116516113,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "9db43d1a.80b5b",
+ "85b7a9d.afa5c58",
+ "1b063d0f.a0a6e3",
+ "e72eb007.b4761"
+ ]
+ ]
+ },
+ {
+ "id": "9f240acf.f10968",
+ "type": "call",
+ "name": "call self-serve-vnf-forking-logic",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-forking-logic' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1389.7857284545898,
+ "y": 904.7023048400879,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c939b04c.c627d",
+ "type": "switchNode",
+ "name": "switch ss.self-serve-flag",
+ "xml": "<switch test=\"`$ss.self-serve-flag`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1372.4999465942383,
+ "y": 1094.5594997406006,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "7a49c72e.1fe9c8",
+ "ecc5218b.461db"
+ ]
+ ]
+ },
+ {
+ "id": "7a49c72e.1fe9c8",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1588.4999465942383,
+ "y": 1094.9880847930908,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "f601bfcd.e4487"
+ ]
+ ]
+ },
+ {
+ "id": "4db0d0cc.fcf23",
+ "type": "call",
+ "name": "call self-serve-vnf-unassign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-unassign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1804.214210510254,
+ "y": 1410.4166460037231,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "a8b8d4da.ba5e58",
+ "1a3f330c.4838ed"
+ ]
+ ]
+ },
+ {
+ "id": "a8b8d4da.ba5e58",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2011.9641952514648,
+ "y": 1410.6666345596313,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "58a86c05.a04eb4"
+ ]
+ ]
+ },
+ {
+ "id": "58a86c05.a04eb4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error while unassigning self-serve resources with error: '+ $error-message`\" />\n",
+ "comments": "",
+ "x": 2177.5356216430664,
+ "y": 1410.3095293045044,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "1a3f330c.4838ed",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2016.5713691711426,
+ "y": 1461.2221689224243,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "9db43d1a.80b5b"
+ ]
+ ]
+ },
+ {
+ "id": "ecc5218b.461db",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1589.7856254577637,
+ "y": 1410.8452253341675,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "4db0d0cc.fcf23"
+ ]
+ ]
+ },
+ {
+ "id": "46619b61.b2e6d4",
+ "type": "get-resource",
+ "name": "get-resource VF_MODEL",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid'\n pfx='db.vf-model'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1376.7856369018555,
+ "y": 800.4166660308838,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "db921505.1ecab8",
+ "2ad253ad.07e3dc"
+ ]
+ ]
+ },
+ {
+ "id": "db921505.1ecab8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1601.5713348388672,
+ "y": 780.7975034713745,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "b4171d9d.62fd"
+ ]
+ ]
+ },
+ {
+ "id": "2ad253ad.07e3dc",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1610.142765045166,
+ "y": 825.0832166671753,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "6896f0e8.60f06"
+ ]
+ ]
+ },
+ {
+ "id": "c42726a5.5f0838",
+ "type": "comment",
+ "name": "Query is needed by forking logic",
+ "info": "",
+ "comments": "",
+ "x": 1353.9285202026367,
+ "y": 761.8452005386353,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "c8299496.706828",
+ "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",
+ "comments": "",
+ "x": 1371.2499885559082,
+ "y": 434.49694538116455,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "f32a75d4.e72c28",
+ "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",
+ "comments": "",
+ "x": 836.2499809265137,
+ "y": 307.83032417297363,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "23bd57ed.5c2f68",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 679.5834007263184,
+ "y": 417.83028984069824,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "c5c57fb4.bffa4"
+ ]
+ ]
+ },
+ {
+ "id": "c5c57fb4.bffa4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 837.9166374206543,
+ "y": 417.8302993774414,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "ea2e0eca.99875",
+ "59efadd9.34ff64"
+ ]
+ ]
+ },
+ {
+ "id": "5d1e4a8b.33a764",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1060.4166412353516,
+ "y": 843.2469615936279,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "422a0307.b6e26c",
+ "46619b61.b2e6d4",
+ "9f240acf.f10968",
+ "c939b04c.c627d"
+ ]
+ ]
+ },
+ {
+ "id": "d296558f.79c2f8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1211.2500839233398,
+ "y": 481.16366958618164,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "5d1e4a8b.33a764"
+ ]
+ ]
+ },
+ {
+ "id": "168141b9.a5a37e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2738.6907691955566,
+ "y": 897.5328073501587,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ [
+ "5253081e.499f08",
+ "97d940c.f7414c",
+ "4cab7b3.6b48784"
+ ]
+ ]
+ },
+ {
+ "id": "5253081e.499f08",
+ "type": "set",
+ "name": "set tmpidx",
+ "xml": "<set>\n<parameter name=\"$tmpidx\" value=\"`$idx - 1`\"/>\n",
+ "comments": "",
+ "x": 2888.6904487609863,
+ "y": 854.1993503570557,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "4cab7b3.6b48784",
+ "type": "set",
+ "name": "erase entry at tmpidx",
+ "xml": "<set>\n<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"\" />\n\t\n",
+ "comments": "",
+ "x": 2923.6903648376465,
+ "y": 895.8660793304443,
+ "z": "8bfceefc.af82b",
+ "wires": []
+ },
+ {
+ "id": "6896f0e8.60f06",
+ "type": "record",
+ "name": "record ",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'No model found for VNF customization UUID ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.onap-model-information.model-customization-uuid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1758.4999923706055,
+ "y": 825.7500009536743,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b4171d9d.62fd",
+ "type": "record",
+ "name": "record ",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"Error reading VF_MODEL table\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1741.4999923706055,
+ "y": 780.7500009536743,
+ "z": "8bfceefc.af82b",
+ "wires": [
+ []
+ ]
+ }
] \ No newline at end of file