Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
index a679b1f..8464629 100644 (file)
-[
-    {
-        "id": "1c1b1b8c.f22d8c",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 101,
-        "y": 36,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "5242feba.24d568"
-            ]
-        ]
-    },
-    {
-        "id": "5242feba.24d568",
-        "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": 377,
-        "y": 37,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "d27cbed.05f55c"
-            ]
-        ]
-    },
-    {
-        "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": 773,
-        "y": 36,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "5dd94280.59f404"
-            ]
-        ]
-    },
-    {
-        "id": "5dd94280.59f404",
-        "type": "block",
-        "name": "block atomic",
-        "xml": "<block atomic=\"true\">\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 119.5,
-        "y": 119,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "f7b2e52c.493238",
-                "f8d58ab4.c216e",
-                "488f44a1.f47cc4"
-            ]
-        ]
-    },
-    {
-        "id": "488f44a1.f47cc4",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test='`$ss.capability-type`'>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 365,
-        "y": 450.11114501953125,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "2c48172e.c12508",
-                "33b5a922.c609d6",
-                "7e07a472.6c934c",
-                "b86ad187.19dd28"
-            ]
-        ]
-    },
-    {
-        "id": "2c48172e.c12508",
-        "type": "outcome",
-        "name": "vnf",
-        "xml": "<outcome value='vnf'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 550,
-        "y": 514,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "973953f9.a1f848"
-            ]
-        ]
-    },
-    {
-        "id": "33b5a922.c609d6",
-        "type": "outcome",
-        "name": "vf-module",
-        "xml": "<outcome value='vf-module'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 567.4444580078125,
-        "y": 1362.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "fc92d96a.d71e28"
-            ]
-        ]
-    },
-    {
-        "id": "7e07a472.6c934c",
-        "type": "outcome",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 538.111083984375,
-        "y": 2089.5556030273438,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "6e4fdf25.0d9908"
-            ]
-        ]
-    },
-    {
-        "id": "b86ad187.19dd28",
-        "type": "outcome",
-        "name": "null",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 541.111083984375,
-        "y": 2159.5556030273438,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "6e4fdf25.0d9908"
-            ]
-        ]
-    },
-    {
-        "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": 726.111083984375,
-        "y": 2119.5556030273438,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "f7b2e52c.493238",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test='`$ss.input.param.index`'>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 362,
-        "y": 162,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "570568eb.22122"
-            ]
-        ]
-    },
-    {
-        "id": "f8d58ab4.c216e",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test='`$ss.service-data.param.index`'>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 364,
-        "y": 235,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "b5d6857c.4e6108"
-            ]
-        ]
-    },
-    {
-        "id": "570568eb.22122",
-        "type": "outcome",
-        "name": "null",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 525,
-        "y": 161,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "efa9a9cc.1d3f18"
-            ]
-        ]
-    },
-    {
-        "id": "b5d6857c.4e6108",
-        "type": "outcome",
-        "name": "null",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 528,
-        "y": 234,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "7c13efe5.43ea88"
-            ]
-        ]
-    },
-    {
-        "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": 714,
-        "y": 161,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 715,
-        "y": 234,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 839,
-        "y": 829,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "ece4186c.66532",
-                "92f7fa59.72257"
-            ]
-        ]
-    },
-    {
-        "id": "ece4186c.66532",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1080,
-        "y": 784,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "cef19df0.cf597"
-            ]
-        ]
-    },
-    {
-        "id": "92f7fa59.72257",
-        "type": "failure",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1085,
-        "y": 882,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "cef19df0.cf597"
-            ]
-        ]
-    },
-    {
-        "id": "cef19df0.cf597",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 1237,
-        "y": 826,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "ee51f6c5.2fc7b",
-                "2868a2e7.19a866"
-            ]
-        ]
-    },
-    {
-        "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": 1438,
-        "y": 774,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 1424,
-        "y": 883,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "973953f9.a1f848",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 718,
-        "y": 514,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "e2385750.976298",
-                "924870b0.89a2",
-                "43fb1f27.951ec8",
-                "776ec9b3.cfe35",
-                "cdac6275.62c538",
-                "3d7cf445.7e3e64"
-            ]
-        ]
-    },
-    {
-        "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": 886,
-        "y": 577,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "502bdf23.14a01"
-            ]
-        ]
-    },
-    {
-        "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": 1042,
-        "y": 639,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "a82dd4d8.fa645"
-            ]
-        ]
-    },
-    {
-        "id": "a82dd4d8.fa645",
-        "type": "outcome",
-        "name": "external-key",
-        "xml": "<outcome value='external-key'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1228,
-        "y": 639,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "c9562be9.ab781"
-            ]
-        ]
-    },
-    {
-        "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": 1460,
-        "y": 639,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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;}]}'`\"/>",
-        "comments": "",
-        "x": 775,
-        "y": 763,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "924870b0.89a2",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test='`$tmp.external-key.value`'>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 746,
-        "y": 706,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "a1e3a0cf.8001e8"
-            ]
-        ]
-    },
-    {
-        "id": "a1e3a0cf.8001e8",
-        "type": "outcome",
-        "name": "null",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 899,
-        "y": 705,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "8627e3cd.3b77e8"
-            ]
-        ]
-    },
-    {
-        "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": 1060,
-        "y": 705,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 897.4444580078125,
-        "y": 1678.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "24cee4e8.4b448c",
-                "75bedfb3.3ade98"
-            ]
-        ]
-    },
-    {
-        "id": "24cee4e8.4b448c",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1134.4444580078125,
-        "y": 1632.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "cb648bfb.cf66d8"
-            ]
-        ]
-    },
-    {
-        "id": "75bedfb3.3ade98",
-        "type": "failure",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1140.4444580078125,
-        "y": 1732.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "cb648bfb.cf66d8"
-            ]
-        ]
-    },
-    {
-        "id": "cb648bfb.cf66d8",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 1287.4444580078125,
-        "y": 1674.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "6fbd418e.fb8d9",
-                "a4b1611a.39c14"
-            ]
-        ]
-    },
-    {
-        "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": 1496.4444580078125,
-        "y": 1623.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 1482.4444580078125,
-        "y": 1732.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "fc92d96a.d71e28",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 776.4444580078125,
-        "y": 1363.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "c4770fe1.62916",
-                "dd52b043.a96ef",
-                "12397850.e2f698",
-                "89b0826d.ca14b",
-                "352c4756.0206c8",
-                "d93b3d94.b2b228"
-            ]
-        ]
-    },
-    {
-        "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": 944.4444580078125,
-        "y": 1426.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "7c7934f8.f11a6c"
-            ]
-        ]
-    },
-    {
-        "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": 1098.4444580078125,
-        "y": 1488.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "c6f3adca.93b718"
-            ]
-        ]
-    },
-    {
-        "id": "c6f3adca.93b718",
-        "type": "outcome",
-        "name": "external-key",
-        "xml": "<outcome value='external-key'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1284.4444580078125,
-        "y": 1488.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "be8ee91c.01b38"
-            ]
-        ]
-    },
-    {
-        "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": 1516.4444580078125,
-        "y": 1488.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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;}]}'`\"/>",
-        "comments": "",
-        "x": 833.4444580078125,
-        "y": 1612.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "dd52b043.a96ef",
-        "type": "switchNode",
-        "name": "switch",
-        "xml": "<switch test='`$tmp.external-key.value`'>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 804.4444580078125,
-        "y": 1555.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "e401bf03.ed02a8"
-            ]
-        ]
-    },
-    {
-        "id": "e401bf03.ed02a8",
-        "type": "outcome",
-        "name": "null",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 957.4444580078125,
-        "y": 1554.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "1bd8e3a8.c533b4"
-            ]
-        ]
-    },
-    {
-        "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": 1118.4444580078125,
-        "y": 1554.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "c22afee4.bb0e98",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 890.9999389648438,
-        "y": 948.8888549804688,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "d52d5d8a.20fc58"
-            ]
-        ]
-    },
-    {
-        "id": "d52d5d8a.20fc58",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 1056.5556640625,
-        "y": 993.4444427490234,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "85e49276.168cd",
-                "f60bf43e.3a4bd8"
-            ]
-        ]
-    },
-    {
-        "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": 1266,
-        "y": 949,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 1254,
-        "y": 1037,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 688.1111450195312,
-        "y": 1077.8888549804688,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "296de1b7.0fd81e",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 959.111083984375,
-        "y": 1804.1109008789062,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "1a47636d.f18615"
-            ]
-        ]
-    },
-    {
-        "id": "1a47636d.f18615",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 1122.4444580078125,
-        "y": 1839.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "13f096ae.130bd9",
-                "446f10ad.05f988"
-            ]
-        ]
-    },
-    {
-        "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": 1337.4444580078125,
-        "y": 1799.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 1325.4444580078125,
-        "y": 1887.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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": 788.4444580078125,
-        "y": 1929.777587890625,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "ef964ca0.407bf8",
-        "type": "comment",
-        "name": "For VNF genname changeassign",
-        "info": "",
-        "comments": "",
-        "x": 632.2222290039062,
-        "y": 450.2222595214844,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "id": "2ef4734c.fa35c4",
-        "type": "comment",
-        "name": "For VF-MODULE genname changeassign",
-        "info": "",
-        "comments": "",
-        "x": 667.7777709960938,
-        "y": 1272.444580078125,
-        "z": "cd15d378.222de8",
-        "wires": []
-    },
-    {
-        "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 =  $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": 712.22216796875,
-        "y": 990.2222900390625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "c22afee4.bb0e98",
-                "5fc85d40.547644"
-            ]
-        ]
-    },
-    {
-        "id": "352c4756.0206c8",
-        "type": "save",
-        "name": "update vf-module",
-        "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": 790,
-        "y": 1840.2222900390625,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "296de1b7.0fd81e",
-                "ba968b2c.2f6978"
-            ]
-        ]
-    },
-    {
-        "id": "ba968b2c.2f6978",
-        "type": "not-found",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 956.6666870117188,
-        "y": 1890.2219848632812,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "1a47636d.f18615"
-            ]
-        ]
-    },
-    {
-        "id": "5fc85d40.547644",
-        "type": "not-found",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 894.4445190429688,
-        "y": 1039.1111450195312,
-        "z": "cd15d378.222de8",
-        "wires": [
-            [
-                "d52d5d8a.20fc58"
-            ]
-        ]
-    }
+[\r
+    {\r
+        "id": "214635e7.c9d7da",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 162.85714721679688,\r
+        "y": 60,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "7c170e6c.b1f92"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c170e6c.b1f92",\r
+        "type": "service-logic",\r
+        "name": "GENERIC-RESOURCE-API ${project.version}",\r
+        "module": "GENERIC-RESOURCE-API",\r
+        "version": "${project.version}",\r
+        "comments": "",\r
+        "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}'>",\r
+        "outputs": 1,\r
+        "x": 438.8571472167969,\r
+        "y": 61,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "bc54c92c.6660c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc54c92c.6660c8",\r
+        "type": "method",\r
+        "name": "self-serve-generate-name-changeassign",\r
+        "xml": "<method rpc='self-serve-generate-name-changeassign' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 287.71429443359375,\r
+        "y": 118.57143115997314,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "2a24a725.3d8af8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a24a725.3d8af8",\r
+        "type": "block",\r
+        "name": "block atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 345.64286041259766,\r
+        "y": 292.9999942779541,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "cfd035fd.908608",\r
+                "16504b6.9600db5",\r
+                "6ee2e5ff.d456bc",\r
+                "9f6c60d6.c01e8",\r
+                "7e866415.d5162c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6ee2e5ff.d456bc",\r
+        "type": "switchNode",\r
+        "name": "switch ss.capability-type",\r
+        "xml": "<switch test='`$ss.capability-type`'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 621.1428527832031,\r
+        "y": 645.5397043228149,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "d6d95309.fd728",\r
+                "89c92bcf.b9bd18",\r
+                "18b4c130.7fafcf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6d95309.fd728",\r
+        "type": "outcome",\r
+        "name": "vnf",\r
+        "xml": "<outcome value='vnf'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 857.5715103149414,\r
+        "y": 558.000018119812,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "da068899.c4fcc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "89c92bcf.b9bd18",\r
+        "type": "outcome",\r
+        "name": "vf-module",\r
+        "xml": "<outcome value='vf-module'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 869.3015823364258,\r
+        "y": 616.2061395645142,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "79055137.e90c6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cfd035fd.908608",\r
+        "type": "switchNode",\r
+        "name": "switch ss.input.param.index",\r
+        "xml": "<switch test='`$ss.input.param.index`'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 638.1428680419922,\r
+        "y": 390.28570652008057,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "b355a907.8b4998"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "16504b6.9600db5",\r
+        "type": "switchNode",\r
+        "name": "switch ss.service-data.param.index",\r
+        "xml": "<switch test='`$ss.service-data.param.index`'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 665.8571624755859,\r
+        "y": 463.71426486968994,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "212a16ee.89cc4a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b355a907.8b4998",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 871.1429214477539,\r
+        "y": 390.7142767906189,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "e955c510.269908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "212a16ee.89cc4a",\r
+        "type": "outcome",\r
+        "name": "null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 908.4286270141602,\r
+        "y": 463.71426916122437,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "2955cf32.c355c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e955c510.269908",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1060.142921447754,\r
+        "y": 390.7142767906189,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2955cf32.c355c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1095.4286270141602,\r
+        "y": 463.71426916122437,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c215d7d9.0f6ee8",\r
+        "type": "outcome",\r
+        "name": "pnf",\r
+        "xml": "<outcome value='pnf'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 852.8571586608887,\r
+        "y": 674.2857217788696,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "5357c55f.7049cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "18b4c130.7fafcf",\r
+        "type": "outcome",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 852.8254013061523,\r
+        "y": 729.2698307037354,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "1774b158.13d70f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1774b158.13d70f",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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=\"`'Unknown capability-type [' + $ss.capability-type + '], valid value are: vnf, pnf, vf-module'`\" />\n",\r
+        "comments": "",\r
+        "x": 1039.3967819213867,\r
+        "y": 729.2698259353638,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "da068899.c4fcc8",\r
+        "type": "call",\r
+        "name": "call self-serve-vnf-generate-name-changeassign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-generate-name-changeassign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1154.2858581542969,\r
+        "y": 558.1428499221802,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "79055137.e90c6",\r
+        "type": "call",\r
+        "name": "call self-serve-vf-module-generate-name-changeassign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-generate-name-changeassign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1203.3930702209473,\r
+        "y": 615.9285726547241,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "5357c55f.7049cc",\r
+        "type": "call",\r
+        "name": "call self-serve-pnf-generate-name-changeassign",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-generate-name-changeassign' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1155.0001258850098,\r
+        "y": 673.7143020629883,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e866415.d5162c",\r
+        "type": "call",\r
+        "name": "call capability-param-resolution",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 651.4284973144531,\r
+        "y": 320.00001335144043,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "84c93cbb.6b991",\r
+        "type": "execute",\r
+        "name": "execute PropertiesNode",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1042.1070763724192,\r
+        "y": 250.28571564810636,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f6c60d6.c01e8",\r
+        "type": "switchNode",\r
+        "name": "switch prop.controller.user",\r
+        "xml": "<switch test='`$prop.controller.user`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 630.8213119506836,\r
+        "y": 250.71433639526367,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "beb3f038.e55c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "beb3f038.e55c8",\r
+        "type": "failure",\r
+        "name": "NULL",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 830.6784073965891,\r
+        "y": 250.28575093405607,\r
+        "z": "5d6511ad.296e1",\r
+        "wires": [\r
+            [\r
+                "84c93cbb.6b991"\r
+            ]\r
+        ]\r
+    }\r
 ]
\ No newline at end of file