aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json919
1 files changed, 919 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
new file mode 100644
index 00000000..dfb78775
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
@@ -0,0 +1,919 @@
+[
+ {
+ "id": "72ace04a.7be558",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 103.75,
+ "y": 43.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "4683e336.13fbec"
+ ]
+ ]
+ },
+ {
+ "id": "4683e336.13fbec",
+ "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": 379.75,
+ "y": 44.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "1e499485.148aab"
+ ]
+ ]
+ },
+ {
+ "id": "1e499485.148aab",
+ "type": "method",
+ "name": "self-serve-generate-name-changeassign",
+ "xml": "<method rpc='self-serve-generate-name-changeassign' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 775.75,
+ "y": 43.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "fce9c766.afb09"
+ ]
+ ]
+ },
+ {
+ "id": "fce9c766.afb09",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 122.25,
+ "y": 126.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "96c99a94.2dd13",
+ "d2f322ed.7ab698",
+ "a1151215.a41af8"
+ ]
+ ]
+ },
+ {
+ "id": "a1151215.a41af8",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$ss.capability-type`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 367.75,
+ "y": 457.86114501953125,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "2d8e8b63.2be73c",
+ "8641945a.85d85",
+ "87d6f1d6.fde57",
+ "b49433f5.4f0a18"
+ ]
+ ]
+ },
+ {
+ "id": "2d8e8b63.2be73c",
+ "type": "outcome",
+ "name": "vnf",
+ "xml": "<outcome value='vnf'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 552.75,
+ "y": 521.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "8257892.ab90ef8"
+ ]
+ ]
+ },
+ {
+ "id": "8641945a.85d85",
+ "type": "outcome",
+ "name": "vf-module",
+ "xml": "<outcome value='vf-module'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 570.1944580078125,
+ "y": 1370.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "3b7a5a5b.0869d6"
+ ]
+ ]
+ },
+ {
+ "id": "87d6f1d6.fde57",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 540.861083984375,
+ "y": 2097.3056030273438,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "440694ff.4f3a6c"
+ ]
+ ]
+ },
+ {
+ "id": "b49433f5.4f0a18",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 543.861083984375,
+ "y": 2167.3056030273438,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "440694ff.4f3a6c"
+ ]
+ ]
+ },
+ {
+ "id": "440694ff.4f3a6c",
+ "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=\"capability-type is not vnf or vf-module\" />\n",
+ "comments": "",
+ "x": 728.861083984375,
+ "y": 2127.3056030273438,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "96c99a94.2dd13",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$ss.input.param.index`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 364.75,
+ "y": 169.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "a6eb425f.b8bdd"
+ ]
+ ]
+ },
+ {
+ "id": "d2f322ed.7ab698",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$ss.service-data.param.index`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 366.75,
+ "y": 242.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "4bd1595c.013718"
+ ]
+ ]
+ },
+ {
+ "id": "a6eb425f.b8bdd",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 527.75,
+ "y": 168.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "150b73ba.cd1f84"
+ ]
+ ]
+ },
+ {
+ "id": "4bd1595c.013718",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 530.75,
+ "y": 241.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "2339ed70.e452d2"
+ ]
+ ]
+ },
+ {
+ "id": "150b73ba.cd1f84",
+ "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=\"ss.input.param.index is null\" />\n",
+ "comments": "",
+ "x": 716.75,
+ "y": 168.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "2339ed70.e452d2",
+ "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=\"ss.service-data.param.index is null\" />\n",
+ "comments": "",
+ "x": 717.75,
+ "y": 241.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "fa65e5dc.08b3d8",
+ "type": "execute",
+ "name": "execute NameGenerationNode-changeassign",
+ "xml": "<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.vnf.changeassign.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"vnf.changeassign.nameGenResponse\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 841.75,
+ "y": 836.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "2e29dd23.0f7632",
+ "268c5fb8.e45f3"
+ ]
+ ]
+ },
+ {
+ "id": "2e29dd23.0f7632",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1082.75,
+ "y": 791.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "a64477a3.5d098"
+ ]
+ ]
+ },
+ {
+ "id": "268c5fb8.e45f3",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1087.75,
+ "y": 889.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "a64477a3.5d098"
+ ]
+ ]
+ },
+ {
+ "id": "a64477a3.5d098",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1239.75,
+ "y": 833.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "735acfc0.69263",
+ "9f441bcd.48c91"
+ ]
+ ]
+ },
+ {
+ "id": "735acfc0.69263",
+ "type": "set",
+ "name": "set status as FAILED",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
+ "comments": "",
+ "x": 1440.75,
+ "y": 781.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "9f441bcd.48c91",
+ "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 from NameGenerationNode ChangeAssign vnf ' + $error-message`\" />\n",
+ "comments": "",
+ "x": 1426.75,
+ "y": 890.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "8257892.ab90ef8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 720.75,
+ "y": 521.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "53e3c0e3.64d5d8",
+ "50624aa7.268ebc",
+ "1f68cda.b8d8b32",
+ "fa65e5dc.08b3d8",
+ "8643313e.d4e4a8",
+ "5380e841.bea77"
+ ]
+ ]
+ },
+ {
+ "id": "53e3c0e3.64d5d8",
+ "type": "for",
+ "name": "for service-data.vnf-parameters-data.param index i",
+ "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 888.75,
+ "y": 584.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "67ae549.369122c"
+ ]
+ ]
+ },
+ {
+ "id": "67ae549.369122c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].name`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1044.75,
+ "y": 646.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "408a6d52.bca67c"
+ ]
+ ]
+ },
+ {
+ "id": "408a6d52.bca67c",
+ "type": "outcome",
+ "name": "external-key",
+ "xml": "<outcome value='external-key'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1230.75,
+ "y": 646.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "9801ba33.1a3de"
+ ]
+ ]
+ },
+ {
+ "id": "9801ba33.1a3de",
+ "type": "set",
+ "name": "set tmp.external-key.value",
+ "xml": "<set>\n<parameter name='tmp.external-key.value' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].value`' />\n",
+ "comments": "",
+ "x": 1462.75,
+ "y": 646.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "1f68cda.b8d8b32",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name=\"tmp.vnf.changeassign.naming-data-payload\" value=\"`'{&quot;elements&quot;:[{' + '&quot;resource-name&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].name + '&quot;,&quot;resource-value&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].value + '&quot;,&quot;external-key&quot;:&quot;' + $tmp.external-key.value + '&quot;}]'`\"/>",
+ "comments": "",
+ "x": 777.75,
+ "y": 770.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "50624aa7.268ebc",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$tmp.external-key.value`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 748.75,
+ "y": 713.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "c1a7e7c7.bb67c"
+ ]
+ ]
+ },
+ {
+ "id": "c1a7e7c7.bb67c",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 901.75,
+ "y": 712.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "17d289d6.1a9e5e"
+ ]
+ ]
+ },
+ {
+ "id": "17d289d6.1a9e5e",
+ "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=\"self-service-generate-name-changeassign error : external-key is null for vnf\" />\n",
+ "comments": "",
+ "x": 1062.75,
+ "y": 712.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "420ba6ad.26a838",
+ "type": "execute",
+ "name": "execute NameGenerationNode-changeassign",
+ "xml": "<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.vf-module.changeassign.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"vf-module.changeassign.nameGenResponse\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.1944580078125,
+ "y": 1686.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "40004b3f.e2bedc",
+ "a93541ba.8e68b8"
+ ]
+ ]
+ },
+ {
+ "id": "40004b3f.e2bedc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1137.1944580078125,
+ "y": 1640.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "89d30d0a.86861"
+ ]
+ ]
+ },
+ {
+ "id": "a93541ba.8e68b8",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1143.1944580078125,
+ "y": 1740.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "89d30d0a.86861"
+ ]
+ ]
+ },
+ {
+ "id": "89d30d0a.86861",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1290.1944580078125,
+ "y": 1682.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "fc409ea5.e85ae",
+ "e3c25f44.0cb21"
+ ]
+ ]
+ },
+ {
+ "id": "fc409ea5.e85ae",
+ "type": "set",
+ "name": "set status as FAILED",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
+ "comments": "",
+ "x": 1499.1944580078125,
+ "y": 1631.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "e3c25f44.0cb21",
+ "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 from NameGenerationNode ChangeAssign vf-module ' + $error-message`\" />\n",
+ "comments": "",
+ "x": 1485.1944580078125,
+ "y": 1740.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "3b7a5a5b.0869d6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 779.1944580078125,
+ "y": 1371.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "2cccc824.ad2a78",
+ "231cd5d7.8b6a1a",
+ "2c11cde8.d352fa",
+ "420ba6ad.26a838",
+ "828d5f62.22b218",
+ "bd0adc9e.3de71"
+ ]
+ ]
+ },
+ {
+ "id": "2cccc824.ad2a78",
+ "type": "for",
+ "name": "for service-data.vnf-parameters-data.param index i",
+ "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 947.1944580078125,
+ "y": 1434.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "5e430810.e35d5"
+ ]
+ ]
+ },
+ {
+ "id": "5e430810.e35d5",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].name`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1101.1944580078125,
+ "y": 1496.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "1cd2631e.5000ad"
+ ]
+ ]
+ },
+ {
+ "id": "1cd2631e.5000ad",
+ "type": "outcome",
+ "name": "external-key",
+ "xml": "<outcome value='external-key'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1287.1944580078125,
+ "y": 1496.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "b5e021a4.2b14"
+ ]
+ ]
+ },
+ {
+ "id": "b5e021a4.2b14",
+ "type": "set",
+ "name": "set tmp.external-key.value",
+ "xml": "<set>\n<parameter name='tmp.external-key.value' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].value`' />\n",
+ "comments": "",
+ "x": 1519.1944580078125,
+ "y": 1496.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "2c11cde8.d352fa",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name=\"tmp.vf-module.changeassign.naming-data-payload\" value=\"`'{&quot;elements&quot;:[{' + '&quot;resource-name&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].name + '&quot;,&quot;resource-value&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].value + '&quot;,&quot;external-key&quot;:&quot;' + $tmp.external-key.value + '&quot;}]'`\"/>",
+ "comments": "",
+ "x": 836.1944580078125,
+ "y": 1620.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "231cd5d7.8b6a1a",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$tmp.external-key.value`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 807.1944580078125,
+ "y": 1563.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "c92f1042.b4f728"
+ ]
+ ]
+ },
+ {
+ "id": "c92f1042.b4f728",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 960.1944580078125,
+ "y": 1562.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "928dfda3.a334e"
+ ]
+ ]
+ },
+ {
+ "id": "928dfda3.a334e",
+ "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=\"self-service-generate-name-changeassign error : external-key is null for vf-module\" />\n",
+ "comments": "",
+ "x": 1121.1944580078125,
+ "y": 1562.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "e9758b29.f137c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.7499389648438,
+ "y": 956.6388549804688,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "866c1fb3.eb77a"
+ ]
+ ]
+ },
+ {
+ "id": "866c1fb3.eb77a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.3056640625,
+ "y": 1001.1944427490234,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "e7f01e3.2acaae",
+ "712546c8.9b5af"
+ ]
+ ]
+ },
+ {
+ "id": "e7f01e3.2acaae",
+ "type": "set",
+ "name": "set status as FAILED",
+ "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
+ "comments": "",
+ "x": 1268.75,
+ "y": 956.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "712546c8.9b5af",
+ "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=\"`'Failed to update generic-vnf.vnf-name to ' + $ss.changeassign.vnf-name + ' in AnAI'`\" />\n",
+ "comments": "",
+ "x": 1256.75,
+ "y": 1044.75,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "5380e841.bea77",
+ "type": "set",
+ "name": "set success",
+ "xml": "<set>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].value`' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].value`'/>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='SUCCESS' />",
+ "comments": "",
+ "x": 690.8611450195312,
+ "y": 1085.6388549804688,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "c57b7486.a57b1",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 961.861083984375,
+ "y": 1811.8609008789062,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "4fc9b736.8d6e3"
+ ]
+ ]
+ },
+ {
+ "id": "4fc9b736.8d6e3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1125.1944580078125,
+ "y": 1847.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "c4cb3411.ce3c08",
+ "5be64b3b.d3de2c"
+ ]
+ ]
+ },
+ {
+ "id": "c4cb3411.ce3c08",
+ "type": "set",
+ "name": "set status as FAILED",
+ "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
+ "comments": "",
+ "x": 1340.1944580078125,
+ "y": 1807.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "5be64b3b.d3de2c",
+ "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=\"`'Failed to update vf-module.vf-module-name to ' + $ss.changeassign.vf-module-name + ' in AnAI'`\" />\n",
+ "comments": "",
+ "x": 1328.1944580078125,
+ "y": 1895.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "bd0adc9e.3de71",
+ "type": "set",
+ "name": "set success",
+ "xml": "<set>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].value`' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].value`'/>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='SUCCESS' />",
+ "comments": "",
+ "x": 791.1944580078125,
+ "y": 1937.527587890625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "3ab1de2e.107f4a",
+ "type": "comment",
+ "name": "For VNF genname changeassign",
+ "info": "",
+ "comments": "",
+ "x": 634.9722290039062,
+ "y": 457.9722595214844,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "acf466b0.cd99d",
+ "type": "comment",
+ "name": "For VF-MODULE genname changeassign",
+ "info": "",
+ "comments": "",
+ "x": 670.5277709960938,
+ "y": 1280.194580078125,
+ "z": "8e64cd0a.c97ea8",
+ "wires": []
+ },
+ {
+ "id": "8643313e.d4e4a8",
+ "type": "save",
+ "name": "update generic-vnf",
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n\tresource=\"generic-vnf\"\n\t\tkey=\"generic-vnf.vnf-id = $ss.param.vnf-id \" >\n<parameter name=\"ipv4-loopback0-address\" value='`$ss.param.ipv4-loopback0-address`' />\n<parameter name=\"ipv4-oam-address\" value='`$ss.param.ipv4-oam-address`' />\n<parameter name=\"as-number\" value='`$ss.param.as-number`' />\n<parameter name=\"vlan-id-outer\" value='`$ss.param.vlan-id-outer`' />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 714.97216796875,
+ "y": 997.9722900390625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "e9758b29.f137c8",
+ "291e7999.8fd276"
+ ]
+ ]
+ },
+ {
+ "id": "828d5f62.22b218",
+ "type": "save",
+ "name": "update vf-module",
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n\tresource=\"vf-module\"\n\t\tkey=\"generic-vnf.vnf-id = $ss.param.vnf-id \n\t\t\tAND vf-module.vf-module-id = $ss.param.vf-module-id \" >\n<parameter name=\"vf-module-name\" value='`$ss.param.vf-module-name`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 792.75,
+ "y": 1847.9722900390625,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "c57b7486.a57b1",
+ "5cf0712f.35945"
+ ]
+ ]
+ },
+ {
+ "id": "5cf0712f.35945",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 959.4166870117188,
+ "y": 1897.9719848632812,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "4fc9b736.8d6e3"
+ ]
+ ]
+ },
+ {
+ "id": "291e7999.8fd276",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 897.1945190429688,
+ "y": 1046.8611450195312,
+ "z": "8e64cd0a.c97ea8",
+ "wires": [
+ [
+ "866c1fb3.eb77a"
+ ]
+ ]
+ }
+] \ No newline at end of file