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 dfb7877..8464629 100644 (file)
-[
-    {
-        "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"
-            ]
-        ]
-    }
+[\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