Merge "CDS integration in GR-API for self-serve"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
index dfb7877..a679b1f 100644 (file)
@@ -1,20 +1,20 @@
 [
     {
-        "id": "72ace04a.7be558",
+        "id": "1c1b1b8c.f22d8c",
         "type": "dgstart",
         "name": "DGSTART",
         "outputs": 1,
-        "x": 103.75,
-        "y": 43.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 101,
+        "y": 36,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "4683e336.13fbec"
+                "5242feba.24d568"
             ]
         ]
     },
     {
-        "id": "4683e336.13fbec",
+        "id": "5242feba.24d568",
         "type": "service-logic",
         "name": "GENERIC-RESOURCE-API ${project.version}",
         "module": "GENERIC-RESOURCE-API",
         "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",
+        "x": 377,
+        "y": 37,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "1e499485.148aab"
+                "d27cbed.05f55c"
             ]
         ]
     },
     {
-        "id": "1e499485.148aab",
+        "id": "d27cbed.05f55c",
         "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",
+        "x": 773,
+        "y": 36,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "fce9c766.afb09"
+                "5dd94280.59f404"
             ]
         ]
     },
     {
-        "id": "fce9c766.afb09",
+        "id": "5dd94280.59f404",
         "type": "block",
         "name": "block atomic",
         "xml": "<block atomic=\"true\">\n",
         "atomic": "false",
         "comments": "",
         "outputs": 1,
-        "x": 122.25,
-        "y": 126.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 119.5,
+        "y": 119,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "96c99a94.2dd13",
-                "d2f322ed.7ab698",
-                "a1151215.a41af8"
+                "f7b2e52c.493238",
+                "f8d58ab4.c216e",
+                "488f44a1.f47cc4"
             ]
         ]
     },
     {
-        "id": "a1151215.a41af8",
+        "id": "488f44a1.f47cc4",
         "type": "switchNode",
         "name": "switch",
         "xml": "<switch test='`$ss.capability-type`'>\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 367.75,
-        "y": 457.86114501953125,
-        "z": "8e64cd0a.c97ea8",
+        "x": 365,
+        "y": 450.11114501953125,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "2d8e8b63.2be73c",
-                "8641945a.85d85",
-                "87d6f1d6.fde57",
-                "b49433f5.4f0a18"
+                "2c48172e.c12508",
+                "33b5a922.c609d6",
+                "7e07a472.6c934c",
+                "b86ad187.19dd28"
             ]
         ]
     },
     {
-        "id": "2d8e8b63.2be73c",
+        "id": "2c48172e.c12508",
         "type": "outcome",
         "name": "vnf",
         "xml": "<outcome value='vnf'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 552.75,
-        "y": 521.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 550,
+        "y": 514,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "8257892.ab90ef8"
+                "973953f9.a1f848"
             ]
         ]
     },
     {
-        "id": "8641945a.85d85",
+        "id": "33b5a922.c609d6",
         "type": "outcome",
         "name": "vf-module",
         "xml": "<outcome value='vf-module'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 570.1944580078125,
-        "y": 1370.527587890625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 567.4444580078125,
+        "y": 1362.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "3b7a5a5b.0869d6"
+                "fc92d96a.d71e28"
             ]
         ]
     },
     {
-        "id": "87d6f1d6.fde57",
+        "id": "7e07a472.6c934c",
         "type": "outcome",
         "name": "other",
         "xml": "<outcome value='Other'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 540.861083984375,
-        "y": 2097.3056030273438,
-        "z": "8e64cd0a.c97ea8",
+        "x": 538.111083984375,
+        "y": 2089.5556030273438,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "440694ff.4f3a6c"
+                "6e4fdf25.0d9908"
             ]
         ]
     },
     {
-        "id": "b49433f5.4f0a18",
+        "id": "b86ad187.19dd28",
         "type": "outcome",
         "name": "null",
         "xml": "<outcome value=''>",
         "comments": "",
         "outputs": 1,
-        "x": 543.861083984375,
-        "y": 2167.3056030273438,
-        "z": "8e64cd0a.c97ea8",
+        "x": 541.111083984375,
+        "y": 2159.5556030273438,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "440694ff.4f3a6c"
+                "6e4fdf25.0d9908"
             ]
         ]
     },
     {
-        "id": "440694ff.4f3a6c",
+        "id": "6e4fdf25.0d9908",
         "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",
+        "x": 726.111083984375,
+        "y": 2119.5556030273438,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "96c99a94.2dd13",
+        "id": "f7b2e52c.493238",
         "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",
+        "x": 362,
+        "y": 162,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "a6eb425f.b8bdd"
+                "570568eb.22122"
             ]
         ]
     },
     {
-        "id": "d2f322ed.7ab698",
+        "id": "f8d58ab4.c216e",
         "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",
+        "x": 364,
+        "y": 235,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "4bd1595c.013718"
+                "b5d6857c.4e6108"
             ]
         ]
     },
     {
-        "id": "a6eb425f.b8bdd",
+        "id": "570568eb.22122",
         "type": "outcome",
         "name": "null",
         "xml": "<outcome value=''>",
         "comments": "",
         "outputs": 1,
-        "x": 527.75,
-        "y": 168.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 525,
+        "y": 161,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "150b73ba.cd1f84"
+                "efa9a9cc.1d3f18"
             ]
         ]
     },
     {
-        "id": "4bd1595c.013718",
+        "id": "b5d6857c.4e6108",
         "type": "outcome",
         "name": "null",
         "xml": "<outcome value=''>",
         "comments": "",
         "outputs": 1,
-        "x": 530.75,
-        "y": 241.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 528,
+        "y": 234,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "2339ed70.e452d2"
+                "7c13efe5.43ea88"
             ]
         ]
     },
     {
-        "id": "150b73ba.cd1f84",
+        "id": "efa9a9cc.1d3f18",
         "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",
+        "x": 714,
+        "y": 161,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "2339ed70.e452d2",
+        "id": "7c13efe5.43ea88",
         "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",
+        "x": 715,
+        "y": 234,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "fa65e5dc.08b3d8",
+        "id": "776ec9b3.cfe35",
         "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",
+        "x": 839,
+        "y": 829,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "2e29dd23.0f7632",
-                "268c5fb8.e45f3"
+                "ece4186c.66532",
+                "92f7fa59.72257"
             ]
         ]
     },
     {
-        "id": "2e29dd23.0f7632",
+        "id": "ece4186c.66532",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1082.75,
-        "y": 791.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1080,
+        "y": 784,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "a64477a3.5d098"
+                "cef19df0.cf597"
             ]
         ]
     },
     {
-        "id": "268c5fb8.e45f3",
+        "id": "92f7fa59.72257",
         "type": "failure",
         "name": "not-found",
         "xml": "<outcome value='not-found'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1087.75,
-        "y": 889.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1085,
+        "y": 882,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "a64477a3.5d098"
+                "cef19df0.cf597"
             ]
         ]
     },
     {
-        "id": "a64477a3.5d098",
+        "id": "cef19df0.cf597",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1239.75,
-        "y": 833.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1237,
+        "y": 826,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "735acfc0.69263",
-                "9f441bcd.48c91"
+                "ee51f6c5.2fc7b",
+                "2868a2e7.19a866"
             ]
         ]
     },
     {
-        "id": "735acfc0.69263",
+        "id": "ee51f6c5.2fc7b",
         "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",
+        "x": 1438,
+        "y": 774,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "9f441bcd.48c91",
+        "id": "2868a2e7.19a866",
         "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",
+        "x": 1424,
+        "y": 883,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "8257892.ab90ef8",
+        "id": "973953f9.a1f848",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 720.75,
-        "y": 521.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 718,
+        "y": 514,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "53e3c0e3.64d5d8",
-                "50624aa7.268ebc",
-                "1f68cda.b8d8b32",
-                "fa65e5dc.08b3d8",
-                "8643313e.d4e4a8",
-                "5380e841.bea77"
+                "e2385750.976298",
+                "924870b0.89a2",
+                "43fb1f27.951ec8",
+                "776ec9b3.cfe35",
+                "cdac6275.62c538",
+                "3d7cf445.7e3e64"
             ]
         ]
     },
     {
-        "id": "53e3c0e3.64d5d8",
+        "id": "e2385750.976298",
         "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",
+        "x": 886,
+        "y": 577,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "67ae549.369122c"
+                "502bdf23.14a01"
             ]
         ]
     },
     {
-        "id": "67ae549.369122c",
+        "id": "502bdf23.14a01",
         "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",
+        "x": 1042,
+        "y": 639,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "408a6d52.bca67c"
+                "a82dd4d8.fa645"
             ]
         ]
     },
     {
-        "id": "408a6d52.bca67c",
+        "id": "a82dd4d8.fa645",
         "type": "outcome",
         "name": "external-key",
         "xml": "<outcome value='external-key'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1230.75,
-        "y": 646.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1228,
+        "y": 639,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "9801ba33.1a3de"
+                "c9562be9.ab781"
             ]
         ]
     },
     {
-        "id": "9801ba33.1a3de",
+        "id": "c9562be9.ab781",
         "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",
+        "x": 1460,
+        "y": 639,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "1f68cda.b8d8b32",
+        "id": "43fb1f27.951ec8",
         "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;}]'`\"/>",
+        "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",
+        "x": 775,
+        "y": 763,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "50624aa7.268ebc",
+        "id": "924870b0.89a2",
         "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",
+        "x": 746,
+        "y": 706,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "c1a7e7c7.bb67c"
+                "a1e3a0cf.8001e8"
             ]
         ]
     },
     {
-        "id": "c1a7e7c7.bb67c",
+        "id": "a1e3a0cf.8001e8",
         "type": "outcome",
         "name": "null",
         "xml": "<outcome value=''>",
         "comments": "",
         "outputs": 1,
-        "x": 901.75,
-        "y": 712.75,
-        "z": "8e64cd0a.c97ea8",
+        "x": 899,
+        "y": 705,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "17d289d6.1a9e5e"
+                "8627e3cd.3b77e8"
             ]
         ]
     },
     {
-        "id": "17d289d6.1a9e5e",
+        "id": "8627e3cd.3b77e8",
         "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",
+        "x": 1060,
+        "y": 705,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "420ba6ad.26a838",
+        "id": "89b0826d.ca14b",
         "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",
+        "x": 897.4444580078125,
+        "y": 1678.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "40004b3f.e2bedc",
-                "a93541ba.8e68b8"
+                "24cee4e8.4b448c",
+                "75bedfb3.3ade98"
             ]
         ]
     },
     {
-        "id": "40004b3f.e2bedc",
+        "id": "24cee4e8.4b448c",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1137.1944580078125,
-        "y": 1640.527587890625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1134.4444580078125,
+        "y": 1632.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "89d30d0a.86861"
+                "cb648bfb.cf66d8"
             ]
         ]
     },
     {
-        "id": "a93541ba.8e68b8",
+        "id": "75bedfb3.3ade98",
         "type": "failure",
         "name": "not-found",
         "xml": "<outcome value='not-found'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1143.1944580078125,
-        "y": 1740.527587890625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1140.4444580078125,
+        "y": 1732.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "89d30d0a.86861"
+                "cb648bfb.cf66d8"
             ]
         ]
     },
     {
-        "id": "89d30d0a.86861",
+        "id": "cb648bfb.cf66d8",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1290.1944580078125,
-        "y": 1682.527587890625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1287.4444580078125,
+        "y": 1674.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "fc409ea5.e85ae",
-                "e3c25f44.0cb21"
+                "6fbd418e.fb8d9",
+                "a4b1611a.39c14"
             ]
         ]
     },
     {
-        "id": "fc409ea5.e85ae",
+        "id": "6fbd418e.fb8d9",
         "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",
+        "x": 1496.4444580078125,
+        "y": 1623.777587890625,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "e3c25f44.0cb21",
+        "id": "a4b1611a.39c14",
         "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",
+        "x": 1482.4444580078125,
+        "y": 1732.777587890625,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "3b7a5a5b.0869d6",
+        "id": "fc92d96a.d71e28",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 779.1944580078125,
-        "y": 1371.527587890625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 776.4444580078125,
+        "y": 1363.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "2cccc824.ad2a78",
-                "231cd5d7.8b6a1a",
-                "2c11cde8.d352fa",
-                "420ba6ad.26a838",
-                "828d5f62.22b218",
-                "bd0adc9e.3de71"
+                "c4770fe1.62916",
+                "dd52b043.a96ef",
+                "12397850.e2f698",
+                "89b0826d.ca14b",
+                "352c4756.0206c8",
+                "d93b3d94.b2b228"
             ]
         ]
     },
     {
-        "id": "2cccc824.ad2a78",
+        "id": "c4770fe1.62916",
         "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",
+        "x": 944.4444580078125,
+        "y": 1426.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "5e430810.e35d5"
+                "7c7934f8.f11a6c"
             ]
         ]
     },
     {
-        "id": "5e430810.e35d5",
+        "id": "7c7934f8.f11a6c",
         "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",
+        "x": 1098.4444580078125,
+        "y": 1488.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "1cd2631e.5000ad"
+                "c6f3adca.93b718"
             ]
         ]
     },
     {
-        "id": "1cd2631e.5000ad",
+        "id": "c6f3adca.93b718",
         "type": "outcome",
         "name": "external-key",
         "xml": "<outcome value='external-key'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1287.1944580078125,
-        "y": 1496.527587890625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1284.4444580078125,
+        "y": 1488.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "b5e021a4.2b14"
+                "be8ee91c.01b38"
             ]
         ]
     },
     {
-        "id": "b5e021a4.2b14",
+        "id": "be8ee91c.01b38",
         "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",
+        "x": 1516.4444580078125,
+        "y": 1488.777587890625,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "2c11cde8.d352fa",
+        "id": "12397850.e2f698",
         "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;}]'`\"/>",
+        "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",
+        "x": 833.4444580078125,
+        "y": 1612.777587890625,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "231cd5d7.8b6a1a",
+        "id": "dd52b043.a96ef",
         "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",
+        "x": 804.4444580078125,
+        "y": 1555.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "c92f1042.b4f728"
+                "e401bf03.ed02a8"
             ]
         ]
     },
     {
-        "id": "c92f1042.b4f728",
+        "id": "e401bf03.ed02a8",
         "type": "outcome",
         "name": "null",
         "xml": "<outcome value=''>",
         "comments": "",
         "outputs": 1,
-        "x": 960.1944580078125,
-        "y": 1562.527587890625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 957.4444580078125,
+        "y": 1554.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "928dfda3.a334e"
+                "1bd8e3a8.c533b4"
             ]
         ]
     },
     {
-        "id": "928dfda3.a334e",
+        "id": "1bd8e3a8.c533b4",
         "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",
+        "x": 1118.4444580078125,
+        "y": 1554.777587890625,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "e9758b29.f137c8",
+        "id": "c22afee4.bb0e98",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 893.7499389648438,
-        "y": 956.6388549804688,
-        "z": "8e64cd0a.c97ea8",
+        "x": 890.9999389648438,
+        "y": 948.8888549804688,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "866c1fb3.eb77a"
+                "d52d5d8a.20fc58"
             ]
         ]
     },
     {
-        "id": "866c1fb3.eb77a",
+        "id": "d52d5d8a.20fc58",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1059.3056640625,
-        "y": 1001.1944427490234,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1056.5556640625,
+        "y": 993.4444427490234,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "e7f01e3.2acaae",
-                "712546c8.9b5af"
+                "85e49276.168cd",
+                "f60bf43e.3a4bd8"
             ]
         ]
     },
     {
-        "id": "e7f01e3.2acaae",
+        "id": "85e49276.168cd",
         "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",
+        "x": 1266,
+        "y": 949,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "712546c8.9b5af",
+        "id": "f60bf43e.3a4bd8",
         "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",
+        "x": 1254,
+        "y": 1037,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "5380e841.bea77",
+        "id": "3d7cf445.7e3e64",
         "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",
+        "x": 688.1111450195312,
+        "y": 1077.8888549804688,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "c57b7486.a57b1",
+        "id": "296de1b7.0fd81e",
         "type": "failure",
         "name": "failure",
         "xml": "<outcome value='failure'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 961.861083984375,
-        "y": 1811.8609008789062,
-        "z": "8e64cd0a.c97ea8",
+        "x": 959.111083984375,
+        "y": 1804.1109008789062,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "4fc9b736.8d6e3"
+                "1a47636d.f18615"
             ]
         ]
     },
     {
-        "id": "4fc9b736.8d6e3",
+        "id": "1a47636d.f18615",
         "type": "block",
         "name": "block : atomic",
         "xml": "<block atomic='true'>",
         "atomic": "true",
         "comments": "",
         "outputs": 1,
-        "x": 1125.1944580078125,
-        "y": 1847.527587890625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 1122.4444580078125,
+        "y": 1839.777587890625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "c4cb3411.ce3c08",
-                "5be64b3b.d3de2c"
+                "13f096ae.130bd9",
+                "446f10ad.05f988"
             ]
         ]
     },
     {
-        "id": "c4cb3411.ce3c08",
+        "id": "13f096ae.130bd9",
         "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",
+        "x": 1337.4444580078125,
+        "y": 1799.777587890625,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "5be64b3b.d3de2c",
+        "id": "446f10ad.05f988",
         "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",
+        "x": 1325.4444580078125,
+        "y": 1887.777587890625,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "bd0adc9e.3de71",
+        "id": "d93b3d94.b2b228",
         "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",
+        "x": 788.4444580078125,
+        "y": 1929.777587890625,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "3ab1de2e.107f4a",
+        "id": "ef964ca0.407bf8",
         "type": "comment",
         "name": "For VNF genname changeassign",
         "info": "",
         "comments": "",
-        "x": 634.9722290039062,
-        "y": 457.9722595214844,
-        "z": "8e64cd0a.c97ea8",
+        "x": 632.2222290039062,
+        "y": 450.2222595214844,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "acf466b0.cd99d",
+        "id": "2ef4734c.fa35c4",
         "type": "comment",
         "name": "For VF-MODULE genname changeassign",
         "info": "",
         "comments": "",
-        "x": 670.5277709960938,
-        "y": 1280.194580078125,
-        "z": "8e64cd0a.c97ea8",
+        "x": 667.7777709960938,
+        "y": 1272.444580078125,
+        "z": "cd15d378.222de8",
         "wires": []
     },
     {
-        "id": "8643313e.d4e4a8",
+        "id": "cdac6275.62c538",
         "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",
+        "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n\tresource=\"generic-vnf\"\n\t\tkey=\"generic-vnf.vnf-id =  $service-data.vnfs.vnf[$vnf-index].vnf-id \" >\n<parameter name=\"vnf-name\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].value`' />\n\n",
         "comments": "",
         "outputs": 1,
-        "x": 714.97216796875,
-        "y": 997.9722900390625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 712.22216796875,
+        "y": 990.2222900390625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "e9758b29.f137c8",
-                "291e7999.8fd276"
+                "c22afee4.bb0e98",
+                "5fc85d40.547644"
             ]
         ]
     },
     {
-        "id": "828d5f62.22b218",
+        "id": "352c4756.0206c8",
         "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",
+        "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vf-module\" key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id AND vf-module.vf-module-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id \" > \n<parameter name=\"vf-module-name\" value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].value`' />\n",
         "comments": "",
         "outputs": 1,
-        "x": 792.75,
-        "y": 1847.9722900390625,
-        "z": "8e64cd0a.c97ea8",
+        "x": 790,
+        "y": 1840.2222900390625,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "c57b7486.a57b1",
-                "5cf0712f.35945"
+                "296de1b7.0fd81e",
+                "ba968b2c.2f6978"
             ]
         ]
     },
     {
-        "id": "5cf0712f.35945",
+        "id": "ba968b2c.2f6978",
         "type": "not-found",
         "name": "not-found",
         "xml": "<outcome value='not-found'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 959.4166870117188,
-        "y": 1897.9719848632812,
-        "z": "8e64cd0a.c97ea8",
+        "x": 956.6666870117188,
+        "y": 1890.2219848632812,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "4fc9b736.8d6e3"
+                "1a47636d.f18615"
             ]
         ]
     },
     {
-        "id": "291e7999.8fd276",
+        "id": "5fc85d40.547644",
         "type": "not-found",
         "name": "not-found",
         "xml": "<outcome value='not-found'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 897.1945190429688,
-        "y": 1046.8611450195312,
-        "z": "8e64cd0a.c97ea8",
+        "x": 894.4445190429688,
+        "y": 1039.1111450195312,
+        "z": "cd15d378.222de8",
         "wires": [
             [
-                "866c1fb3.eb77a"
+                "d52d5d8a.20fc58"
             ]
         ]
     }