diff options
author | 2018-09-07 20:56:24 +0000 | |
---|---|---|
committer | 2018-09-07 20:56:24 +0000 | |
commit | 69f82ea41d1c21f15be97cc99babf5754fb5fe68 (patch) | |
tree | bfc58a0a8aaa2c026b06b5325a62252bc5e480ec /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json | |
parent | 0c99d4765288c57ebf990c58b226f62a2dd3b348 (diff) |
self-serve DG for Casablanca
Add new self-serve DG and update existing self-serve DG for Casablanca
Change-Id: Ib4c3ccf3ce2acc986df8c1a1d3374048e9ec73a1
Issue-ID: SDNC-437
Signed-off-by: Cheung, Pat <kc1472@att.com>
Former-commit-id: a132f1f5d11eff79a10dd0040db351e209c197d1
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json | 4946 |
1 files changed, 2875 insertions, 2071 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 4033111f..34896b70 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,2072 +1,2876 @@ -[
- {
- "id": "83c4c357.9dc39",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 130,
- "y": 90,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "9604180f.cb4db8"
- ]
- ]
- },
- {
- "id": "9604180f.cb4db8",
- "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": 388,
- "y": 90,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "af8f1e4c.cfc74"
- ]
- ]
- },
- {
- "id": "af8f1e4c.cfc74",
- "type": "method",
- "name": "self-serve-generate-name",
- "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 693,
- "y": 90,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "2086f0e1.00b83"
- ]
- ]
- },
- {
- "id": "2086f0e1.00b83",
- "type": "block",
- "name": "block atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 192,
- "y": 176,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "62037e9a.ca2458",
- "b9bbc864.527688",
- "3b7aed1.23a8c12",
- "60e850da.d148d8"
- ]
- ]
- },
- {
- "id": "f59e3ac.5bbea48",
- "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": 1422,
- "y": 915,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "62037e9a.ca2458",
- "type": "set",
- "name": "set capability-name",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n",
- "comments": "",
- "x": 391,
- "y": 177,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "b9bbc864.527688",
- "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": 429,
- "y": 242,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "9a7984f8.d045a",
- "a106fa43.728e6"
- ]
- ]
- },
- {
- "id": "a7d01c46.7ed298",
- "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": 731.5,
- "y": 452,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "79cbdffb.5625c"
- ]
- ]
- },
- {
- "id": "79cbdffb.5625c",
- "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": 961.5,
- "y": 452,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "b56a34bf.677dd"
- ]
- ]
- },
- {
- "id": "b56a34bf.677dd",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1146.5,
- "y": 452,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "6f944674.7628e"
- ]
- ]
- },
- {
- "id": "4f2156d5.7eee6",
- "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": 1391.5,
- "y": 716,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "605bf355.cd218c"
- ]
- ]
- },
- {
- "id": "9a7984f8.d045a",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 652,
- "y": 210,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "81307ed2.8a94a"
- ]
- ]
- },
- {
- "id": "a106fa43.728e6",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 661,
- "y": 276,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "81307ed2.8a94a"
- ]
- ]
- },
- {
- "id": "81307ed2.8a94a",
- "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": 854,
- "y": 210,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "8477c998.03573",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '":' + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '",'`\"/>",
- "comments": "",
- "x": 1994,
- "y": 714,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "6f944674.7628e",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 726,
- "y": 524,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "acd997c.8f22fe8",
- "19f72049.c5871"
- ]
- ]
- },
- {
- "id": "f3fa18cc.0c1d8",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
- "comments": "",
- "x": 1389,
- "y": 639,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "3ee20a3c.f8edd6",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
- "comments": "",
- "x": 1389,
- "y": 778,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "69cbbbed.9fa5e4",
- "type": "set",
- "name": "set close payload list",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
- "comments": "",
- "x": 1395,
- "y": 843,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "3e881059.2f2cd8",
- "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": 1425,
- "y": 969,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "ea1ca046.5e2668",
- "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": 1451,
- "y": 1026,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "eee95f1a.f9e658",
- "c109cce2.3819c8"
- ]
- ]
- },
- {
- "id": "eee95f1a.f9e658",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1726,
- "y": 976,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "1f694574.fea8db"
- ]
- ]
- },
- {
- "id": "21b3a902.2a28e6",
- "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": 2091,
- "y": 1076,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "c109cce2.3819c8",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1731,
- "y": 1075,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "1f694574.fea8db"
- ]
- ]
- },
- {
- "id": "1f694574.fea8db",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1889,
- "y": 1020,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "cf5a56b9.ac4db",
- "21b3a902.2a28e6"
- ]
- ]
- },
- {
- "id": "cf5a56b9.ac4db",
- "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": 2105,
- "y": 967,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "acd997c.8f22fe8",
- "type": "switchNode",
- "name": "switch capability action unassign",
- "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 972,
- "y": 580,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "e07fb5f3.783d08"
- ]
- ]
- },
- {
- "id": "e07fb5f3.783d08",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1180,
- "y": 580,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "f1c3c9fd.f1c5a"
- ]
- ]
- },
- {
- "id": "19f72049.c5871",
- "type": "switchNode",
- "name": "switch capability action assign",
- "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
- "comments": "",
- "outputs": 1,
- "x": 960,
- "y": 1796,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "1345f4df.4b6d6b"
- ]
- ]
- },
- {
- "id": "1345f4df.4b6d6b",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1189,
- "y": 1796,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "55135596.9d3dbc"
- ]
- ]
- },
- {
- "id": "1c3375c5.7f4eb2",
- "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": 1637,
- "y": 1271,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "e358340b.c7c068"
- ]
- ]
- },
- {
- "id": "77b166f5.05823",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1840,
- "y": 1489,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "88f003e2.c6bad"
- ]
- ]
- },
- {
- "id": "88f003e2.c6bad",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2050,
- "y": 1489,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "95192879.db03b"
- ]
- ]
- },
- {
- "id": "95192879.db03b",
- "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": 2246.5,
- "y": 1490,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "fa36f91.4e88208",
- "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": 1406,
- "y": 1174,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "3c2ddcd0.83c2b4",
- "type": "for",
- "name": "for response elements",
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1399,
- "y": 1270,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "1c3375c5.7f4eb2"
- ]
- ]
- },
- {
- "id": "e358340b.c7c068",
- "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": 1941,
- "y": 1271,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "4de47180.92ccc"
- ]
- ]
- },
- {
- "id": "4de47180.92ccc",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2181,
- "y": 1270,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "f9db83bf.c14658"
- ]
- ]
- },
- {
- "id": "6382d7ef.87d61",
- "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": 1848,
- "y": 1341,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "54d8508a.81b1b8",
- "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": 1863,
- "y": 1424,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "f9db83bf.c14658",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1632,
- "y": 1341,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "6382d7ef.87d61",
- "54d8508a.81b1b8",
- "77b166f5.05823"
- ]
- ]
- },
- {
- "id": "f1c3c9fd.f1c5a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1182,
- "y": 642,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "f3fa18cc.0c1d8",
- "4f2156d5.7eee6",
- "3ee20a3c.f8edd6",
- "69cbbbed.9fa5e4",
- "f59e3ac.5bbea48",
- "ea1ca046.5e2668",
- "fa36f91.4e88208",
- "d9e65974.b749d8",
- "3c2ddcd0.83c2b4",
- "3e881059.2f2cd8"
- ]
- ]
- },
- {
- "id": "d9e65974.b749d8",
- "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": 1404,
- "y": 1224,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "ead23b8b.faf658",
- "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,
- "y": 2155,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "47f1f7bb.12786",
- "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": 1404.5,
- "y": 1956,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "9a68b04e.73523"
- ]
- ]
- },
- {
- "id": "9a68b04e.73523",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '":' + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '",'`\"/>",
- "comments": "",
- "x": 1675,
- "y": 1957,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "fe45dbf4.302c3",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
- "comments": "",
- "x": 1402,
- "y": 1879,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "3b628590.b42b3a",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
- "comments": "",
- "x": 1402,
- "y": 2018,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "397bc60e.b881a2",
- "type": "set",
- "name": "set close payload list",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
- "comments": "",
- "x": 1408,
- "y": 2083,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "a2dff58c.13be1",
- "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": 1438,
- "y": 2209,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "7262b464.b9e4ec",
- "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": 1464,
- "y": 2266,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "f84348e6.228948",
- "45baba32.3a97c4"
- ]
- ]
- },
- {
- "id": "f84348e6.228948",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1739,
- "y": 2216,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "64e193dd.dfac0c"
- ]
- ]
- },
- {
- "id": "515ae124.29a79",
- "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": 2104,
- "y": 2316,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "45baba32.3a97c4",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1744,
- "y": 2315,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "64e193dd.dfac0c"
- ]
- ]
- },
- {
- "id": "64e193dd.dfac0c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1902,
- "y": 2260,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "169a3304.a1a2e5",
- "515ae124.29a79"
- ]
- ]
- },
- {
- "id": "169a3304.a1a2e5",
- "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": 2118,
- "y": 2207,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "228e3f19.57aaa8",
- "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": 1650,
- "y": 2511,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "60984fa4.b1e438"
- ]
- ]
- },
- {
- "id": "7fce4ad1.85e74c",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1853,
- "y": 2729,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "cc8bc379.37b0b"
- ]
- ]
- },
- {
- "id": "cc8bc379.37b0b",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2063,
- "y": 2729,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "29b45c41.435534"
- ]
- ]
- },
- {
- "id": "29b45c41.435534",
- "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": 2259.5,
- "y": 2730,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "1d9cbff6.ababf",
- "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": 1419,
- "y": 2414,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "7a82e27d.2c3424",
- "type": "for",
- "name": "for response elements",
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1412,
- "y": 2510,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "228e3f19.57aaa8"
- ]
- ]
- },
- {
- "id": "60984fa4.b1e438",
- "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": 1954,
- "y": 2511,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "a9536dd8.3e0148"
- ]
- ]
- },
- {
- "id": "a9536dd8.3e0148",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2194,
- "y": 2510,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "eeae6477.d0694"
- ]
- ]
- },
- {
- "id": "f9658edf.b87da8",
- "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": 1861,
- "y": 2581,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "79a86e40.517d48",
- "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": 1876,
- "y": 2664,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "eeae6477.d0694",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1645,
- "y": 2581,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "f9658edf.b87da8",
- "79a86e40.517d48",
- "7fce4ad1.85e74c"
- ]
- ]
- },
- {
- "id": "55135596.9d3dbc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1195,
- "y": 1882,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "fe45dbf4.302c3",
- "47f1f7bb.12786",
- "3b628590.b42b3a",
- "397bc60e.b881a2",
- "ead23b8b.faf658",
- "7262b464.b9e4ec",
- "1d9cbff6.ababf",
- "7ff20590.e25864",
- "7a82e27d.2c3424",
- "a2dff58c.13be1"
- ]
- ]
- },
- {
- "id": "7ff20590.e25864",
- "type": "set",
- "name": "set status as SUCCESS",
- "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='SUCCESS' />",
- "comments": "",
- "x": 1417,
- "y": 2464,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "605bf355.cd218c",
- "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": 1630,
- "y": 715,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "1ac238ba.38c8cf"
- ]
- ]
- },
- {
- "id": "1ac238ba.38c8cf",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1814,
- "y": 715,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "8477c998.03573"
- ]
- ]
- },
- {
- "id": "ede9fa35.b00548",
- "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": 1449,
- "y": 3248,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "57b3571e.19cb88",
- "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": 758.5,
- "y": 2785,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "7d63d6cd.c98e48"
- ]
- ]
- },
- {
- "id": "7d63d6cd.c98e48",
- "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": 988.5,
- "y": 2785,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "93dde06c.d3bc28"
- ]
- ]
- },
- {
- "id": "93dde06c.d3bc28",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1173.5,
- "y": 2785,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "8d654101.f172b"
- ]
- ]
- },
- {
- "id": "7ed0b2b5.e662b4",
- "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": 1418.5,
- "y": 3049,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "6b561ade.3e62fc"
- ]
- ]
- },
- {
- "id": "b15b1561.90f45",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $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 + '":' + '"' + $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 + '",'`\"/>",
- "comments": "",
- "x": 2021,
- "y": 3047,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "8d654101.f172b",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 753,
- "y": 2857,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "818b77b7.ae2798",
- "2acf0683.7c50ba"
- ]
- ]
- },
- {
- "id": "4c1ecc65.8266dc",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
- "comments": "",
- "x": 1416,
- "y": 2972,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "3e850e38.1def12",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
- "comments": "",
- "x": 1416,
- "y": 3111,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "35f073d1.ba7aa4",
- "type": "set",
- "name": "set close payload list",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
- "comments": "",
- "x": 1422,
- "y": 3176,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "529fefee.dbc64",
- "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": 1452,
- "y": 3302,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "6e69306.f9efc5",
- "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": 1478,
- "y": 3359,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "cd75df1e.730f",
- "ed490565.9f3ba8"
- ]
- ]
- },
- {
- "id": "cd75df1e.730f",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1753,
- "y": 3309,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "4cb7581c.cb3dc"
- ]
- ]
- },
- {
- "id": "4a53ab2d.04c074",
- "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": 2118,
- "y": 3409,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "ed490565.9f3ba8",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1758,
- "y": 3408,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "4cb7581c.cb3dc"
- ]
- ]
- },
- {
- "id": "4cb7581c.cb3dc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1916,
- "y": 3353,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "23af7bb1.7f209c",
- "4a53ab2d.04c074"
- ]
- ]
- },
- {
- "id": "23af7bb1.7f209c",
- "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": 2132,
- "y": 3300,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "818b77b7.ae2798",
- "type": "switchNode",
- "name": "switch capability action unassign",
- "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 999,
- "y": 2913,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "9881c026.6d7e"
- ]
- ]
- },
- {
- "id": "9881c026.6d7e",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1207,
- "y": 2913,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "1538055c.946ffb"
- ]
- ]
- },
- {
- "id": "2acf0683.7c50ba",
- "type": "switchNode",
- "name": "switch capability action assign",
- "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
- "comments": "",
- "outputs": 1,
- "x": 987,
- "y": 4129,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "3f383b83.fe4da4"
- ]
- ]
- },
- {
- "id": "3f383b83.fe4da4",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1216,
- "y": 4129,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "c01355fc.047ae8"
- ]
- ]
- },
- {
- "id": "55f1fd23.af2894",
- "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": 1664,
- "y": 3604,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "cdf4a4f1.7cbd5"
- ]
- ]
- },
- {
- "id": "5291bedf.b4c34",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1867,
- "y": 3822,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "2e4a7581.ea6382"
- ]
- ]
- },
- {
- "id": "2e4a7581.ea6382",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2077,
- "y": 3822,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "4a99e293.704f1c"
- ]
- ]
- },
- {
- "id": "4a99e293.704f1c",
- "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": 2273.5,
- "y": 3823,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "d90cbda1.ab8598",
- "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": 1433,
- "y": 3507,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "d6564825.875ba8",
- "type": "for",
- "name": "for response elements",
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1426,
- "y": 3603,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "55f1fd23.af2894"
- ]
- ]
- },
- {
- "id": "cdf4a4f1.7cbd5",
- "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": 1968,
- "y": 3604,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "80b3324.fa11ed"
- ]
- ]
- },
- {
- "id": "80b3324.fa11ed",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2208,
- "y": 3603,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "7fc56707.0572e8"
- ]
- ]
- },
- {
- "id": "b215066e.bf6d78",
- "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": 1875,
- "y": 3674,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "79e3e1e0.edca3",
- "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": 1890,
- "y": 3757,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "7fc56707.0572e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1659,
- "y": 3674,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "b215066e.bf6d78",
- "79e3e1e0.edca3",
- "5291bedf.b4c34"
- ]
- ]
- },
- {
- "id": "1538055c.946ffb",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1209,
- "y": 2975,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "4c1ecc65.8266dc",
- "7ed0b2b5.e662b4",
- "3e850e38.1def12",
- "35f073d1.ba7aa4",
- "ede9fa35.b00548",
- "6e69306.f9efc5",
- "d90cbda1.ab8598",
- "1484c014.0b63d8",
- "d6564825.875ba8",
- "529fefee.dbc64"
- ]
- ]
- },
- {
- "id": "1484c014.0b63d8",
- "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": 1431,
- "y": 3557,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "cc07bd7d.2ebad8",
- "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": 1462,
- "y": 4488,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "af1739a6.c3e33",
- "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": 1431.5,
- "y": 4289,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "7f75e4e.daf2d9c",
- "4f414ac6.1c4adc"
- ]
- ]
- },
- {
- "id": "7f75e4e.daf2d9c",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $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 + '":' + '"' + $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 + '",'`\"/>",
- "comments": "",
- "x": 1702,
- "y": 4290,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "a230d379.a03f1",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
- "comments": "",
- "x": 1429,
- "y": 4212,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "c324f948.bab3c",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
- "comments": "",
- "x": 1429,
- "y": 4351,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "dd94b5e2.e4de4",
- "type": "set",
- "name": "set close payload list",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
- "comments": "",
- "x": 1435,
- "y": 4416,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "abbbbd7e.d06118",
- "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": 1465,
- "y": 4542,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "fe683bd5.6243a8",
- "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": 1491,
- "y": 4599,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "91c16bd6.61a5c",
- "146eff5.d60eb01"
- ]
- ]
- },
- {
- "id": "91c16bd6.61a5c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1766,
- "y": 4549,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "d4a5b4e0.8baeb8"
- ]
- ]
- },
- {
- "id": "7ff75d57.380c84",
- "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": 2131,
- "y": 4649,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "146eff5.d60eb01",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1771,
- "y": 4648,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "d4a5b4e0.8baeb8"
- ]
- ]
- },
- {
- "id": "d4a5b4e0.8baeb8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1929,
- "y": 4593,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "dc98c503.2f291",
- "7ff75d57.380c84"
- ]
- ]
- },
- {
- "id": "dc98c503.2f291",
- "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": 2145,
- "y": 4540,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "37661303.714934",
- "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": 1677,
- "y": 4844,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "983598ab.10f78"
- ]
- ]
- },
- {
- "id": "e7f9e3fb.9e7de",
- "type": "switchNode",
- "name": "switch capability-name",
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1880,
- "y": 5062,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "3c1df4f4.c8cb54"
- ]
- ]
- },
- {
- "id": "3c1df4f4.c8cb54",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2090,
- "y": 5062,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "55908959.6e6d7"
- ]
- ]
- },
- {
- "id": "55908959.6e6d7",
- "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": 2286.5,
- "y": 5063,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "a7100ceb.e2c178",
- "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": 1446,
- "y": 4747,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "eb6d80d4.d85da8",
- "type": "for",
- "name": "for response elements",
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1439,
- "y": 4843,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "37661303.714934"
- ]
- ]
- },
- {
- "id": "983598ab.10f78",
- "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": 1981,
- "y": 4844,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "98402a17.631798"
- ]
- ]
- },
- {
- "id": "98402a17.631798",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2221,
- "y": 4843,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "320e20df.29f5d8"
- ]
- ]
- },
- {
- "id": "d43b7f49.e6a1b8",
- "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": 1888,
- "y": 4914,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "4d03e536.108c3c",
- "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": 1903,
- "y": 4997,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- },
- {
- "id": "320e20df.29f5d8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1672,
- "y": 4914,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "d43b7f49.e6a1b8",
- "4d03e536.108c3c",
- "e7f9e3fb.9e7de"
- ]
- ]
- },
- {
- "id": "c01355fc.047ae8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1222,
- "y": 4215,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "a230d379.a03f1",
- "af1739a6.c3e33",
- "c324f948.bab3c",
- "dd94b5e2.e4de4",
- "cc07bd7d.2ebad8",
- "fe683bd5.6243a8",
- "a7100ceb.e2c178",
- "1ed9f122.3e69f7",
- "eb6d80d4.d85da8",
- "abbbbd7e.d06118"
- ]
- ]
- },
- {
- "id": "1ed9f122.3e69f7",
- "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": 1444,
- "y": 4797,
- "z": "d296ce47.7642e8",
- "wires": []
- },
- {
- "id": "6b561ade.3e62fc",
- "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": 1657,
- "y": 3048,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "ff11e5eb.0359"
- ]
- ]
- },
- {
- "id": "ff11e5eb.0359",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1841,
- "y": 3048,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "b15b1561.90f45"
- ]
- ]
- },
- {
- "id": "3b7aed1.23a8c12",
- "type": "switchNode",
- "name": "switch capability-type. vnf",
- "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 401,
- "y": 347,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "833ca28a.1746b8"
- ]
- ]
- },
- {
- "id": "833ca28a.1746b8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 573,
- "y": 392,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "a7d01c46.7ed298"
- ]
- ]
- },
- {
- "id": "60e850da.d148d8",
- "type": "switchNode",
- "name": "switch capability-type vf-module",
- "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 507,
- "y": 2647,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "eee0343f.f1beb8"
- ]
- ]
- },
- {
- "id": "eee0343f.f1beb8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 664,
- "y": 2707,
- "z": "d296ce47.7642e8",
- "wires": [
- [
- "57b3571e.19cb88"
- ]
- ]
- },
- {
- "id": "4f414ac6.1c4adc",
- "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=\"level\" value=\"info\" /> \n<parameter name=\"field1\" value=\"`'AJJJ13' + $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=\"field2\" value=\"`'AJJJ14' + $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",
- "comments": "",
- "outputs": 1,
- "x": 1650,
- "y": 4204,
- "z": "d296ce47.7642e8",
- "wires": [
- []
- ]
- }
+[ + { + "id": "a0fcff67.f90228", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 87.14288330078125, + "y": 81.42857360839844, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "77ff7670.28ec1" + ] + ] + }, + { + "id": "77ff7670.28ec1", + "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": 352.2857360839844, + "y": 81.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "8198a596.8587a8" + ] + ] + }, + { + "id": "8198a596.8587a8", + "type": "method", + "name": "self-serve-generate-name", + "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 657.2857360839844, + "y": 81.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "d1eee6c3.444198" + ] + ] + }, + { + "id": "d1eee6c3.444198", + "type": "block", + "name": "block atomic", + "xml": "<block atomic=\"true\">\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 156.28573608398438, + "y": 167.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "350eff4d.2e40a", + "e1ffb57d.53823", + "32827181.a6b956", + "de00c7d5.b7368" + ] + ] + }, + { + "id": "a5d9b0a3.665e9", + "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": 1722.0000915527344, + "y": 893.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "350eff4d.2e40a", + "type": "set", + "name": "set capability-name", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n", + "comments": "", + "x": 355.2857360839844, + "y": 168.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "e1ffb57d.53823", + "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": 393.2857360839844, + "y": 233.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "e6cffea2.05b508", + "d29f4ed4.70282" + ] + ] + }, + { + "id": "c8ae8fb3.2b106", + "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": 1155.785888671875, + "y": 524.8570861816406, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "29db996f.2f77fe" + ] + ] + }, + { + "id": "29db996f.2f77fe", + "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": 1398.6429443359375, + "y": 524.8570861816406, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "fa3c082e.e81b98" + ] + ] + }, + { + "id": "fa3c082e.e81b98", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1579.3572998046875, + "y": 524.8570709228516, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "ecb50e0c.b6f238" + ] + ] + }, + { + "id": "9b45dec.f68242", + "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": 1691.5000915527344, + "y": 694.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "83953b14.cd3cc" + ] + ] + }, + { + "id": "e6cffea2.05b508", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 616.2857360839844, + "y": 201.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "3bec3c36.db162c" + ] + ] + }, + { + "id": "d29f4ed4.70282", + "type": "failure", + "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", + "outputs": 1, + "x": 625.2857360839844, + "y": 267.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "3bec3c36.db162c" + ] + ] + }, + { + "id": "3bec3c36.db162c", + "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": 818.2857360839844, + "y": 201.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "d44e28a5.a5361", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '":' + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '",'`\"/>", + "comments": "", + "x": 2294.0000915527344, + "y": 692.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "561c14d8.97e21c", + "type": "set", + "name": "set set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />", + "comments": "", + "x": 1689.000244140625, + "y": 620.4284362792969, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "755059e1.8e09a8", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />", + "comments": "", + "x": 1689.0000915527344, + "y": 756.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "bc43a903.45bae8", + "type": "set", + "name": "set close payload list", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />", + "comments": "", + "x": 1695.0000915527344, + "y": 821.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "d6e4c46a.7a8e5", + "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": 1725.0000915527344, + "y": 947.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "87e249a7.d2d76", + "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": 1751.0000915527344, + "y": 1004.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "e6a3bbe9.313368", + "77d6fd82.74cf9c" + ] + ] + }, + { + "id": "e6a3bbe9.313368", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2026.0000915527344, + "y": 954.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1105b68e.0b87b9" + ] + ] + }, + { + "id": "6b43378b.4fca7", + "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": 2391.0000915527344, + "y": 1054.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "77d6fd82.74cf9c", + "type": "failure", + "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", + "outputs": 1, + "x": 2031.0000915527344, + "y": 1053.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1105b68e.0b87b9" + ] + ] + }, + { + "id": "1105b68e.0b87b9", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2189.0000915527344, + "y": 998.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "6d474a1e.25ac34", + "6b43378b.4fca7" + ] + ] + }, + { + "id": "6d474a1e.25ac34", + "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": 2405.0000915527344, + "y": 945.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "d4160d84.70bb48", + "type": "switchNode", + "name": "switch capability action assign", + "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">", + "comments": "", + "outputs": 1, + "x": 779.5238037109375, + "y": 1652.1904296875, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "bf3e09f4.dafff" + ] + ] + }, + { + "id": "bf3e09f4.dafff", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1034.238037109375, + "y": 1652.1904296875, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "6b713cfb.723974" + ] + ] + }, + { + "id": "9c664d90.9ee95", + "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": 1937.0000915527344, + "y": 1249.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1476063f.6bab8a" + ] + ] + }, + { + "id": "dbdeedbe.f41fd8", + "type": "switchNode", + "name": "switch capability-name", + "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n", + "comments": "", + "outputs": 1, + "x": 2140.0000915527344, + "y": 1467.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "79a3b021.b0b288" + ] + ] + }, + { + "id": "79a3b021.b0b288", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2350.0000915527344, + "y": 1467.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "be0571f0.89d93" + ] + ] + }, + { + "id": "be0571f0.89d93", + "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": 2546.5000915527344, + "y": 1468.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "3456afaf.a73238", + "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": 1706.0000915527344, + "y": 1152.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "5e598157.0c9c38", + "type": "for", + "name": "for response elements", + "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n", + "comments": "", + "outputs": 1, + "x": 1699.0000915527344, + "y": 1248.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "9c664d90.9ee95" + ] + ] + }, + { + "id": "1476063f.6bab8a", + "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": 2241.0000915527344, + "y": 1249.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "61dff537.8d841c" + ] + ] + }, + { + "id": "61dff537.8d841c", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2481.0000915527344, + "y": 1248.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1266c260.0a766e" + ] + ] + }, + { + "id": "ee43f6d5.8d77f8", + "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": 2148.0000915527344, + "y": 1319.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "aa6b38f9.769088", + "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": 2163.0000915527344, + "y": 1402.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "1266c260.0a766e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1932.0000915527344, + "y": 1319.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "ee43f6d5.8d77f8", + "aa6b38f9.769088", + "dbdeedbe.f41fd8" + ] + ] + }, + { + "id": "ecb50e0c.b6f238", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1482.0000915527344, + "y": 620.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "561c14d8.97e21c", + "9b45dec.f68242", + "755059e1.8e09a8", + "bc43a903.45bae8", + "a5d9b0a3.665e9", + "87e249a7.d2d76", + "3456afaf.a73238", + "8b2dbcd4.32fa2", + "5e598157.0c9c38", + "d6e4c46a.7a8e5" + ] + ] + }, + { + "id": "8b2dbcd4.32fa2", + "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": 1704.0000915527344, + "y": 1202.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "27e20f71.6cc548", + "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": 1620.66650390625, + "y": 2137.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "10be84bb.581f9b", + "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": 1728.16650390625, + "y": 1953.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "8f7c2524.de50c" + ] + ] + }, + { + "id": "8f7c2524.de50c", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '":' + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '",'`\"/>", + "comments": "", + "x": 1980.66650390625, + "y": 1953.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "c15c85cd.ea9f2", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />", + "comments": "", + "x": 1709.094970703125, + "y": 1891.8093872070312, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "463d12f4.b57d9c", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />", + "comments": "", + "x": 1710.66650390625, + "y": 2009.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "6a94f7b6.2e3e3", + "type": "set", + "name": "set close payload list", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />", + "comments": "", + "x": 1595.66650390625, + "y": 2094.0949096679688, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "9ffd6dac.5925a", + "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": 1621.66650390625, + "y": 2188.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "18ddf882.11fd17", + "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": 1654.66650390625, + "y": 2245.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "92a93214.de1db8", + "b360f358.424cc8" + ] + ] + }, + { + "id": "92a93214.de1db8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1929.66650390625, + "y": 2195.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "177b20fb.1bc74f" + ] + ] + }, + { + "id": "3a3832be.f27146", + "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": 2294.66650390625, + "y": 2295.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "b360f358.424cc8", + "type": "failure", + "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", + "outputs": 1, + "x": 1934.66650390625, + "y": 2294.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "177b20fb.1bc74f" + ] + ] + }, + { + "id": "177b20fb.1bc74f", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2092.66650390625, + "y": 2239.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "9799610d.ba099", + "3a3832be.f27146" + ] + ] + }, + { + "id": "9799610d.ba099", + "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": 2308.66650390625, + "y": 2186.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "37785a2.d8ea0a6", + "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": 1841.66650390625, + "y": 2445.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "10461664.c280c2" + ] + ] + }, + { + "id": "ddf9ee24.32721", + "type": "switchNode", + "name": "switch capability-name", + "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n", + "comments": "", + "outputs": 1, + "x": 2044.66650390625, + "y": 2663.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "915c127.869707" + ] + ] + }, + { + "id": "915c127.869707", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2254.66650390625, + "y": 2663.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "3e3270b5.18b048" + ] + ] + }, + { + "id": "3e3270b5.18b048", + "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": 2451.16650390625, + "y": 2664.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "a0734951.e43bb8", + "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": 1602.66650390625, + "y": 2347.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "9976393.8117548", + "type": "for", + "name": "for response elements", + "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n", + "comments": "", + "outputs": 1, + "x": 1594.66650390625, + "y": 2444.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "37785a2.d8ea0a6" + ] + ] + }, + { + "id": "10461664.c280c2", + "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": 2145.66650390625, + "y": 2445.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "41922990.8a02f" + ] + ] + }, + { + "id": "41922990.8a02f", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2385.66650390625, + "y": 2444.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "306d8cff.17a97c" + ] + ] + }, + { + "id": "82f3e171.12001", + "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": 2052.66650390625, + "y": 2515.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "7a6ff351.59e66c", + "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": 2067.66650390625, + "y": 2598.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "306d8cff.17a97c", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1836.66650390625, + "y": 2515.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "82f3e171.12001", + "7a6ff351.59e66c", + "ddf9ee24.32721" + ] + ] + }, + { + "id": "6ed8d498.9723f4", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1505.8095703125, + "y": 1871.380615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "c15c85cd.ea9f2", + "10be84bb.581f9b", + "463d12f4.b57d9c" + ] + ] + }, + { + "id": "c0cd44d1.7422", + "type": "set", + "name": "set status as SUCCESS", + "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='SUCCESS' />", + "comments": "", + "x": 1601.66650390625, + "y": 2398.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "83953b14.cd3cc", + "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": 1930.0000915527344, + "y": 693.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "6b9e4dcc.d7de0c" + ] + ] + }, + { + "id": "6b9e4dcc.d7de0c", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2114.0000915527344, + "y": 693.5713424682617, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "d44e28a5.a5361" + ] + ] + }, + { + "id": "763cbc48.beee84", + "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": 1841.619140625, + "y": 4107.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "f26ae3f9.58a6a8", + "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": 1130.1190185546875, + "y": 3719.761962890625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "19fb9704.e19821" + ] + ] + }, + { + "id": "19fb9704.e19821", + "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": 1410.1190185546875, + "y": 3719.761962890625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "3b748ba2.5ca9c4" + ] + ] + }, + { + "id": "3b748ba2.5ca9c4", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1619.119140625, + "y": 3719.761962890625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "fe9fb952.03865" + ] + ] + }, + { + "id": "a3efff0f.aa4ec8", + "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": 1811.119140625, + "y": 3908.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "411e99fd.a39438" + ] + ] + }, + { + "id": "9abfe611.4545c8", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $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 + '":' + '"' + $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 + '",'`\"/>", + "comments": "", + "x": 2413.619140625, + "y": 3906.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "ed0277b1.5970a", + "type": "set", + "name": "set set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />", + "comments": "", + "x": 1808.619140625, + "y": 3831.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "8bbcc0bf.293ef8", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />", + "comments": "", + "x": 1808.619140625, + "y": 3970.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "d5dd6ae4.c76cb8", + "type": "set", + "name": "set close payload list", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />", + "comments": "", + "x": 1814.619140625, + "y": 4035.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "a8bf6cef.175b98", + "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": 1844.619140625, + "y": 4161.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "452bff82.4ad42", + "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": 1870.619140625, + "y": 4218.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "12b87141.01ce77", + "da1a35af.b4fb48" + ] + ] + }, + { + "id": "12b87141.01ce77", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2145.619140625, + "y": 4168.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "d6576013.79b6e" + ] + ] + }, + { + "id": "8bddd10d.aa37", + "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": 2510.619140625, + "y": 4268.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "da1a35af.b4fb48", + "type": "failure", + "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", + "outputs": 1, + "x": 2150.619140625, + "y": 4267.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "d6576013.79b6e" + ] + ] + }, + { + "id": "d6576013.79b6e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2308.619140625, + "y": 4212.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "d5fbd703.684a6", + "8bddd10d.aa37" + ] + ] + }, + { + "id": "d5fbd703.684a6", + "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": 2524.619140625, + "y": 4159.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "979f7afd.afba98", + "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": 2056.619140625, + "y": 4463.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "648836d6.70a21" + ] + ] + }, + { + "id": "8ff2df62.ffbde", + "type": "switchNode", + "name": "switch capability-name", + "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n", + "comments": "", + "outputs": 1, + "x": 2259.619140625, + "y": 4681.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "78ff017c.17864" + ] + ] + }, + { + "id": "78ff017c.17864", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2469.619140625, + "y": 4681.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1462085a.8135a" + ] + ] + }, + { + "id": "1462085a.8135a", + "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": 2666.119140625, + "y": 4682.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "5bd4041e.5eb064", + "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": 1825.619140625, + "y": 4366.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "d49e444f.57b07", + "type": "for", + "name": "for response elements", + "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n", + "comments": "", + "outputs": 1, + "x": 1818.619140625, + "y": 4462.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "979f7afd.afba98" + ] + ] + }, + { + "id": "648836d6.70a21", + "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": 2360.619140625, + "y": 4463.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "7a9d7c8a.3c0bc4" + ] + ] + }, + { + "id": "7a9d7c8a.3c0bc4", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2600.619140625, + "y": 4462.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "2051ec8a.8af274" + ] + ] + }, + { + "id": "999690dc.8426f8", + "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": 2267.619140625, + "y": 4533.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "5bc42c8c.88381c", + "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": 2282.619140625, + "y": 4616.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "2051ec8a.8af274", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2051.619140625, + "y": 4533.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "999690dc.8426f8", + "5bc42c8c.88381c", + "8ff2df62.ffbde" + ] + ] + }, + { + "id": "fe9fb952.03865", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1601.619140625, + "y": 3834.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "ed0277b1.5970a", + "a3efff0f.aa4ec8", + "8bbcc0bf.293ef8", + "d5dd6ae4.c76cb8", + "763cbc48.beee84", + "452bff82.4ad42", + "5bd4041e.5eb064", + "9a62d212.fe282", + "d49e444f.57b07", + "a8bf6cef.175b98" + ] + ] + }, + { + "id": "9a62d212.fe282", + "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": 1823.619140625, + "y": 4416.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "411e99fd.a39438", + "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": 2049.619140625, + "y": 3907.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "73c6b2a8.a3b054" + ] + ] + }, + { + "id": "73c6b2a8.a3b054", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2233.619140625, + "y": 3907.761474609375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "9abfe611.4545c8" + ] + ] + }, + { + "id": "32827181.a6b956", + "type": "switchNode", + "name": "switch capability-type. vnf", + "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n", + "comments": "", + "outputs": 1, + "x": 365.2857360839844, + "y": 338.4285659790039, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "524e830f.6470c4" + ] + ] + }, + { + "id": "524e830f.6470c4", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 568.7142944335938, + "y": 337.71429443359375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "ef52847b.ff229" + ] + ] + }, + { + "id": "de00c7d5.b7368", + "type": "switchNode", + "name": "switch capability-type vf-module", + "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n", + "comments": "", + "outputs": 1, + "x": 494.61907958984375, + "y": 3501.7619018554688, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1ded1ea.e9121e1" + ] + ] + }, + { + "id": "1ded1ea.e9121e1", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 713.6190795898438, + "y": 3502.761962890625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "c14ba9b4.7c8ad8" + ] + ] + }, + { + "id": "36603013.bbb4f8", + "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": 1606.66650390625, + "y": 2624.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "a6ad8f3a.9c7f8" + ] + ] + }, + { + "id": "a6ad8f3a.9c7f8", + "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": 1732.3331298828125, + "y": 2755.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "77a82966.ec0b48" + ] + ] + }, + { + "id": "77a82966.ec0b48", + "type": "failure", + "name": "false", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 1994.3331298828125, + "y": 2811.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "f33d0266.cea3" + ] + ] + }, + { + "id": "f33d0266.cea3", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2210.3331298828125, + "y": 2811.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "bd9f5006.39331", + "1847b82e.cbd13" + ] + ] + }, + { + "id": "bd9f5006.39331", + "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": 2430.3331298828125, + "y": 2749.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "1847b82e.cbd13", + "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": 2440.3331298828125, + "y": 2857.094970703125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "bc970fe5.a522f8", + "type": "switchNode", + "name": "switch capability action unassign", + "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n", + "comments": "", + "outputs": 1, + "x": 822.8571166992188, + "y": 428.5714416503906, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "e1f81f5d.07ca4" + ] + ] + }, + { + "id": "e1f81f5d.07ca4", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1108.5714111328125, + "y": 427.1428527832031, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "c8ae8fb3.2b106" + ] + ] + }, + { + "id": "ef52847b.ff229", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 572.857177734375, + "y": 402.857177734375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "bc970fe5.a522f8", + "d4160d84.70bb48" + ] + ] + }, + { + "id": "80902f6b.f3783", + "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": 1047.2144775390625, + "y": 1814.5953369140625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "504c0e8f.4cc8a" + ] + ] + }, + { + "id": "504c0e8f.4cc8a", + "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": 1288.821533203125, + "y": 1814.5953369140625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "98b667d2.9e63f8" + ] + ] + }, + { + "id": "98b667d2.9e63f8", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1469.535888671875, + "y": 1814.5953369140625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "6ed8d498.9723f4" + ] + ] + }, + { + "id": "10288042.9afdc", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1202.0001220703125, + "y": 3631, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "f26ae3f9.58a6a8" + ] + ] + }, + { + "id": "ae383e92.c64418", + "type": "switchNode", + "name": "switch capability action unassign", + "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n", + "comments": "", + "outputs": 1, + "x": 960.9998779296875, + "y": 3631, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "10288042.9afdc" + ] + ] + }, + { + "id": "c14ba9b4.7c8ad8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 718, + "y": 3568, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "ae383e92.c64418", + "b1d4f02b.074b08" + ] + ] + }, + { + "id": "b1d4f02b.074b08", + "type": "switchNode", + "name": "switch capability action assign", + "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">", + "comments": "", + "outputs": 1, + "x": 937.9525146484375, + "y": 5238.7626953125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "5f3175ef.b2e644" + ] + ] + }, + { + "id": "5f3175ef.b2e644", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1166.9525146484375, + "y": 5238.7626953125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "7f8df3af.553754" + ] + ] + }, + { + "id": "b52f5f26.c98fb", + "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": 1715.452392578125, + "y": 5709.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "21cc2c07.2e17cc", + "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": 2033.702392578125, + "y": 5516.7626953125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "d6c21c77.670988" + ] + ] + }, + { + "id": "d6c21c77.670988", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $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 + '":' + '"' + $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 + '",'`\"/>", + "comments": "", + "x": 2290.202392578125, + "y": 5516.7626953125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "b09f0c88.a8dd8", + "type": "set", + "name": "set set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />", + "comments": "", + "x": 2016.202392578125, + "y": 5462.7626953125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "16aca9a0.b085ce", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />", + "comments": "", + "x": 2022.202392578125, + "y": 5578.7626953125, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "1fd7b0ea.d78def", + "type": "set", + "name": "set close payload list", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />", + "comments": "", + "x": 1685.452392578125, + "y": 5658.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "382244f1.84c314", + "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": 1718.452392578125, + "y": 5763.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "b1e358e4.0f1af8", + "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": 1744.452392578125, + "y": 5820.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1e42490a.0702a7", + "1ec1c7ac.f1fe98" + ] + ] + }, + { + "id": "1e42490a.0702a7", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2019.452392578125, + "y": 5770.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1dc6c6ec.4b2119" + ] + ] + }, + { + "id": "c05d5782.207da8", + "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": 2384.452392578125, + "y": 5870.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "1ec1c7ac.f1fe98", + "type": "failure", + "name": "not-found", + "xml": "<outcome value='not-found'>\n", + "comments": "", + "outputs": 1, + "x": 2024.452392578125, + "y": 5869.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1dc6c6ec.4b2119" + ] + ] + }, + { + "id": "1dc6c6ec.4b2119", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2182.452392578125, + "y": 5814.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "c05d5782.207da8", + "e913f4eb.f584" + ] + ] + }, + { + "id": "e913f4eb.f584", + "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": 2398.452392578125, + "y": 5761.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "3d332c56.43f43c", + "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": 1996.452392578125, + "y": 6353.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "5f0db49f.fd8454" + ] + ] + }, + { + "id": "d9f8a4b0.d2e5c", + "type": "switchNode", + "name": "switch capability-name", + "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n", + "comments": "", + "outputs": 1, + "x": 2167.452392578125, + "y": 6511.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "f6bd7605.4d5f48" + ] + ] + }, + { + "id": "f6bd7605.4d5f48", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2371.452392578125, + "y": 6509.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "74b43ff2.601cb" + ] + ] + }, + { + "id": "74b43ff2.601cb", + "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": 2565.952392578125, + "y": 6442.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "8f868b5c.16e278", + "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": 1699.452392578125, + "y": 5876.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "20e95425.2ec68c", + "type": "for", + "name": "for response elements", + "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n", + "comments": "", + "outputs": 1, + "x": 1728.452392578125, + "y": 6354.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "3d332c56.43f43c" + ] + ] + }, + { + "id": "5f0db49f.fd8454", + "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": 2280.452392578125, + "y": 6357.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "e81d08ce.9ec57" + ] + ] + }, + { + "id": "e81d08ce.9ec57", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2508.452392578125, + "y": 6354.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "4dc60b03.30474c" + ] + ] + }, + { + "id": "d9a4aa95.7b85", + "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": 2175.452392578125, + "y": 6407.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "7ebcca07.69da94", + "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": 2188.452392578125, + "y": 6466.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [] + ] + }, + { + "id": "4dc60b03.30474c", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1935.452392578125, + "y": 6433.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "d9f8a4b0.d2e5c", + "d9a4aa95.7b85", + "7ebcca07.69da94" + ] + ] + }, + { + "id": "d4e4d3cb.8e365", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1809.202392578125, + "y": 5465.7626953125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "21cc2c07.2e17cc", + "b09f0c88.a8dd8", + "16aca9a0.b085ce" + ] + ] + }, + { + "id": "c761a7c.6b8ed58", + "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": 1701.452392578125, + "y": 5928.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "64f6b871.04fb28", + "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": 1723.452392578125, + "y": 6576.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "74477622.de12d" + ] + ] + }, + { + "id": "74477622.de12d", + "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": 2029.452392578125, + "y": 6574.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "59f6f125.780478" + ] + ] + }, + { + "id": "59f6f125.780478", + "type": "failure", + "name": "false", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 2267.452392578125, + "y": 6574.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "f3d21584.7ce7b8" + ] + ] + }, + { + "id": "f3d21584.7ce7b8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2429.452392578125, + "y": 6568.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "2c8c0702.854ee8", + "fa294e63.602d08" + ] + ] + }, + { + "id": "2c8c0702.854ee8", + "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": 2653.452392578125, + "y": 6534.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "fa294e63.602d08", + "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": 2641.452392578125, + "y": 6634.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "4bd004e3.7dd99c", + "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": 1711.452392578125, + "y": 6034.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "85c7441c.53c08" + ] + ] + }, + { + "id": "85c7441c.53c08", + "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": 1964.952392578125, + "y": 6035.013427734375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "b4e69f12.2126f8" + ] + ] + }, + { + "id": "b4e69f12.2126f8", + "type": "success", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2157.952392578125, + "y": 6035.5133056640625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1fdd7e1e.c75b82" + ] + ] + }, + { + "id": "1fdd7e1e.c75b82", + "type": "for", + "name": "for j in resource key", + "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[$cn].resource-resolution-data.resource-key_length`' >\n", + "comments": "", + "outputs": 1, + "x": 1799.452392578125, + "y": 6150.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "e34d6504.04ef68" + ] + ] + }, + { + "id": "e34d6504.04ef68", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2071.452392578125, + "y": 6146.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "8427815.e49c28", + "7720c796.cf51d", + "14b77c36.339774", + "db75ea42.1350d", + "6061ffc.9494f", + "15f23c59.7c19e4", + "e7c83d46.a2ef48" + ] + ] + }, + { + "id": "7720c796.cf51d", + "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": 2509.452392578125, + "y": 6022.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "6857d48.2b9c62c" + ] + ] + }, + { + "id": "14b77c36.339774", + "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": 2477.452392578125, + "y": 6080.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "36c572f8.11887e" + ] + ] + }, + { + "id": "db75ea42.1350d", + "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": 2475.452392578125, + "y": 6142.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "992d2ec6.0f6bf8" + ] + ] + }, + { + "id": "6061ffc.9494f", + "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": 2483.452392578125, + "y": 6204.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "ddbe5eba.fbf8d8" + ] + ] + }, + { + "id": "8427815.e49c28", + "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": 2499.452392578125, + "y": 5950.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "481f3b2.962dd44" + ] + ] + }, + { + "id": "481f3b2.962dd44", + "type": "success", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2703.452392578125, + "y": 5946.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "9d2fa840.0363b" + ] + ] + }, + { + "id": "6857d48.2b9c62c", + "type": "success", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2703.452392578125, + "y": 6020.2630615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1fb07fdb.0d632" + ] + ] + }, + { + "id": "36c572f8.11887e", + "type": "success", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2709.452392578125, + "y": 6076.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "a0d68506.3f9068" + ] + ] + }, + { + "id": "992d2ec6.0f6bf8", + "type": "success", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2713.452392578125, + "y": 6134.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "5459f399.0fb614" + ] + ] + }, + { + "id": "ddbe5eba.fbf8d8", + "type": "success", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2719.452392578125, + "y": 6200.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "29fd0e8b.8c7952" + ] + ] + }, + { + "id": "9d2fa840.0363b", + "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": 2867.452392578125, + "y": 5948.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "1fb07fdb.0d632", + "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": 2913.452392578125, + "y": 6014.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "a0d68506.3f9068", + "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": 2957.452392578125, + "y": 6078.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "5459f399.0fb614", + "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": 2933.452392578125, + "y": 6132.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "29fd0e8b.8c7952", + "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": 2879.452392578125, + "y": 6198.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "68fa786b.6c6688", + "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": 2885.452392578125, + "y": 6254.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "caf48f2a.9458a", + "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": 2903.452392578125, + "y": 6310.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "15f23c59.7c19e4", + "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": 2483.452392578125, + "y": 6256.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "8525cf9e.edea6" + ] + ] + }, + { + "id": "e7c83d46.a2ef48", + "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": 2481.452392578125, + "y": 6310.0130615234375, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "ef06dde5.e03b88" + ] + ] + }, + { + "id": "8525cf9e.edea6", + "type": "success", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2717.452392578125, + "y": 6254.013061523437, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "68fa786b.6c6688" + ] + ] + }, + { + "id": "ef06dde5.e03b88", + "type": "success", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2711.452392578125, + "y": 6308.013061523437, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "caf48f2a.9458a" + ] + ] + }, + { + "id": "48f13d71.542c54", + "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": 1252, + "y": 5412.000244140625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "5e336da6.0d601c" + ] + ] + }, + { + "id": "5e336da6.0d601c", + "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": 1532, + "y": 5412.000244140625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "9ea4a345.b9cf7" + ] + ] + }, + { + "id": "9ea4a345.b9cf7", + "type": "not-found", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1741.0001220703125, + "y": 5412.000244140625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "d4e4d3cb.8e365" + ] + ] + }, + { + "id": "6b713cfb.723974", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 826.25, + "y": 1755, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "80902f6b.f3783", + "84fcdd32.ae8a78", + "a887b563.1d77e" + ] + ] + }, + { + "id": "84fcdd32.ae8a78", + "type": "set", + "name": "set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='' />", + "comments": "", + "x": 1034, + "y": 1756, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "a887b563.1d77e", + "type": "switchNode", + "name": "switch tmp.naming-data-payload is null", + "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n", + "comments": "", + "outputs": 1, + "x": 1082, + "y": 2035, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "a826576f.08cdb8" + ] + ] + }, + { + "id": "a826576f.08cdb8", + "type": "not-found", + "name": "false", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 1319, + "y": 2036, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "af5562cb.12735" + ] + ] + }, + { + "id": "af5562cb.12735", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1357, + "y": 2094, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "6a94f7b6.2e3e3", + "27e20f71.6cc548", + "9ffd6dac.5925a", + "18ddf882.11fd17", + "a0734951.e43bb8", + "c0cd44d1.7422", + "9976393.8117548", + "36603013.bbb4f8" + ] + ] + }, + { + "id": "7f8df3af.553754", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1003, + "y": 5345, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "9bc5841e.944e18", + "48f13d71.542c54", + "4e9878a6.bcb88" + ] + ] + }, + { + "id": "9bc5841e.944e18", + "type": "set", + "name": "set set payload data", + "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='' />", + "comments": "", + "x": 1240, + "y": 5344, + "z": "719b1fb6.3a5b9", + "wires": [] + }, + { + "id": "4e9878a6.bcb88", + "type": "switchNode", + "name": "switch tmp.naming-data-payload is null", + "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n", + "comments": "", + "outputs": 1, + "x": 1282.2500305175781, + "y": 5534.5001220703125, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "c1f0c66b.befbd" + ] + ] + }, + { + "id": "c1f0c66b.befbd", + "type": "not-found", + "name": "false", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 1516.0000610351562, + "y": 5534.2498779296875, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "c6b57b94.c8c07" + ] + ] + }, + { + "id": "c6b57b94.c8c07", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1503.7500610351562, + "y": 5611.500244140625, + "z": "719b1fb6.3a5b9", + "wires": [ + [ + "1fd7b0ea.d78def", + "b52f5f26.c98fb", + "382244f1.84c314", + "b1e358e4.0f1af8", + "8f868b5c.16e278", + "c761a7c.6b8ed58", + "4bd004e3.7dd99c", + "20e95425.2ec68c", + "64f6b871.04fb28" + ] + ] + } ]
\ No newline at end of file |