summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCheung, Pat <kc1472@att.com>2018-11-02 20:31:16 +0000
committerAlexis de Talhouƫt <adetalhouet89@gmail.com>2018-11-08 14:46:54 +0000
commit3447fbd0ac1b8bfe7a0c0080fa702e69a80112f3 (patch)
tree934842e719dac31c0d4bb299060785380afd8675
parentd9642fafddbaa28789339e1989c4583af003a193 (diff)
self-serve DG bugfixes
self-serve bug fixes after sync up with Canada Change-Id: I6c7bfb117da2ddf09a02fe1fcc69f30a9f612e6a Issue-ID: SDNC-509 Signed-off-by: Cheung, Pat <kc1472@att.com> (cherry picked from commit 95fe03ff454e1da13732a8528c1976796cb51ce6 [formerly 76a12fc0a056cee22eb116314611eac26a308f9a]) Former-commit-id: ef33fe4448b2060b25ba6641ad931116e0c23a36
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json2937
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json1269
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json2
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json2
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-generate-name.xml935
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml291
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml22
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml22
8 files changed, 581 insertions, 4899 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
index 4c7c450c..4a279f09 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
@@ -1,2936 +1 @@
-[
- {
- "id": "9d01f665.242718",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 120,
- "y": 60,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "8d2cd10d.7836b8"
- ]
- ]
- },
- {
- "id": "8d2cd10d.7836b8",
- "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": 368.5713806152344,
- "y": 62.428558349609375,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "3bb04424.165b2c"
- ]
- ]
- },
- {
- "id": "3bb04424.165b2c",
- "type": "method",
- "name": "self-serve-generate-name",
- "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 672.1428527832031,
- "y": 60.99999237060547,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "f544f42f.79e4c8"
- ]
- ]
- },
- {
- "id": "f544f42f.79e4c8",
- "type": "block",
- "name": "block atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 171.14285278320312,
- "y": 146.99999237060547,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "af15506f.05852",
- "d5abcd9b.9745b",
- "9587cb6f.6286",
- "c8c9dba8.4a219",
- "c465ea91.13fb38"
- ]
- ]
- },
- {
- "id": "8b3cd365.e1b4c",
- "type": "execute",
- "name": "execute replace extra comma",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />",
- "comments": "",
- "outputs": 1,
- "x": 1736.8572082519531,
- "y": 873.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "af15506f.05852",
- "type": "set",
- "name": "set capability-name",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n",
- "comments": "",
- "x": 370.1428527832031,
- "y": 147.99999237060547,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "d5abcd9b.9745b",
- "type": "call",
- "name": "call capability-param-resolution",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 399.1428527832031,
- "y": 239,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "7aabee17.1c5ba8",
- "8a0a976d.bb54a"
- ]
- ]
- },
- {
- "id": "57f8f575.c14294",
- "type": "for",
- "name": "for vnf-parameters-data",
- "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1170.6430053710938,
- "y": 504.4285125732422,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "45ec186d.6638d8"
- ]
- ]
- },
- {
- "id": "45ec186d.6638d8",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1413.5000610351562,
- "y": 504.4285125732422,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c34ee0d3.7925f8"
- ]
- ]
- },
- {
- "id": "c34ee0d3.7925f8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1594.2144165039062,
- "y": 504.4284973144531,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "fbccf37.88f999"
- ]
- ]
- },
- {
- "id": "d539f25c.c0e5b8",
- "type": "for",
- "name": "for vnf-parameters-data",
- "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1706.3572082519531,
- "y": 674.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "59762169.0b874"
- ]
- ]
- },
- {
- "id": "7aabee17.1c5ba8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 622.1428527832031,
- "y": 207,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1370aa99.4464d5"
- ]
- ]
- },
- {
- "id": "8a0a976d.bb54a",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 631.1428527832031,
- "y": 273,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1370aa99.4464d5"
- ]
- ]
- },
- {
- "id": "1370aa99.4464d5",
- "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 capability-param-resolution\" />\n",
- "comments": "",
- "x": 824.1428527832031,
- "y": 207,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "c41bbe96.bcfb",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
- "comments": "",
- "x": 2308.857208251953,
- "y": 672.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "5ed4030d.2a373c",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
- "comments": "",
- "x": 1703.8573608398438,
- "y": 599.9998626708984,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "5c5e5f8.5a649a",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
- "comments": "",
- "x": 1703.8572082519531,
- "y": 736.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "30621c93.731054",
- "type": "set",
- "name": "set close payload list",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
- "comments": "",
- "x": 1709.8572082519531,
- "y": 801.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "ea2a8ca.3b9d37",
- "type": "execute",
- "name": "execute replace extra comma",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />",
- "comments": "",
- "outputs": 1,
- "x": 1739.8572082519531,
- "y": 927.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "97b12709.514e68",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2105.857177734375,
- "y": 949.1427612304688,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "718393eb.a09b34"
- ]
- ]
- },
- {
- "id": "f738cd51.cd41e",
- "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 Unassign\" />\n",
- "comments": "",
- "x": 2470.857177734375,
- "y": 1049.1427612304688,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "d0e601f9.671c6",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2110.857177734375,
- "y": 1048.1427612304688,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "718393eb.a09b34"
- ]
- ]
- },
- {
- "id": "718393eb.a09b34",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2268.857177734375,
- "y": 993.1427612304688,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "bcc4f011.c46088",
- "f738cd51.cd41e"
- ]
- ]
- },
- {
- "id": "bcc4f011.c46088",
- "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[$i].resource-resolution-data.status`' value='FAILED' />",
- "comments": "",
- "x": 2484.857177734375,
- "y": 940.1427612304688,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "d674890d.0b54b8",
- "type": "switchNode",
- "name": "switch capability action assign",
- "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
- "comments": "",
- "outputs": 1,
- "x": 794.3809204101562,
- "y": 1631.7618560791016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "20e0c70b.391c68"
- ]
- ]
- },
- {
- "id": "20e0c70b.391c68",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1049.0951538085938,
- "y": 1631.7618560791016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "e6d807c0.e53738"
- ]
- ]
- },
- {
- "id": "c101db98.1e6f7",
- "type": "for",
- "name": "for vnf-parameters-data",
- "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1951.8572082519531,
- "y": 1229.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c97cd966.464808"
- ]
- ]
- },
- {
- "id": "16707bfd.c97154",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2154.857208251953,
- "y": 1447.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "a824ee12.8cc8e8"
- ]
- ]
- },
- {
- "id": "a824ee12.8cc8e8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2364.857208251953,
- "y": 1447.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c872b3d2.2f9e08"
- ]
- ]
- },
- {
- "id": "8cb3cf6f.94a54",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
- "comments": "",
- "x": 2678.0235595703125,
- "y": 1425.9205322265625,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "b9d7571b.298638",
- "type": "execute",
- "name": "execute jsonStringToCtx",
- "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1720.8572082519531,
- "y": 1132.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "f2cc0f54.bb60e8",
- "type": "for",
- "name": "for response elements",
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1713.8572082519531,
- "y": 1228.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c101db98.1e6f7"
- ]
- ]
- },
- {
- "id": "c97cd966.464808",
- "type": "execute",
- "name": "slistringUtils - check value for $",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 2255.857208251953,
- "y": 1229.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "bad123a5.0894c8"
- ]
- ]
- },
- {
- "id": "bad123a5.0894c8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2495.857208251953,
- "y": 1228.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "be18f58.a0ee008"
- ]
- ]
- },
- {
- "id": "1bb7fc63.6e9f3c",
- "type": "execute",
- "name": "split resource-resolution-data",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
- "comments": "",
- "outputs": 1,
- "x": 2162.857208251953,
- "y": 1299.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "d888d83a.b7d8",
- "type": "execute",
- "name": "split resource-resolution-split-1",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
- "comments": "",
- "outputs": 1,
- "x": 2177.857208251953,
- "y": 1382.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "fbccf37.88f999",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1496.8572082519531,
- "y": 600.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "5ed4030d.2a373c",
- "d539f25c.c0e5b8",
- "5c5e5f8.5a649a",
- "30621c93.731054",
- "8b3cd365.e1b4c",
- "b9d7571b.298638",
- "f2cc0f54.bb60e8",
- "ea2a8ca.3b9d37",
- "4379c30d.8a80a4"
- ]
- ]
- },
- {
- "id": "ef4a1fc.34c336",
- "type": "execute",
- "name": "execute replace extra comma",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />",
- "comments": "",
- "outputs": 1,
- "x": 1635.5236206054688,
- "y": 2116.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "90f9be75.fa811",
- "type": "for",
- "name": "for vnf-parameters-data",
- "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1743.0236206054688,
- "y": 1932.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "89254dc2.7f4cd8"
- ]
- ]
- },
- {
- "id": "89254dc2.7f4cd8",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
- "comments": "",
- "x": 1995.5236206054688,
- "y": 1932.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "3d749bd0.06285c",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n",
- "comments": "",
- "x": 1723.9520874023438,
- "y": 1871.3808135986328,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "3a35a7fe.ef5ea8",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
- "comments": "",
- "x": 1725.5236206054688,
- "y": 1988.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "85561c80.3ef308",
- "type": "set",
- "name": "set close payload list",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
- "comments": "",
- "x": 1610.5236206054688,
- "y": 2073.6663360595703,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "4c175841.300a1",
- "type": "execute",
- "name": "execute replace extra comma",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />",
- "comments": "",
- "outputs": 1,
- "x": 1636.5236206054688,
- "y": 2167.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "88d774fa.1d1a38",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1977.523681640625,
- "y": 2201.66650390625,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c5c5c44f.80e79"
- ]
- ]
- },
- {
- "id": "1dbcec72.a673cc",
- "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 Assign\" />\n",
- "comments": "",
- "x": 2342.523681640625,
- "y": 2301.66650390625,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "157b3125.a0ffff",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1982.523681640625,
- "y": 2300.66650390625,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c5c5c44f.80e79"
- ]
- ]
- },
- {
- "id": "c5c5c44f.80e79",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2140.523681640625,
- "y": 2245.66650390625,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "24a305ec.7924e2",
- "1dbcec72.a673cc"
- ]
- ]
- },
- {
- "id": "24a305ec.7924e2",
- "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[$i].resource-resolution-data.status`' value='FAILED' />",
- "comments": "",
- "x": 2356.523681640625,
- "y": 2192.66650390625,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "76848f5c.5c31a",
- "type": "for",
- "name": "for vnf-parameters-data",
- "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1856.5236206054688,
- "y": 2424.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "d362ce7b.44bc4"
- ]
- ]
- },
- {
- "id": "6e2978a6.3a8118",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2059.5236206054688,
- "y": 2642.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "6be9a784.88ae8"
- ]
- ]
- },
- {
- "id": "6be9a784.88ae8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2269.5236206054688,
- "y": 2642.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "88e1aa71.08c4d"
- ]
- ]
- },
- {
- "id": "d351c878.19363",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
- "comments": "",
- "x": 2622.6903076171875,
- "y": 2611.4442138671875,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "333a840.1d25d7c",
- "type": "execute",
- "name": "execute jsonStringToCtx",
- "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1617.5236206054688,
- "y": 2326.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "f671137e.43c9",
- "type": "for",
- "name": "for response elements",
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1609.5236206054688,
- "y": 2423.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "76848f5c.5c31a"
- ]
- ]
- },
- {
- "id": "d362ce7b.44bc4",
- "type": "execute",
- "name": "slistringUtils - check value for $",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 2160.5236206054688,
- "y": 2424.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "9fd05568.528db8"
- ]
- ]
- },
- {
- "id": "9fd05568.528db8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2400.5236206054688,
- "y": 2423.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "70491a0a.6a6a24"
- ]
- ]
- },
- {
- "id": "925d0988.c8bd58",
- "type": "execute",
- "name": "split resource-resolution-data",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
- "comments": "",
- "outputs": 1,
- "x": 2067.5236206054688,
- "y": 2494.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "3d173098.20141",
- "type": "execute",
- "name": "split resource-resolution-split-1",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
- "comments": "",
- "outputs": 1,
- "x": 2082.5236206054688,
- "y": 2577.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "70491a0a.6a6a24",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1851.5236206054688,
- "y": 2494.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "925d0988.c8bd58",
- "3d173098.20141",
- "6e2978a6.3a8118"
- ]
- ]
- },
- {
- "id": "94a9278.dd98e58",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1520.6666870117188,
- "y": 1850.9520416259766,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "3d749bd0.06285c",
- "90f9be75.fa811",
- "3a35a7fe.ef5ea8"
- ]
- ]
- },
- {
- "id": "59762169.0b874",
- "type": "switchNode",
- "name": "switch external-key",
- "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1944.8572082519531,
- "y": 673.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "3be873de.5f56e4"
- ]
- ]
- },
- {
- "id": "3be873de.5f56e4",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2128.857208251953,
- "y": 673.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c41bbe96.bcfb"
- ]
- ]
- },
- {
- "id": "a56c2f8a.64a94",
- "type": "execute",
- "name": "execute replace extra comma",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />",
- "comments": "",
- "outputs": 1,
- "x": 1856.4762573242188,
- "y": 4087.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "75bd0dd1.6885f4",
- "type": "for",
- "name": "for vnf-parameters-data",
- "xml": "<for index='i' start='0' end='`$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_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1144.9761352539062,
- "y": 3699.3333892822266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1a936a5a.dcff5e"
- ]
- ]
- },
- {
- "id": "1a936a5a.dcff5e",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$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[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1424.9761352539062,
- "y": 3699.3333892822266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "d02ebe6c.238e3"
- ]
- ]
- },
- {
- "id": "d02ebe6c.238e3",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1633.9762573242188,
- "y": 3699.3333892822266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "17f1cb31.5694ed"
- ]
- ]
- },
- {
- "id": "a4f0128d.13f6b",
- "type": "for",
- "name": "for vf-module-parameters",
- "xml": "<for index='j' start='0' end='`$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[$i].resource-resolution-data.resource-key_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1825.9762573242188,
- "y": 3888.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "206ac6d4.7ae67a"
- ]
- ]
- },
- {
- "id": "e421640.8a1ea2",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$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[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$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[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
- "comments": "",
- "x": 2428.4762573242188,
- "y": 3886.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "2167bfb4.daf4d",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
- "comments": "",
- "x": 1823.4762573242188,
- "y": 3811.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "b585badd.35b568",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
- "comments": "",
- "x": 1823.4762573242188,
- "y": 3950.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "bb4dfba2.da8018",
- "type": "set",
- "name": "set close payload list",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
- "comments": "",
- "x": 1829.4762573242188,
- "y": 4015.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "73f361ac.bbceb8",
- "type": "execute",
- "name": "execute replace extra comma",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />",
- "comments": "",
- "outputs": 1,
- "x": 1859.4762573242188,
- "y": 4141.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "cb05a44b.81acd",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2189.476318359375,
- "y": 4163.3330078125,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "53f184d5.f04db4"
- ]
- ]
- },
- {
- "id": "ac469966.f9f0b",
- "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 Unassign\" />\n",
- "comments": "",
- "x": 2554.476318359375,
- "y": 4263.3330078125,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "ba1d7d79.ebca9",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2194.476318359375,
- "y": 4262.3330078125,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "53f184d5.f04db4"
- ]
- ]
- },
- {
- "id": "53f184d5.f04db4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2352.476318359375,
- "y": 4207.3330078125,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "d5a758ad.0c7368",
- "ac469966.f9f0b"
- ]
- ]
- },
- {
- "id": "d5a758ad.0c7368",
- "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[$i].resource-resolution-data.status`' value='FAILED' />",
- "comments": "",
- "x": 2568.476318359375,
- "y": 4154.3330078125,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "8566b45.4555748",
- "type": "for",
- "name": "for vf-module-parameters",
- "xml": "<for index='l' start='0' end='`$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_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2071.4762573242188,
- "y": 4443.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "bcafdf43.c97df8"
- ]
- ]
- },
- {
- "id": "bfa1ad98.e1291",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2274.4762573242188,
- "y": 4661.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1695dfe6.8492a"
- ]
- ]
- },
- {
- "id": "1695dfe6.8492a",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2484.4762573242188,
- "y": 4661.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "29601f42.c65388"
- ]
- ]
- },
- {
- "id": "29601f42.c65388",
- "type": "set",
- "name": "set set payload data",
- "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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
- "comments": "",
- "x": 2680.9762573242188,
- "y": 4662.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "e7b4e270.a2e688",
- "type": "execute",
- "name": "execute jsonStringToCtx",
- "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1840.4762573242188,
- "y": 4346.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "dc4b9b10.f541",
- "type": "for",
- "name": "for response elements",
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1833.4762573242188,
- "y": 4442.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "8566b45.4555748"
- ]
- ]
- },
- {
- "id": "bcafdf43.c97df8",
- "type": "execute",
- "name": "slistringUtils - check value for $",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 2375.4762573242188,
- "y": 4443.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "576f293f.cd5a6"
- ]
- ]
- },
- {
- "id": "576f293f.cd5a6",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2615.4762573242188,
- "y": 4442.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "7103d8d3.c872d8"
- ]
- ]
- },
- {
- "id": "3a69492f.bb2bae",
- "type": "execute",
- "name": "split resource-resolution-data",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$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[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
- "comments": "",
- "outputs": 1,
- "x": 2282.4762573242188,
- "y": 4513.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "c5cb3ca9.bf8848",
- "type": "execute",
- "name": "split resource-resolution-split-1",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
- "comments": "",
- "outputs": 1,
- "x": 2297.4762573242188,
- "y": 4596.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "7103d8d3.c872d8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2066.4762573242188,
- "y": 4513.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "3a69492f.bb2bae",
- "c5cb3ca9.bf8848",
- "bfa1ad98.e1291"
- ]
- ]
- },
- {
- "id": "17f1cb31.5694ed",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1616.4762573242188,
- "y": 3814.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "2167bfb4.daf4d",
- "a4f0128d.13f6b",
- "b585badd.35b568",
- "bb4dfba2.da8018",
- "a56c2f8a.64a94",
- "e7b4e270.a2e688",
- "50a18ce1.97fc1c",
- "dc4b9b10.f541",
- "73f361ac.bbceb8",
- "40117641.f32018"
- ]
- ]
- },
- {
- "id": "50a18ce1.97fc1c",
- "type": "set",
- "name": "set status as DELETED",
- "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[$i].resource-resolution-data.status`' value='DELETED' />",
- "comments": "",
- "x": 1838.4762573242188,
- "y": 4396.332901000977,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "206ac6d4.7ae67a",
- "type": "switchNode",
- "name": "switch external-key",
- "xml": "<switch test=\"`$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[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 2064.4762573242188,
- "y": 3887.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "5fae231d.5272ac"
- ]
- ]
- },
- {
- "id": "5fae231d.5272ac",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2248.4762573242188,
- "y": 3887.3329010009766,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "e421640.8a1ea2"
- ]
- ]
- },
- {
- "id": "9587cb6f.6286",
- "type": "switchNode",
- "name": "switch capability-type. vnf",
- "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 380.1428527832031,
- "y": 317.99999237060547,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "aad954ce.802738"
- ]
- ]
- },
- {
- "id": "aad954ce.802738",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 583.5714111328125,
- "y": 317.2857208251953,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "d4962dde.7144a8"
- ]
- ]
- },
- {
- "id": "c8c9dba8.4a219",
- "type": "switchNode",
- "name": "switch capability-type vf-module",
- "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 509.4761962890625,
- "y": 3481.3333282470703,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "8771ea99.a3f9d"
- ]
- ]
- },
- {
- "id": "8771ea99.a3f9d",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 728.4761962890625,
- "y": 3482.3333892822266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "52b0c642.e848e8"
- ]
- ]
- },
- {
- "id": "99f26ef3.280eb",
- "type": "for",
- "name": "for vnf-parameters data",
- "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1621.5236206054688,
- "y": 2603.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "442eaa12.f66c1c"
- ]
- ]
- },
- {
- "id": "442eaa12.f66c1c",
- "type": "execute",
- "name": "slistringUtils - check value for $",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 1747.1902465820312,
- "y": 2734.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "b6eb4a26.4fec"
- ]
- ]
- },
- {
- "id": "b6eb4a26.4fec",
- "type": "failure",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2009.1902465820312,
- "y": 2790.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "67977d8b.c5df04"
- ]
- ]
- },
- {
- "id": "67977d8b.c5df04",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2225.1902465820312,
- "y": 2790.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "829756fc.3cfc5",
- "5eef2fa5.addbc8"
- ]
- ]
- },
- {
- "id": "829756fc.3cfc5",
- "type": "set",
- "name": "set capability name",
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.capability-name`' value='INPUT' />",
- "comments": "",
- "x": 2451.8568115234375,
- "y": 2766.4444580078125,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "5eef2fa5.addbc8",
- "type": "set",
- "name": "set status SUCCESS",
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n",
- "comments": "",
- "x": 2455.1902465820312,
- "y": 2836.6663970947266,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "1fbc0bf7.d9d60c",
- "type": "switchNode",
- "name": "switch capability action unassign",
- "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 837.7142333984375,
- "y": 408.1428680419922,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "efd6575c.f07d5"
- ]
- ]
- },
- {
- "id": "efd6575c.f07d5",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1123.4285278320312,
- "y": 406.7142791748047,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "57f8f575.c14294"
- ]
- ]
- },
- {
- "id": "d4962dde.7144a8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 587.7142944335938,
- "y": 382.42860412597656,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1fbc0bf7.d9d60c",
- "d674890d.0b54b8"
- ]
- ]
- },
- {
- "id": "177385a3.c043a2",
- "type": "for",
- "name": "for vnf-parameters-data",
- "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1062.0715942382812,
- "y": 1794.166763305664,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "30d24fbb.704358"
- ]
- ]
- },
- {
- "id": "30d24fbb.704358",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1303.6786499023438,
- "y": 1794.166763305664,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "a88e7b27.acd89"
- ]
- ]
- },
- {
- "id": "a88e7b27.acd89",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1484.3930053710938,
- "y": 1794.166763305664,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "94a9278.dd98e58"
- ]
- ]
- },
- {
- "id": "1954307b.1b2ba8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1216.8572387695312,
- "y": 3610.5714263916016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "75bd0dd1.6885f4"
- ]
- ]
- },
- {
- "id": "dcef770e.c6ccf8",
- "type": "switchNode",
- "name": "switch capability action unassign",
- "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 975.8569946289062,
- "y": 3610.5714263916016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1954307b.1b2ba8"
- ]
- ]
- },
- {
- "id": "52b0c642.e848e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 732.8571166992188,
- "y": 3547.5714263916016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "dcef770e.c6ccf8",
- "ef3aabef.23d1a8"
- ]
- ]
- },
- {
- "id": "ef3aabef.23d1a8",
- "type": "switchNode",
- "name": "switch capability action assign",
- "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
- "comments": "",
- "outputs": 1,
- "x": 952.8096313476562,
- "y": 5218.334121704102,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "83323826.8871c8"
- ]
- ]
- },
- {
- "id": "83323826.8871c8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1181.8096313476562,
- "y": 5218.334121704102,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "b2d3cc7b.89669"
- ]
- ]
- },
- {
- "id": "9f73d864.8536d8",
- "type": "execute",
- "name": "execute replace extra comma",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />",
- "comments": "",
- "outputs": 1,
- "x": 1730.3095092773438,
- "y": 5688.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "e105813.22ffe8",
- "type": "for",
- "name": "for vf-module-parameters",
- "xml": "<for index='j' start='0' end='`$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[$i].resource-resolution-data.resource-key_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2048.5595092773438,
- "y": 5496.334121704102,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "9ebe174c.cca8f8"
- ]
- ]
- },
- {
- "id": "9ebe174c.cca8f8",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$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[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$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[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
- "comments": "",
- "x": 2305.0595092773438,
- "y": 5496.334121704102,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "89efd59e.cf284",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
- "comments": "",
- "x": 2031.0595092773438,
- "y": 5442.334121704102,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "4f8d850b.bbbc44",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
- "comments": "",
- "x": 2037.0595092773438,
- "y": 5558.334121704102,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "98c04a64.a011c",
- "type": "set",
- "name": "set close payload list",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
- "comments": "",
- "x": 1700.3095092773438,
- "y": 5637.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "d2f1471f.d735d",
- "type": "execute",
- "name": "execute replace extra comma",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />",
- "comments": "",
- "outputs": 1,
- "x": 1733.3095092773438,
- "y": 5742.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "7e5bd1ab.209ca",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2036.3095703125,
- "y": 5756.58447265625,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "42fc5b6c.345bdc"
- ]
- ]
- },
- {
- "id": "1e009a1e.612266",
- "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 Assign\" />\n",
- "comments": "",
- "x": 2401.3095703125,
- "y": 5856.58447265625,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "90a92735.264c5",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2041.3095703125,
- "y": 5855.58447265625,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "42fc5b6c.345bdc"
- ]
- ]
- },
- {
- "id": "42fc5b6c.345bdc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2199.3095703125,
- "y": 5800.58447265625,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1e009a1e.612266",
- "91ff7811.5db32"
- ]
- ]
- },
- {
- "id": "91ff7811.5db32",
- "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[$i].resource-resolution-data.status`' value='FAILED' />",
- "comments": "",
- "x": 2415.3095703125,
- "y": 5747.58447265625,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "9626c789.309858",
- "type": "for",
- "name": "for vf-module-parameters",
- "xml": "<for index='l' start='0' end='`$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_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2011.3095092773438,
- "y": 6332.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "df02f986.45d718"
- ]
- ]
- },
- {
- "id": "1035d4b9.e79303",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2182.3095092773438,
- "y": 6490.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "d32665c0.ffe428"
- ]
- ]
- },
- {
- "id": "d32665c0.ffe428",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2386.3095092773438,
- "y": 6488.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "24aa734a.87d674"
- ]
- ]
- },
- {
- "id": "24aa734a.87d674",
- "type": "set",
- "name": "set set payload data",
- "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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
- "comments": "",
- "x": 2580.8095092773438,
- "y": 6421.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "b6489347.bb4308",
- "type": "execute",
- "name": "execute jsonStringToCtx",
- "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1714.3095092773438,
- "y": 5855.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "c7bfb325.ec2d98",
- "type": "for",
- "name": "for response elements",
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1743.3095092773438,
- "y": 6333.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "9626c789.309858"
- ]
- ]
- },
- {
- "id": "df02f986.45d718",
- "type": "execute",
- "name": "slistringUtils - check value for $",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 2295.3095092773438,
- "y": 6336.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c66b75af.b35668"
- ]
- ]
- },
- {
- "id": "c66b75af.b35668",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2523.3095092773438,
- "y": 6333.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "a8f90ed5.c9b5a8"
- ]
- ]
- },
- {
- "id": "a4a7fab0.32e9b8",
- "type": "execute",
- "name": "split resource-resolution-data",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$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[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
- "comments": "",
- "outputs": 1,
- "x": 2190.3095092773438,
- "y": 6386.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "b57bbec9.12ea6",
- "type": "execute",
- "name": "split resource-resolution-split-1",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
- "comments": "",
- "outputs": 1,
- "x": 2203.3095092773438,
- "y": 6445.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "a8f90ed5.c9b5a8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1950.3095092773438,
- "y": 6412.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1035d4b9.e79303",
- "a4a7fab0.32e9b8",
- "b57bbec9.12ea6"
- ]
- ]
- },
- {
- "id": "9c309af6.f7e4a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1824.0595092773438,
- "y": 5445.334121704102,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "e105813.22ffe8",
- "89efd59e.cf284",
- "4f8d850b.bbbc44"
- ]
- ]
- },
- {
- "id": "3caf0f0c.12a5b8",
- "type": "set",
- "name": "set status as SUCCESS",
- "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[$i].resource-resolution-data.status`' value='SUCCESS' />",
- "comments": "",
- "x": 1716.3095092773438,
- "y": 5907.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "267d42ee.73dbde",
- "type": "for",
- "name": "for vnf parameters data",
- "xml": "<for index='l' start='0' end='`$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_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1738.3095092773438,
- "y": 6555.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "8fcead9b.0e0b8"
- ]
- ]
- },
- {
- "id": "8fcead9b.0e0b8",
- "type": "execute",
- "name": "slistringUtils - check value for $",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$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[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 2044.3095092773438,
- "y": 6553.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "f158d276.0d8658"
- ]
- ]
- },
- {
- "id": "f158d276.0d8658",
- "type": "failure",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2282.3095092773438,
- "y": 6553.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "3621a169.1458b6"
- ]
- ]
- },
- {
- "id": "3621a169.1458b6",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2444.3095092773438,
- "y": 6547.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "fef37cdf.87178",
- "157e032d.744875"
- ]
- ]
- },
- {
- "id": "fef37cdf.87178",
- "type": "set",
- "name": "set capability name",
- "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[$l].resource-resolution-data.capability-name`' value='INPUT' />\n",
- "comments": "",
- "x": 2668.3095092773438,
- "y": 6513.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "157e032d.744875",
- "type": "set",
- "name": "set status SUCCESS",
- "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[$l].resource-resolution-data.status`' value='SUCCESS' />\n\t",
- "comments": "",
- "x": 2656.3095092773438,
- "y": 6613.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "8a66938a.1460b",
- "type": "for",
- "name": "for vnf-parameters data",
- "xml": "<for index='cn' start='0' end='`$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_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1726.3095092773438,
- "y": 6013.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "e7e744c9.85b75"
- ]
- ]
- },
- {
- "id": "e7e744c9.85b75",
- "type": "switchNode",
- "name": "switch param[] name",
- "xml": "<switch test=\"`$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[$cn].name == 'vnfc-name'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1979.8095092773438,
- "y": 6014.584854125977,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "2a4c76d1.47e9a2"
- ]
- ]
- },
- {
- "id": "2a4c76d1.47e9a2",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2172.8095092773438,
- "y": 6015.084732055664,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "2c6b125a.5ec166"
- ]
- ]
- },
- {
- "id": "2c6b125a.5ec166",
- "type": "for",
- "name": "for j in resource key",
- "xml": "<for silentFailure='true' index='j' start='0' end='`$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[$cn].resource-resolution-data.resource-key_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1820.0238647460938,
- "y": 6123.870666503906,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "eb80eaa0.5a981"
- ]
- ]
- },
- {
- "id": "eb80eaa0.5a981",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2090.5953369140625,
- "y": 6125.584655761719,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "e4d68431.8d96a8",
- "ecab974a.9bbd78",
- "314dd1f2.f106d6",
- "435ecba0.88a2c4",
- "18703684.a36359",
- "5a418843.fb8ce",
- "658b4432.deae1c"
- ]
- ]
- },
- {
- "id": "ecab974a.9bbd78",
- "type": "switchNode",
- "name": "switch model-invariant-uuid",
- "xml": "<switch test=\"`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-invariant-uuid'`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2524.3095092773438,
- "y": 6001.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "cf5cb0c4.d1ede8"
- ]
- ]
- },
- {
- "id": "314dd1f2.f106d6",
- "type": "switchNode",
- "name": "switch model-customization-uuid",
- "xml": "<switch test=\"`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-customization-uuid'`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2492.3095092773438,
- "y": 6059.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "70feaf3a.73ab2"
- ]
- ]
- },
- {
- "id": "435ecba0.88a2c4",
- "type": "switchNode",
- "name": "switch model-uuid",
- "xml": "<switch test=\"`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-uuid'`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2490.3095092773438,
- "y": 6121.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "40b980ec.ac6338"
- ]
- ]
- },
- {
- "id": "18703684.a36359",
- "type": "switchNode",
- "name": "switch model-version",
- "xml": "<switch test=\"`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-version'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 2498.3095092773438,
- "y": 6183.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "3405bb1d.191ce4"
- ]
- ]
- },
- {
- "id": "e4d68431.8d96a8",
- "type": "switchNode",
- "name": "switch vm-type",
- "xml": "<switch test=\"`$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[$cn].resource-resolution-data.resource-key[$j].name == 'vm-type'`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2514.3095092773438,
- "y": 5929.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "8cbeeb62.d5961"
- ]
- ]
- },
- {
- "id": "8cbeeb62.d5961",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2718.3095092773438,
- "y": 5925.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "57750a1a.165544"
- ]
- ]
- },
- {
- "id": "cf5cb0c4.d1ede8",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2718.3095092773438,
- "y": 5999.834487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "57206663.d5c56"
- ]
- ]
- },
- {
- "id": "70feaf3a.73ab2",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2724.3095092773438,
- "y": 6055.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "b4b44bc3.5bb8a8"
- ]
- ]
- },
- {
- "id": "40b980ec.ac6338",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2728.3095092773438,
- "y": 6113.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "8cc0d8fe.d3593"
- ]
- ]
- },
- {
- "id": "3405bb1d.191ce4",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2734.3095092773438,
- "y": 6179.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "f57a9876.705b68"
- ]
- ]
- },
- {
- "id": "57750a1a.165544",
- "type": "set",
- "name": "set vm-type",
- "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-assignments.vms.vm[0].vm-type`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
- "comments": "",
- "x": 2882.3095092773438,
- "y": 5927.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "57206663.d5c56",
- "type": "set",
- "name": "set model-invariant-uuid",
- "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-assignments.vms.vm[0].onap-model-information.model-invariant-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
- "comments": "",
- "x": 2928.3095092773438,
- "y": 5993.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "b4b44bc3.5bb8a8",
- "type": "set",
- "name": "set model-customization-uuid",
- "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-assignments.vms.vm[0].onap-model-information.model-customization-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
- "comments": "",
- "x": 2972.3095092773438,
- "y": 6057.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "8cc0d8fe.d3593",
- "type": "set",
- "name": "set model-uuid",
- "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-assignments.vms.vm[0].onap-model-information.model-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
- "comments": "",
- "x": 2948.3095092773438,
- "y": 6111.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "f57a9876.705b68",
- "type": "set",
- "name": "set model-version",
- "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-assignments.vms.vm[0].onap-model-information.model-version`' value='`$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[$cn].resource-resolution-data.resource-key[j].value`' />\n",
- "comments": "",
- "x": 2894.3095092773438,
- "y": 6177.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "ec4b72ee.0d91e8",
- "type": "set",
- "name": "set model-name",
- "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-assignments.vms.vm[0].onap-model-information.model-name`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
- "comments": "",
- "x": 2900.3095092773438,
- "y": 6233.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "c2128119.3c59c8",
- "type": "set",
- "name": "set vnfc-name",
- "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-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-name`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
- "comments": "",
- "x": 2918.3095092773438,
- "y": 6289.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "5a418843.fb8ce",
- "type": "switchNode",
- "name": "switch model-name",
- "xml": "<switch test=\"`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-name'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 2498.3095092773438,
- "y": 6235.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "2b96a377.785aec"
- ]
- ]
- },
- {
- "id": "658b4432.deae1c",
- "type": "switchNode",
- "name": "switch vnfc-name",
- "xml": "<switch test=\"`$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[$cn].resource-resolution-data.resource-key[$j].name == 'vnfc-name'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 2496.3095092773438,
- "y": 6289.584487915039,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "2a2a4a91.63c3f6"
- ]
- ]
- },
- {
- "id": "2b96a377.785aec",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2732.3095092773438,
- "y": 6233.584487915038,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "ec4b72ee.0d91e8"
- ]
- ]
- },
- {
- "id": "2a2a4a91.63c3f6",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2726.3095092773438,
- "y": 6287.584487915038,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "c2128119.3c59c8"
- ]
- ]
- },
- {
- "id": "b9630ea3.d96b18",
- "type": "for",
- "name": "for vnf-parameters-data",
- "xml": "<for index='i' start='0' end='`$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_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1266.8571166992188,
- "y": 5391.571670532227,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "bd4ce803.509a98"
- ]
- ]
- },
- {
- "id": "bd4ce803.509a98",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$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[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1546.8571166992188,
- "y": 5391.571670532227,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "a5d1018e.3683e"
- ]
- ]
- },
- {
- "id": "a5d1018e.3683e",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1755.8572387695312,
- "y": 5391.571670532227,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "9c309af6.f7e4a"
- ]
- ]
- },
- {
- "id": "e6d807c0.e53738",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 841.1071166992188,
- "y": 1734.5714263916016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "177385a3.c043a2",
- "ff615e80.275a08",
- "39178dc5.011a9a"
- ]
- ]
- },
- {
- "id": "ff615e80.275a08",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
- "comments": "",
- "x": 1048.8571166992188,
- "y": 1735.5714263916016,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "39178dc5.011a9a",
- "type": "switchNode",
- "name": "switch tmp.naming-data-payload is null",
- "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1096.8571166992188,
- "y": 2014.5714263916016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "781da2e9.01d83c"
- ]
- ]
- },
- {
- "id": "781da2e9.01d83c",
- "type": "not-found",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1333.8571166992188,
- "y": 2015.5714263916016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "600486cd.2b6308"
- ]
- ]
- },
- {
- "id": "600486cd.2b6308",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1371.8571166992188,
- "y": 2073.5714263916016,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "85561c80.3ef308",
- "ef4a1fc.34c336",
- "4c175841.300a1",
- "333a840.1d25d7c",
- "f671137e.43c9",
- "99f26ef3.280eb",
- "80fef6f4.c675b"
- ]
- ]
- },
- {
- "id": "b2d3cc7b.89669",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1017.8571166992188,
- "y": 5324.571426391602,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "6a40e563.5a14a4",
- "b9630ea3.d96b18",
- "7640b347.b23714"
- ]
- ]
- },
- {
- "id": "6a40e563.5a14a4",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
- "comments": "",
- "x": 1254.8571166992188,
- "y": 5323.571426391602,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "7640b347.b23714",
- "type": "switchNode",
- "name": "switch tmp.naming-data-payload is null",
- "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1297.1071472167969,
- "y": 5514.071548461914,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "48235ce0.3408cc"
- ]
- ]
- },
- {
- "id": "48235ce0.3408cc",
- "type": "not-found",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1530.857177734375,
- "y": 5513.821304321289,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "7c76786f.4904"
- ]
- ]
- },
- {
- "id": "7c76786f.4904",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1518.607177734375,
- "y": 5591.071670532227,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "98c04a64.a011c",
- "9f73d864.8536d8",
- "d2f1471f.d735d",
- "b6489347.bb4308",
- "3caf0f0c.12a5b8",
- "8a66938a.1460b",
- "c7bfb325.ec2d98",
- "267d42ee.73dbde",
- "90b8bf99.7de998"
- ]
- ]
- },
- {
- "id": "c465ea91.13fb38",
- "type": "execute",
- "name": "execute readProperties",
- "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",
- "comments": "",
- "outputs": 1,
- "x": 383,
- "y": 193,
- "z": "8ffa18ff.21a748",
- "wires": [
- []
- ]
- },
- {
- "id": "90b8bf99.7de998",
- "type": "execute",
- "name": "execute RestApiCallNode - POST gen-name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1779,
- "y": 5804,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "7e5bd1ab.209ca",
- "90a92735.264c5"
- ]
- ]
- },
- {
- "id": "80fef6f4.c675b",
- "type": "execute",
- "name": "execute RestApiCallNode - POST gen-name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1682,
- "y": 2246,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "88d774fa.1d1a38",
- "157b3125.a0ffff"
- ]
- ]
- },
- {
- "id": "40117641.f32018",
- "type": "execute",
- "name": "execute RestApiCallNode - DELETE gen-name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='DELETE' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1899,
- "y": 4211,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "cb05a44b.81acd",
- "ba1d7d79.ebca9"
- ]
- ]
- },
- {
- "id": "4379c30d.8a80a4",
- "type": "execute",
- "name": "execute RestApiCallNode - DELETE gen-name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='DELETE' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1792,
- "y": 996,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "97b12709.514e68",
- "d0e601f9.671c6"
- ]
- ]
- },
- {
- "id": "de7f57d6.741e4",
- "type": "comment",
- "name": "For Generate Name DG Capability ",
- "info": "Support Bulk assign and single delete\nAlso calls Naming gen mS for assign/un-assign\n\nAdded by Ajay Singh(as396y)",
- "comments": "",
- "x": 846,
- "y": 123,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "169273ad.322bdc",
- "type": "set",
- "name": "set status as DELETED",
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='DELETED' />",
- "comments": "",
- "x": 2691.1112060546875,
- "y": 1477.7779541015625,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "24da0c57.b0398c",
- "type": "set",
- "name": "set status SUCCESS",
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n",
- "comments": "",
- "x": 2624.44482421875,
- "y": 2671.1112670898438,
- "z": "8ffa18ff.21a748",
- "wires": []
- },
- {
- "id": "be18f58.a0ee008",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1946.8572082519531,
- "y": 1299.1427688598633,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "1bb7fc63.6e9f3c",
- "d888d83a.b7d8",
- "16707bfd.c97154"
- ]
- ]
- },
- {
- "id": "c872b3d2.2f9e08",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2498.888916015625,
- "y": 1444.4444580078125,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "169273ad.322bdc",
- "8cb3cf6f.94a54"
- ]
- ]
- },
- {
- "id": "88e1aa71.08c4d",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2417.77783203125,
- "y": 2640.0000610351562,
- "z": "8ffa18ff.21a748",
- "wires": [
- [
- "d351c878.19363",
- "24da0c57.b0398c"
- ]
- ]
- }
-] \ No newline at end of file
+[{"id":"c4ce007.7b129","type":"dgstart","name":"DGSTART","outputs":1,"x":97.14286041259766,"y":40,"z":"b22c2.15bfad3f","wires":[["74a63714.63b758"]]},{"id":"74a63714.63b758","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":360.2857131958008,"y":40.99999237060547,"z":"b22c2.15bfad3f","wires":[["d4c7e1b6.2ad85"]]},{"id":"d4c7e1b6.2ad85","type":"method","name":"self-serve-generate-name","xml":"<method rpc='self-serve-generate-name' mode='sync'>\n","comments":"","outputs":1,"x":181.78575134277344,"y":82.24999237060547,"z":"b22c2.15bfad3f","wires":[["cfe52f65.5535"]]},{"id":"cfe52f65.5535","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":107.57142639160156,"y":129.8571310043335,"z":"b22c2.15bfad3f","wires":[["8099c568.0dd2c8","3e2de6cd.f09e3a","8b25e032.8d67","9ec0993b.7d83a8"]]},{"id":"fdf5e60c.f09e68","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />","comments":"","outputs":1,"x":1472.8574142456055,"y":662.9047241210938,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"8099c568.0dd2c8","type":"set","name":"set tmp.naming-data-payload","xml":"<set>\n<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n","comments":"","x":377.2857131958008,"y":130.99999237060547,"z":"b22c2.15bfad3f","wires":[]},{"id":"8db1f1d0.889c2","type":"for","name":"for vnf-parameters-data","xml":"<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1180.6431884765625,"y":261.9522695541382,"z":"b22c2.15bfad3f","wires":[["76abf200.64f74"]]},{"id":"76abf200.64f74","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1423.500244140625,"y":261.9522695541382,"z":"b22c2.15bfad3f","wires":[["4fc42546.c7923c"]]},{"id":"4fc42546.c7923c","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1604.214599609375,"y":261.9522542953491,"z":"b22c2.15bfad3f","wires":[["9358aee1.552be"]]},{"id":"44e392ad.5f9e9c","type":"for","name":"for vnf-parameters-data","xml":"<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":1442.3573760986328,"y":472.2380657196045,"z":"b22c2.15bfad3f","wires":[["442917e.1449de8"]]},{"id":"150413ba.3a991c","type":"set","name":"set payload data","xml":"<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>","comments":"","x":2044.8573760986328,"y":470.2380657196045,"z":"b22c2.15bfad3f","wires":[]},{"id":"fb551b70.bbcfd8","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":1439.8575286865234,"y":398.09515953063965,"z":"b22c2.15bfad3f","wires":[]},{"id":"84fc62c9.d846d","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":1439.8573760986328,"y":534.2380657196045,"z":"b22c2.15bfad3f","wires":[]},{"id":"2adc5948.429c06","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1445.8573760986328,"y":599.2380657196045,"z":"b22c2.15bfad3f","wires":[]},{"id":"c86e8ec5.6d05a","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />","comments":"","outputs":1,"x":1475.8574142456055,"y":716.9047241210938,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"e7512765.70ab08","type":"execute","name":"execute NameGenerationNode-unassign","xml":"<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.UnAssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"nameGenResponse\" />\n","comments":"","outputs":1,"x":1501.8574600219727,"y":873.9047050476074,"z":"b22c2.15bfad3f","wires":[["4bd0e3a9.e47e4c","b9f63e2.3d0d1c"]]},{"id":"4bd0e3a9.e47e4c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1776.8574600219727,"y":823.9047050476074,"z":"b22c2.15bfad3f","wires":[["3d7f663e.d5a46a"]]},{"id":"66b30001.521a6","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 Unassign\" />\n","comments":"","x":2141.8574600219727,"y":923.9047050476074,"z":"b22c2.15bfad3f","wires":[]},{"id":"b9f63e2.3d0d1c","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1781.8574600219727,"y":922.9047050476074,"z":"b22c2.15bfad3f","wires":[["3d7f663e.d5a46a"]]},{"id":"3d7f663e.d5a46a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1939.8574600219727,"y":867.9047050476074,"z":"b22c2.15bfad3f","wires":[["e3c19ba8.0685b8","66b30001.521a6"]]},{"id":"e3c19ba8.0685b8","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[$i].resource-resolution-data.status`' value='FAILED' />","comments":"","x":2155.8574600219727,"y":814.9047050476074,"z":"b22c2.15bfad3f","wires":[]},{"id":"cfca1bae.4e2338","type":"not-found","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":922.3809585571289,"y":1363.6190185546875,"z":"b22c2.15bfad3f","wires":[["d6788c5c.85547"]]},{"id":"ed79ddfe.5695e","type":"switchNode","name":"switch resource-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].name == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":1698.5241088867188,"y":1172.5715217590332,"z":"b22c2.15bfad3f","wires":[["5bde4585.5c467c"]]},{"id":"5bde4585.5c467c","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1890.5241088867188,"y":1171.5715217590332,"z":"b22c2.15bfad3f","wires":[["73e68674.4f6478"]]},{"id":"73e68674.4f6478","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n","comments":"","x":2077.0241088867188,"y":1171.5715217590332,"z":"b22c2.15bfad3f","wires":[]},{"id":"af2e44ec.d5ca68","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.response-payload\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":1457.5241012573242,"y":1075.5715141296387,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"cfa5bed4.470d4","type":"for","name":"for response elements","xml":"<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1450.5241012573242,"y":1171.5715141296387,"z":"b22c2.15bfad3f","wires":[["ed79ddfe.5695e"]]},{"id":"9358aee1.552be","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1158.8573837280273,"y":398.23800468444824,"z":"b22c2.15bfad3f","wires":[["fb551b70.bbcfd8","44e392ad.5f9e9c","84fc62c9.d846d","2adc5948.429c06","fdf5e60c.f09e68","e7512765.70ab08","af2e44ec.d5ca68","f8642b4c.442a28","cfa5bed4.470d4","c86e8ec5.6d05a","831182f9.da8ba","6e81bfa6.fad7","e0959eaf.ac5c9"]]},{"id":"f8642b4c.442a28","type":"set","name":"set status as DELETED","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='DELETED' />","comments":"","x":1455.5241012573242,"y":1125.5715141296387,"z":"b22c2.15bfad3f","wires":[]},{"id":"c5bdb33e.c0ce1","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />","comments":"","outputs":1,"x":2046.5238075256348,"y":1671.8091049194336,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"1b8fd08a.24f62f","type":"for","name":"for vnf-parameters-data","xml":"<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":2176.3093032836914,"y":1485.5236206054688,"z":"b22c2.15bfad3f","wires":[["21c8061a.df5eba"]]},{"id":"21c8061a.df5eba","type":"set","name":"set payload data","xml":"<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>","comments":"","x":2405.8093032836914,"y":1485.5236206054688,"z":"b22c2.15bfad3f","wires":[]},{"id":"f50fa797.e44b78","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":2157.2377700805664,"y":1424.238037109375,"z":"b22c2.15bfad3f","wires":[]},{"id":"46bd5518.2d0dbc","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":2158.8093032836914,"y":1541.5236206054688,"z":"b22c2.15bfad3f","wires":[]},{"id":"56eeda86.d5a534","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":2021.5238075256348,"y":1628.8090438842773,"z":"b22c2.15bfad3f","wires":[]},{"id":"41297214.951d5c","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />","comments":"","outputs":1,"x":2049.1906089782715,"y":1739.4758129119873,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"f348aff2.4bebc","type":"execute","name":"execute NameGenerationNode-assign","xml":"<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"nameGenResponse\" />\n","comments":"","outputs":1,"x":2078.857265472412,"y":1916.4756526947021,"z":"b22c2.15bfad3f","wires":[["69baa991.fa0e18","553561b9.6046e"]]},{"id":"69baa991.fa0e18","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2353.857265472412,"y":1866.4756526947021,"z":"b22c2.15bfad3f","wires":[["192a1f1f.be0e71"]]},{"id":"e5f50edb.091de","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 Assign\" />\n","comments":"","x":2718.857265472412,"y":1966.4756526947021,"z":"b22c2.15bfad3f","wires":[]},{"id":"553561b9.6046e","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2358.857265472412,"y":1965.4756526947021,"z":"b22c2.15bfad3f","wires":[["192a1f1f.be0e71"]]},{"id":"192a1f1f.be0e71","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2516.857265472412,"y":1910.4756526947021,"z":"b22c2.15bfad3f","wires":[["2437a7ce.daf3f8","e5f50edb.091de"]]},{"id":"2437a7ce.daf3f8","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[$i].resource-resolution-data.status`' value='FAILED' />","comments":"","x":2732.857265472412,"y":1857.4756526947021,"z":"b22c2.15bfad3f","wires":[]},{"id":"ce805e8b.46c19","type":"for","name":"for vnf-parameters-data","xml":"<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":2274.190517425537,"y":2209.8091365695,"z":"b22c2.15bfad3f","wires":[["b25c5460.a325a8"]]},{"id":"6aa66989.442c08","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.response-payload\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":2035.190517425537,"y":2111.8091365695,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"a601321b.c3fb9","type":"for","name":"for response elements","xml":"<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":2027.190517425537,"y":2208.8091365695,"z":"b22c2.15bfad3f","wires":[["ce805e8b.46c19"]]},{"id":"68abb658.8eedd8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1935.9523696899414,"y":1423.8092041015625,"z":"b22c2.15bfad3f","wires":[["f50fa797.e44b78","1b8fd08a.24f62f","46bd5518.2d0dbc"]]},{"id":"442917e.1449de8","type":"switchNode","name":"switch external-key","xml":"<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n","comments":"","outputs":1,"x":1680.8573760986328,"y":471.2380657196045,"z":"b22c2.15bfad3f","wires":[["d7d30379.9fac6"]]},{"id":"d7d30379.9fac6","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1864.8573760986328,"y":471.2380657196045,"z":"b22c2.15bfad3f","wires":[["150413ba.3a991c"]]},{"id":"3e2de6cd.f09e3a","type":"switchNode","name":"switch ss.capability-type","xml":"<switch test=\"`$ss.capability-type`\">\n","comments":"","outputs":1,"x":351.75000762939453,"y":1192.5714111328125,"z":"b22c2.15bfad3f","wires":[["cd6aee2c.8d999","8ae06020.3e6f5"]]},{"id":"cd6aee2c.8d999","type":"not-found","name":"vnf","xml":"<outcome value='vnf'>\n","comments":"","outputs":1,"x":513.3928604125977,"y":261.964262008667,"z":"b22c2.15bfad3f","wires":[["4ff90381.37c6dc"]]},{"id":"4ff90381.37c6dc","type":"switchNode","name":"switch ss.capability-action","xml":"<switch test=\"`$ss.capability-action`\">\n","comments":"","outputs":1,"x":722.2142715454102,"y":262.3214416503906,"z":"b22c2.15bfad3f","wires":[["1e263d13.66ebe3","cfca1bae.4e2338"]]},{"id":"1e263d13.66ebe3","type":"not-found","name":"unassign","xml":"<outcome value='unassign'>\n","comments":"","outputs":1,"x":967.6787261962891,"y":262.7380418777466,"z":"b22c2.15bfad3f","wires":[["8db1f1d0.889c2"]]},{"id":"59168f1e.642f2","type":"for","name":"for vnf-parameters-data","xml":"<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1331.3573379516602,"y":1423.0238647460938,"z":"b22c2.15bfad3f","wires":[["bf4aa8ff.7fb928"]]},{"id":"bf4aa8ff.7fb928","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1572.9643936157227,"y":1423.0238647460938,"z":"b22c2.15bfad3f","wires":[["1bade986.1e2976"]]},{"id":"1bade986.1e2976","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1765.6787490844727,"y":1423.0238647460938,"z":"b22c2.15bfad3f","wires":[["68abb658.8eedd8"]]},{"id":"c3399c9e.783d","type":"not-found","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":1015.9524307250977,"y":3454.333984375,"z":"b22c2.15bfad3f","wires":[["7251a52b.599a6c"]]},{"id":"ab99e9fd.1ae708","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />","comments":"","outputs":1,"x":1439.0237579345703,"y":3942.870348930359,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"9def63a4.806ca","type":"for","name":"for vf-module-parameters","xml":"<for index='j' start='0' end='`$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[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":2240.7024307250977,"y":3575.333984375,"z":"b22c2.15bfad3f","wires":[["e34f91dd.a8b49"]]},{"id":"e34f91dd.a8b49","type":"set","name":"set payload data","xml":"<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>","comments":"","x":2474.2024307250977,"y":3574.333984375,"z":"b22c2.15bfad3f","wires":[]},{"id":"20c0f5ca.83d79a","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":2223.2024307250977,"y":3521.333984375,"z":"b22c2.15bfad3f","wires":[]},{"id":"b6165507.aa3638","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":2229.2024307250977,"y":3637.333984375,"z":"b22c2.15bfad3f","wires":[]},{"id":"fd45754c.3cf118","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1409.0237579345703,"y":3891.870348930359,"z":"b22c2.15bfad3f","wires":[]},{"id":"3eddc60f.7f892a","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />","comments":"","outputs":1,"x":1435.023811340332,"y":3998.536747932434,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"a9a63c2d.dfa8d","type":"execute","name":"execute NameGenerationNode-assign","xml":"<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"nameGenResponse\" />\n","comments":"","outputs":1,"x":1459.3571090698242,"y":4142.203409194946,"z":"b22c2.15bfad3f","wires":[["a51de972.7513d8","f1311e3a.17146"]]},{"id":"a51de972.7513d8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1734.3571090698242,"y":4092.2034091949463,"z":"b22c2.15bfad3f","wires":[["7034ba5c.a539b4"]]},{"id":"3115f18a.f319ce","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 Assign\" />\n","comments":"","x":2099.357109069824,"y":4192.203409194946,"z":"b22c2.15bfad3f","wires":[]},{"id":"f1311e3a.17146","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1739.3571090698242,"y":4191.203409194946,"z":"b22c2.15bfad3f","wires":[["7034ba5c.a539b4"]]},{"id":"7034ba5c.a539b4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1897.3571090698242,"y":4136.203409194946,"z":"b22c2.15bfad3f","wires":[["3115f18a.f319ce","794481c7.a9c3c"]]},{"id":"794481c7.a9c3c","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[$i].resource-resolution-data.status`' value='FAILED' />","comments":"","x":2113.357109069824,"y":4083.2034091949463,"z":"b22c2.15bfad3f","wires":[]},{"id":"82619cf0.ed8e5","type":"for","name":"for vf-module-parameters","xml":"<for index='l' start='0' end='`$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_length`' >\n","comments":"","outputs":1,"x":1649.0238189697266,"y":4424.87033367157,"z":"b22c2.15bfad3f","wires":[["95c53568.63cad8"]]},{"id":"1a8b3de8.742382","type":"set","name":"set param value and status","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[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\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[$l].resource-resolution-data.status`' value='SUCCESS' />","comments":"","x":2288.095245361328,"y":4423.870002746582,"z":"b22c2.15bfad3f","wires":[]},{"id":"f52fb4f8.3e1228","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.response-payload\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":1410.3572158813477,"y":4346.6318359375,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"fb63f3.a26f9c1","type":"for","name":"for response elements","xml":"<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1408.0238189697266,"y":4424.87033367157,"z":"b22c2.15bfad3f","wires":[["82619cf0.ed8e5"]]},{"id":"7b2c452f.bbed6c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1999.2024307250977,"y":3521.333984375,"z":"b22c2.15bfad3f","wires":[["9def63a4.806ca","20c0f5ca.83d79a","b6165507.aa3638"]]},{"id":"feddb4fb.2f43b8","type":"for","name":"for vnf-parameters-data","xml":"<for index='i' start='0' end='`$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_length`' >\n","comments":"","outputs":1,"x":1408.9999771118164,"y":3521.571533203125,"z":"b22c2.15bfad3f","wires":[["a0948cc.d0ac07"]]},{"id":"a0948cc.d0ac07","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$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[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1651.9999771118164,"y":3521.571533203125,"z":"b22c2.15bfad3f","wires":[["304201bb.a6f3ae"]]},{"id":"304201bb.a6f3ae","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1843.000099182129,"y":3521.571533203125,"z":"b22c2.15bfad3f","wires":[["7b2c452f.bbed6c"]]},{"id":"d6788c5c.85547","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1092.3928604125977,"y":1363.4285278320312,"z":"b22c2.15bfad3f","wires":[["59168f1e.642f2","75a1aba5.5433b4","ad773e1d.d8f96"]]},{"id":"75a1aba5.5433b4","type":"set","name":"set payload data","xml":"<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />","comments":"","x":1309.5713844299316,"y":1363.8570394515991,"z":"b22c2.15bfad3f","wires":[]},{"id":"ad773e1d.d8f96","type":"switchNode","name":"switch tmp.naming-data-payload is null","xml":"<switch test=\"`$tmp.naming-data-payload == ''`\">\n","comments":"","outputs":1,"x":1371.8572425842285,"y":1628.7141952514648,"z":"b22c2.15bfad3f","wires":[["a94916ca.5c1308"]]},{"id":"a94916ca.5c1308","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1615.8572425842285,"y":1628.7141952514648,"z":"b22c2.15bfad3f","wires":[["8e513724.c4a9b8"]]},{"id":"8e513724.c4a9b8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1782.8573036193848,"y":1628.7141342163086,"z":"b22c2.15bfad3f","wires":[["56eeda86.d5a534","c5bdb33e.c0ce1","41297214.951d5c","f348aff2.4bebc","6aa66989.442c08","a601321b.c3fb9","366bde97.29b202","66ad476.8898eb8","7215a9c2.ed4828"]]},{"id":"7251a52b.599a6c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1173.9999771118164,"y":3454.5712890625,"z":"b22c2.15bfad3f","wires":[["8f0a7d6b.a2582","feddb4fb.2f43b8","348a65da.c2171a"]]},{"id":"8f0a7d6b.a2582","type":"set","name":"set set payload data","xml":"<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />","comments":"","x":1396.9999771118164,"y":3453.5712890625,"z":"b22c2.15bfad3f","wires":[]},{"id":"348a65da.c2171a","type":"switchNode","name":"switch tmp.naming-data-payload is null","xml":"<switch test=\"`$tmp.naming-data-payload == ''`\">\n","comments":"","outputs":1,"x":1457.2500076293945,"y":3684.071533203125,"z":"b22c2.15bfad3f","wires":[["a3618e09.0890b"]]},{"id":"a3618e09.0890b","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1691.0000381469727,"y":3683.8212890625,"z":"b22c2.15bfad3f","wires":[["b7e4dbf.88fad28"]]},{"id":"b7e4dbf.88fad28","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1099.3214263916016,"y":3892.3575315475464,"z":"b22c2.15bfad3f","wires":[["fd45754c.3cf118","ab99e9fd.1ae708","3eddc60f.7f892a","a9a63c2d.dfa8d","f52fb4f8.3e1228","fb63f3.a26f9c1","95c6b4d5.214088","2b41e0a2.f2e29","119b4b23.3c64c5"]]},{"id":"831182f9.da8ba","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE namegeneration.node.UnAssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1409.333381652832,"y":799.7619457244873,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"6e81bfa6.fad7","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER namegeneration.node.UnAssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1406.0000495910645,"y":954.7619533538818,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"366bde97.29b202","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE namegeneration.node.AssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1986.0001487731934,"y":1848.4760437011719,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"66ad476.8898eb8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER namegeneration.node.AssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1982.6668167114258,"y":2003.4760513305664,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"2b41e0a2.f2e29","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER namegeneration.node.AssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1362.9044876098633,"y":4237.619207382202,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"95c6b4d5.214088","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE namegeneration.node.AssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1361.2380676269531,"y":4077.6190366744995,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"95c53568.63cad8","type":"switchNode","name":"switch resource-name","xml":"<switch test='`$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[$l].name == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":1896.2857666015625,"y":4425.285499572754,"z":"b22c2.15bfad3f","wires":[["82128c8f.fd3b2"]]},{"id":"b25c5460.a325a8","type":"switchNode","name":"switch resource-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].name == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":2521.2857704162598,"y":2209.571111679077,"z":"b22c2.15bfad3f","wires":[["dcd1a528.fd73b8"]]},{"id":"200df204.d45b3e","type":"set","name":"set param value and status","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />","comments":"","x":2908.8096885681152,"y":2208.2984409332275,"z":"b22c2.15bfad3f","wires":[]},{"id":"dcd1a528.fd73b8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2705.57137298584,"y":2209.1425743103027,"z":"b22c2.15bfad3f","wires":[["200df204.d45b3e"]]},{"id":"82128c8f.fd3b2","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2086.285675048828,"y":4424.285530090332,"z":"b22c2.15bfad3f","wires":[["1a8b3de8.742382"]]},{"id":"c800abc8.8cf708","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />","comments":"","outputs":1,"x":1482.2857818603516,"y":2795.999464035034,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"234dc037.18d2d","type":"for","name":"for vnf-parameters-data","xml":"<for index='i' start='0' end='`$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_length`' >\n","comments":"","outputs":1,"x":1250.4047622680664,"y":2359.3336181640625,"z":"b22c2.15bfad3f","wires":[["d9940efc.eae25"]]},{"id":"d9940efc.eae25","type":"switchNode","name":"switch capability-name","xml":"<switch test='`$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[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n","comments":"","outputs":1,"x":1500.4047012329102,"y":2359.33349609375,"z":"b22c2.15bfad3f","wires":[["86e4dddd.844ea"]]},{"id":"86e4dddd.844ea","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1709.4048233032227,"y":2359.33349609375,"z":"b22c2.15bfad3f","wires":[["651d0c9e.3f6c74"]]},{"id":"f74e5c96.bb387","type":"for","name":"for vf-module-parameters","xml":"<for index='j' start='0' end='`$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[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":1455.1190567016602,"y":2610.3330078125,"z":"b22c2.15bfad3f","wires":[["9023139f.bc3e1"]]},{"id":"f6f22c3.9d7f6d","type":"set","name":"set payload data","xml":"<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>","comments":"","x":2057.61905670166,"y":2608.3330078125,"z":"b22c2.15bfad3f","wires":[]},{"id":"c007726a.119db","type":"set","name":"set set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />","comments":"","x":1452.6190567016602,"y":2533.3330078125,"z":"b22c2.15bfad3f","wires":[]},{"id":"f3b25876.a9cec8","type":"set","name":"set payload data","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />","comments":"","x":1452.6190567016602,"y":2672.3330078125,"z":"b22c2.15bfad3f","wires":[]},{"id":"73046d7d.c3e4d4","type":"set","name":"set close payload list","xml":"<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />","comments":"","x":1458.6190567016602,"y":2737.3330078125,"z":"b22c2.15bfad3f","wires":[]},{"id":"2774ec69.79d6a4","type":"execute","name":"execute replace extra comma","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />","comments":"","outputs":1,"x":1485.2857818603516,"y":2849.999464035034,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"a8204dd6.5c406","type":"execute","name":"execute NameGenerationNode-unassign","xml":"<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.UnAssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"nameGenResponse\" />\n","comments":"","outputs":1,"x":1514.619125366211,"y":3008.6661348342896,"z":"b22c2.15bfad3f","wires":[["b9422270.f648e","21cb01d.494cbfe"]]},{"id":"b9422270.f648e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1789.619125366211,"y":2958.6661348342896,"z":"b22c2.15bfad3f","wires":[["f52add29.a2116"]]},{"id":"ababb3ad.ac03b","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 Unassign\" />\n","comments":"","x":2140.333568572998,"y":3027.665928840637,"z":"b22c2.15bfad3f","wires":[]},{"id":"21cb01d.494cbfe","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1794.619125366211,"y":3057.6661348342896,"z":"b22c2.15bfad3f","wires":[["f52add29.a2116"]]},{"id":"f52add29.a2116","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1952.619125366211,"y":3002.6661348342896,"z":"b22c2.15bfad3f","wires":[["ababb3ad.ac03b","c3cb04de.fd9788"]]},{"id":"c3cb04de.fd9788","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[$i].resource-resolution-data.status`' value='FAILED' />","comments":"","x":2161.9524536132812,"y":2981.3329582214355,"z":"b22c2.15bfad3f","wires":[]},{"id":"6820e3be.5057ec","type":"switchNode","name":"switch resource-name","xml":"<switch test='`$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[$i].name == $jsonContextPrefix.elements[$n].resource-name`'>\n","comments":"","outputs":1,"x":1693.9523696899414,"y":3283.3331146240234,"z":"b22c2.15bfad3f","wires":[["27271b05.86aae4"]]},{"id":"27271b05.86aae4","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1893.9523696899414,"y":3283.3331146240234,"z":"b22c2.15bfad3f","wires":[["80fd2782.c3fce8"]]},{"id":"80fd2782.c3fce8","type":"set","name":"set set payload data","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[$i].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n","comments":"","x":2078.4523696899414,"y":3282.3331146240234,"z":"b22c2.15bfad3f","wires":[]},{"id":"cae5c10b.76f3b","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.response-payload\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":1462.9524536132812,"y":3188.3329582214355,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"7faa9a58.393004","type":"for","name":"for response elements","xml":"<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n","comments":"","outputs":1,"x":1455.9524536132812,"y":3284.3329582214355,"z":"b22c2.15bfad3f","wires":[["6820e3be.5057ec"]]},{"id":"651d0c9e.3f6c74","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1197.6190567016602,"y":2534.3330078125,"z":"b22c2.15bfad3f","wires":[["c800abc8.8cf708","f74e5c96.bb387","c007726a.119db","f3b25876.a9cec8","73046d7d.c3e4d4","2774ec69.79d6a4","a8204dd6.5c406","cae5c10b.76f3b","7faa9a58.393004","43c8e7ca.1e08f8","1ec7db32.2779a5","43c6ae1c.02963","83dcda26.f10518"]]},{"id":"43c8e7ca.1e08f8","type":"set","name":"set status as DELETED","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[$i].resource-resolution-data.status`' value='DELETED' />","comments":"","x":1460.9524536132812,"y":3238.3329582214355,"z":"b22c2.15bfad3f","wires":[]},{"id":"9023139f.bc3e1","type":"switchNode","name":"switch external-key","xml":"<switch test=\"`$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[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n","comments":"","outputs":1,"x":1693.6190567016602,"y":2609.3330078125,"z":"b22c2.15bfad3f","wires":[["7838892.d26f278"]]},{"id":"7838892.d26f278","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1877.6190567016602,"y":2609.3330078125,"z":"b22c2.15bfad3f","wires":[["f6f22c3.9d7f6d"]]},{"id":"8ae06020.3e6f5","type":"not-found","name":"vf-module","xml":"<outcome value='vf-module'>\n","comments":"","outputs":1,"x":559.6190567016602,"y":2358.0479736328125,"z":"b22c2.15bfad3f","wires":[["8e070240.cce94"]]},{"id":"b8f45568.78bec8","type":"not-found","name":"unassign","xml":"<outcome value='unassign'>\n","comments":"","outputs":1,"x":1031.2858657836914,"y":2359.5716552734375,"z":"b22c2.15bfad3f","wires":[["234dc037.18d2d"]]},{"id":"8e070240.cce94","type":"switchNode","name":"switch ss.capability-action","xml":"<switch test=\"`$ss.capability-action`\">\n","comments":"","outputs":1,"x":795.2856216430664,"y":2358.5716552734375,"z":"b22c2.15bfad3f","wires":[["b8f45568.78bec8","c3399c9e.783d"]]},{"id":"1ec7db32.2779a5","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE namegeneration.node.UnAssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1414.4759902954102,"y":2920,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"43c6ae1c.02963","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER namegeneration.node.UnAssignNameNode\"/>\n\n","comments":"","outputs":1,"x":1411.1427383422852,"y":3077,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"8b25e032.8d67","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n","comments":"","outputs":1,"x":324.39286041259766,"y":4374.75,"z":"b22c2.15bfad3f","wires":[[]]},{"id":"e0959eaf.ac5c9","type":"set","name":"set vnf pathname for context logging","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-gen-name-' + \n\t$ss.capability-type + '-' + $ss.capability-action + '-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`\" />\n","comments":"","x":1494.3095474243164,"y":1019.6666736602783,"z":"b22c2.15bfad3f","wires":[]},{"id":"83dcda26.f10518","type":"set","name":"set vf-module pathname for context logging","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-gen-name-' + \n\t$ss.capability-type + '-' + $ss.capability-action + '-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n","comments":"","x":1522.3928604125977,"y":3128.75,"z":"b22c2.15bfad3f","wires":[]},{"id":"119b4b23.3c64c5","type":"set","name":"set vf-module pathname for context logging","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-gen-name-' + \n\t$ss.capability-type + '-' + $ss.capability-action + '-' +\n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n","comments":"","x":1474.3928298950195,"y":4296.083665847778,"z":"b22c2.15bfad3f","wires":[]},{"id":"7215a9c2.ed4828","type":"set","name":"set vnf pathname for context logging","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-gen-name-' + \n\t$ss.capability-type + '-' + $ss.capability-action + '-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`\" />\n","comments":"","x":2075.0593643188477,"y":2058.75,"z":"b22c2.15bfad3f","wires":[]},{"id":"9ec0993b.7d83a8","type":"call","name":"call self-serve-capability-param-resolution","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n","comments":"","outputs":1,"x":411.42860412597656,"y":181.42858695983887,"z":"b22c2.15bfad3f","wires":[[]]}] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
index 45efe1a3..5dcd7e88 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
@@ -1,1268 +1 @@
-[
- {
- "id": "12bc7aeb.43dcad",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 122.5,
- "y": 76.25,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "1e5e184f.28bd88"
- ]
- ]
- },
- {
- "id": "42b706d6.4e564",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 145.69049072265625,
- "y": 191.09921646118164,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "3c32570b.4419e8",
- "e77c3de3.2b2008",
- "a2418fcd.7da918",
- "d51ac9f8.4a305",
- "9228bdc2.01422",
- "7163cb8f.b962f4",
- "462e6ed1.1f6e98",
- "ef66a16f.622d48"
- ]
- ]
- },
- {
- "id": "c48beb19.71a678",
- "type": "method",
- "name": "method self-serve-vf-module-assign",
- "xml": "<method rpc='self-serve-vf-module-assign' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 226.26190948486328,
- "y": 130.95635509490967,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "42b706d6.4e564"
- ]
- ]
- },
- {
- "id": "1e5e184f.28bd88",
- "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": 384.73819732666016,
- "y": 76.44049263000488,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "c48beb19.71a678"
- ]
- ]
- },
- {
- "id": "e77c3de3.2b2008",
- "type": "switchNode",
- "name": "switch vf-module-parameters.param_length",
- "xml": "<switch test='`$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_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 460.7500305175781,
- "y": 1393.6191635131836,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "ed16c85f.fc48c8"
- ]
- ]
- },
- {
- "id": "ed16c85f.fc48c8",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 720.7500610351562,
- "y": 1393.6191635131836,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "b82561ca.f02328"
- ]
- ]
- },
- {
- "id": "167f28dd.0f7caf",
- "type": "call",
- "name": "call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1262.4643096923828,
- "y": 1440.9049139022827,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "11acae54.f95aba"
- ]
- ]
- },
- {
- "id": "db17de85.c633b8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",
- "comments": "",
- "x": 1743.1785507202148,
- "y": 1440.4763174057007,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "550f157b.22aeb4",
- "type": "for",
- "name": "foreach vf-module-parameters.param[]",
- "xml": "<for index='pidx' start='0' end='`$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_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 746.0359954833984,
- "y": 1703.7977504730225,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "8bfdae81.64bc",
- "44193b49.81625c"
- ]
- ]
- },
- {
- "id": "3c32570b.4419e8",
- "type": "set",
- "name": "set ss.capability.execution-order[]",
- "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n",
- "comments": "",
- "x": 432.91666412353516,
- "y": 1255.6786432266235,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "a2418fcd.7da918",
- "type": "for",
- "name": "foreach capability-order[]",
- "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 401.6786193847656,
- "y": 1559.6190433502197,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "81a43bcc.00994",
- "5aa98964.70baf8",
- "550f157b.22aeb4",
- "b8e43d56.b9536"
- ]
- ]
- },
- {
- "id": "8bfdae81.64bc",
- "type": "switchNode",
- "name": "switch capability-name param vs. execution",
- "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1112.4288177490234,
- "y": 1749.4405431747437,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "e0d41e9c.3cc358"
- ]
- ]
- },
- {
- "id": "e0d41e9c.3cc358",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1375.9288177490234,
- "y": 1749.6905431747437,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "69b89942.138258"
- ]
- ]
- },
- {
- "id": "11acae54.f95aba",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1589.0356559753418,
- "y": 1440.3335075378418,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "db17de85.c633b8"
- ]
- ]
- },
- {
- "id": "81a43bcc.00994",
- "type": "set",
- "name": "set ss.capability-name",
- "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->",
- "comments": "",
- "x": 693.0356750488281,
- "y": 1559.5714950561523,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "44193b49.81625c",
- "type": "set",
- "name": "tmp.param.capability-name",
- "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$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[$pidx].resource-resolution-data.capability-name`' />\n",
- "comments": "",
- "x": 1061.7858428955078,
- "y": 1704.0477533340454,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "5aa98964.70baf8",
- "type": "set",
- "name": "set ss.capability-action = assign",
- "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",
- "comments": "",
- "x": 723.7498168945312,
- "y": 1606.488079071045,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "b8e43d56.b9536",
- "type": "set",
- "name": "set capability-dg with 'self-serve-' + capability-name",
- "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",
- "comments": "",
- "x": 786.0832824707031,
- "y": 1655.1429500579834,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "af4cde5d.9f669",
- "type": "set",
- "name": "set sdnc-generated-cloud-resources = true",
- "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.sdnc-generated-cloud-resources' \n\tvalue='true' />\n",
- "comments": "",
- "x": 1048.452392578125,
- "y": 1142.1073188781738,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "69b89942.138258",
- "type": "switchNode",
- "name": "switch resource-resolution-data.status",
- "xml": "<switch test='`$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[$pidx].resource-resolution-data.status`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 492.0121765136719,
- "y": 2278.2223148345947,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "c7c5dfa8.472188",
- "c0428c78.ef2de8"
- ]
- ]
- },
- {
- "id": "c7c5dfa8.472188",
- "type": "other",
- "name": "PENDING",
- "xml": "<outcome value='PENDING'>\n",
- "comments": "",
- "outputs": 1,
- "x": 761.3693923950195,
- "y": 2278.222270965576,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "a532ff1e.50cc18"
- ]
- ]
- },
- {
- "id": "c0428c78.ef2de8",
- "type": "other",
- "name": "FAILED",
- "xml": "<outcome value='FAILED'>\n",
- "comments": "",
- "outputs": 1,
- "x": 754.9052085876465,
- "y": 2329.186601638794,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "a532ff1e.50cc18"
- ]
- ]
- },
- {
- "id": "a532ff1e.50cc18",
- "type": "call",
- "name": "call ss.capability-dg",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 970.0239410400391,
- "y": 2329.948452949524,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "2b08bc93.66d5e4"
- ]
- ]
- },
- {
- "id": "2021ce71.5107f2",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",
- "comments": "",
- "x": 1544.7142753601074,
- "y": 2683.639304161072,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "2b08bc93.66d5e4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1163.0592918395996,
- "y": 2329.6627311706543,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "53e06cef.741024"
- ]
- ]
- },
- {
- "id": "53e06cef.741024",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1326.333408355713,
- "y": 2328.9722719192505,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "2021ce71.5107f2",
- "71459a99.6f533c",
- "66f8d8e5.abbdb",
- "778431fc.00f0d8",
- "c5d6ddf6.bd51a8",
- "50d59713.d539c"
- ]
- ]
- },
- {
- "id": "71459a99.6f533c",
- "type": "execute",
- "name": "execute RestApiCallNode - PUT vf-module",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ss-vfmodule\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1641.8808479309082,
- "y": 2585.3462314605713,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "a46ae298.db94c",
- "21f8b8f5.93aeb8"
- ]
- ]
- },
- {
- "id": "a46ae298.db94c",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1916.4745140075684,
- "y": 2639.3443851470947,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "e270de80.3b03b"
- ]
- ]
- },
- {
- "id": "21f8b8f5.93aeb8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1908.903148651123,
- "y": 2585.8444051742554,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "e270de80.3b03b"
- ]
- ]
- },
- {
- "id": "7163cb8f.b962f4",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\n",
- "comments": "",
- "outputs": 1,
- "x": 344.25794219970703,
- "y": 2830.373447418213,
- "z": "2ac4dd98.962cc2",
- "wires": [
- []
- ]
- },
- {
- "id": "d51ac9f8.4a305",
- "type": "switchNode",
- "name": "switch vf-module_length",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 398.7022895812988,
- "y": 310.5119981765747,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "1ccbbcde.8d428b",
- "dab73429.9634c8",
- "b8b7c396.4422e8"
- ]
- ]
- },
- {
- "id": "1ccbbcde.8d428b",
- "type": "other",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 611.3332595825195,
- "y": 239.90478897094727,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "47daeaf3.14676c"
- ]
- ]
- },
- {
- "id": "644c1a28.31d2ac",
- "type": "set",
- "name": "set vf-module-index=0",
- "xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",
- "comments": "",
- "x": 950.4522895812988,
- "y": 250.8215742111206,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "dab73429.9634c8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 610.5118522644043,
- "y": 378.6906490325928,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "1d0ff476.0237d4"
- ]
- ]
- },
- {
- "id": "537df250.c3aa4c",
- "type": "set",
- "name": "set vf-module-id",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",
- "comments": "",
- "x": 966.7379302978516,
- "y": 532.9316177368164,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "657f87b6.cbfdd8",
- "type": "set",
- "name": "set vf-module-parameters",
- "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.'\n value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n",
- "comments": "",
- "x": 1131.4285278320312,
- "y": 1392.7744059562683,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "ecfbe016.6cb8a8",
- "type": "set",
- "name": "set order-status to PendingCreate",
- "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-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.request-information.request-action`' />\n",
- "comments": "",
- "x": 1021.0121002197266,
- "y": 1094.7948169708252,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "66f8d8e5.abbdb",
- "type": "set",
- "name": "set vf data for restapi-call-node",
- "xml": "<set>\n<parameter name='vf.vf-module-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='vf.vf-module-data.sdnc-request-header.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\n<parameter name='vf.vf-module-data.request-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\n<parameter name='vf.vf-module-data.service-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\n<parameter name='vf.vf-module-data.vnf-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\n<parameter name='vf.vf-module-data.vf-module-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\n<parameter name='vf.vf-module-data.vf-module-topology.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\n<parameter name='vf.vf-module-data.vf-module-level-oper-status.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.request-version'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.tenant'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />",
- "comments": "",
- "x": 1603.3928718566895,
- "y": 2329.4642486572266,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "778431fc.00f0d8",
- "type": "execute",
- "name": "generate ss-vfmodule url replace service-instance-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.ss-vfmodule-assignments`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1669.6428184509277,
- "y": 2377.4642934799194,
- "z": "2ac4dd98.962cc2",
- "wires": [
- []
- ]
- },
- {
- "id": "c5d6ddf6.bd51a8",
- "type": "execute",
- "name": "generate ss-vfmodule url - replace vnf-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vnf-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1633.9285163879395,
- "y": 2425.5232105255127,
- "z": "2ac4dd98.962cc2",
- "wires": [
- []
- ]
- },
- {
- "id": "50d59713.d539c",
- "type": "execute",
- "name": "generate ss-vfmodule url - replace vf-module-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vf-module-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1655.8691902160645,
- "y": 2475.4397106170654,
- "z": "2ac4dd98.962cc2",
- "wires": [
- []
- ]
- },
- {
- "id": "9228bdc2.01422",
- "type": "set",
- "name": "set ss.capability-type = vf-module",
- "xml": "<set>\n<parameter name='ss.capability-type' value='vf-module' />\n",
- "comments": "",
- "x": 433.8214569091797,
- "y": 1212.6786012649536,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "b82561ca.f02328",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 896.107153756278,
- "y": 1393.499975476946,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "657f87b6.cbfdd8",
- "167f28dd.0f7caf"
- ]
- ]
- },
- {
- "id": "462e6ed1.1f6e98",
- "type": "set",
- "name": "set is-new-vfmodule = true",
- "xml": "<set>\n<parameter name='is-new-vfmodule' value='true' />\n",
- "comments": "",
- "x": 405.5239715576172,
- "y": 190.92872047424316,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "7b834bf8.2ecde4",
- "type": "for",
- "name": "for each existing VF module",
- "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 969.3452301025391,
- "y": 378.3809871673584,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "bddb9f56.b540e"
- ]
- ]
- },
- {
- "id": "bddb9f56.b540e",
- "type": "switchNode",
- "name": "switch vf-module-id: input vs service-data",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1280.4643630981445,
- "y": 378.95240211486816,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "3c84c1f4.0d55ee"
- ]
- ]
- },
- {
- "id": "3c84c1f4.0d55ee",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1534.3333930969238,
- "y": 378.77385902404785,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "b961c23.6df454"
- ]
- ]
- },
- {
- "id": "4a7f42d7.016684",
- "type": "set",
- "name": "set is-new-vfmodule = false",
- "xml": "<set>\n<parameter name='is-new-vfmodule' value='false' />\n",
- "comments": "",
- "x": 1906.5001335144043,
- "y": 378.0357475280762,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "b961c23.6df454",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1675.7501373291016,
- "y": 378.2857437133789,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "4a7f42d7.016684",
- "6b00168d.69aa58",
- "6d8b036e.192174"
- ]
- ]
- },
- {
- "id": "6b00168d.69aa58",
- "type": "break",
- "name": "break",
- "xml": "<break>\n",
- "comments": "",
- "x": 1843.6429252624512,
- "y": 464.28572177886963,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "6d8b036e.192174",
- "type": "set",
- "name": "set vf-module-index = idx",
- "xml": "<set>\n<parameter name='vf-module-index' value='`$idx`' />\n",
- "comments": "",
- "x": 1899.4644470214844,
- "y": 421.32140254974365,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "c04fc421.1fa08",
- "type": "set",
- "name": "set new vf-module_length = vf-module-index + 1",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",
- "comments": "",
- "x": 1031.8097114562988,
- "y": 292.1430025100708,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "1d0ff476.0237d4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 747.6667671203613,
- "y": 379.0715112686157,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "aba5ad0b.d08a6",
- "7b834bf8.2ecde4"
- ]
- ]
- },
- {
- "id": "9970993.9b5e368",
- "type": "set",
- "name": "set new vf-module_length++",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n",
- "comments": "",
- "x": 1516.916790008545,
- "y": 490.8215160369873,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "aba5ad0b.d08a6",
- "type": "switchNode",
- "name": "switch is-new-vfmodule",
- "xml": "<switch test='`$is-new-vfmodule`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 955.1667633056641,
- "y": 448.6428909301758,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "6a98da26.1c8fec"
- ]
- ]
- },
- {
- "id": "6a98da26.1c8fec",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1153.0239181518555,
- "y": 448.2143383026123,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "569ebbe2.83090c"
- ]
- ]
- },
- {
- "id": "47daeaf3.14676c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 754.1667633056641,
- "y": 271.5715055465698,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "c04fc421.1fa08",
- "644c1a28.31d2ac"
- ]
- ]
- },
- {
- "id": "b8b7c396.4422e8",
- "type": "other",
- "name": "0",
- "xml": "<outcome value='0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 612.5,
- "y": 310,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "47daeaf3.14676c"
- ]
- ]
- },
- {
- "id": "ef66a16f.622d48",
- "type": "switchNode",
- "name": "switch is-new-vfmodule",
- "xml": "<switch test='`$is-new-vfmodule`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 398.25,
- "y": 533.75,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "8797ff7f.0ab87"
- ]
- ]
- },
- {
- "id": "8797ff7f.0ab87",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 596.1071548461914,
- "y": 533.3214473724365,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "43f1864.5d3a0f8"
- ]
- ]
- },
- {
- "id": "cdadece8.6ad91",
- "type": "set",
- "name": "Copy vf-module-topology data",
- "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-topology-identifier.vf-module-id' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\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-topology-identifier.vf-module-name' \n value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\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-topology-identifier.vf-module-type' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />",
- "comments": "",
- "x": 1012.0000152587891,
- "y": 578.7500696182251,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "8d9a316.a485fd",
- "type": "set",
- "name": "set from DB",
- "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.onap-model-information.model-invariant-uuid'\n value='`$db.vf-module-model.invariant-uuid`' />\n",
- "comments": "",
- "x": 1377.011775970459,
- "y": 631.193510055542,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "f413ec38.7eb0d8",
- "type": "switchNode",
- "name": "switch input model-invariant-uuid",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1020.8688507080078,
- "y": 654.0179538726807,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "75cbae54.704e8",
- "25839834.a62618"
- ]
- ]
- },
- {
- "id": "75cbae54.704e8",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1226.5355224609375,
- "y": 631.1609172821045,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "8d9a316.a485fd"
- ]
- ]
- },
- {
- "id": "25839834.a62618",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1227.9641189575195,
- "y": 675.4465084075928,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "d5553901.d524c"
- ]
- ]
- },
- {
- "id": "d5553901.d524c",
- "type": "set",
- "name": "set from input",
- "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.onap-model-information.model-invariant-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",
- "comments": "",
- "x": 1382.249855041504,
- "y": 674.8750805854797,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "c794a142.21cde",
- "type": "set",
- "name": "set from DB",
- "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.onap-model-information.model-uuid'\n value='`$db.vf-module-model.uuid`' />\n",
- "comments": "",
- "x": 1377.9640464782715,
- "y": 719.7321863174438,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "6edcc0fe.2ad32",
- "type": "switchNode",
- "name": "switch input model-uuid",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 993.4878692626953,
- "y": 742.5566911697388,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "48396253.c942dc",
- "5fadd2d0.095abc"
- ]
- ]
- },
- {
- "id": "48396253.c942dc",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1227.4878425598145,
- "y": 719.6996231079102,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "c794a142.21cde"
- ]
- ]
- },
- {
- "id": "5fadd2d0.095abc",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1228.9164390563965,
- "y": 763.9852142333984,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "dfd24e14.2a853"
- ]
- ]
- },
- {
- "id": "dfd24e14.2a853",
- "type": "set",
- "name": "set from input",
- "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.onap-model-information.model-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",
- "comments": "",
- "x": 1383.2021751403809,
- "y": 763.4137864112854,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "9a10da1.265cb28",
- "type": "set",
- "name": "set from DB",
- "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.onap-model-information.model-version'\n value='`$db.vf-module-model.version`' />\n",
- "comments": "",
- "x": 1369.1069793701172,
- "y": 808.5893936157227,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "16ab5c0.0baaca4",
- "type": "switchNode",
- "name": "switch input model-version",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 995.6307411193848,
- "y": 831.4138383865356,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "2b66c81d.1e7bc",
- "a5f530d.fa7e45"
- ]
- ]
- },
- {
- "id": "2b66c81d.1e7bc",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1218.6307258605957,
- "y": 808.5568008422852,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "9a10da1.265cb28"
- ]
- ]
- },
- {
- "id": "a5f530d.fa7e45",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1220.0593223571777,
- "y": 852.8423919677734,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "cf885c5a.c0588"
- ]
- ]
- },
- {
- "id": "cf885c5a.c0588",
- "type": "set",
- "name": "set from input",
- "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.onap-model-information.model-version'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",
- "comments": "",
- "x": 1374.345058441162,
- "y": 852.2709641456604,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "6078d5ec.339204",
- "type": "set",
- "name": "set from DB",
- "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.onap-model-information.model-name'\n value='`$db.vf-module-model.name`' />\n",
- "comments": "",
- "x": 1369.1069793701172,
- "y": 895.7322158813477,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "a2e575a9.65814",
- "type": "switchNode",
- "name": "switch input model-name",
- "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 992.6307411193848,
- "y": 918.5566606521606,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "89386a5a.8b7548",
- "4234f708.5c303"
- ]
- ]
- },
- {
- "id": "89386a5a.8b7548",
- "type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1218.6307258605957,
- "y": 895.6996231079102,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "6078d5ec.339204"
- ]
- ]
- },
- {
- "id": "4234f708.5c303",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1220.0593223571777,
- "y": 939.9852142333984,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "4ae2b1d.2090e5"
- ]
- ]
- },
- {
- "id": "4ae2b1d.2090e5",
- "type": "set",
- "name": "set from input",
- "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.onap-model-information.model-name'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",
- "comments": "",
- "x": 1374.345058441162,
- "y": 939.4137864112854,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "2db84f30.cebb7",
- "type": "set",
- "name": "set model-customization-uuid",
- "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.onap-model-information.model-customization-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",
- "comments": "",
- "x": 1006.0830993652344,
- "y": 992.4941453933716,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "bc2d0f7c.869738",
- "type": "set",
- "name": "copy input data",
- "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n value='$vf-module-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.'\n value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n value='$vf-module-topology-operation-input.vf-module-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.' \n value='$vf-module-topology-operation-input.vf-module-request-input.' />",
- "comments": "",
- "x": 962.7381744384766,
- "y": 1047.1788482666016,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "43f1864.5d3a0f8",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 752.2024154663086,
- "y": 533.0991916656494,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "f413ec38.7eb0d8",
- "6edcc0fe.2ad32",
- "16ab5c0.0baaca4",
- "a2e575a9.65814",
- "2db84f30.cebb7",
- "bc2d0f7c.869738",
- "cdadece8.6ad91",
- "537df250.c3aa4c",
- "ecfbe016.6cb8a8",
- "af4cde5d.9f669"
- ]
- ]
- },
- {
- "id": "896850ac.e5c6d8",
- "type": "set",
- "name": "set vf-module-index = vf-module_length",
- "xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",
- "comments": "",
- "x": 1549.5000190734863,
- "y": 447.00000762939453,
- "z": "2ac4dd98.962cc2",
- "wires": []
- },
- {
- "id": "569ebbe2.83090c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1296.0000190734863,
- "y": 447.75000762939453,
- "z": "2ac4dd98.962cc2",
- "wires": [
- [
- "896850ac.e5c6d8",
- "9970993.9b5e368"
- ]
- ]
- },
- {
- "id": "e270de80.3b03b",
- "type": "set",
- "name": "set error-message",
- "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve vf-module assignments during assign in MD-SAL\" />",
- "comments": "",
- "x": 2128.214286804199,
- "y": 2585.6784229278564,
- "z": "2ac4dd98.962cc2",
- "wires": []
- }
-] \ No newline at end of file
+[{"id":"6868b8a8.dbf5a8","type":"dgstart","name":"DGSTART","outputs":1,"x":112.85714721679688,"y":47.14285659790039,"z":"91b54cc.abe6fb","wires":[["7a4d3ba3.61bc54"]]},{"id":"926ca261.62938","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":136.04763793945312,"y":161.99207305908203,"z":"91b54cc.abe6fb","wires":[["7653f459.a9c4ac","64f19720.d90278","7cbb6ca3.ac8b74","a1d640d8.5970b","50070dff.5a6824","2c716907.879226","99b30318.a25b8","f6ea2e74.036bf","334378e9.992958"]]},{"id":"a0448fa2.008b4","type":"method","name":"method self-serve-vf-module-assign","xml":"<method rpc='self-serve-vf-module-assign' mode='sync'>\n","comments":"","outputs":1,"x":216.61905670166016,"y":101.84921169281006,"z":"91b54cc.abe6fb","wires":[["926ca261.62938"]]},{"id":"7a4d3ba3.61bc54","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":375.09534454345703,"y":47.33334922790527,"z":"91b54cc.abe6fb","wires":[["a0448fa2.008b4"]]},{"id":"64f19720.d90278","type":"switchNode","name":"switch vf-module-parameters.param_length","xml":"<switch test='`$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_length`'>\n","comments":"","outputs":1,"x":451.107177734375,"y":1364.512020111084,"z":"91b54cc.abe6fb","wires":[["85b4cef0.b1825"]]},{"id":"85b4cef0.b1825","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":711.1072082519531,"y":1364.512020111084,"z":"91b54cc.abe6fb","wires":[["748e831a.d0c23c"]]},{"id":"1d58f607.87766a","type":"call","name":"call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n","comments":"","outputs":1,"x":1252.8214569091797,"y":1411.797770500183,"z":"91b54cc.abe6fb","wires":[["26ee1e68.97de82"]]},{"id":"56f2b98b.164b28","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n","comments":"","x":1733.5356979370117,"y":1411.369174003601,"z":"91b54cc.abe6fb","wires":[]},{"id":"aba85aab.9a0a08","type":"for","name":"foreach vf-module-parameters.param[]","xml":"<for index='pidx' start='0' end='`$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_length`' >\n","comments":"","outputs":1,"x":736.3931427001953,"y":1674.6906070709229,"z":"91b54cc.abe6fb","wires":[["c9efa47e.335348","8aa3fdb3.22f8c"]]},{"id":"7653f459.a9c4ac","type":"set","name":"set ss.capability.execution-order[]","xml":"<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[7]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[8]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[11]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />\n<parameter name='ss.capability.execution-order_length' value='13' />\n","comments":"","x":423.27381134033203,"y":1226.571499824524,"z":"91b54cc.abe6fb","wires":[]},{"id":"7cbb6ca3.ac8b74","type":"for","name":"foreach capability-order[]","xml":"<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n","comments":"","outputs":1,"x":392.0357666015625,"y":1530.5118999481201,"z":"91b54cc.abe6fb","wires":[["92dcc6b8.e62178","f9d0cff9.6c71b","aba85aab.9a0a08","e3f5351e.f5ae18"]]},{"id":"c9efa47e.335348","type":"switchNode","name":"switch capability-name param vs. execution","xml":"<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n","comments":"","outputs":1,"x":1102.7859649658203,"y":1720.333399772644,"z":"91b54cc.abe6fb","wires":[["f81a6799.d54bc8"]]},{"id":"f81a6799.d54bc8","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1366.2859649658203,"y":1720.583399772644,"z":"91b54cc.abe6fb","wires":[["ea51742f.770a78"]]},{"id":"26ee1e68.97de82","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1579.3928031921387,"y":1411.2263641357422,"z":"91b54cc.abe6fb","wires":[["56f2b98b.164b28"]]},{"id":"92dcc6b8.e62178","type":"set","name":"set ss.capability-name","xml":"<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->","comments":"","x":683.392822265625,"y":1530.4643516540527,"z":"91b54cc.abe6fb","wires":[]},{"id":"8aa3fdb3.22f8c","type":"set","name":"tmp.param.capability-name","xml":"<set>\n<parameter name='tmp.param.capability-name' value='`$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[$pidx].resource-resolution-data.capability-name`' />\n","comments":"","x":1052.1429901123047,"y":1674.9406099319458,"z":"91b54cc.abe6fb","wires":[]},{"id":"f9d0cff9.6c71b","type":"set","name":"set ss.capability-action = assign","xml":"<set>\n<parameter name='ss.capability-action' value='assign' />\n","comments":"","x":714.1069641113281,"y":1577.3809356689453,"z":"91b54cc.abe6fb","wires":[]},{"id":"e3f5351e.f5ae18","type":"set","name":"set capability-dg with 'self-serve-' + capability-name","xml":"<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n","comments":"","x":776.4404296875,"y":1626.0358066558838,"z":"91b54cc.abe6fb","wires":[]},{"id":"fd294fda.d3f2","type":"set","name":"set sdnc-generated-cloud-resources = true","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.sdnc-generated-cloud-resources' \n\tvalue='true' />\n","comments":"","x":1038.8095397949219,"y":1113.0001754760742,"z":"91b54cc.abe6fb","wires":[]},{"id":"5c76fc7c.9945a4","type":"switchNode","name":"switch resource-resolution-data.status","xml":"<switch test='`$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[$pidx].resource-resolution-data.status`'>\n","comments":"","outputs":1,"x":817.3693226405553,"y":2205.7819516318186,"z":"91b54cc.abe6fb","wires":[["962297ef.1b4ae8","50d68e38.aaa05"]]},{"id":"962297ef.1b4ae8","type":"other","name":"PENDING","xml":"<outcome value='PENDING'>\n","comments":"","outputs":1,"x":1086.726538521903,"y":2205.7819077628,"z":"91b54cc.abe6fb","wires":[["de4d28cd.f1c0b8"]]},{"id":"50d68e38.aaa05","type":"other","name":"FAILED","xml":"<outcome value='FAILED'>\n","comments":"","outputs":1,"x":1080.26235471453,"y":2256.746238436018,"z":"91b54cc.abe6fb","wires":[["de4d28cd.f1c0b8"]]},{"id":"de4d28cd.f1c0b8","type":"call","name":"call ss.capability-dg","xml":"<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n","comments":"","outputs":1,"x":1295.3810871669225,"y":2257.508089746748,"z":"91b54cc.abe6fb","wires":[["aa328105.5a90d","b94864ab.41a158"]]},{"id":"99d1906.3546f7","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n","comments":"","x":1870.0714214869913,"y":2611.1989409582957,"z":"91b54cc.abe6fb","wires":[]},{"id":"aa328105.5a90d","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1488.416437966483,"y":2257.222367967878,"z":"91b54cc.abe6fb","wires":[["5785c779.43b468"]]},{"id":"5785c779.43b468","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1651.6905544825963,"y":2256.5319087164744,"z":"91b54cc.abe6fb","wires":[["99d1906.3546f7","7c7199e0.e4fc38","33e435e5.b94ada","148b6290.868b6d","2648587b.758f38","7217dcc6.1f9534"]]},{"id":"7c7199e0.e4fc38","type":"execute","name":"execute RestApiCallNode - PUT vf-module","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ss-vfmodule\" />\n\n","comments":"","outputs":1,"x":1967.237994057792,"y":2512.905868257795,"z":"91b54cc.abe6fb","wires":[["58f9a59e.4560fc","7332862.47c3578"]]},{"id":"58f9a59e.4560fc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2241.8316601344522,"y":2566.9040219443186,"z":"91b54cc.abe6fb","wires":[["85773de1.18cd6"]]},{"id":"7332862.47c3578","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2234.260294778007,"y":2513.4040419714793,"z":"91b54cc.abe6fb","wires":[["85773de1.18cd6"]]},{"id":"2c716907.879226","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\n","comments":"","outputs":1,"x":334.6150894165039,"y":2801.2663040161133,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"a1d640d8.5970b","type":"switchNode","name":"switch vf-module_length","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n","comments":"","outputs":1,"x":389.0594367980957,"y":281.4048547744751,"z":"91b54cc.abe6fb","wires":[["a95fd413.5e0e28","5795ddc4.7c3484","43cfb62f.bd11e8"]]},{"id":"a95fd413.5e0e28","type":"other","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":601.6904067993164,"y":210.79764556884766,"z":"91b54cc.abe6fb","wires":[["9216bdc4.04dbd"]]},{"id":"d2eaae5b.c69a6","type":"set","name":"set vf-module-index=0","xml":"<set>\n<parameter name='vf-module-index' value='0' />\n","comments":"","x":940.8094367980957,"y":221.714430809021,"z":"91b54cc.abe6fb","wires":[]},{"id":"5795ddc4.7c3484","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":600.8689994812012,"y":349.58350563049316,"z":"91b54cc.abe6fb","wires":[["3a293e2a.3382a2"]]},{"id":"ff927cfe.36078","type":"set","name":"set vf-module-id","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n","comments":"","x":957.0950775146484,"y":503.8244743347168,"z":"91b54cc.abe6fb","wires":[]},{"id":"f3a77d62.1d1e9","type":"set","name":"set vf-module-parameters","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.'\n value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n","comments":"","x":1121.7856750488281,"y":1363.6672625541687,"z":"91b54cc.abe6fb","wires":[]},{"id":"595cc53d.0afe7c","type":"set","name":"set order-status to PendingCreate","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-level-oper-status.order-status'\n value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n value='`$vf-module-topology-operation-input.request-information.request-action`' />","comments":"","x":1011.3692474365234,"y":1065.6876735687256,"z":"91b54cc.abe6fb","wires":[]},{"id":"33e435e5.b94ada","type":"set","name":"set vf data for restapi-call-node","xml":"<set>\n<parameter name='vf.vf-module-id'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='vf.vf-module-data.sdnc-request-header.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\n<parameter name='vf.vf-module-data.request-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\n<parameter name='vf.vf-module-data.service-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\n<parameter name='vf.vf-module-data.vnf-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\n<parameter name='vf.vf-module-data.vf-module-information.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\n<parameter name='vf.vf-module-data.vf-module-topology.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\n<parameter name='vf.vf-module-data.vf-module-level-oper-status.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.request-version'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.tenant'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\n value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />","comments":"","x":1928.7500179835733,"y":2257.0238854544505,"z":"91b54cc.abe6fb","wires":[]},{"id":"148b6290.868b6d","type":"execute","name":"generate ss-vfmodule url replace service-instance-id","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.ss-vfmodule-assignments`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`\"/>\n","comments":"","outputs":1,"x":1994.9999645778116,"y":2305.0239302771433,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"2648587b.758f38","type":"execute","name":"generate ss-vfmodule url - replace vnf-id","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vnf-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`\"/>\n","comments":"","outputs":1,"x":1959.2856625148233,"y":2353.0828473227366,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"7217dcc6.1f9534","type":"execute","name":"generate ss-vfmodule url - replace vf-module-id","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n <parameter name=\"target\" value=\"{vf-module-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\"/>\n","comments":"","outputs":1,"x":1981.2263363429483,"y":2402.9993474142893,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"50070dff.5a6824","type":"set","name":"set ss.capability-type = vf-module","xml":"<set>\n<parameter name='ss.capability-type' value='vf-module' />\n","comments":"","x":424.17860412597656,"y":1183.571457862854,"z":"91b54cc.abe6fb","wires":[]},{"id":"748e831a.d0c23c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":886.4643009730748,"y":1364.3928320748464,"z":"91b54cc.abe6fb","wires":[["f3a77d62.1d1e9","1d58f607.87766a","43c3be4e.88c54"]]},{"id":"99b30318.a25b8","type":"set","name":"set is-new-vfmodule = true","xml":"<set>\n<parameter name='is-new-vfmodule' value='true' />\n","comments":"","x":395.88111877441406,"y":161.82157707214355,"z":"91b54cc.abe6fb","wires":[]},{"id":"9b4dabbd.473368","type":"for","name":"for each existing VF module","xml":"<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n","comments":"","outputs":1,"x":959.7023773193359,"y":349.2738437652588,"z":"91b54cc.abe6fb","wires":[["49c1e178.08199"]]},{"id":"49c1e178.08199","type":"switchNode","name":"switch vf-module-id: input vs service-data","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n","comments":"","outputs":1,"x":1270.8215103149414,"y":349.84525871276855,"z":"91b54cc.abe6fb","wires":[["757c4d39.7a2634"]]},{"id":"757c4d39.7a2634","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1524.6905403137207,"y":349.66671562194824,"z":"91b54cc.abe6fb","wires":[["46d944ca.051e3c"]]},{"id":"621bd7bb.066da8","type":"set","name":"set is-new-vfmodule = false","xml":"<set>\n<parameter name='is-new-vfmodule' value='false' />\n","comments":"","x":1896.8572807312012,"y":348.92860412597656,"z":"91b54cc.abe6fb","wires":[]},{"id":"46d944ca.051e3c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1666.1072845458984,"y":349.1786003112793,"z":"91b54cc.abe6fb","wires":[["621bd7bb.066da8","462be844.06c458","174805e6.ef092a"]]},{"id":"462be844.06c458","type":"break","name":"break","xml":"<break>\n","comments":"","x":1834.000072479248,"y":435.17857837677,"z":"91b54cc.abe6fb","wires":[]},{"id":"174805e6.ef092a","type":"set","name":"set vf-module-index = idx","xml":"<set>\n<parameter name='vf-module-index' value='`$idx`' />\n","comments":"","x":1889.8215942382812,"y":392.21425914764404,"z":"91b54cc.abe6fb","wires":[]},{"id":"2aa88539.254a4a","type":"set","name":"set new vf-module_length = vf-module-index + 1","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n","comments":"","x":1022.1668586730957,"y":263.0358591079712,"z":"91b54cc.abe6fb","wires":[]},{"id":"3a293e2a.3382a2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":738.0239143371582,"y":349.9643678665161,"z":"91b54cc.abe6fb","wires":[["8b651c5a.b4a3b","9b4dabbd.473368"]]},{"id":"15f363e3.8b92ac","type":"set","name":"set new vf-module_length++","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n","comments":"","x":1507.2739372253418,"y":461.7143726348877,"z":"91b54cc.abe6fb","wires":[]},{"id":"8b651c5a.b4a3b","type":"switchNode","name":"switch is-new-vfmodule","xml":"<switch test='`$is-new-vfmodule`'>\n","comments":"","outputs":1,"x":945.5239105224609,"y":419.5357475280762,"z":"91b54cc.abe6fb","wires":[["3b3a4098.fabb6"]]},{"id":"3b3a4098.fabb6","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1143.3810653686523,"y":419.1071949005127,"z":"91b54cc.abe6fb","wires":[["77ebcf17.0833d"]]},{"id":"9216bdc4.04dbd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":744.5239105224609,"y":242.46436214447021,"z":"91b54cc.abe6fb","wires":[["2aa88539.254a4a","d2eaae5b.c69a6"]]},{"id":"43cfb62f.bd11e8","type":"other","name":"0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":602.8571472167969,"y":280.8928565979004,"z":"91b54cc.abe6fb","wires":[["9216bdc4.04dbd"]]},{"id":"f6ea2e74.036bf","type":"switchNode","name":"switch is-new-vfmodule","xml":"<switch test='`$is-new-vfmodule`'>\n","comments":"","outputs":1,"x":388.6071472167969,"y":504.6428565979004,"z":"91b54cc.abe6fb","wires":[["e56bd1dd.cbad"]]},{"id":"e56bd1dd.cbad","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":586.4643020629883,"y":504.2143039703369,"z":"91b54cc.abe6fb","wires":[["f7fa19a6.6ffac8"]]},{"id":"ee53e5f9.e02c38","type":"set","name":"Copy vf-module-topology data","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-topology-identifier.vf-module-id' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\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-topology-identifier.vf-module-name' \n value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\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-topology-identifier.vf-module-type' \n value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />","comments":"","x":1002.3571624755859,"y":549.6429262161255,"z":"91b54cc.abe6fb","wires":[]},{"id":"c9ce7d81.f6fa5","type":"set","name":"set from DB","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.onap-model-information.model-invariant-uuid'\n value='`$db.vf-module-model.invariant-uuid`' />\n","comments":"","x":1367.3689231872559,"y":602.0863666534424,"z":"91b54cc.abe6fb","wires":[]},{"id":"51df8658.dfdaf8","type":"switchNode","name":"switch input model-invariant-uuid","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n","comments":"","outputs":1,"x":1011.2259979248047,"y":624.910810470581,"z":"91b54cc.abe6fb","wires":[["57ab166b.c9a278","8e1b452f.1d2198"]]},{"id":"57ab166b.c9a278","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1216.8926696777344,"y":602.0537738800049,"z":"91b54cc.abe6fb","wires":[["c9ce7d81.f6fa5"]]},{"id":"8e1b452f.1d2198","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1218.3212661743164,"y":646.3393650054932,"z":"91b54cc.abe6fb","wires":[["6717b968.3358a8"]]},{"id":"6717b968.3358a8","type":"set","name":"set from input","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.onap-model-information.model-invariant-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n","comments":"","x":1372.6070022583008,"y":645.7679371833801,"z":"91b54cc.abe6fb","wires":[]},{"id":"dc34ea00.b18978","type":"set","name":"set from DB","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.onap-model-information.model-uuid'\n value='`$db.vf-module-model.uuid`' />\n","comments":"","x":1368.3211936950684,"y":690.6250429153442,"z":"91b54cc.abe6fb","wires":[]},{"id":"37c6647e.c307dc","type":"switchNode","name":"switch input model-uuid","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n","comments":"","outputs":1,"x":983.8450164794922,"y":713.4495477676392,"z":"91b54cc.abe6fb","wires":[["79b3c03d.b218a","6c9c814f.6dcac"]]},{"id":"79b3c03d.b218a","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1217.8449897766113,"y":690.5924797058105,"z":"91b54cc.abe6fb","wires":[["dc34ea00.b18978"]]},{"id":"6c9c814f.6dcac","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1219.2735862731934,"y":734.8780708312988,"z":"91b54cc.abe6fb","wires":[["d315fdcb.a27e"]]},{"id":"d315fdcb.a27e","type":"set","name":"set from input","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.onap-model-information.model-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n","comments":"","x":1373.5593223571777,"y":734.3066430091858,"z":"91b54cc.abe6fb","wires":[]},{"id":"25dde480.8f7ebc","type":"set","name":"set from DB","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.onap-model-information.model-version'\n value='`$db.vf-module-model.version`' />\n","comments":"","x":1359.464126586914,"y":779.482250213623,"z":"91b54cc.abe6fb","wires":[]},{"id":"aefced2b.6dfb8","type":"switchNode","name":"switch input model-version","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n","comments":"","outputs":1,"x":985.9878883361816,"y":802.306694984436,"z":"91b54cc.abe6fb","wires":[["731561f3.cfc46","37e6f82.b6ecf08"]]},{"id":"731561f3.cfc46","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1208.9878730773926,"y":779.4496574401855,"z":"91b54cc.abe6fb","wires":[["25dde480.8f7ebc"]]},{"id":"37e6f82.b6ecf08","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1210.4164695739746,"y":823.7352485656738,"z":"91b54cc.abe6fb","wires":[["fdaec125.0d1ba"]]},{"id":"fdaec125.0d1ba","type":"set","name":"set from input","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.onap-model-information.model-version'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n","comments":"","x":1364.702205657959,"y":823.1638207435608,"z":"91b54cc.abe6fb","wires":[]},{"id":"d0a8a05b.bad64","type":"set","name":"set from DB","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.onap-model-information.model-name'\n value='`$db.vf-module-model.name`' />\n","comments":"","x":1359.464126586914,"y":866.625072479248,"z":"91b54cc.abe6fb","wires":[]},{"id":"c5a251a0.353b9","type":"switchNode","name":"switch input model-name","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n","comments":"","outputs":1,"x":982.9878883361816,"y":889.449517250061,"z":"91b54cc.abe6fb","wires":[["6bdb46ec.cf2b98","77c53d8.21703c4"]]},{"id":"6bdb46ec.cf2b98","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1208.9878730773926,"y":866.5924797058105,"z":"91b54cc.abe6fb","wires":[["d0a8a05b.bad64"]]},{"id":"77c53d8.21703c4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1210.4164695739746,"y":910.8780708312988,"z":"91b54cc.abe6fb","wires":[["f9310941.3b7978"]]},{"id":"f9310941.3b7978","type":"set","name":"set from input","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.onap-model-information.model-name'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n","comments":"","x":1364.702205657959,"y":910.3066430091858,"z":"91b54cc.abe6fb","wires":[]},{"id":"fd5d17f0.6f26a8","type":"set","name":"set model-customization-uuid","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.onap-model-information.model-customization-uuid'\n value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n","comments":"","x":996.4402465820312,"y":963.387001991272,"z":"91b54cc.abe6fb","wires":[]},{"id":"4d64c961.455a88","type":"set","name":"copy input data","xml":"<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n value='$vf-module-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.'\n value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n value='$vf-module-topology-operation-input.vf-module-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.' \n value='$vf-module-topology-operation-input.vf-module-request-input.' />","comments":"","x":953.0953216552734,"y":1018.071704864502,"z":"91b54cc.abe6fb","wires":[]},{"id":"f7fa19a6.6ffac8","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":742.5595626831055,"y":503.9920482635498,"z":"91b54cc.abe6fb","wires":[["51df8658.dfdaf8","37c6647e.c307dc","aefced2b.6dfb8","c5a251a0.353b9","fd5d17f0.6f26a8","4d64c961.455a88","ee53e5f9.e02c38","ff927cfe.36078","595cc53d.0afe7c","fd294fda.d3f2"]]},{"id":"5ec7ba5.53a6544","type":"set","name":"set vf-module-index = vf-module_length","xml":"<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n","comments":"","x":1539.8571662902832,"y":417.8928642272949,"z":"91b54cc.abe6fb","wires":[]},{"id":"77ebcf17.0833d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1286.3571662902832,"y":418.6428642272949,"z":"91b54cc.abe6fb","wires":[["5ec7ba5.53a6544","15f363e3.8b92ac"]]},{"id":"85773de1.18cd6","type":"set","name":"set error-message","xml":"<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve vf-module assignments during assign in MD-SAL\" />","comments":"","x":2453.571432931083,"y":2513.2380597250803,"z":"91b54cc.abe6fb","wires":[]},{"id":"ea51742f.770a78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":542.2857131958008,"y":2205.8096351623535,"z":"91b54cc.abe6fb","wires":[["5c76fc7c.9945a4","c3a314d.6ed30e8"]]},{"id":"c3a314d.6ed30e8","type":"break","name":"break","xml":"<break>\n","comments":"","x":719.2857197352819,"y":2648.0954072134837,"z":"91b54cc.abe6fb","wires":[]},{"id":"b94864ab.41a158","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1514.1071701049805,"y":2574.642890930176,"z":"91b54cc.abe6fb","wires":[["e31d5d91.e1082"]]},{"id":"e31d5d91.e1082","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'DONE: ' + $ss.capability-dg`\"/>\n\n","comments":"","outputs":1,"x":1657.8571701049805,"y":2573.392890930176,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"43c3be4e.88c54","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE with vfmodule-ra-assignment\"/>\n\n","comments":"","outputs":1,"x":1066.6071472167969,"y":1459.6428565979004,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"6ee21bc.7790ce4","type":"execute","name":"execute PropertiesNode","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","comments":"","outputs":1,"x":814.8571602957591,"y":1272.857115336827,"z":"91b54cc.abe6fb","wires":[[]]},{"id":"334378e9.992958","type":"switchNode","name":"switch prop.controller.user","xml":"<switch test='`$prop.controller.user`'>\n","comments":"","outputs":1,"x":403.57139587402344,"y":1273.2857360839844,"z":"91b54cc.abe6fb","wires":[["5f059ca4.ecd6d4"]]},{"id":"5f059ca4.ecd6d4","type":"failure","name":"NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":603.428491319929,"y":1272.8571506227768,"z":"91b54cc.abe6fb","wires":[["6ee21bc.7790ce4"]]}] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
index 49ec5742..313448af 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
@@ -1 +1 @@
-[{"id":"787b7eb6.eccdc","type":"dgstart","name":"DGSTART","outputs":1,"x":136.25,"y":51.25,"z":"f6cdfffd.3c02b","wires":[["1a8cfe.b37c9302"]]},{"id":"1a8cfe.b37c9302","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":412.25,"y":52.25,"z":"f6cdfffd.3c02b","wires":[["fdaa1f04.85343"]]},{"id":"fdaa1f04.85343","type":"method","name":"self-serve-vfmodule-ra-assignment","xml":"<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":763.25,"y":52.25,"z":"f6cdfffd.3c02b","wires":[["e4454830.acc5d8"]]},{"id":"e4454830.acc5d8","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":148.75,"y":134.25,"z":"f6cdfffd.3c02b","wires":[["50c86ef6.ffe2c","312a579c.f03f38","aeccb186.c7c4d","9eabe9e8.401698","d314732e.2b6ab","b152dbc0.724f38","30d09ca3.7b5804","bc01ec0.9995218","e972af31.068b5","e49ffba7.3d67e8"]]},{"id":"312a579c.f03f38","type":"set","name":"set","xml":"<set>\n <parameter name=\"request-id\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-type`\" /> \n <parameter name=\"resource-id\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" /> \n <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n","comments":"","x":333.25,"y":180.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"d858c747.ea8e38","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":609.4642486572266,"y":532.7142963409424,"z":"f6cdfffd.3c02b","wires":[["a3af88b.95cf078"]]},{"id":"9eabe9e8.401698","type":"for","name":"for vf-module-topology-operation-input","xml":"<for silentFailure='true' index='i' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >","comments":"","outputs":1,"x":432.96431732177734,"y":397.9643135070801,"z":"f6cdfffd.3c02b","wires":[["be4504b2.d80da8"]]},{"id":"46e556fe.1910d8","type":"set","name":"set tmp.sdnc-model-name","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n","comments":"","x":1179.678565979004,"y":330.3928813934326,"z":"f6cdfffd.3c02b","wires":[]},{"id":"9e8107ed.d481a8","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":925.6785659790039,"y":330.3928813934326,"z":"f6cdfffd.3c02b","wires":[["46e556fe.1910d8"]]},{"id":"be4504b2.d80da8","type":"switchNode","name":"switch","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name`'>\n\n","comments":"","outputs":1,"x":687.6785659790039,"y":397.3928813934326,"z":"f6cdfffd.3c02b","wires":[["9e8107ed.d481a8","e575a36f.2aab7","f82b2aa1.d96ab8","be2e83c0.4cf55"]]},{"id":"e575a36f.2aab7","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":928.6785659790039,"y":376.3928813934326,"z":"f6cdfffd.3c02b","wires":[["53d8e980.fa9b38"]]},{"id":"f82b2aa1.d96ab8","type":"outcome","name":"vf_module_label","xml":"<outcome value='vf_module_label'>\n","comments":"","outputs":1,"x":913.6785659790039,"y":425.3928813934326,"z":"f6cdfffd.3c02b","wires":[["ff80f931.a9fef8"]]},{"id":"53d8e980.fa9b38","type":"set","name":"set tmp.sdnc-model-version","xml":"<set>\n<parameter name='tmp.sdnc-model-version' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n","comments":"","x":1183.678565979004,"y":376.3928813934326,"z":"f6cdfffd.3c02b","wires":[]},{"id":"ff80f931.a9fef8","type":"set","name":"set tmp.vf-module-label","xml":"<set>\n<parameter name='tmp.vf-module-label' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n","comments":"","x":1165.678565979004,"y":425.3928813934326,"z":"f6cdfffd.3c02b","wires":[]},{"id":"595ad25c.6df7cc","type":"set","name":"set name-value other JsonString","xml":"<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name + '&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n","comments":"","x":1183.678565979004,"y":476.3928813934326,"z":"f6cdfffd.3c02b","wires":[]},{"id":"be2e83c0.4cf55","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":885.6785659790039,"y":476.3928813934326,"z":"f6cdfffd.3c02b","wires":[["595ad25c.6df7cc"]]},{"id":"d314732e.2b6ab","type":"set","name":"set configAssignment JsonString","xml":"<set>\n\t<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vf-module-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;vnf-id&quot;:&quot;' + $vf-module-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vf-module-model-customization-uuid&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;vnf-model-customization-uuid&quot;:&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload8\" value=\"`$tmp.config-name-value-payload7 + '&quot;vf-module-id&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload9\" value=\"`$tmp.config-name-value-payload8 + '&quot;aic-cloud-region&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region + '&quot;'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload91\" value=\"`'{' + $tmp.config-name-value-payload9 + '}'`\" />\n\t\n","comments":"","x":404.25,"y":690.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"b152dbc0.724f38","type":"execute","name":"execute ConfigAssignment","xml":"<execute plugin='org.onap.ccsdk.features.assignment.service.ConfigAssignmentNode' method='process'>\n\t<parameter name=\"request-id\" value='`$request-id`' />\n\t<parameter name=\"resource-id\" value='`$resource-id`' /> \n\t<parameter name=\"resource-type\" value='`$resource-type`' />\n\t<parameter name=\"action-name\" value='`$action-name`' />\n\t<parameter name=\"template-names\" value=\"`'[&quot;' + $tmp.vf-module-label + '&quot;]'`\" />\n\t<parameter name=\"service-template-name\" value='`$tmp.sdnc-model-name`' />\n\t<parameter name=\"service-template-version\" value='`$tmp.sdnc-model-version`' />\n\t<parameter name='input-data' value='`$tmp.config-name-value-payload91`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />","comments":"","outputs":1,"x":390.25,"y":768.25,"z":"f6cdfffd.3c02b","wires":[["a75449a9.121cb8","4c11e20f.4101dc"]]},{"id":"a75449a9.121cb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":580.25,"y":744.25,"z":"f6cdfffd.3c02b","wires":[["55bef0b4.3f7bf"]]},{"id":"55bef0b4.3f7bf","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 ConfigAssignmentNode\" />\n","comments":"","x":778.25,"y":744.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"bc01ec0.9995218","type":"for","name":"for resource-accumulator-resolved-data loop","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n","comments":"","outputs":1,"x":436.25,"y":927.25,"z":"f6cdfffd.3c02b","wires":[["e00b2e3e.42c3e"]]},{"id":"acec6411.5abd48","type":"set","name":"set from resource-accumulator-resolved-data","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[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\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[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\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[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\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[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n\n","comments":"","x":1650.25,"y":978.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"e972af31.068b5","type":"for","name":"for capability-data","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n","comments":"","outputs":1,"x":355.25,"y":1190.25,"z":"f6cdfffd.3c02b","wires":[["493375a8.8ad84c"]]},{"id":"493375a8.8ad84c","type":"for","name":"for key-mapping","xml":"<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >","comments":"","outputs":1,"x":578.25,"y":1190.25,"z":"f6cdfffd.3c02b","wires":[["dcc80534.449a68"]]},{"id":"30d09ca3.7b5804","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":380.25,"y":848.25,"z":"f6cdfffd.3c02b","wires":[[]]},{"id":"50c86ef6.ffe2c","type":"execute","name":"execute generateUUID","xml":" <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.vnf-se-serv-uuid\" /> \n ","comments":"","outputs":1,"x":378.25,"y":134.25,"z":"f6cdfffd.3c02b","wires":[["dbcf1180.b48a"]]},{"id":"dbcf1180.b48a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":583.25,"y":134.25,"z":"f6cdfffd.3c02b","wires":[["28b63f4c.cc67"]]},{"id":"28b63f4c.cc67","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=\"generateUUID is failed\" />\n","comments":"","x":747.25,"y":133.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"eb5a3d43.b778a","type":"for","name":"for vnf-parameters-data.param","xml":"<for silentFailure='true' index='cnt' start='0' end='`$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_length`' >\n","comments":"","outputs":1,"x":1409.25,"y":927.25,"z":"f6cdfffd.3c02b","wires":[["d54ded8.5f1761"]]},{"id":"e00b2e3e.42c3e","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":715.25,"y":928.25,"z":"f6cdfffd.3c02b","wires":[["88260dd7.f8775","6947adfa.4470d4","6701fb7e.2b26b4"]]},{"id":"aeccb186.c7c4d","type":"switchNode","name":"switch vf-parameters-data.param_length","xml":"<switch test='`$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_length`'>\n","comments":"","outputs":1,"x":450.25,"y":235.25,"z":"f6cdfffd.3c02b","wires":[["7dfd20db.77c8f","a72e244b.da8138"]]},{"id":"7dfd20db.77c8f","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":713.3928833007812,"y":203.10715293884277,"z":"f6cdfffd.3c02b","wires":[["2727cdfd.cfb6a2"]]},{"id":"a72e244b.da8138","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":712.3928833007812,"y":267.1071529388428,"z":"f6cdfffd.3c02b","wires":[["dfe615c9.fe0728"]]},{"id":"2727cdfd.cfb6a2","type":"set","name":"set pre service param len as 0","xml":"<set>\n <parameter name='highnum' value='0' />\n <parameter name='prehighnum' value='0'/>\n","comments":"","x":926.3928833007812,"y":203.10715293884277,"z":"f6cdfffd.3c02b","wires":[]},{"id":"dfe615c9.fe0728","type":"set","name":"set pre service param len","xml":"<set>\n <parameter name='highnum' value='`$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_length`' />\n <parameter name='prehighnum' value='`$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_length`' />","comments":"","x":911.3928833007812,"y":267.1071529388428,"z":"f6cdfffd.3c02b","wires":[]},{"id":"d54ded8.5f1761","type":"switchNode","name":"switch input vnf-name","xml":"<switch test='`$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[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n","comments":"","outputs":1,"x":1667.25,"y":927.25,"z":"f6cdfffd.3c02b","wires":[["c9bba73a.79c8a8"]]},{"id":"c9bba73a.79c8a8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1847.25,"y":927.25,"z":"f6cdfffd.3c02b","wires":[["f8516843.76bfa8"]]},{"id":"f8516843.76bfa8","type":"set","name":"set for existing param name","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[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n","comments":"","x":2057.25,"y":928.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"6701fb7e.2b26b4","type":"switchNode","name":"switch tmp.mso.param.not-found","xml":"<switch test='`$tmp.mso.param.found`'>\n","comments":"","outputs":1,"x":957.25,"y":980.25,"z":"f6cdfffd.3c02b","wires":[["1eab6ca0.fd9523"]]},{"id":"1eab6ca0.fd9523","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1191.25,"y":979.25,"z":"f6cdfffd.3c02b","wires":[["10451c0f.5267c4"]]},{"id":"88260dd7.f8775","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='tmp.mso.param.found' value='false' />\n","comments":"","x":941.25,"y":869.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"6947adfa.4470d4","type":"switchNode","name":"switch check length > 0","xml":"<switch test='`$prehighnum &gt; 0`'>\n","comments":"","outputs":1,"x":933.75,"y":928.25,"z":"f6cdfffd.3c02b","wires":[["804cd2b6.9dfca"]]},{"id":"804cd2b6.9dfca","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1180.75,"y":928.25,"z":"f6cdfffd.3c02b","wires":[["eb5a3d43.b778a"]]},{"id":"c1178694.6e13a8","type":"for","name":"for payload","xml":"<for index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >","comments":"","outputs":1,"x":1627.25,"y":1242.25,"z":"f6cdfffd.3c02b","wires":[["24a9685f.2a0058"]]},{"id":"b0ad1516.f57698","type":"set","name":"set resource-key","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[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\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[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\t\n","comments":"","x":2026.25,"y":1183.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"b6a93d87.a295b","type":"set","name":"set output-data ","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[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\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[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\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[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\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[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />","comments":"","x":1205.25,"y":1144.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"dcc80534.449a68","type":"for","name":"for output-key-mapping","xml":"<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >","comments":"","outputs":1,"x":813.25,"y":1191.25,"z":"f6cdfffd.3c02b","wires":[["b3170125.7c722"]]},{"id":"b3170125.7c722","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1008.25,"y":1190.25,"z":"f6cdfffd.3c02b","wires":[["b6a93d87.a295b","f8216152.dcd4b","fadae3c4.72797","e2c1071c.0cc8c8"]]},{"id":"fadae3c4.72797","type":"set","name":"set length","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_length`' value='`$highnum + 1`'/>\n\n","comments":"","x":1204.25,"y":1242.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"4c11e20f.4101dc","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":585.25,"y":806.25,"z":"f6cdfffd.3c02b","wires":[["55bef0b4.3f7bf"]]},{"id":"f8216152.dcd4b","type":"switchNode","name":"switch payload_length","xml":"<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n","comments":"","outputs":1,"x":1234.25,"y":1191.25,"z":"f6cdfffd.3c02b","wires":[["83895025.eb98d","be495554.bffde8"]]},{"id":"83895025.eb98d","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1449.25,"y":1123.25,"z":"f6cdfffd.3c02b","wires":[[]]},{"id":"be495554.bffde8","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1458.25,"y":1242.25,"z":"f6cdfffd.3c02b","wires":[["c1178694.6e13a8"]]},{"id":"e49ffba7.3d67e8","type":"switchNode","name":"switch: model info == NULL","xml":"<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.vf-module-label == ''`\">\n","comments":"","outputs":1,"x":398.03570556640625,"y":532.8571863174438,"z":"f6cdfffd.3c02b","wires":[["d858c747.ea8e38"]]},{"id":"14d26024.6fa82","type":"get-resource","name":"get VF_MODEL.sdnc_model_name","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n\n","comments":"","outputs":1,"x":1076.1785354614258,"y":533.714297413826,"z":"f6cdfffd.3c02b","wires":[["963bb4b0.22ed08","1fbe2488.4c27fb","22951609.29842a"]]},{"id":"963bb4b0.22ed08","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1319.3927536010742,"y":534.0951566696167,"z":"f6cdfffd.3c02b","wires":[["844ac3f5.38c17"]]},{"id":"844ac3f5.38c17","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 reading VF_MODEL table\" />\n","comments":"","x":1500.392734527588,"y":534.2380638122559,"z":"f6cdfffd.3c02b","wires":[]},{"id":"df03e41c.dcd528","type":"get-resource","name":"get VF_MODULE_MODEL.vf-module-label","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT vf_module_label from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid \n \tAND vf_module_label is not null'\n pfx='db1.vf-module-model'>\n\n","comments":"","outputs":1,"x":1097.630874633789,"y":662.5595798492432,"z":"f6cdfffd.3c02b","wires":[["4acd2420.495eec","30028d51.5031a2","714d9205.b0588c"]]},{"id":"4acd2420.495eec","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1376.4164581298828,"y":662.9404038190842,"z":"f6cdfffd.3c02b","wires":[["e4517ef0.7d38d"]]},{"id":"e4517ef0.7d38d","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 reading VF_MODULE_MODEL table\" />\n","comments":"","x":1551.416389465332,"y":663.0833042860031,"z":"f6cdfffd.3c02b","wires":[]},{"id":"30028d51.5031a2","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1386.6308822631836,"y":742.345287322998,"z":"f6cdfffd.3c02b","wires":[["74f0e16a.8ee83"]]},{"id":"a3af88b.95cf078","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":784.9880294799805,"y":533.0952922105789,"z":"f6cdfffd.3c02b","wires":[["14d26024.6fa82","df03e41c.dcd528"]]},{"id":"76ba4f27.57cd","type":"set","name":"set sdnc-model-name, sdnc-model-version","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$db1.vf-model.sdnc-model-name`' />\n<parameter name='tmp.sdnc-model-version' value='`$db1.vf-model.sdnc-model-version`' />\n\n\n\n","comments":"","x":1598.67866897583,"y":614.214334487915,"z":"f6cdfffd.3c02b","wires":[]},{"id":"1fbe2488.4c27fb","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1327.2501411437988,"y":614.5000095367432,"z":"f6cdfffd.3c02b","wires":[["76ba4f27.57cd"]]},{"id":"74f0e16a.8ee83","type":"set","name":"set vf-module-label","xml":"<set>\n<parameter name='tmp.vf-module-label' value='`$db1.vf-module-model.vf-module-label`' />\n\n\n\n","comments":"","x":1591.071434020996,"y":743.9286003112793,"z":"f6cdfffd.3c02b","wires":[]},{"id":"24a9685f.2a0058","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1804.25,"y":1241.25,"z":"f6cdfffd.3c02b","wires":[["b0ad1516.f57698","7d81cd82.395494","aa9f9e41.1d7a"]]},{"id":"7d81cd82.395494","type":"set","name":"set length","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[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n","comments":"","x":2015.25,"y":1241.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"22951609.29842a","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1330.0000190734863,"y":573.7500076293945,"z":"f6cdfffd.3c02b","wires":[["9226e1bf.3d826"]]},{"id":"9226e1bf.3d826","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=\"`'No VF_MODEL found with customization_uuid = ' + $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />","comments":"","x":1501.2500228881836,"y":572.5000085830688,"z":"f6cdfffd.3c02b","wires":[]},{"id":"714d9205.b0588c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1387.5,"y":703.75,"z":"f6cdfffd.3c02b","wires":[["3ac5c538.2d5c9a"]]},{"id":"3ac5c538.2d5c9a","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=\"`'vf_module_label not found in VF_MODULE_MODEL WHERE customization_uuid = ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />","comments":"","x":1558.7500038146973,"y":702.5000009536743,"z":"f6cdfffd.3c02b","wires":[]},{"id":"aa9f9e41.1d7a","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='num' value='`$num + 1`' />\n","comments":"","x":2028.25,"y":1307.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"e2c1071c.0cc8c8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1221.25,"y":1313.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"f918a896.e97518","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1568.25,"y":1038.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"10451c0f.5267c4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1362.25,"y":978.25,"z":"f6cdfffd.3c02b","wires":[["acec6411.5abd48","f918a896.e97518"]]}] \ No newline at end of file
+[{"id":"83eb3584.636598","type":"dgstart","name":"DGSTART","outputs":1,"x":121.25,"y":52.5,"z":"d64d71f4.2505a","wires":[["d1c40dc0.981c"]]},{"id":"d1c40dc0.981c","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":397.25,"y":53.5,"z":"d64d71f4.2505a","wires":[["1c880935.80aa77"]]},{"id":"1c880935.80aa77","type":"method","name":"self-serve-vfmodule-ra-assignment","xml":"<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":748.25,"y":53.5,"z":"d64d71f4.2505a","wires":[["ffd64a38.3947f8"]]},{"id":"ffd64a38.3947f8","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":133.75,"y":135.5,"z":"d64d71f4.2505a","wires":[["ef03c8a1.ff14c8","b8224a6b.e416b8","5d862679.cda4e8","4cbda7a7.f7ebe8","5174feae.2ee36","d8649df9.d3929","b6c97e6b.a0e99","35183a29.291a06","bd735e70.63002","43e97d79.aa8c94","c7adf75b.5424d8","9e6ab38f.aa2ca","bffd9817.b24028","f4359972.440fb8","94c3056d.2f14a8"]]},{"id":"b8224a6b.e416b8","type":"set","name":"set","xml":"<set>\n <parameter name=\"request-id\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-type`\" /> \n <parameter name=\"resource-id\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" /> \n <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n","comments":"","x":318.25,"y":181.5,"z":"d64d71f4.2505a","wires":[]},{"id":"3bd6d10c.bbf58e","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":594.4642486572266,"y":533.9642963409424,"z":"d64d71f4.2505a","wires":[["2c569757.4f7808"]]},{"id":"4cbda7a7.f7ebe8","type":"for","name":"for vf-module-topology-operation-input","xml":"<for silentFailure='true' index='i' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >","comments":"","outputs":1,"x":417.96431732177734,"y":399.2143135070801,"z":"d64d71f4.2505a","wires":[["8036fd78.9c6aa"]]},{"id":"8bd51f50.dbaff","type":"set","name":"set tmp.sdnc-model-name","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n","comments":"","x":1164.678565979004,"y":331.6428813934326,"z":"d64d71f4.2505a","wires":[]},{"id":"4e6a3a1c.33d514","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":910.6785659790039,"y":331.6428813934326,"z":"d64d71f4.2505a","wires":[["8bd51f50.dbaff"]]},{"id":"8036fd78.9c6aa","type":"switchNode","name":"switch","xml":"<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name`'>\n\n","comments":"","outputs":1,"x":672.6785659790039,"y":398.6428813934326,"z":"d64d71f4.2505a","wires":[["4e6a3a1c.33d514","6f8b3780.39dba8","86f9e2d9.210ef","5ed0c037.be854"]]},{"id":"6f8b3780.39dba8","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":913.6785659790039,"y":377.6428813934326,"z":"d64d71f4.2505a","wires":[["7626fec9.55e7a"]]},{"id":"86f9e2d9.210ef","type":"outcome","name":"vf_module_label","xml":"<outcome value='vf_module_label'>\n","comments":"","outputs":1,"x":898.6785659790039,"y":426.6428813934326,"z":"d64d71f4.2505a","wires":[["38ee4557.921a3a"]]},{"id":"7626fec9.55e7a","type":"set","name":"set tmp.sdnc-model-version","xml":"<set>\n<parameter name='tmp.sdnc-model-version' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n","comments":"","x":1168.678565979004,"y":377.6428813934326,"z":"d64d71f4.2505a","wires":[]},{"id":"38ee4557.921a3a","type":"set","name":"set tmp.vf-module-label","xml":"<set>\n<parameter name='tmp.vf-module-label' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n","comments":"","x":1150.678565979004,"y":426.6428813934326,"z":"d64d71f4.2505a","wires":[]},{"id":"b97771ef.1b6a8","type":"set","name":"set name-value other JsonString","xml":"<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name + '&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n","comments":"","x":1168.678565979004,"y":477.6428813934326,"z":"d64d71f4.2505a","wires":[]},{"id":"5ed0c037.be854","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":870.6785659790039,"y":477.6428813934326,"z":"d64d71f4.2505a","wires":[["b97771ef.1b6a8"]]},{"id":"5174feae.2ee36","type":"set","name":"set configAssignment JsonString","xml":"<set>\n\t<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vf-module-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;vnf-id&quot;:&quot;' + $vf-module-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vf-module-model-customization-uuid&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;vnf-model-customization-uuid&quot;:&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload8\" value=\"`$tmp.config-name-value-payload7 + '&quot;vf-module-id&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload9\" value=\"`$tmp.config-name-value-payload8 + '&quot;aic-cloud-region&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region + '&quot;'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload91\" value=\"`'{' + $tmp.config-name-value-payload9 + '}'`\" />\n\t\n","comments":"","x":389.25,"y":691.5,"z":"d64d71f4.2505a","wires":[]},{"id":"d8649df9.d3929","type":"execute","name":"execute ConfigAssignment","xml":"<execute plugin='org.onap.ccsdk.config.assignment.service.ConfigAssignmentNode' method='process'>\n\t<parameter name=\"request-id\" value='`$request-id`' />\n\t<parameter name=\"resource-id\" value='`$resource-id`' /> \n\t<parameter name=\"resource-type\" value='`$resource-type`' />\n\t<parameter name=\"action-name\" value='`$action-name`' />\n\t<parameter name=\"template-names\" value=\"`'[&quot;' + $tmp.vf-module-label + '&quot;]'`\" />\n\t<parameter name=\"service-template-name\" value='`$tmp.sdnc-model-name`' />\n\t<parameter name=\"service-template-version\" value='`$tmp.sdnc-model-version`' />\n\t<parameter name='input-data' value='`$tmp.config-name-value-payload91`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />","comments":"","outputs":1,"x":383.5832977294922,"y":869.4999723434448,"z":"d64d71f4.2505a","wires":[["e513cccd.0fb49","62574755.8d02d8"]]},{"id":"e513cccd.0fb49","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":573.5832977294922,"y":845.4999723434448,"z":"d64d71f4.2505a","wires":[["643b1fc.cc237e"]]},{"id":"643b1fc.cc237e","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 ConfigAssignmentNode\" />\n","comments":"","x":771.5832977294922,"y":845.4999723434448,"z":"d64d71f4.2505a","wires":[]},{"id":"35183a29.291a06","type":"for","name":"for resource-accumulator-resolved-data loop","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n","comments":"","outputs":1,"x":436.25001525878906,"y":1136.8333473205566,"z":"d64d71f4.2505a","wires":[["bdd24bd9.898e08"]]},{"id":"3886482a.d004c8","type":"set","name":"set from resource-accumulator-resolved-data","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[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\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[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\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[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\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[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n\n","comments":"","x":1650.250015258789,"y":1187.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"bd735e70.63002","type":"for","name":"for capability-data","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n","comments":"","outputs":1,"x":355.25001525878906,"y":1399.8333473205566,"z":"d64d71f4.2505a","wires":[["1be8ded5.660511"]]},{"id":"1be8ded5.660511","type":"for","name":"for key-mapping","xml":"<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >","comments":"","outputs":1,"x":578.2500152587891,"y":1399.8333473205566,"z":"d64d71f4.2505a","wires":[["e6f5f92.a1f8f08"]]},{"id":"b6c97e6b.a0e99","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":380.25001525878906,"y":1057.8333473205566,"z":"d64d71f4.2505a","wires":[[]]},{"id":"ef03c8a1.ff14c8","type":"execute","name":"execute generateUUID","xml":" <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.vnf-se-serv-uuid\" /> \n ","comments":"","outputs":1,"x":363.25,"y":135.5,"z":"d64d71f4.2505a","wires":[["4ba70d0.5eaf3f4"]]},{"id":"4ba70d0.5eaf3f4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":568.25,"y":135.5,"z":"d64d71f4.2505a","wires":[["f15273ba.e4ccf"]]},{"id":"f15273ba.e4ccf","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=\"generateUUID is failed\" />\n","comments":"","x":732.25,"y":134.5,"z":"d64d71f4.2505a","wires":[]},{"id":"a23caf97.dd75a","type":"for","name":"for vnf-parameters-data.param","xml":"<for silentFailure='true' index='cnt' start='0' end='`$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_length`' >\n","comments":"","outputs":1,"x":1409.250015258789,"y":1136.8333473205566,"z":"d64d71f4.2505a","wires":[["d072867f.af17a8"]]},{"id":"bdd24bd9.898e08","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":715.2500152587891,"y":1137.8333473205566,"z":"d64d71f4.2505a","wires":[["9a2a1dac.b088","245adfb0.abd75","aaaf5cde.bcba6"]]},{"id":"5d862679.cda4e8","type":"switchNode","name":"switch vf-parameters-data.param_length","xml":"<switch test='`$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_length`'>\n","comments":"","outputs":1,"x":435.25,"y":236.5,"z":"d64d71f4.2505a","wires":[["b713b448.f4d8b8","7c50cac9.4fd584"]]},{"id":"b713b448.f4d8b8","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":698.3928833007812,"y":204.35715293884277,"z":"d64d71f4.2505a","wires":[["c0a33e08.da9ce"]]},{"id":"7c50cac9.4fd584","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":697.3928833007812,"y":268.3571529388428,"z":"d64d71f4.2505a","wires":[["53104be0.6c8084"]]},{"id":"c0a33e08.da9ce","type":"set","name":"set pre service param len as 0","xml":"<set>\n <parameter name='highnum' value='0' />\n <parameter name='prehighnum' value='0'/>\n","comments":"","x":911.3928833007812,"y":204.35715293884277,"z":"d64d71f4.2505a","wires":[]},{"id":"53104be0.6c8084","type":"set","name":"set pre service param len","xml":"<set>\n <parameter name='highnum' value='`$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_length`' />\n <parameter name='prehighnum' value='`$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_length`' />","comments":"","x":896.3928833007812,"y":268.3571529388428,"z":"d64d71f4.2505a","wires":[]},{"id":"d072867f.af17a8","type":"switchNode","name":"switch input vnf-name","xml":"<switch test='`$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[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n","comments":"","outputs":1,"x":1667.250015258789,"y":1136.8333473205566,"z":"d64d71f4.2505a","wires":[["ed697e54.d13fe"]]},{"id":"ed697e54.d13fe","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1847.250015258789,"y":1136.8333473205566,"z":"d64d71f4.2505a","wires":[["5253daf.8524e24"]]},{"id":"5253daf.8524e24","type":"set","name":"set for existing param name","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[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n","comments":"","x":2057.250015258789,"y":1137.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"aaaf5cde.bcba6","type":"switchNode","name":"switch tmp.mso.param.not-found","xml":"<switch test='`$tmp.mso.param.found`'>\n","comments":"","outputs":1,"x":957.2500152587891,"y":1189.8333473205566,"z":"d64d71f4.2505a","wires":[["5fec017a.f95fb"]]},{"id":"5fec017a.f95fb","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1191.250015258789,"y":1188.8333473205566,"z":"d64d71f4.2505a","wires":[["d34da95a.b5de98"]]},{"id":"9a2a1dac.b088","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='tmp.mso.param.found' value='false' />\n","comments":"","x":941.2500152587891,"y":1078.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"245adfb0.abd75","type":"switchNode","name":"switch check length > 0","xml":"<switch test='`$prehighnum &gt; 0`'>\n","comments":"","outputs":1,"x":933.7500152587891,"y":1137.8333473205566,"z":"d64d71f4.2505a","wires":[["868c71ff.81c13"]]},{"id":"868c71ff.81c13","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1180.750015258789,"y":1137.8333473205566,"z":"d64d71f4.2505a","wires":[["a23caf97.dd75a"]]},{"id":"7407bfe8.27801","type":"for","name":"for payload","xml":"<for index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >","comments":"","outputs":1,"x":1627.250015258789,"y":1451.8333473205566,"z":"d64d71f4.2505a","wires":[["a55901ea.de196"]]},{"id":"477f56a8.2964e8","type":"set","name":"set resource-key","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[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\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[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\t\n","comments":"","x":2026.250015258789,"y":1392.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"dff927e4.b927a8","type":"set","name":"set output-data ","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[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\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[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\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[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\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[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />","comments":"","x":1205.250015258789,"y":1353.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"e6f5f92.a1f8f08","type":"for","name":"for output-key-mapping","xml":"<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >","comments":"","outputs":1,"x":813.2500152587891,"y":1400.8333473205566,"z":"d64d71f4.2505a","wires":[["c4847a99.613d08"]]},{"id":"c4847a99.613d08","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1008.2500152587891,"y":1399.8333473205566,"z":"d64d71f4.2505a","wires":[["dff927e4.b927a8","d708f5a0.7b1588","3b5810ed.04647","b9edb73a.e3ffc8"]]},{"id":"3b5810ed.04647","type":"set","name":"set length","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_length`' value='`$highnum + 1`'/>\n\n","comments":"","x":1204.250015258789,"y":1451.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"62574755.8d02d8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":578.5832977294922,"y":907.4999723434448,"z":"d64d71f4.2505a","wires":[["643b1fc.cc237e"]]},{"id":"d708f5a0.7b1588","type":"switchNode","name":"switch payload_length","xml":"<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n","comments":"","outputs":1,"x":1234.250015258789,"y":1400.8333473205566,"z":"d64d71f4.2505a","wires":[["8f1dc823.58d558","99c3f6b2.9f2ed8"]]},{"id":"8f1dc823.58d558","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1449.250015258789,"y":1332.8333473205566,"z":"d64d71f4.2505a","wires":[[]]},{"id":"99c3f6b2.9f2ed8","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1458.250015258789,"y":1451.8333473205566,"z":"d64d71f4.2505a","wires":[["7407bfe8.27801"]]},{"id":"43e97d79.aa8c94","type":"switchNode","name":"switch: model info == NULL","xml":"<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.vf-module-label == ''`\">\n","comments":"","outputs":1,"x":383.03570556640625,"y":534.1071863174438,"z":"d64d71f4.2505a","wires":[["3bd6d10c.bbf58e"]]},{"id":"ffe8a21e.9ec8d","type":"get-resource","name":"get VF_MODEL.sdnc_model_name","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n\n","comments":"","outputs":1,"x":1061.1785354614258,"y":534.964297413826,"z":"d64d71f4.2505a","wires":[["c4ce67f5.c980d8","bf86e1cb.561b4","585c6f98.47d6"]]},{"id":"c4ce67f5.c980d8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1304.3927536010742,"y":535.3451566696167,"z":"d64d71f4.2505a","wires":[["8a3b4d7b.30aa8"]]},{"id":"8a3b4d7b.30aa8","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 reading VF_MODEL table\" />\n","comments":"","x":1485.392734527588,"y":535.4880638122559,"z":"d64d71f4.2505a","wires":[]},{"id":"64943eb6.c116a","type":"get-resource","name":"get VF_MODULE_MODEL.vf-module-label","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT vf_module_label from VF_MODULE_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid \n \tAND vf_module_label is not null'\n pfx='db1.vf-module-model'>\n\n","comments":"","outputs":1,"x":1082.630874633789,"y":663.8095798492432,"z":"d64d71f4.2505a","wires":[["7a35fd40.2d3034","7d5a1873.ae41f8","7d81de0a.38718"]]},{"id":"7a35fd40.2d3034","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1361.4164581298828,"y":664.1904038190842,"z":"d64d71f4.2505a","wires":[["b85cbcbc.9f92d"]]},{"id":"b85cbcbc.9f92d","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 reading VF_MODULE_MODEL table\" />\n","comments":"","x":1536.416389465332,"y":664.3333042860031,"z":"d64d71f4.2505a","wires":[]},{"id":"7d5a1873.ae41f8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1371.6308822631836,"y":743.595287322998,"z":"d64d71f4.2505a","wires":[["699d20c5.17d4e"]]},{"id":"2c569757.4f7808","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":769.9880294799805,"y":534.3452922105789,"z":"d64d71f4.2505a","wires":[["ffe8a21e.9ec8d","64943eb6.c116a"]]},{"id":"f2237083.9bb43","type":"set","name":"set sdnc-model-name, sdnc-model-version","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$db1.vf-model.sdnc-model-name`' />\n<parameter name='tmp.sdnc-model-version' value='`$db1.vf-model.sdnc-model-version`' />\n\n\n\n","comments":"","x":1583.67866897583,"y":615.464334487915,"z":"d64d71f4.2505a","wires":[]},{"id":"bf86e1cb.561b4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1312.2501411437988,"y":615.7500095367432,"z":"d64d71f4.2505a","wires":[["f2237083.9bb43"]]},{"id":"699d20c5.17d4e","type":"set","name":"set vf-module-label","xml":"<set>\n<parameter name='tmp.vf-module-label' value='`$db1.vf-module-model.vf-module-label`' />\n\n\n\n","comments":"","x":1576.071434020996,"y":745.1786003112793,"z":"d64d71f4.2505a","wires":[]},{"id":"a55901ea.de196","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1804.250015258789,"y":1450.8333473205566,"z":"d64d71f4.2505a","wires":[["477f56a8.2964e8","c3ead4f1.968628","31a41aa0.8cccc6"]]},{"id":"c3ead4f1.968628","type":"set","name":"set length","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[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n","comments":"","x":2015.250015258789,"y":1450.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"585c6f98.47d6","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1315.0000190734863,"y":575.0000076293945,"z":"d64d71f4.2505a","wires":[["d444ba8a.ff33d8"]]},{"id":"d444ba8a.ff33d8","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=\"`'No VF_MODEL found with customization_uuid = ' + $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />","comments":"","x":1486.2500228881836,"y":573.7500085830688,"z":"d64d71f4.2505a","wires":[]},{"id":"7d81de0a.38718","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1372.5,"y":705,"z":"d64d71f4.2505a","wires":[["1023d51.10a782b"]]},{"id":"1023d51.10a782b","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=\"`'vf_module_label not found in VF_MODULE_MODEL WHERE customization_uuid = ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />","comments":"","x":1543.7500038146973,"y":703.7500009536743,"z":"d64d71f4.2505a","wires":[]},{"id":"31a41aa0.8cccc6","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='num' value='`$num + 1`' />\n","comments":"","x":2028.250015258789,"y":1516.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"b9edb73a.e3ffc8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1221.250015258789,"y":1522.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"bdf12ea7.d23ff","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1568.250015258789,"y":1247.8333473205566,"z":"d64d71f4.2505a","wires":[]},{"id":"d34da95a.b5de98","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1362.250015258789,"y":1187.8333473205566,"z":"d64d71f4.2505a","wires":[["3886482a.d004c8","bdf12ea7.d23ff"]]},{"id":"c7adf75b.5424d8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE ConfigAssignmentNode\"/>\n\n","comments":"","outputs":1,"x":327.9166603088379,"y":797.5000104904175,"z":"d64d71f4.2505a","wires":[[]]},{"id":"9e6ab38f.aa2ca","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER ConfigAssignmentNode\"/>\n\n","comments":"","outputs":1,"x":324.5833282470703,"y":952.500018119812,"z":"d64d71f4.2505a","wires":[[]]},{"id":"f4359972.440fb8","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n","comments":"","outputs":1,"x":337.5,"y":1675.0000133514404,"z":"d64d71f4.2505a","wires":[[]]},{"id":"bffd9817.b24028","type":"set","name":"set pathname","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vfmodule-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n","comments":"","x":343.75,"y":1622.5000114440918,"z":"d64d71f4.2505a","wires":[]},{"id":"94c3056d.2f14a8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE: vfmodule-ra-assignment\"/>\n\n","comments":"","outputs":1,"x":322.25000381469727,"y":1573.7500190734863,"z":"d64d71f4.2505a","wires":[[]]}] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
index 416c3567..fb45c952 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
@@ -1 +1 @@
-[{"id":"c18dd0f9.58727","type":"dgstart","name":"DGSTART","outputs":1,"x":162.5,"y":51.25,"z":"db4d8927.c835e8","wires":[["3abf9c0.ecf0964"]]},{"id":"3abf9c0.ecf0964","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":438.5,"y":52.25,"z":"db4d8927.c835e8","wires":[["803f517d.bdb5f"]]},{"id":"803f517d.bdb5f","type":"method","name":"self-serve-vnf-ra-assignment","xml":"<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":755.5,"y":52.25,"z":"db4d8927.c835e8","wires":[["c0bfd174.8b034"]]},{"id":"c0bfd174.8b034","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":175,"y":134.25,"z":"db4d8927.c835e8","wires":[["c7d0aa3e.1f9928","4a04d1ee.9397b","e82b91b1.0943d","55af9001.e4eea","728e10ce.4b8fa","2f87ad04.767612","fa79cd52.116e9","b979210b.3162f","17e1aa24.ca45d6","6f8ac645.2ca6c8"]]},{"id":"4a04d1ee.9397b","type":"set","name":"set","xml":"<set>\n <parameter name=\"request-id\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-type`\" /> \n <parameter name=\"resource-id\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" /> \n <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n","comments":"","x":359.5,"y":180.25,"z":"db4d8927.c835e8","wires":[]},{"id":"483ff573.75485c","type":"get-resource","name":"get-resource VF_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n \n\n","comments":"","outputs":1,"x":899.642822265625,"y":570.5356521606445,"z":"db4d8927.c835e8","wires":[["44a38892.6019f8","ac900801.0a6828","5f77bf0b.24eac"]]},{"id":"44a38892.6019f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1144.642921447754,"y":519.8213758468628,"z":"db4d8927.c835e8","wires":[["59118b3e.35e0a4"]]},{"id":"59118b3e.35e0a4","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 reading VF_MODULE_MODEL table\" />\n","comments":"","x":1317.642921447754,"y":518.8213758468628,"z":"db4d8927.c835e8","wires":[]},{"id":"a31fbae3.b74338","type":"set","name":"set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$db1.vf-model.sdnc-model-name`' />\n<parameter name='tmp.sdnc-model-version' value='`$db1.vf-model.sdnc-model-version`' />\n<parameter name='tmp.sdnc-artifact-name' value='`$db1.vf-model.sdnc-artifact-name`' />\n\n\n\n\n","comments":"","x":1520.0714225769043,"y":619.9641799926758,"z":"db4d8927.c835e8","wires":[]},{"id":"88b4b67c.639308","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 reading VF_MODULE_MODEL table\" />\n","comments":"","x":1319.642921447754,"y":567.8213758468628,"z":"db4d8927.c835e8","wires":[]},{"id":"728e10ce.4b8fa","type":"switchNode","name":"switch: model info == NULL","xml":"<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n","comments":"","outputs":1,"x":420.642822265625,"y":571.5356521606445,"z":"db4d8927.c835e8","wires":[["1111f129.9c72ef"]]},{"id":"ac900801.0a6828","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1150.642921447754,"y":568.8213758468628,"z":"db4d8927.c835e8","wires":[["88b4b67c.639308"]]},{"id":"1111f129.9c72ef","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":669.642822265625,"y":571.5356521606445,"z":"db4d8927.c835e8","wires":[["483ff573.75485c"]]},{"id":"55af9001.e4eea","type":"for","name":"for vnf-topology-operation-input","xml":"<for silentFailure='true' index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >","comments":"","outputs":1,"x":436.5,"y":371.25,"z":"db4d8927.c835e8","wires":[["747b461a.194698"]]},{"id":"747b461a.194698","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":658.5,"y":370.25,"z":"db4d8927.c835e8","wires":[["3389099.91489f6"]]},{"id":"4bc009a3.a11038","type":"set","name":"set tmp.sdnc-model-name","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n","comments":"","x":1309.5,"y":303.25,"z":"db4d8927.c835e8","wires":[]},{"id":"66cfa3a7.3ec30c","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":1055.5,"y":303.25,"z":"db4d8927.c835e8","wires":[["4bc009a3.a11038"]]},{"id":"3389099.91489f6","type":"switchNode","name":"switch","xml":"<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n\n","comments":"","outputs":1,"x":817.5,"y":370.25,"z":"db4d8927.c835e8","wires":[["66cfa3a7.3ec30c","65466864.3cce18","2e8e8f97.10fe8","4c15de05.cb106"]]},{"id":"65466864.3cce18","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":1058.5,"y":349.25,"z":"db4d8927.c835e8","wires":[["f5cfca7c.a43cd8"]]},{"id":"2e8e8f97.10fe8","type":"outcome","name":"sdnc_artifact_name","xml":"<outcome value='sdnc_artifact_name'>\n","comments":"","outputs":1,"x":1057.5,"y":398.25,"z":"db4d8927.c835e8","wires":[["785af194.60a78"]]},{"id":"f5cfca7c.a43cd8","type":"set","name":"set tmp.sdnc-model-version","xml":"<set>\n<parameter name='tmp.sdnc-model-version' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n","comments":"","x":1313.5,"y":349.25,"z":"db4d8927.c835e8","wires":[]},{"id":"785af194.60a78","type":"set","name":"set tmp.sdnc-artifact-name","xml":"<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n","comments":"","x":1309.5,"y":398.25,"z":"db4d8927.c835e8","wires":[]},{"id":"968b75d6.3b3088","type":"set","name":"set name-value other JsonString","xml":"<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n","comments":"","x":1325.5,"y":447.25,"z":"db4d8927.c835e8","wires":[]},{"id":"4c15de05.cb106","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1017.5000076293945,"y":447.82142066955566,"z":"db4d8927.c835e8","wires":[["968b75d6.3b3088"]]},{"id":"2f87ad04.767612","type":"set","name":"set configAssignment JsonString","xml":"<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vnf-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;vnf-model-customization-uuid&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vnf-id&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '&quot;'`\"/>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />","comments":"","x":430.5,"y":690.25,"z":"db4d8927.c835e8","wires":[]},{"id":"fa79cd52.116e9","type":"execute","name":"execute ConfigAssignment","xml":"<execute plugin='org.onap.ccsdk.features.assignment.service.ConfigAssignmentNode' method='process'>\n\t<parameter name=\"request-id\" value='`$request-id`' />\n\t<parameter name=\"resource-id\" value='`$resource-id`' /> \n\t<parameter name=\"resource-type\" value='`$resource-type`' />\n\t<parameter name=\"action-name\" value='`$action-name`' />\n\t<parameter name=\"template-names\" value=\"`'[&quot;' + $tmp.sdnc-artifact-name + '&quot;]'`\" />\n\t<parameter name=\"service-template-name\" value='`$tmp.sdnc-model-name`' />\n\t<parameter name=\"service-template-version\" value='`$tmp.sdnc-model-version`' />\n\t<parameter name='input-data' value='`$tmp.json-payload`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />","comments":"","outputs":1,"x":416.5,"y":768.25,"z":"db4d8927.c835e8","wires":[["c4675012.d86e1","c8f90b0c.1f58f8"]]},{"id":"c4675012.d86e1","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":606.5,"y":744.25,"z":"db4d8927.c835e8","wires":[["535a9f1b.05a41"]]},{"id":"535a9f1b.05a41","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 ConfigAssignmentNode\" />\n","comments":"","x":788.5,"y":765.25,"z":"db4d8927.c835e8","wires":[]},{"id":"17e1aa24.ca45d6","type":"for","name":"for resource-accumulator-resolved-data loop","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n","comments":"","outputs":1,"x":462.5,"y":927.25,"z":"db4d8927.c835e8","wires":[["ed425c46.79672"]]},{"id":"e3b9243e.f61e88","type":"set","name":"set from resource-accumulator-resolved-data","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n","comments":"","x":1692.5,"y":979.25,"z":"db4d8927.c835e8","wires":[]},{"id":"6f8ac645.2ca6c8","type":"for","name":"for capability-data","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n","comments":"","outputs":1,"x":387.5,"y":1269.25,"z":"db4d8927.c835e8","wires":[["932379f4.837008"]]},{"id":"932379f4.837008","type":"for","name":"for key-mapping","xml":"<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >","comments":"","outputs":1,"x":596.5,"y":1269.25,"z":"db4d8927.c835e8","wires":[["58f30c1e.ac4764"]]},{"id":"b979210b.3162f","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":406.5,"y":848.25,"z":"db4d8927.c835e8","wires":[[]]},{"id":"c7d0aa3e.1f9928","type":"execute","name":"execute generateUUID","xml":" <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.vnf-se-serv-uuid\" /> \n ","comments":"","outputs":1,"x":412.5,"y":134.25,"z":"db4d8927.c835e8","wires":[["ffb9d925.f87298"]]},{"id":"ffb9d925.f87298","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":590.5,"y":132.25,"z":"db4d8927.c835e8","wires":[["2ba77212.26bd3e"]]},{"id":"2ba77212.26bd3e","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=\"generateUUID is failed\" />\n","comments":"","x":737.5,"y":133.25,"z":"db4d8927.c835e8","wires":[]},{"id":"f891d06f.8860e","type":"for","name":"for vnf-parameters-data.param","xml":"<for silentFailure='true' index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1435.5,"y":927.25,"z":"db4d8927.c835e8","wires":[["587a86e4.0e79d8"]]},{"id":"ed425c46.79672","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":741.5,"y":928.25,"z":"db4d8927.c835e8","wires":[["7692076e.df85b8","a1ab3cbb.c4d6f","365588a7.3d5038"]]},{"id":"e82b91b1.0943d","type":"switchNode","name":"switch vnf-parameters-data.param_length","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n","comments":"","outputs":1,"x":464.5,"y":232.25,"z":"db4d8927.c835e8","wires":[["6e8d4097.7255e","12d19eef.fe6b91"]]},{"id":"6e8d4097.7255e","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":702.5,"y":200.25,"z":"db4d8927.c835e8","wires":[["e8a4f37a.1fbe8"]]},{"id":"12d19eef.fe6b91","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":701.5,"y":264.25,"z":"db4d8927.c835e8","wires":[["a6da2e5c.cfd95"]]},{"id":"e8a4f37a.1fbe8","type":"set","name":"set pre service param len as 0","xml":"<set>\n <parameter name='highnum' value='0' />\n <parameter name='prehighnum' value='0'/>\n","comments":"","x":915.5,"y":200.25,"z":"db4d8927.c835e8","wires":[]},{"id":"a6da2e5c.cfd95","type":"set","name":"set pre service param len","xml":"<set>\n <parameter name='highnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />\n <parameter name='prehighnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />","comments":"","x":900.5,"y":264.25,"z":"db4d8927.c835e8","wires":[]},{"id":"587a86e4.0e79d8","type":"switchNode","name":"switch input vnf-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n","comments":"","outputs":1,"x":1693.5,"y":927.25,"z":"db4d8927.c835e8","wires":[["cda698bb.e51758"]]},{"id":"cda698bb.e51758","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1873.5,"y":927.25,"z":"db4d8927.c835e8","wires":[["97361ac8.670fe8"]]},{"id":"97361ac8.670fe8","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n","comments":"","x":2083.5,"y":928.25,"z":"db4d8927.c835e8","wires":[]},{"id":"365588a7.3d5038","type":"switchNode","name":"switch tmp.mso.param.not-found","xml":"<switch test='`$tmp.mso.param.found`'>\n","comments":"","outputs":1,"x":983.5,"y":980.25,"z":"db4d8927.c835e8","wires":[["75219e31.27d9c"]]},{"id":"75219e31.27d9c","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1217.5,"y":979.25,"z":"db4d8927.c835e8","wires":[["bd8e276d.737468"]]},{"id":"7692076e.df85b8","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='tmp.mso.param.found' value='false' />\n","comments":"","x":967.5,"y":869.25,"z":"db4d8927.c835e8","wires":[]},{"id":"a1ab3cbb.c4d6f","type":"switchNode","name":"switch check length > 0","xml":"<switch test='`$prehighnum &gt; 0`'>\n","comments":"","outputs":1,"x":960,"y":928.25,"z":"db4d8927.c835e8","wires":[["a7625311.f464f"]]},{"id":"a7625311.f464f","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1207,"y":928.25,"z":"db4d8927.c835e8","wires":[["f891d06f.8860e"]]},{"id":"4fca6b77.cc19a4","type":"for","name":"for payload","xml":"<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >","comments":"","outputs":1,"x":1778.5,"y":1287.25,"z":"db4d8927.c835e8","wires":[["15ac2395.72b53c"]]},{"id":"2fff690e.8ee016","type":"set","name":"set resource-key","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\n","comments":"","x":2127.5,"y":1223.25,"z":"db4d8927.c835e8","wires":[]},{"id":"73585513.5cfe9c","type":"set","name":"set output-data ","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />","comments":"","x":1351.5,"y":1167.25,"z":"db4d8927.c835e8","wires":[]},{"id":"58f30c1e.ac4764","type":"for","name":"for output-key-mapping","xml":"<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >","comments":"","outputs":1,"x":819.5,"y":1269.25,"z":"db4d8927.c835e8","wires":[["8a8a35d9.648f38"]]},{"id":"8a8a35d9.648f38","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1070.5,"y":1269.25,"z":"db4d8927.c835e8","wires":[["73585513.5cfe9c","c62d9cf0.f3cee","792fe531.556e8c","f67c7412.ed2cc8"]]},{"id":"c62d9cf0.f3cee","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n","comments":"","x":1339.5,"y":1305.25,"z":"db4d8927.c835e8","wires":[]},{"id":"c8f90b0c.1f58f8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":611.5,"y":806.25,"z":"db4d8927.c835e8","wires":[["535a9f1b.05a41"]]},{"id":"792fe531.556e8c","type":"switchNode","name":"switch payload_length","xml":"<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n","comments":"","outputs":1,"x":1375.5,"y":1238.25,"z":"db4d8927.c835e8","wires":[["ff7af5a0.70a758","d8e89357.d8aaf"]]},{"id":"ff7af5a0.70a758","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1596.5,"y":1169.25,"z":"db4d8927.c835e8","wires":[[]]},{"id":"d8e89357.d8aaf","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1603.5,"y":1287.25,"z":"db4d8927.c835e8","wires":[["4fca6b77.cc19a4"]]},{"id":"5f77bf0b.24eac","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1146.7857246398926,"y":619.8213481903076,"z":"db4d8927.c835e8","wires":[["a31fbae3.b74338"]]},{"id":"85947ffe.474d","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n","comments":"","x":2116.5,"y":1287.25,"z":"db4d8927.c835e8","wires":[]},{"id":"716be15b.8d8bc","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='num' value='`$num + 1`' />\n","comments":"","x":2134.5,"y":1361.25,"z":"db4d8927.c835e8","wires":[]},{"id":"f67c7412.ed2cc8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n","comments":"","x":1360.5,"y":1372.25,"z":"db4d8927.c835e8","wires":[]},{"id":"bd8e276d.737468","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1394.5,"y":978.25,"z":"db4d8927.c835e8","wires":[["e3b9243e.f61e88","21e7cb32.046f54"]]},{"id":"21e7cb32.046f54","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1609.5,"y":1038.25,"z":"db4d8927.c835e8","wires":[]},{"id":"15ac2395.72b53c","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1934.5,"y":1288.25,"z":"db4d8927.c835e8","wires":[["2fff690e.8ee016","85947ffe.474d","716be15b.8d8bc"]]}] \ No newline at end of file
+[{"id":"d0c59a3d.7ed238","type":"dgstart","name":"DGSTART","outputs":1,"x":98.75,"y":50,"z":"800c9e1a.13ce2","wires":[["f0c0673e.e88ee8"]]},{"id":"f0c0673e.e88ee8","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":374.75,"y":51,"z":"800c9e1a.13ce2","wires":[["8f50a323.b2533"]]},{"id":"8f50a323.b2533","type":"method","name":"self-serve-vnf-ra-assignment","xml":"<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":691.75,"y":51,"z":"800c9e1a.13ce2","wires":[["8d8d8e2.459ef7"]]},{"id":"8d8d8e2.459ef7","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":187.91664123535156,"y":131.3333339691162,"z":"800c9e1a.13ce2","wires":[["824db1d2.ca0c8","319a8e77.bffd82","baafab16.f78078","295ada85.311d36","32e0a4e6.ad652c","66ae9485.ed619c","773ad2d5.7929bc","f06c74aa.529078","b08389cd.25db28","2ecf40df.8b54","27588817.e77f28","118b26b3.8912c9","b9e6cadc.8763c8","ea43f5d0.00a1a8","397b0eed.c2de92"]]},{"id":"319a8e77.bffd82","type":"set","name":"set","xml":"<set>\n <parameter name=\"request-id\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-type`\" /> \n <parameter name=\"resource-id\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" /> \n <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n","comments":"","x":373.6666603088379,"y":176.08333015441895,"z":"800c9e1a.13ce2","wires":[]},{"id":"e67d04d9.1103a8","type":"get-resource","name":"get-resource VF_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n \n\n","comments":"","outputs":1,"x":912.5594635009766,"y":567.6189861297607,"z":"800c9e1a.13ce2","wires":[["d9295e39.85b92","ceb448d8.62a4f8","524195c4.a15adc"]]},{"id":"d9295e39.85b92","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1157.5595626831055,"y":516.904709815979,"z":"800c9e1a.13ce2","wires":[["aa075761.aa8fd8"]]},{"id":"aa075761.aa8fd8","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 reading VF_MODULE_MODEL table\" />\n","comments":"","x":1330.5595626831055,"y":515.904709815979,"z":"800c9e1a.13ce2","wires":[]},{"id":"e30fe9dc.be8b98","type":"set","name":"set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$db1.vf-model.sdnc-model-name`' />\n<parameter name='tmp.sdnc-model-version' value='`$db1.vf-model.sdnc-model-version`' />\n<parameter name='tmp.sdnc-artifact-name' value='`$db1.vf-model.sdnc-artifact-name`' />\n\n\n\n\n","comments":"","x":1532.9880638122559,"y":617.047513961792,"z":"800c9e1a.13ce2","wires":[]},{"id":"7ee3a573.6d8efc","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 reading VF_MODULE_MODEL table\" />\n","comments":"","x":1332.5595626831055,"y":564.904709815979,"z":"800c9e1a.13ce2","wires":[]},{"id":"32e0a4e6.ad652c","type":"switchNode","name":"switch: model info == NULL","xml":"<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n","comments":"","outputs":1,"x":433.55946350097656,"y":568.6189861297607,"z":"800c9e1a.13ce2","wires":[["6d6bcc9e.6983a4"]]},{"id":"ceb448d8.62a4f8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1163.5595626831055,"y":565.904709815979,"z":"800c9e1a.13ce2","wires":[["7ee3a573.6d8efc"]]},{"id":"6d6bcc9e.6983a4","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":682.5594635009766,"y":568.6189861297607,"z":"800c9e1a.13ce2","wires":[["e67d04d9.1103a8"]]},{"id":"295ada85.311d36","type":"for","name":"for vnf-topology-operation-input","xml":"<for silentFailure='true' index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >","comments":"","outputs":1,"x":449.41664123535156,"y":368.3333339691162,"z":"800c9e1a.13ce2","wires":[["34e422ee.14170e"]]},{"id":"34e422ee.14170e","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":671.4166412353516,"y":367.3333339691162,"z":"800c9e1a.13ce2","wires":[["f966e290.4208d"]]},{"id":"fe1a1220.0d2a9","type":"set","name":"set tmp.sdnc-model-name","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n","comments":"","x":1322.4166412353516,"y":300.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"bf45de0d.8d2cd","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":1068.4166412353516,"y":300.3333339691162,"z":"800c9e1a.13ce2","wires":[["fe1a1220.0d2a9"]]},{"id":"f966e290.4208d","type":"switchNode","name":"switch","xml":"<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n\n","comments":"","outputs":1,"x":830.4166412353516,"y":367.3333339691162,"z":"800c9e1a.13ce2","wires":[["bf45de0d.8d2cd","bf945f09.0b903","5e2ecec5.712b4","542f60d0.d3792"]]},{"id":"bf945f09.0b903","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":1071.4166412353516,"y":346.3333339691162,"z":"800c9e1a.13ce2","wires":[["6a9371f3.51374"]]},{"id":"5e2ecec5.712b4","type":"outcome","name":"sdnc_artifact_name","xml":"<outcome value='sdnc_artifact_name'>\n","comments":"","outputs":1,"x":1070.4166412353516,"y":395.3333339691162,"z":"800c9e1a.13ce2","wires":[["7543e155.3b9c4"]]},{"id":"6a9371f3.51374","type":"set","name":"set tmp.sdnc-model-version","xml":"<set>\n<parameter name='tmp.sdnc-model-version' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n","comments":"","x":1326.4166412353516,"y":346.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"7543e155.3b9c4","type":"set","name":"set tmp.sdnc-artifact-name","xml":"<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n","comments":"","x":1322.4166412353516,"y":395.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"b220aa70.438f68","type":"set","name":"set name-value other JsonString","xml":"<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n","comments":"","x":1338.4166412353516,"y":444.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"542f60d0.d3792","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1030.416648864746,"y":444.9047546386719,"z":"800c9e1a.13ce2","wires":[["b220aa70.438f68"]]},{"id":"66ae9485.ed619c","type":"set","name":"set configAssignment JsonString","xml":"<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vnf-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;vnf-model-customization-uuid&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vnf-id&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '&quot;'`\"/>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />","comments":"","x":443.41664123535156,"y":687.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"773ad2d5.7929bc","type":"execute","name":"execute ConfigAssignment","xml":"<execute plugin='org.onap.ccsdk.config.assignment.service.ConfigAssignmentNode' method='process'>\n\t<parameter name=\"request-id\" value='`$request-id`' />\n\t<parameter name=\"resource-id\" value='`$resource-id`' /> \n\t<parameter name=\"resource-type\" value='`$resource-type`' />\n\t<parameter name=\"action-name\" value='`$action-name`' />\n\t<parameter name=\"template-names\" value=\"`'[&quot;' + $tmp.sdnc-artifact-name + '&quot;]'`\" />\n\t<parameter name=\"service-template-name\" value='`$tmp.sdnc-model-name`' />\n\t<parameter name=\"service-template-version\" value='`$tmp.sdnc-model-version`' />\n\t<parameter name='input-data' value='`$tmp.json-payload`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />","comments":"","outputs":1,"x":431.08331298828125,"y":841.9999761581421,"z":"800c9e1a.13ce2","wires":[["439ea371.d8e00c","737bc15c.33608"]]},{"id":"439ea371.d8e00c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":621.0833129882812,"y":817.9999761581421,"z":"800c9e1a.13ce2","wires":[["a0e51ba7.0038b8"]]},{"id":"a0e51ba7.0038b8","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 ConfigAssignmentNode\" />\n","comments":"","x":803.0833129882812,"y":838.9999761581421,"z":"800c9e1a.13ce2","wires":[]},{"id":"b08389cd.25db28","type":"for","name":"for resource-accumulator-resolved-data loop","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n","comments":"","outputs":1,"x":475.41664123535156,"y":1059.333324432373,"z":"800c9e1a.13ce2","wires":[["bfd7ca.a572b838"]]},{"id":"6a7385bd.a3aa5c","type":"set","name":"set from resource-accumulator-resolved-data","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n","comments":"","x":1705.4166412353516,"y":1111.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"2ecf40df.8b54","type":"for","name":"for capability-data","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n","comments":"","outputs":1,"x":400.41664123535156,"y":1401.333324432373,"z":"800c9e1a.13ce2","wires":[["c7af3a2a.07b838"]]},{"id":"c7af3a2a.07b838","type":"for","name":"for key-mapping","xml":"<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >","comments":"","outputs":1,"x":609.4166412353516,"y":1401.333324432373,"z":"800c9e1a.13ce2","wires":[["def772c6.92a07"]]},{"id":"f06c74aa.529078","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":419.41664123535156,"y":980.333324432373,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"824db1d2.ca0c8","type":"execute","name":"execute generateUUID","xml":" <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.vnf-se-serv-uuid\" /> \n ","comments":"","outputs":1,"x":425.41664123535156,"y":131.3333339691162,"z":"800c9e1a.13ce2","wires":[["c25f2fa4.2e114"]]},{"id":"c25f2fa4.2e114","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":603.4166412353516,"y":129.3333339691162,"z":"800c9e1a.13ce2","wires":[["5adea246.4faddc"]]},{"id":"5adea246.4faddc","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=\"generateUUID is failed\" />\n","comments":"","x":750.4166412353516,"y":130.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"b33db330.db3ac","type":"for","name":"for vnf-parameters-data.param","xml":"<for silentFailure='true' index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1448.4166412353516,"y":1059.333324432373,"z":"800c9e1a.13ce2","wires":[["103653f5.91707c"]]},{"id":"bfd7ca.a572b838","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":754.4166412353516,"y":1060.333324432373,"z":"800c9e1a.13ce2","wires":[["aaca7b17.ef9368","228e0b9c.62cb04","15915f83.bbaed"]]},{"id":"baafab16.f78078","type":"switchNode","name":"switch vnf-parameters-data.param_length","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n","comments":"","outputs":1,"x":477.41664123535156,"y":229.3333339691162,"z":"800c9e1a.13ce2","wires":[["c0beca06.9dbe98","a751e3b8.f7e79"]]},{"id":"c0beca06.9dbe98","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":715.4166412353516,"y":197.3333339691162,"z":"800c9e1a.13ce2","wires":[["325b94d1.d736ec"]]},{"id":"a751e3b8.f7e79","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":714.4166412353516,"y":261.3333339691162,"z":"800c9e1a.13ce2","wires":[["4cac7986.26d988"]]},{"id":"325b94d1.d736ec","type":"set","name":"set pre service param len as 0","xml":"<set>\n <parameter name='highnum' value='0' />\n <parameter name='prehighnum' value='0'/>\n","comments":"","x":928.4166412353516,"y":197.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"4cac7986.26d988","type":"set","name":"set pre service param len","xml":"<set>\n <parameter name='highnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />\n <parameter name='prehighnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />","comments":"","x":913.4166412353516,"y":261.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"103653f5.91707c","type":"switchNode","name":"switch input vnf-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n","comments":"","outputs":1,"x":1706.4166412353516,"y":1059.333324432373,"z":"800c9e1a.13ce2","wires":[["bb513218.4fb28"]]},{"id":"bb513218.4fb28","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1886.4166412353516,"y":1059.333324432373,"z":"800c9e1a.13ce2","wires":[["13551737.eec4e9"]]},{"id":"13551737.eec4e9","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n","comments":"","x":2096.4166412353516,"y":1060.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"15915f83.bbaed","type":"switchNode","name":"switch tmp.mso.param.not-found","xml":"<switch test='`$tmp.mso.param.found`'>\n","comments":"","outputs":1,"x":996.4166412353516,"y":1112.333324432373,"z":"800c9e1a.13ce2","wires":[["57aa76b8.68f398"]]},{"id":"57aa76b8.68f398","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1230.4166412353516,"y":1111.333324432373,"z":"800c9e1a.13ce2","wires":[["a1a25b3c.f6b8a8"]]},{"id":"aaca7b17.ef9368","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='tmp.mso.param.found' value='false' />\n","comments":"","x":980.4166412353516,"y":1001.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"228e0b9c.62cb04","type":"switchNode","name":"switch check length > 0","xml":"<switch test='`$prehighnum &gt; 0`'>\n","comments":"","outputs":1,"x":972.9166412353516,"y":1060.333324432373,"z":"800c9e1a.13ce2","wires":[["478407d7.e64458"]]},{"id":"478407d7.e64458","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1219.9166412353516,"y":1060.333324432373,"z":"800c9e1a.13ce2","wires":[["b33db330.db3ac"]]},{"id":"129dc007.a6a9b","type":"for","name":"for payload","xml":"<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >","comments":"","outputs":1,"x":1791.4166412353516,"y":1419.333324432373,"z":"800c9e1a.13ce2","wires":[["b2135a5d.998258"]]},{"id":"ed366e3e.4e89c","type":"set","name":"set resource-key","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\n","comments":"","x":2140.4166412353516,"y":1355.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"adc0d430.9c36a8","type":"set","name":"set output-data ","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />","comments":"","x":1364.4166412353516,"y":1299.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"def772c6.92a07","type":"for","name":"for output-key-mapping","xml":"<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >","comments":"","outputs":1,"x":832.4166412353516,"y":1401.333324432373,"z":"800c9e1a.13ce2","wires":[["5039b442.319d5c"]]},{"id":"5039b442.319d5c","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1083.4166412353516,"y":1401.333324432373,"z":"800c9e1a.13ce2","wires":[["adc0d430.9c36a8","ace22a8e.1c1438","224d1f3e.75128","98fa758f.6cfbb8"]]},{"id":"ace22a8e.1c1438","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n","comments":"","x":1352.4166412353516,"y":1437.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"737bc15c.33608","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":626.0833129882812,"y":879.9999761581421,"z":"800c9e1a.13ce2","wires":[["a0e51ba7.0038b8"]]},{"id":"224d1f3e.75128","type":"switchNode","name":"switch payload_length","xml":"<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n","comments":"","outputs":1,"x":1388.4166412353516,"y":1370.333324432373,"z":"800c9e1a.13ce2","wires":[["da435bd9.d2a898","121da4bf.6ed1fb"]]},{"id":"da435bd9.d2a898","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1609.4166412353516,"y":1301.333324432373,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"121da4bf.6ed1fb","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1616.4166412353516,"y":1419.333324432373,"z":"800c9e1a.13ce2","wires":[["129dc007.a6a9b"]]},{"id":"524195c4.a15adc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1159.7023658752441,"y":616.9046821594238,"z":"800c9e1a.13ce2","wires":[["e30fe9dc.be8b98"]]},{"id":"c2b87f13.df4ad","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n","comments":"","x":2129.4166412353516,"y":1419.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"965376ca.357fd8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='num' value='`$num + 1`' />\n","comments":"","x":2147.4166412353516,"y":1493.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"98fa758f.6cfbb8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n","comments":"","x":1373.4166412353516,"y":1504.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"a1a25b3c.f6b8a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1407.4166412353516,"y":1110.333324432373,"z":"800c9e1a.13ce2","wires":[["6a7385bd.a3aa5c","82641903.bb3408"]]},{"id":"82641903.bb3408","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1622.4166412353516,"y":1170.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"b2135a5d.998258","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1947.4166412353516,"y":1420.333324432373,"z":"800c9e1a.13ce2","wires":[["ed366e3e.4e89c","c2b87f13.df4ad","965376ca.357fd8"]]},{"id":"27588817.e77f28","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"BEFORE ConfigAssignmentNode\"/>\n\n","comments":"","outputs":1,"x":373.7499809265137,"y":763.333324432373,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"118b26b3.8912c9","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"AFTER ConfigAssignmentNode\"/>\n\n","comments":"","outputs":1,"x":370.4166488647461,"y":918.3333320617676,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"ea43f5d0.00a1a8","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n","comments":"","outputs":1,"x":378.75000762939453,"y":1722.5000267028809,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"b9e6cadc.8763c8","type":"set","name":"set pathname","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vnf-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`\" />\n","comments":"","x":385.00000762939453,"y":1670.0000247955322,"z":"800c9e1a.13ce2","wires":[]},{"id":"397b0eed.c2de92","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE: vnf-ra-assignment\"/>\n\n","comments":"","outputs":1,"x":362.50000381469727,"y":1623.7500247955322,"z":"800c9e1a.13ce2","wires":[[]]}] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-generate-name.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-generate-name.xml
index 294ce772..94225a15 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-generate-name.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-generate-name.xml
@@ -6,613 +6,430 @@
<set>
<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />
</set>
- <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
- <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
- <parameter name='contextPrefix' value='prop' />
- </execute>
- <call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >
- <outcome value='failure'>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from capability-param-resolution" />
- </return>
- </outcome>
- <outcome value='not-found'>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from capability-param-resolution" />
- </return>
- </outcome>
- </call>
- <switch test="`$ss.capability-type == 'vnf'`">
- <outcome value='true'>
- <block>
- <switch test="`$ss.capability-action == 'unassign'`">
- <outcome value='true'>
+ <call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' ></call>
+ <switch test="`$ss.capability-type`">
+ <outcome value='vnf'>
+ <switch test="`$ss.capability-action`">
+ <outcome value='unassign'>
+ <for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
+ <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '{'`" />
+ </set>
+ <for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >
+ <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`">
+ <outcome value='true'>
+ <set>
+ <parameter name="tmp.naming-data-payload" value="`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`"/>
+ </set>
+ </outcome>
+ </switch>
+ </for>
+ <set>
+ <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '},'`" />
+ </set>
+ <set>
+ <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + ']}'`" />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
+ <parameter name='outputPath' value='tmp.naming-data-payload' />
+ <parameter name='source' value='`$tmp.naming-data-payload`' />
+ <parameter name='target' value=',}' />
+ <parameter name='replacement' value='}' />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
+ <parameter name='outputPath' value='tmp.naming-data-payload' />
+ <parameter name='source' value='`$tmp.naming-data-payload`' />
+ <parameter name='target' value=',]' />
+ <parameter name='replacement' value=']' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="BEFORE namegeneration.node.UnAssignNameNode"/>
+ </record>
+ <execute plugin='org.openecomp.sdnc.prov.namegeneration.node.UnAssignNameNode' method='process'>
+ <parameter name='payload' value='`$tmp.naming-data-payload`' />
+ <parameter name="prifix" value="nameGenResponse" />
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error from NameGenerationNode Unassign" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <block>
+ <set>
+ <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error from NameGenerationNode Unassign" />
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="AFTER namegeneration.node.UnAssignNameNode"/>
+ </record>
+ <set>
+ <parameter name='pathname'
+ value="`'/var/tmp/ss-gen-name-' +
+ $ss.capability-type + '-' + $ss.capability-action + '-' +
+ $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`" />
+ </set>
+ <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
+ <parameter name="source" value="nameGenResponse.response-payload" />
+ <parameter name="outputPath" value="jsonContextPrefix" />
+ <parameter name="isEscaped" value="false" />
+ </execute>
+ <set>
+ <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='DELETED' />
+ </set>
+ <for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >
+ <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].name == $jsonContextPrefix.elements[$n].resource-name`'>
+ <outcome value='true'>
+ <set>
+ <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].value`' value="`$jsonContextPrefix.elements[$n].resource-value`" />
+ </set>
+ </outcome>
+ </switch>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
+ <outcome value='assign'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />
+ </set>
<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>
<outcome value='true'>
<block atomic='true'>
<set>
<parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '{'`" />
- <parameter name='tmp.gen-name_length' value='1' />
</set>
<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >
- <switch test="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`">
- <outcome value='true'>
- <set>
- <parameter name="tmp.naming-data-payload" value="`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`"/>
- <parameter name="`tmp.gen-name[0].element[$j].name`" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`"/>
- <parameter name="`tmp.gen-name[0].element[$j].value`" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`"/>
- <parameter name="`tmp.gen-name[0].element_length`" value='`$j + 1`' />
- </set>
- </outcome>
- </switch>
+ <set>
+ <parameter name="tmp.naming-data-payload" value="`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`"/>
+ </set>
</for>
<set>
<parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '},'`" />
</set>
- <set>
- <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + ']}'`" />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
- <parameter name='outputPath' value='tmp.naming-data-payload' />
- <parameter name='source' value='`$tmp.naming-data-payload`' />
- <parameter name='target' value=',}' />
- <parameter name='replacement' value='}' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
- <parameter name='outputPath' value='tmp.naming-data-payload' />
- <parameter name='source' value='`$tmp.naming-data-payload`' />
- <parameter name='target' value=',]' />
- <parameter name='replacement' value=']' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`" />
- <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />
- <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />
- <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />
- <parameter name='format' value='json' />
- <parameter name='httpMethod' value='DELETE' />
- <parameter name="responsePrefix" value="nameGenResponse" />
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from NameGenerationNode Unassign" />
- </return>
- </block>
- </outcome>
- <outcome value='not-found'>
- <block>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from NameGenerationNode Unassign" />
- </return>
- </block>
- </outcome>
- </execute>
- <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
- <parameter name="source" value="nameGenResponse.httpResponse" />
- <parameter name="outputPath" value="jsonContextPrefix" />
- <parameter name="isEscaped" value="false" />
- </execute>
- <for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >
- <for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
- <parameter name="source" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`" />
- <parameter name="target" value="$"/>
- <outcome value='true'>
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name='ctx_memory_result_key' value='resource-resolution-split' />
- <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />
- <parameter name='regex' value='\$\{' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name='ctx_memory_result_key' value='s2' />
- <parameter name='original_string' value='`$resource-resolution-split[1]`' />
- <parameter name='regex' value='\}' />
- </execute>
- <switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>
- <outcome value='true'>
- <block>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value="`$jsonContextPrefix.elements[$n].resource-value`" />
- </set>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='DELETED' />
- </set>
- </block>
- </outcome>
- </switch>
- </block>
- </outcome>
- </execute>
- </for>
- </for>
</block>
</outcome>
</switch>
</for>
- </outcome>
- </switch>
- <switch test="`$ss.capability-action == 'assign'`">
- <outcome value='true'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />
- <parameter name='tmp.gen-name_length' value='0' />
- </set>
- <for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
- <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>
- <outcome value='true'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '{'`" />
- </set>
- <for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >
+ <switch test="`$tmp.naming-data-payload == ''`">
+ <outcome value='false'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + ']}'`" />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
+ <parameter name='outputPath' value='tmp.naming-data-payload' />
+ <parameter name='source' value='`$tmp.naming-data-payload`' />
+ <parameter name='target' value=',}' />
+ <parameter name='replacement' value='}' />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
+ <parameter name='outputPath' value='tmp.naming-data-payload' />
+ <parameter name='source' value='`$tmp.naming-data-payload`' />
+ <parameter name='target' value=',]' />
+ <parameter name='replacement' value=']' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="BEFORE namegeneration.node.AssignNameNode"/>
+ </record>
+ <execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>
+ <parameter name='payload' value='`$tmp.naming-data-payload`' />
+ <parameter name="prifix" value="nameGenResponse" />
+ <outcome value='failure'>
+ <block>
<set>
- <parameter name="tmp.naming-data-payload" value="`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`"/>
- <parameter name="`tmp.gen-name[$tmp.gen-name_length].element[$j].name`" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`"/>
- <parameter name="`tmp.gen-name[$tmp.gen-name_length].element[$j].value`" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`"/>
- <parameter name="`tmp.gen-name[$tmp.gen-name_length].element_length`" value='`$j + 1`' />
+ <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />
</set>
- </for>
- <set>
- <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '},'`" />
- <parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />
- </set>
- </block>
- </outcome>
- </switch>
- </for>
- <switch test="`$tmp.naming-data-payload == ''`">
- <outcome value='false'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + ']}'`" />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
- <parameter name='outputPath' value='tmp.naming-data-payload' />
- <parameter name='source' value='`$tmp.naming-data-payload`' />
- <parameter name='target' value=',}' />
- <parameter name='replacement' value='}' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
- <parameter name='outputPath' value='tmp.naming-data-payload' />
- <parameter name='source' value='`$tmp.naming-data-payload`' />
- <parameter name='target' value=',]' />
- <parameter name='replacement' value=']' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`" />
- <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />
- <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />
- <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />
- <parameter name='format' value='json' />
- <parameter name='httpMethod' value='POST' />
- <parameter name="responsePrefix" value="nameGenResponse" />
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from NameGenerationNode Assign" />
- </return>
- </block>
- </outcome>
- <outcome value='not-found'>
- <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error from NameGenerationNode Assign" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <block>
+ <set>
+ <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error from NameGenerationNode Assign" />
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="AFTER namegeneration.node.AssignNameNode"/>
+ </record>
+ <set>
+ <parameter name='pathname'
+ value="`'/var/tmp/ss-gen-name-' +
+ $ss.capability-type + '-' + $ss.capability-action + '-' +
+ $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`" />
+ </set>
+ <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
+ <parameter name="source" value="nameGenResponse.response-payload" />
+ <parameter name="outputPath" value="jsonContextPrefix" />
+ <parameter name="isEscaped" value="false" />
+ </execute>
+ <for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >
+ <for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
+ <switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].name == $jsonContextPrefix.elements[$n].resource-name`'>
+ <outcome value='true'>
<set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />
+ <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value="`$jsonContextPrefix.elements[$n].resource-value`" />
+ <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />
</set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from NameGenerationNode Assign" />
- </return>
- </block>
- </outcome>
- </execute>
- <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
- <parameter name="source" value="nameGenResponse.httpResponse" />
- <parameter name="outputPath" value="jsonContextPrefix" />
- <parameter name="isEscaped" value="false" />
- </execute>
- <for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >
- <for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
- <parameter name="source" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`" />
- <parameter name="target" value="$"/>
- <outcome value='true'>
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name='ctx_memory_result_key' value='resource-resolution-split' />
- <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />
- <parameter name='regex' value='\$\{' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name='ctx_memory_result_key' value='s2' />
- <parameter name='original_string' value='`$resource-resolution-split[1]`' />
- <parameter name='regex' value='\}' />
- </execute>
- <switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>
- <outcome value='true'>
- <block>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value="`$jsonContextPrefix.elements[$n].resource-value`" />
- </set>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />
- </set>
- </block>
- </outcome>
- </switch>
- </block>
- </outcome>
- </execute>
- </for>
- </for>
- <for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
- <parameter name="source" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`" />
- <parameter name="target" value="$"/>
- <outcome value='false'>
- <block>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.capability-name`' value='INPUT' />
- </set>
- <set>
- <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />
- </set>
- </block>
</outcome>
- </execute>
+ </switch>
</for>
- </block>
- </outcome>
- </switch>
- </block>
- </outcome>
- </switch>
- </block>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
</outcome>
- </switch>
- <switch test="`$ss.capability-type == 'vf-module'`">
- <outcome value='true'>
- <block>
- <switch test="`$ss.capability-action == 'unassign'`">
- <outcome value='true'>
+ <outcome value='vf-module'>
+ <switch test="`$ss.capability-action`">
+ <outcome value='unassign'>
+ <for index='i' start='0' end='`$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_length`' >
+ <switch test='`$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[$i].resource-resolution-data.capability-name == $ss.capability-name`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '{'`" />
+ </set>
+ <for index='j' start='0' end='`$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[$i].resource-resolution-data.resource-key_length`' >
+ <switch test="`$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[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`">
+ <outcome value='true'>
+ <set>
+ <parameter name="tmp.naming-data-payload" value="`$tmp.naming-data-payload + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`"/>
+ </set>
+ </outcome>
+ </switch>
+ </for>
+ <set>
+ <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '},'`" />
+ </set>
+ <set>
+ <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + ']}'`" />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
+ <parameter name='outputPath' value='tmp.naming-data-payload' />
+ <parameter name='source' value='`$tmp.naming-data-payload`' />
+ <parameter name='target' value=',}' />
+ <parameter name='replacement' value='}' />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
+ <parameter name='outputPath' value='tmp.naming-data-payload' />
+ <parameter name='source' value='`$tmp.naming-data-payload`' />
+ <parameter name='target' value=',]' />
+ <parameter name='replacement' value=']' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="BEFORE namegeneration.node.UnAssignNameNode"/>
+ </record>
+ <execute plugin='org.openecomp.sdnc.prov.namegeneration.node.UnAssignNameNode' method='process'>
+ <parameter name='payload' value='`$tmp.naming-data-payload`' />
+ <parameter name="prifix" value="nameGenResponse" />
+ <outcome value='failure'>
+ <block>
+ <set>
+ <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[$i].resource-resolution-data.status`' value='FAILED' />
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error from NameGenerationNode Unassign" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <block>
+ <set>
+ <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[$i].resource-resolution-data.status`' value='FAILED' />
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error from NameGenerationNode Unassign" />
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="AFTER namegeneration.node.UnAssignNameNode"/>
+ </record>
+ <set>
+ <parameter name='pathname'
+ value="`'/var/tmp/ss-gen-name-' +
+ $ss.capability-type + '-' + $ss.capability-action + '-' +
+ $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`" />
+ </set>
+ <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
+ <parameter name="source" value="nameGenResponse.response-payload" />
+ <parameter name="outputPath" value="jsonContextPrefix" />
+ <parameter name="isEscaped" value="false" />
+ </execute>
+ <set>
+ <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[$i].resource-resolution-data.status`' value='DELETED' />
+ </set>
+ <for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >
+ <switch test='`$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[$i].name == $jsonContextPrefix.elements[$n].resource-name`'>
+ <outcome value='true'>
+ <set>
+ <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[$i].value`' value="`$jsonContextPrefix.elements[$n].resource-value`" />
+ </set>
+ </outcome>
+ </switch>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
+ <outcome value='assign'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />
+ </set>
<for index='i' start='0' end='`$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_length`' >
<switch test='`$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[$i].resource-resolution-data.capability-name == $ss.capability-name`'>
<outcome value='true'>
<block atomic='true'>
<set>
<parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '{'`" />
- <parameter name='tmp.gen-name_length' value='1' />
</set>
<for index='j' start='0' end='`$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[$i].resource-resolution-data.resource-key_length`' >
- <switch test="`$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[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`">
- <outcome value='true'>
- <set>
- <parameter name="tmp.naming-data-payload" value="`$tmp.naming-data-payload + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`"/>
- <parameter name="`tmp.gen-name[0].element[$j].name`" value="`$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[$i].resource-resolution-data.resource-key[$j].name`"/>
- <parameter name="`tmp.gen-name[0].element[$j].value`" value="`$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[$i].resource-resolution-data.resource-key[$j].value`"/>
- <parameter name="`tmp.gen-name[0].element_length`" value='`$j + 1`' />
- </set>
- </outcome>
- </switch>
+ <set>
+ <parameter name="tmp.naming-data-payload" value="`$tmp.naming-data-payload + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`"/>
+ </set>
</for>
<set>
<parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '},'`" />
</set>
- <set>
- <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + ']}'`" />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
- <parameter name='outputPath' value='tmp.naming-data-payload' />
- <parameter name='source' value='`$tmp.naming-data-payload`' />
- <parameter name='target' value=',}' />
- <parameter name='replacement' value='}' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
- <parameter name='outputPath' value='tmp.naming-data-payload' />
- <parameter name='source' value='`$tmp.naming-data-payload`' />
- <parameter name='target' value=',]' />
- <parameter name='replacement' value=']' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`" />
- <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />
- <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />
- <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />
- <parameter name='format' value='json' />
- <parameter name='httpMethod' value='DELETE' />
- <parameter name="responsePrefix" value="nameGenResponse" />
- <outcome value='failure'>
- <block>
- <set>
- <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[$i].resource-resolution-data.status`' value='FAILED' />
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from NameGenerationNode Unassign" />
- </return>
- </block>
- </outcome>
- <outcome value='not-found'>
- <block>
- <set>
- <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[$i].resource-resolution-data.status`' value='FAILED' />
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from NameGenerationNode Unassign" />
- </return>
- </block>
- </outcome>
- </execute>
- <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
- <parameter name="source" value="nameGenResponse.httpResponse" />
- <parameter name="outputPath" value="jsonContextPrefix" />
- <parameter name="isEscaped" value="false" />
- </execute>
- <set>
- <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[$i].resource-resolution-data.status`' value='DELETED' />
- </set>
- <for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >
- <for index='l' start='0' end='`$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_length`' >
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
- <parameter name="source" value="`$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[$l].value`" />
- <parameter name="target" value="$"/>
- <outcome value='true'>
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name='ctx_memory_result_key' value='resource-resolution-split' />
- <parameter name='original_string' value='`$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[$l].value`' />
- <parameter name='regex' value='\$\{' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name='ctx_memory_result_key' value='s2' />
- <parameter name='original_string' value='`$resource-resolution-split[1]`' />
- <parameter name='regex' value='\}' />
- </execute>
- <switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>
- <outcome value='true'>
- <set>
- <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[$l].value`' value="`$jsonContextPrefix.elements[$n].resource-value`" />
- </set>
- </outcome>
- </switch>
- </block>
- </outcome>
- </execute>
- </for>
- </for>
</block>
</outcome>
</switch>
</for>
- </outcome>
- </switch>
- <switch test="`$ss.capability-action == 'assign'`">
- <outcome value='true'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />
- <parameter name='tmp.gen-name_length' value='0' />
- </set>
- <for index='i' start='0' end='`$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_length`' >
- <switch test='`$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[$i].resource-resolution-data.capability-name == $ss.capability-name`'>
- <outcome value='true'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '{'`" />
- </set>
- <for index='j' start='0' end='`$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[$i].resource-resolution-data.resource-key_length`' >
+ <switch test="`$tmp.naming-data-payload == ''`">
+ <outcome value='false'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + ']}'`" />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
+ <parameter name='outputPath' value='tmp.naming-data-payload' />
+ <parameter name='source' value='`$tmp.naming-data-payload`' />
+ <parameter name='target' value=',}' />
+ <parameter name='replacement' value='}' />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
+ <parameter name='outputPath' value='tmp.naming-data-payload' />
+ <parameter name='source' value='`$tmp.naming-data-payload`' />
+ <parameter name='target' value=',]' />
+ <parameter name='replacement' value=']' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="BEFORE namegeneration.node.AssignNameNode"/>
+ </record>
+ <execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>
+ <parameter name='payload' value='`$tmp.naming-data-payload`' />
+ <parameter name="prifix" value="nameGenResponse" />
+ <outcome value='failure'>
+ <block>
<set>
- <parameter name="tmp.naming-data-payload" value="`$tmp.naming-data-payload + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $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[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`"/>
- <parameter name="`tmp.gen-name[$tmp.gen-name_length].element[$j].name`" value="`$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[$i].resource-resolution-data.resource-key[$j].name`"/>
- <parameter name="`tmp.gen-name[$tmp.gen-name_length].element[$j].value`" value="`$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[$i].resource-resolution-data.resource-key[$j].value`"/>
- <parameter name="`tmp.gen-name[$tmp.gen-name_length].element_length`" value='`$j + 1`' />
+ <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[$i].resource-resolution-data.status`' value='FAILED' />
</set>
- </for>
- <set>
- <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + '},'`" />
- <parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />
- </set>
- </block>
- </outcome>
- </switch>
- </for>
- <switch test="`$tmp.naming-data-payload == ''`">
- <outcome value='false'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.naming-data-payload' value="`$tmp.naming-data-payload + ']}'`" />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
- <parameter name='outputPath' value='tmp.naming-data-payload' />
- <parameter name='source' value='`$tmp.naming-data-payload`' />
- <parameter name='target' value=',}' />
- <parameter name='replacement' value='}' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>
- <parameter name='outputPath' value='tmp.naming-data-payload' />
- <parameter name='source' value='`$tmp.naming-data-payload`' />
- <parameter name='target' value=',]' />
- <parameter name='replacement' value=']' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`" />
- <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />
- <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />
- <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />
- <parameter name='format' value='json' />
- <parameter name='httpMethod' value='POST' />
- <parameter name="responsePrefix" value="nameGenResponse" />
- <outcome value='failure'>
- <block>
- <set>
- <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[$i].resource-resolution-data.status`' value='FAILED' />
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from NameGenerationNode Assign" />
- </return>
- </block>
- </outcome>
- <outcome value='not-found'>
- <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error from NameGenerationNode Assign" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='not-found'>
+ <block>
+ <set>
+ <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[$i].resource-resolution-data.status`' value='FAILED' />
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error from NameGenerationNode Assign" />
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="AFTER namegeneration.node.AssignNameNode"/>
+ </record>
+ <set>
+ <parameter name='pathname'
+ value="`'/var/tmp/ss-gen-name-' +
+ $ss.capability-type + '-' + $ss.capability-action + '-' +
+ $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`" />
+ </set>
+ <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
+ <parameter name="source" value="nameGenResponse.response-payload" />
+ <parameter name="outputPath" value="jsonContextPrefix" />
+ <parameter name="isEscaped" value="false" />
+ </execute>
+ <for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >
+ <for index='l' start='0' end='`$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_length`' >
+ <switch test='`$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[$l].name == $jsonContextPrefix.elements[$n].resource-name`'>
+ <outcome value='true'>
<set>
- <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[$i].resource-resolution-data.status`' value='FAILED' />
+ <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[$l].value`' value="`$jsonContextPrefix.elements[$n].resource-value`" />
+ <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[$l].resource-resolution-data.status`' value='SUCCESS' />
</set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from NameGenerationNode Assign" />
- </return>
- </block>
- </outcome>
- </execute>
- <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
- <parameter name="source" value="nameGenResponse.httpResponse" />
- <parameter name="outputPath" value="jsonContextPrefix" />
- <parameter name="isEscaped" value="false" />
- </execute>
- <set>
- <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[$i].resource-resolution-data.status`' value='SUCCESS' />
- </set>
- <for index='cn' start='0' end='`$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_length`' >
- <switch test="`$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[$cn].name == 'vnfc-name'`">
- <outcome value='true'>
- <for silentFailure='true' index='j' start='0' end='`$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[$cn].resource-resolution-data.resource-key_length`' >
- <block>
- <switch test="`$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[$cn].resource-resolution-data.resource-key[$j].name == 'vm-type'`">
- <outcome value='true'>
- <set>
- <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-assignments.vms.vm[0].vm-type`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />
- </set>
- </outcome>
- </switch>
- <switch test="`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-invariant-uuid'`">
- <outcome value='true'>
- <set>
- <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-assignments.vms.vm[0].onap-model-information.model-invariant-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />
- </set>
- </outcome>
- </switch>
- <switch test="`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-customization-uuid'`">
- <outcome value='true'>
- <set>
- <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-assignments.vms.vm[0].onap-model-information.model-customization-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />
- </set>
- </outcome>
- </switch>
- <switch test="`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-uuid'`">
- <outcome value='true'>
- <set>
- <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-assignments.vms.vm[0].onap-model-information.model-uuid`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />
- </set>
- </outcome>
- </switch>
- <switch test="`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-version'`">
- <outcome value='true'>
- <set>
- <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-assignments.vms.vm[0].onap-model-information.model-version`' value='`$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[$cn].resource-resolution-data.resource-key[j].value`' />
- </set>
- </outcome>
- </switch>
- <switch test="`$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[$cn].resource-resolution-data.resource-key[$j].name == 'model-name'`">
- <outcome value='true'>
- <set>
- <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-assignments.vms.vm[0].onap-model-information.model-name`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />
- </set>
- </outcome>
- </switch>
- <switch test="`$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[$cn].resource-resolution-data.resource-key[$j].name == 'vnfc-name'`">
- <outcome value='true'>
- <set>
- <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-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-name`' value='`$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[$cn].resource-resolution-data.resource-key[$j].value`' />
- </set>
- </outcome>
- </switch>
- </block>
- </for>
</outcome>
</switch>
</for>
- <for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >
- <for index='l' start='0' end='`$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_length`' >
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
- <parameter name="source" value="`$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[$l].value`" />
- <parameter name="target" value="$"/>
- <outcome value='true'>
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name='ctx_memory_result_key' value='resource-resolution-split' />
- <parameter name='original_string' value='`$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[$l].value`' />
- <parameter name='regex' value='\$\{' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name='ctx_memory_result_key' value='s2' />
- <parameter name='original_string' value='`$resource-resolution-split[1]`' />
- <parameter name='regex' value='\}' />
- </execute>
- <switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>
- <outcome value='true'>
- <set>
- <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[$l].value`' value="`$jsonContextPrefix.elements[$n].resource-value`" />
- </set>
- </outcome>
- </switch>
- </block>
- </outcome>
- </execute>
- </for>
- </for>
- <for index='l' start='0' end='`$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_length`' >
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
- <parameter name="source" value="`$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[$l].value`" />
- <parameter name="target" value="$"/>
- <outcome value='false'>
- <block>
- <set>
- <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[$l].resource-resolution-data.capability-name`' value='INPUT' />
- </set>
- <set>
- <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[$l].resource-resolution-data.status`' value='SUCCESS' />
- </set>
- </block>
- </outcome>
- </execute>
- </for>
- </block>
- </outcome>
- </switch>
- </block>
- </outcome>
- </switch>
- </block>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
</outcome>
</switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='`$pathname`' />
+ </execute>
</block>
</method>
</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml
index 5b15d653..de88ad7d 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml
@@ -189,6 +189,14 @@
<parameter name='ss.capability.execution-order[12]' value='aai-vf-module-put' />
<parameter name='ss.capability.execution-order_length' value='13' />
</set>
+ <switch test='`$prop.controller.user`'>
+ <outcome value=''>
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ </outcome>
+ </switch>
<switch test='`$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_length`'>
<outcome value=''>
<block atomic='true'>
@@ -204,6 +212,10 @@
</return>
</outcome>
</call>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="DONE with vfmodule-ra-assignment"/>
+ </record>
</block>
</outcome>
</switch>
@@ -226,166 +238,181 @@ ss.capability.execution-order
</set>
<switch test='`$ss.capability-name == $tmp.param.capability-name`'>
<outcome value='true'>
- <switch test='`$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[$pidx].resource-resolution-data.status`'>
- <outcome value='PENDING'>
- <call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='vf.vf-module-id'
+ <block atomic='true'>
+ <switch test='`$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[$pidx].resource-resolution-data.status`'>
+ <outcome value='PENDING'>
+ <call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='vf.vf-module-id'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />
- <parameter name='vf.vf-module-data.sdnc-request-header.'
+ <parameter name='vf.vf-module-data.sdnc-request-header.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />
- <parameter name='vf.vf-module-data.request-information.'
+ <parameter name='vf.vf-module-data.request-information.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />
- <parameter name='vf.vf-module-data.service-information.'
+ <parameter name='vf.vf-module-data.service-information.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />
- <parameter name='vf.vf-module-data.vnf-information.'
+ <parameter name='vf.vf-module-data.vnf-information.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />
- <parameter name='vf.vf-module-data.vf-module-information.'
+ <parameter name='vf.vf-module-data.vf-module-information.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />
- <parameter name='vf.vf-module-data.vf-module-topology.'
+ <parameter name='vf.vf-module-data.vf-module-topology.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />
- <parameter name='vf.vf-module-data.vf-module-level-oper-status.'
+ <parameter name='vf.vf-module-data.vf-module-level-oper-status.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'
+ <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.request-version'
+ <parameter name='vf.vf-module-data.vf-module-request-input.request-version'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'
+ <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.tenant'
+ <parameter name='vf.vf-module-data.vf-module-request-input.tenant'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'
+ <parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'
+ <parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.ss-vfmodule-assignments`"/>
- <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
- <parameter name="target" value="{service-instance-id}"/>
- <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>
- <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
- <parameter name="target" value="{vnf-id}"/>
- <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>
- <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
- <parameter name="target" value="{vf-module-id}"/>
- <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`" />
- <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />
- <parameter name='restapiUser' value='`$prop.controller.user`' />
- <parameter name='restapiPassword' value='`$prop.controller.pwd`' />
- <parameter name='format' value='json' />
- <parameter name='httpMethod' value='PUT' />
- <parameter name="responsePrefix" value="mdsal-ss-vfmodule" />
- <outcome value='failure'>
- <set>
- <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />
- </set>
- </outcome>
- <outcome value='not-found'>
- <set>
- <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />
- </set>
- </outcome>
- </execute>
- <return status='failure'>
- <parameter name='error-code' value='500' />
- <parameter name='error-message' value="`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`" />
- </return>
- </block>
- </outcome>
- </call>
- </outcome>
- <outcome value='FAILED'>
- <call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='vf.vf-module-id'
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.ss-vfmodule-assignments`"/>
+ <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
+ <parameter name="target" value="{service-instance-id}"/>
+ <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>
+ <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
+ <parameter name="target" value="{vnf-id}"/>
+ <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>
+ <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
+ <parameter name="target" value="{vf-module-id}"/>
+ <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`" />
+ <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />
+ <parameter name='restapiUser' value='`$prop.controller.user`' />
+ <parameter name='restapiPassword' value='`$prop.controller.pwd`' />
+ <parameter name='format' value='json' />
+ <parameter name='httpMethod' value='PUT' />
+ <parameter name="responsePrefix" value="mdsal-ss-vfmodule" />
+ <outcome value='failure'>
+ <set>
+ <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />
+ </set>
+ </outcome>
+ <outcome value='not-found'>
+ <set>
+ <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />
+ </set>
+ </outcome>
+ </execute>
+ <return status='failure'>
+ <parameter name='error-code' value='500' />
+ <parameter name='error-message' value="`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="`'DONE: ' + $ss.capability-dg`"/>
+ </record>
+ </outcome>
+ </call>
+ </outcome>
+ <outcome value='FAILED'>
+ <call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='vf.vf-module-id'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />
- <parameter name='vf.vf-module-data.sdnc-request-header.'
+ <parameter name='vf.vf-module-data.sdnc-request-header.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />
- <parameter name='vf.vf-module-data.request-information.'
+ <parameter name='vf.vf-module-data.request-information.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />
- <parameter name='vf.vf-module-data.service-information.'
+ <parameter name='vf.vf-module-data.service-information.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />
- <parameter name='vf.vf-module-data.vnf-information.'
+ <parameter name='vf.vf-module-data.vnf-information.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />
- <parameter name='vf.vf-module-data.vf-module-information.'
+ <parameter name='vf.vf-module-data.vf-module-information.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />
- <parameter name='vf.vf-module-data.vf-module-topology.'
+ <parameter name='vf.vf-module-data.vf-module-topology.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />
- <parameter name='vf.vf-module-data.vf-module-level-oper-status.'
+ <parameter name='vf.vf-module-data.vf-module-level-oper-status.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'
+ <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.request-version'
+ <parameter name='vf.vf-module-data.vf-module-request-input.request-version'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'
+ <parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.tenant'
+ <parameter name='vf.vf-module-data.vf-module-request-input.tenant'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'
+ <parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />
- <parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'
+ <parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'
value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.ss-vfmodule-assignments`"/>
- <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
- <parameter name="target" value="{service-instance-id}"/>
- <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>
- <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
- <parameter name="target" value="{vnf-id}"/>
- <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>
- <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
- <parameter name="target" value="{vf-module-id}"/>
- <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`" />
- <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />
- <parameter name='restapiUser' value='`$prop.controller.user`' />
- <parameter name='restapiPassword' value='`$prop.controller.pwd`' />
- <parameter name='format' value='json' />
- <parameter name='httpMethod' value='PUT' />
- <parameter name="responsePrefix" value="mdsal-ss-vfmodule" />
- <outcome value='failure'>
- <set>
- <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />
- </set>
- </outcome>
- <outcome value='not-found'>
- <set>
- <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />
- </set>
- </outcome>
- </execute>
- <return status='failure'>
- <parameter name='error-code' value='500' />
- <parameter name='error-message' value="`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`" />
- </return>
- </block>
- </outcome>
- </call>
- </outcome>
- </switch>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.ss-vfmodule-assignments`"/>
+ <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
+ <parameter name="target" value="{service-instance-id}"/>
+ <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>
+ <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
+ <parameter name="target" value="{vnf-id}"/>
+ <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.ss-vfmodule-url`"/>
+ <parameter name="outputPath" value="tmp.ss-vfmodule-url"/>
+ <parameter name="target" value="{vf-module-id}"/>
+ <parameter name="replacement" value="`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name='templateFileName' value="`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`" />
+ <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />
+ <parameter name='restapiUser' value='`$prop.controller.user`' />
+ <parameter name='restapiPassword' value='`$prop.controller.pwd`' />
+ <parameter name='format' value='json' />
+ <parameter name='httpMethod' value='PUT' />
+ <parameter name="responsePrefix" value="mdsal-ss-vfmodule" />
+ <outcome value='failure'>
+ <set>
+ <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />
+ </set>
+ </outcome>
+ <outcome value='not-found'>
+ <set>
+ <parameter name="error-message" value="Failed to persist self-serve vf-module assignments during assign in MD-SAL" />
+ </set>
+ </outcome>
+ </execute>
+ <return status='failure'>
+ <parameter name='error-code' value='500' />
+ <parameter name='error-message' value="`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="`'DONE: ' + $ss.capability-dg`"/>
+ </record>
+ </outcome>
+ </call>
+ </outcome>
+ </switch>
+ <break/>
+ </block>
</outcome>
</switch>
</for>
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
index 8a91cdec..c1bbe225 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
@@ -121,7 +121,11 @@
<parameter name="tmp.config-name-value-payload9" value="`$tmp.config-name-value-payload8 + '&quot;aic-cloud-region&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region + '&quot;'`"/>
<parameter name="tmp.config-name-value-payload91" value="`'{' + $tmp.config-name-value-payload9 + '}'`" />
</set>
- <execute plugin='org.onap.ccsdk.features.assignment.service.ConfigAssignmentNode' method='process'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="BEFORE ConfigAssignmentNode"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.config.assignment.service.ConfigAssignmentNode' method='process'>
<parameter name="request-id" value='`$request-id`' />
<parameter name="resource-id" value='`$resource-id`' />
<parameter name="resource-type" value='`$resource-type`' />
@@ -146,6 +150,10 @@
</return>
</outcome>
</execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="AFTER ConfigAssignmentNode"/>
+ </record>
<execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
<parameter name="source" value="`'sriovAssign.mashed-data.' + $tmp.vf-module-label`" />
<parameter name="outputPath" value="jsonContextPrefix" />
@@ -227,6 +235,18 @@
</for>
</for>
</for>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="DONE: vfmodule-ra-assignment"/>
+ </record>
+ <set>
+ <parameter name='pathname'
+ value="`'/var/tmp/ss-vfmodule-ra-assignment-' +
+ $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`" />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='`$pathname`' />
+ </execute>
</block>
</method>
</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
index 5d3ec7eb..54549b69 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
@@ -96,7 +96,11 @@
<parameter name="tmp.config-name-value-payload7" value="`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '&quot;'`"/>
<parameter name="tmp.json-payload" value="`'{' + $tmp.config-name-value-payload7 + '}'`" />
</set>
- <execute plugin='org.onap.ccsdk.features.assignment.service.ConfigAssignmentNode' method='process'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="BEFORE ConfigAssignmentNode"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.config.assignment.service.ConfigAssignmentNode' method='process'>
<parameter name="request-id" value='`$request-id`' />
<parameter name="resource-id" value='`$resource-id`' />
<parameter name="resource-type" value='`$resource-type`' />
@@ -121,6 +125,10 @@
</return>
</outcome>
</execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="AFTER ConfigAssignmentNode"/>
+ </record>
<execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
<parameter name="source" value="`'sriovAssign.mashed-data.' + $tmp.sdnc-artifact-name`" />
<parameter name="outputPath" value="jsonContextPrefix" />
@@ -202,6 +210,18 @@
</for>
</for>
</for>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
+ <parameter name="logger" value="message-log"/>
+ <parameter name="field1" value="DONE: vnf-ra-assignment"/>
+ </record>
+ <set>
+ <parameter name='pathname'
+ value="`'/var/tmp/ss-vnf-ra-assignment-' +
+ $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`" />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='`$pathname`' />
+ </execute>
</block>
</method>
</service-logic> \ No newline at end of file