-[\r
- {\r
- "id": "83c4c357.9dc39",\r
- "type": "dgstart",\r
- "name": "DGSTART",\r
- "outputs": 1,\r
- "x": 130,\r
- "y": 90,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "9604180f.cb4db8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9604180f.cb4db8",\r
- "type": "service-logic",\r
- "name": "GENERIC-RESOURCE-API ${project.version}",\r
- "module": "GENERIC-RESOURCE-API",\r
- "version": "${project.version}",\r
- "comments": "",\r
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
- "outputs": 1,\r
- "x": 388,\r
- "y": 90,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "af8f1e4c.cfc74"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "af8f1e4c.cfc74",\r
- "type": "method",\r
- "name": "self-serve-generate-name",\r
- "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 693,\r
- "y": 90,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "2086f0e1.00b83"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "2086f0e1.00b83",\r
- "type": "block",\r
- "name": "block atomic",\r
- "xml": "<block atomic=\"true\">\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 192,\r
- "y": 176,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "62037e9a.ca2458",\r
- "b9bbc864.527688",\r
- "3b7aed1.23a8c12",\r
- "60e850da.d148d8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "f59e3ac.5bbea48",\r
- "type": "execute",\r
- "name": "execute replace extra comma",\r
- "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='}' />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1422,\r
- "y": 915,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "62037e9a.ca2458",\r
- "type": "set",\r
- "name": "set capability-name",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n",\r
- "comments": "",\r
- "x": 391,\r
- "y": 177,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "b9bbc864.527688",\r
- "type": "call",\r
- "name": "call capability-param-resolution",\r
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 429,\r
- "y": 242,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "9a7984f8.d045a",\r
- "a106fa43.728e6"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "a7d01c46.7ed298",\r
- "type": "for",\r
- "name": "for vnf-parameters-data",\r
- "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 731.5,\r
- "y": 452,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "79cbdffb.5625c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "79cbdffb.5625c",\r
- "type": "switchNode",\r
- "name": "switch capability-name",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 961.5,\r
- "y": 452,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "b56a34bf.677dd"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b56a34bf.677dd",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1146.5,\r
- "y": 452,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "6f944674.7628e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4f2156d5.7eee6",\r
- "type": "for",\r
- "name": "for vnf-parameters-data",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1391.5,\r
- "y": 716,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "605bf355.cd218c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9a7984f8.d045a",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 652,\r
- "y": 210,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "81307ed2.8a94a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "a106fa43.728e6",\r
- "type": "failure",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 661,\r
- "y": 276,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "81307ed2.8a94a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "81307ed2.8a94a",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from capability-param-resolution\" />\n",\r
- "comments": "",\r
- "x": 854,\r
- "y": 210,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "8477c998.03573",\r
- "type": "set",\r
- "name": "set payload data",\r
- "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 + '",'`\"/>",\r
- "comments": "",\r
- "x": 1994,\r
- "y": 714,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "6f944674.7628e",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 726,\r
- "y": 524,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "acd997c.8f22fe8",\r
- "19f72049.c5871"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "f3fa18cc.0c1d8",\r
- "type": "set",\r
- "name": "set set payload data",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",\r
- "comments": "",\r
- "x": 1389,\r
- "y": 639,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "3ee20a3c.f8edd6",\r
- "type": "set",\r
- "name": "set payload data",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",\r
- "comments": "",\r
- "x": 1389,\r
- "y": 778,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "69cbbbed.9fa5e4",\r
- "type": "set",\r
- "name": "set close payload list",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",\r
- "comments": "",\r
- "x": 1395,\r
- "y": 843,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "3e881059.2f2cd8",\r
- "type": "execute",\r
- "name": "execute replace extra comma",\r
- "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=']' />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1425,\r
- "y": 969,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "ea1ca046.5e2668",\r
- "type": "execute",\r
- "name": "execute NameGenerationNode-unassign",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1451,\r
- "y": 1026,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "eee95f1a.f9e658",\r
- "c109cce2.3819c8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "eee95f1a.f9e658",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1726,\r
- "y": 976,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "1f694574.fea8db"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "21b3a902.2a28e6",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from NameGenerationNode Unassign\" />\n",\r
- "comments": "",\r
- "x": 2091,\r
- "y": 1076,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "c109cce2.3819c8",\r
- "type": "failure",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1731,\r
- "y": 1075,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "1f694574.fea8db"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1f694574.fea8db",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1889,\r
- "y": 1020,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "cf5a56b9.ac4db",\r
- "21b3a902.2a28e6"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "cf5a56b9.ac4db",\r
- "type": "set",\r
- "name": "set status as FAILED",\r
- "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' />",\r
- "comments": "",\r
- "x": 2105,\r
- "y": 967,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "acd997c.8f22fe8",\r
- "type": "switchNode",\r
- "name": "switch capability action unassign",\r
- "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 972,\r
- "y": 580,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "e07fb5f3.783d08"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "e07fb5f3.783d08",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1180,\r
- "y": 580,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "f1c3c9fd.f1c5a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "19f72049.c5871",\r
- "type": "switchNode",\r
- "name": "switch capability action assign",\r
- "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 960,\r
- "y": 1796,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "1345f4df.4b6d6b"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1345f4df.4b6d6b",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1189,\r
- "y": 1796,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "55135596.9d3dbc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1c3375c5.7f4eb2",\r
- "type": "for",\r
- "name": "for vnf-parameters-data",\r
- "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1637,\r
- "y": 1271,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "e358340b.c7c068"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "77b166f5.05823",\r
- "type": "switchNode",\r
- "name": "switch capability-name",\r
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1840,\r
- "y": 1489,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "88f003e2.c6bad"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "88f003e2.c6bad",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2050,\r
- "y": 1489,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "95192879.db03b"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "95192879.db03b",\r
- "type": "set",\r
- "name": "set set payload data",\r
- "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",\r
- "comments": "",\r
- "x": 2246.5,\r
- "y": 1490,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "fa36f91.4e88208",\r
- "type": "execute",\r
- "name": "execute jsonStringToCtx",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1406,\r
- "y": 1174,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "3c2ddcd0.83c2b4",\r
- "type": "for",\r
- "name": "for response elements",\r
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1399,\r
- "y": 1270,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "1c3375c5.7f4eb2"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "e358340b.c7c068",\r
- "type": "execute",\r
- "name": "slistringUtils - check value for $",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1941,\r
- "y": 1271,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "4de47180.92ccc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4de47180.92ccc",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2181,\r
- "y": 1270,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "f9db83bf.c14658"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "6382d7ef.87d61",\r
- "type": "execute",\r
- "name": "split resource-resolution-data",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1848,\r
- "y": 1341,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "54d8508a.81b1b8",\r
- "type": "execute",\r
- "name": "split resource-resolution-split-1",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1863,\r
- "y": 1424,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "f9db83bf.c14658",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1632,\r
- "y": 1341,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "6382d7ef.87d61",\r
- "54d8508a.81b1b8",\r
- "77b166f5.05823"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "f1c3c9fd.f1c5a",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic='true'>",\r
- "atomic": "true",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1182,\r
- "y": 642,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "f3fa18cc.0c1d8",\r
- "4f2156d5.7eee6",\r
- "3ee20a3c.f8edd6",\r
- "69cbbbed.9fa5e4",\r
- "f59e3ac.5bbea48",\r
- "ea1ca046.5e2668",\r
- "fa36f91.4e88208",\r
- "d9e65974.b749d8",\r
- "3c2ddcd0.83c2b4",\r
- "3e881059.2f2cd8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d9e65974.b749d8",\r
- "type": "set",\r
- "name": "set status as DELETED",\r
- "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' />",\r
- "comments": "",\r
- "x": 1404,\r
- "y": 1224,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "ead23b8b.faf658",\r
- "type": "execute",\r
- "name": "execute replace extra comma",\r
- "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='}' />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1435,\r
- "y": 2155,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "47f1f7bb.12786",\r
- "type": "for",\r
- "name": "for vnf-parameters-data",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1404.5,\r
- "y": 1956,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "9a68b04e.73523"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9a68b04e.73523",\r
- "type": "set",\r
- "name": "set payload data",\r
- "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 + '",'`\"/>",\r
- "comments": "",\r
- "x": 1675,\r
- "y": 1957,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "fe45dbf4.302c3",\r
- "type": "set",\r
- "name": "set set payload data",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",\r
- "comments": "",\r
- "x": 1402,\r
- "y": 1879,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "3b628590.b42b3a",\r
- "type": "set",\r
- "name": "set payload data",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",\r
- "comments": "",\r
- "x": 1402,\r
- "y": 2018,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "397bc60e.b881a2",\r
- "type": "set",\r
- "name": "set close payload list",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",\r
- "comments": "",\r
- "x": 1408,\r
- "y": 2083,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "a2dff58c.13be1",\r
- "type": "execute",\r
- "name": "execute replace extra comma",\r
- "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=']' />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1438,\r
- "y": 2209,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "7262b464.b9e4ec",\r
- "type": "execute",\r
- "name": "execute NameGenerationNode-assign",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1464,\r
- "y": 2266,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "f84348e6.228948",\r
- "45baba32.3a97c4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "f84348e6.228948",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1739,\r
- "y": 2216,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "64e193dd.dfac0c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "515ae124.29a79",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from NameGenerationNode Assign\" />\n",\r
- "comments": "",\r
- "x": 2104,\r
- "y": 2316,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "45baba32.3a97c4",\r
- "type": "failure",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1744,\r
- "y": 2315,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "64e193dd.dfac0c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "64e193dd.dfac0c",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1902,\r
- "y": 2260,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "169a3304.a1a2e5",\r
- "515ae124.29a79"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "169a3304.a1a2e5",\r
- "type": "set",\r
- "name": "set status as FAILED",\r
- "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' />",\r
- "comments": "",\r
- "x": 2118,\r
- "y": 2207,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "228e3f19.57aaa8",\r
- "type": "for",\r
- "name": "for vnf-parameters-data",\r
- "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1650,\r
- "y": 2511,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "60984fa4.b1e438"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7fce4ad1.85e74c",\r
- "type": "switchNode",\r
- "name": "switch capability-name",\r
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1853,\r
- "y": 2729,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "cc8bc379.37b0b"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "cc8bc379.37b0b",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2063,\r
- "y": 2729,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "29b45c41.435534"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "29b45c41.435534",\r
- "type": "set",\r
- "name": "set set payload data",\r
- "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",\r
- "comments": "",\r
- "x": 2259.5,\r
- "y": 2730,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "1d9cbff6.ababf",\r
- "type": "execute",\r
- "name": "execute jsonStringToCtx",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1419,\r
- "y": 2414,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "7a82e27d.2c3424",\r
- "type": "for",\r
- "name": "for response elements",\r
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1412,\r
- "y": 2510,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "228e3f19.57aaa8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "60984fa4.b1e438",\r
- "type": "execute",\r
- "name": "slistringUtils - check value for $",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1954,\r
- "y": 2511,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "a9536dd8.3e0148"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "a9536dd8.3e0148",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2194,\r
- "y": 2510,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "eeae6477.d0694"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "f9658edf.b87da8",\r
- "type": "execute",\r
- "name": "split resource-resolution-data",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1861,\r
- "y": 2581,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "79a86e40.517d48",\r
- "type": "execute",\r
- "name": "split resource-resolution-split-1",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1876,\r
- "y": 2664,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "eeae6477.d0694",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1645,\r
- "y": 2581,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "f9658edf.b87da8",\r
- "79a86e40.517d48",\r
- "7fce4ad1.85e74c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "55135596.9d3dbc",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic='true'>",\r
- "atomic": "true",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1195,\r
- "y": 1882,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "fe45dbf4.302c3",\r
- "47f1f7bb.12786",\r
- "3b628590.b42b3a",\r
- "397bc60e.b881a2",\r
- "ead23b8b.faf658",\r
- "7262b464.b9e4ec",\r
- "1d9cbff6.ababf",\r
- "7ff20590.e25864",\r
- "7a82e27d.2c3424",\r
- "a2dff58c.13be1"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7ff20590.e25864",\r
- "type": "set",\r
- "name": "set status as SUCCESS",\r
- "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' />",\r
- "comments": "",\r
- "x": 1417,\r
- "y": 2464,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "605bf355.cd218c",\r
- "type": "switchNode",\r
- "name": "switch external-key",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1630,\r
- "y": 715,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "1ac238ba.38c8cf"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1ac238ba.38c8cf",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1814,\r
- "y": 715,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "8477c998.03573"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "ede9fa35.b00548",\r
- "type": "execute",\r
- "name": "execute replace extra comma",\r
- "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='}' />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1449,\r
- "y": 3248,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "57b3571e.19cb88",\r
- "type": "for",\r
- "name": "for vnf-parameters-data",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 758.5,\r
- "y": 2785,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "7d63d6cd.c98e48"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7d63d6cd.c98e48",\r
- "type": "switchNode",\r
- "name": "switch capability-name",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 988.5,\r
- "y": 2785,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "93dde06c.d3bc28"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "93dde06c.d3bc28",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1173.5,\r
- "y": 2785,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "8d654101.f172b"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7ed0b2b5.e662b4",\r
- "type": "for",\r
- "name": "for vf-module-parameters",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1418.5,\r
- "y": 3049,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "6b561ade.3e62fc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b15b1561.90f45",\r
- "type": "set",\r
- "name": "set payload data",\r
- "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 + '",'`\"/>",\r
- "comments": "",\r
- "x": 2021,\r
- "y": 3047,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "8d654101.f172b",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 753,\r
- "y": 2857,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "818b77b7.ae2798",\r
- "2acf0683.7c50ba"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4c1ecc65.8266dc",\r
- "type": "set",\r
- "name": "set set payload data",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",\r
- "comments": "",\r
- "x": 1416,\r
- "y": 2972,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "3e850e38.1def12",\r
- "type": "set",\r
- "name": "set payload data",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",\r
- "comments": "",\r
- "x": 1416,\r
- "y": 3111,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "35f073d1.ba7aa4",\r
- "type": "set",\r
- "name": "set close payload list",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",\r
- "comments": "",\r
- "x": 1422,\r
- "y": 3176,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "529fefee.dbc64",\r
- "type": "execute",\r
- "name": "execute replace extra comma",\r
- "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=']' />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1452,\r
- "y": 3302,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "6e69306.f9efc5",\r
- "type": "execute",\r
- "name": "execute NameGenerationNode-unassign",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1478,\r
- "y": 3359,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "cd75df1e.730f",\r
- "ed490565.9f3ba8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "cd75df1e.730f",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1753,\r
- "y": 3309,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "4cb7581c.cb3dc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4a53ab2d.04c074",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from NameGenerationNode Unassign\" />\n",\r
- "comments": "",\r
- "x": 2118,\r
- "y": 3409,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "ed490565.9f3ba8",\r
- "type": "failure",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1758,\r
- "y": 3408,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "4cb7581c.cb3dc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4cb7581c.cb3dc",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1916,\r
- "y": 3353,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "23af7bb1.7f209c",\r
- "4a53ab2d.04c074"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "23af7bb1.7f209c",\r
- "type": "set",\r
- "name": "set status as FAILED",\r
- "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' />",\r
- "comments": "",\r
- "x": 2132,\r
- "y": 3300,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "818b77b7.ae2798",\r
- "type": "switchNode",\r
- "name": "switch capability action unassign",\r
- "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 999,\r
- "y": 2913,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "9881c026.6d7e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "9881c026.6d7e",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1207,\r
- "y": 2913,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "1538055c.946ffb"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "2acf0683.7c50ba",\r
- "type": "switchNode",\r
- "name": "switch capability action assign",\r
- "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 987,\r
- "y": 4129,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "3f383b83.fe4da4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "3f383b83.fe4da4",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1216,\r
- "y": 4129,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "c01355fc.047ae8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "55f1fd23.af2894",\r
- "type": "for",\r
- "name": "for vf-module-parameters",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1664,\r
- "y": 3604,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "cdf4a4f1.7cbd5"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "5291bedf.b4c34",\r
- "type": "switchNode",\r
- "name": "switch capability-name",\r
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1867,\r
- "y": 3822,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "2e4a7581.ea6382"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "2e4a7581.ea6382",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2077,\r
- "y": 3822,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "4a99e293.704f1c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4a99e293.704f1c",\r
- "type": "set",\r
- "name": "set set payload data",\r
- "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",\r
- "comments": "",\r
- "x": 2273.5,\r
- "y": 3823,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "d90cbda1.ab8598",\r
- "type": "execute",\r
- "name": "execute jsonStringToCtx",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1433,\r
- "y": 3507,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "d6564825.875ba8",\r
- "type": "for",\r
- "name": "for response elements",\r
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1426,\r
- "y": 3603,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "55f1fd23.af2894"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "cdf4a4f1.7cbd5",\r
- "type": "execute",\r
- "name": "slistringUtils - check value for $",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1968,\r
- "y": 3604,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "80b3324.fa11ed"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "80b3324.fa11ed",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2208,\r
- "y": 3603,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "7fc56707.0572e8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "b215066e.bf6d78",\r
- "type": "execute",\r
- "name": "split resource-resolution-data",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1875,\r
- "y": 3674,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "79e3e1e0.edca3",\r
- "type": "execute",\r
- "name": "split resource-resolution-split-1",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1890,\r
- "y": 3757,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "7fc56707.0572e8",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1659,\r
- "y": 3674,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "b215066e.bf6d78",\r
- "79e3e1e0.edca3",\r
- "5291bedf.b4c34"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1538055c.946ffb",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic='true'>",\r
- "atomic": "true",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1209,\r
- "y": 2975,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "4c1ecc65.8266dc",\r
- "7ed0b2b5.e662b4",\r
- "3e850e38.1def12",\r
- "35f073d1.ba7aa4",\r
- "ede9fa35.b00548",\r
- "6e69306.f9efc5",\r
- "d90cbda1.ab8598",\r
- "1484c014.0b63d8",\r
- "d6564825.875ba8",\r
- "529fefee.dbc64"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1484c014.0b63d8",\r
- "type": "set",\r
- "name": "set status as DELETED",\r
- "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' />",\r
- "comments": "",\r
- "x": 1431,\r
- "y": 3557,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "cc07bd7d.2ebad8",\r
- "type": "execute",\r
- "name": "execute replace extra comma",\r
- "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='}' />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1462,\r
- "y": 4488,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "af1739a6.c3e33",\r
- "type": "for",\r
- "name": "for vf-module-parameters",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1431.5,\r
- "y": 4289,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "7f75e4e.daf2d9c",\r
- "4f414ac6.1c4adc"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7f75e4e.daf2d9c",\r
- "type": "set",\r
- "name": "set payload data",\r
- "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 + '",'`\"/>",\r
- "comments": "",\r
- "x": 1702,\r
- "y": 4290,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "a230d379.a03f1",\r
- "type": "set",\r
- "name": "set set payload data",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",\r
- "comments": "",\r
- "x": 1429,\r
- "y": 4212,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "c324f948.bab3c",\r
- "type": "set",\r
- "name": "set payload data",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",\r
- "comments": "",\r
- "x": 1429,\r
- "y": 4351,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "dd94b5e2.e4de4",\r
- "type": "set",\r
- "name": "set close payload list",\r
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",\r
- "comments": "",\r
- "x": 1435,\r
- "y": 4416,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "abbbbd7e.d06118",\r
- "type": "execute",\r
- "name": "execute replace extra comma",\r
- "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=']' />",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1465,\r
- "y": 4542,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "fe683bd5.6243a8",\r
- "type": "execute",\r
- "name": "execute NameGenerationNode-assign",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1491,\r
- "y": 4599,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "91c16bd6.61a5c",\r
- "146eff5.d60eb01"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "91c16bd6.61a5c",\r
- "type": "failure",\r
- "name": "failure",\r
- "xml": "<outcome value='failure'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1766,\r
- "y": 4549,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "d4a5b4e0.8baeb8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7ff75d57.380c84",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from NameGenerationNode Assign\" />\n",\r
- "comments": "",\r
- "x": 2131,\r
- "y": 4649,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "146eff5.d60eb01",\r
- "type": "failure",\r
- "name": "not-found",\r
- "xml": "<outcome value='not-found'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1771,\r
- "y": 4648,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "d4a5b4e0.8baeb8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d4a5b4e0.8baeb8",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1929,\r
- "y": 4593,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "dc98c503.2f291",\r
- "7ff75d57.380c84"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "dc98c503.2f291",\r
- "type": "set",\r
- "name": "set status as FAILED",\r
- "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' />",\r
- "comments": "",\r
- "x": 2145,\r
- "y": 4540,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "37661303.714934",\r
- "type": "for",\r
- "name": "for vf-module-parameters",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1677,\r
- "y": 4844,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "983598ab.10f78"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "e7f9e3fb.9e7de",\r
- "type": "switchNode",\r
- "name": "switch capability-name",\r
- "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1880,\r
- "y": 5062,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "3c1df4f4.c8cb54"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "3c1df4f4.c8cb54",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2090,\r
- "y": 5062,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "55908959.6e6d7"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "55908959.6e6d7",\r
- "type": "set",\r
- "name": "set set payload data",\r
- "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",\r
- "comments": "",\r
- "x": 2286.5,\r
- "y": 5063,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "a7100ceb.e2c178",\r
- "type": "execute",\r
- "name": "execute jsonStringToCtx",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1446,\r
- "y": 4747,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "eb6d80d4.d85da8",\r
- "type": "for",\r
- "name": "for response elements",\r
- "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1439,\r
- "y": 4843,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "37661303.714934"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "983598ab.10f78",\r
- "type": "execute",\r
- "name": "slistringUtils - check value for $",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1981,\r
- "y": 4844,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "98402a17.631798"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "98402a17.631798",\r
- "type": "outcomeTrue",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2221,\r
- "y": 4843,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "320e20df.29f5d8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "d43b7f49.e6a1b8",\r
- "type": "execute",\r
- "name": "split resource-resolution-data",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1888,\r
- "y": 4914,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "4d03e536.108c3c",\r
- "type": "execute",\r
- "name": "split resource-resolution-split-1",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1903,\r
- "y": 4997,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "320e20df.29f5d8",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1672,\r
- "y": 4914,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "d43b7f49.e6a1b8",\r
- "4d03e536.108c3c",\r
- "e7f9e3fb.9e7de"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "c01355fc.047ae8",\r
- "type": "block",\r
- "name": "block : atomic",\r
- "xml": "<block atomic='true'>",\r
- "atomic": "true",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1222,\r
- "y": 4215,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "a230d379.a03f1",\r
- "af1739a6.c3e33",\r
- "c324f948.bab3c",\r
- "dd94b5e2.e4de4",\r
- "cc07bd7d.2ebad8",\r
- "fe683bd5.6243a8",\r
- "a7100ceb.e2c178",\r
- "1ed9f122.3e69f7",\r
- "eb6d80d4.d85da8",\r
- "abbbbd7e.d06118"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "1ed9f122.3e69f7",\r
- "type": "set",\r
- "name": "set status as SUCCESS",\r
- "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' />",\r
- "comments": "",\r
- "x": 1444,\r
- "y": 4797,\r
- "z": "d296ce47.7642e8",\r
- "wires": []\r
- },\r
- {\r
- "id": "6b561ade.3e62fc",\r
- "type": "switchNode",\r
- "name": "switch external-key",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1657,\r
- "y": 3048,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "ff11e5eb.0359"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "ff11e5eb.0359",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1841,\r
- "y": 3048,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "b15b1561.90f45"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "3b7aed1.23a8c12",\r
- "type": "switchNode",\r
- "name": "switch capability-type. vnf",\r
- "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 401,\r
- "y": 347,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "833ca28a.1746b8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "833ca28a.1746b8",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 573,\r
- "y": 392,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "a7d01c46.7ed298"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "60e850da.d148d8",\r
- "type": "switchNode",\r
- "name": "switch capability-type vf-module",\r
- "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 507,\r
- "y": 2647,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "eee0343f.f1beb8"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "eee0343f.f1beb8",\r
- "type": "not-found",\r
- "name": "true",\r
- "xml": "<outcome value='true'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 664,\r
- "y": 2707,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- [\r
- "57b3571e.19cb88"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "4f414ac6.1c4adc",\r
- "type": "record",\r
- "name": "record",\r
- "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",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1650,\r
- "y": 4204,\r
- "z": "d296ce47.7642e8",\r
- "wires": [\r
- []\r
- ]\r
- }\r
+[
+ {
+ "id": "9d01f665.242718",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 120,
+ "y": 60,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "8d2cd10d.7836b8"
+ ]
+ ]
+ },
+ {
+ "id": "8d2cd10d.7836b8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 368.5713806152344,
+ "y": 62.428558349609375,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "3bb04424.165b2c"
+ ]
+ ]
+ },
+ {
+ "id": "3bb04424.165b2c",
+ "type": "method",
+ "name": "self-serve-generate-name",
+ "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 672.1428527832031,
+ "y": 60.99999237060547,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "f544f42f.79e4c8"
+ ]
+ ]
+ },
+ {
+ "id": "f544f42f.79e4c8",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 171.14285278320312,
+ "y": 146.99999237060547,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "af15506f.05852",
+ "d5abcd9b.9745b",
+ "9587cb6f.6286",
+ "c8c9dba8.4a219",
+ "c465ea91.13fb38"
+ ]
+ ]
+ },
+ {
+ "id": "8b3cd365.e1b4c",
+ "type": "execute",
+ "name": "execute replace extra comma",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1736.8572082519531,
+ "y": 873.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af15506f.05852",
+ "type": "set",
+ "name": "set capability-name",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n",
+ "comments": "",
+ "x": 370.1428527832031,
+ "y": 147.99999237060547,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "d5abcd9b.9745b",
+ "type": "call",
+ "name": "call capability-param-resolution",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 399.1428527832031,
+ "y": 239,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "7aabee17.1c5ba8",
+ "8a0a976d.bb54a"
+ ]
+ ]
+ },
+ {
+ "id": "57f8f575.c14294",
+ "type": "for",
+ "name": "for vnf-parameters-data",
+ "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1170.6430053710938,
+ "y": 504.4285125732422,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "45ec186d.6638d8"
+ ]
+ ]
+ },
+ {
+ "id": "45ec186d.6638d8",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1413.5000610351562,
+ "y": 504.4285125732422,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c34ee0d3.7925f8"
+ ]
+ ]
+ },
+ {
+ "id": "c34ee0d3.7925f8",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1594.2144165039062,
+ "y": 504.4284973144531,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "fbccf37.88f999"
+ ]
+ ]
+ },
+ {
+ "id": "d539f25c.c0e5b8",
+ "type": "for",
+ "name": "for vnf-parameters-data",
+ "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1706.3572082519531,
+ "y": 674.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "59762169.0b874"
+ ]
+ ]
+ },
+ {
+ "id": "7aabee17.1c5ba8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 622.1428527832031,
+ "y": 207,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1370aa99.4464d5"
+ ]
+ ]
+ },
+ {
+ "id": "8a0a976d.bb54a",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 631.1428527832031,
+ "y": 273,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1370aa99.4464d5"
+ ]
+ ]
+ },
+ {
+ "id": "1370aa99.4464d5",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from capability-param-resolution\" />\n",
+ "comments": "",
+ "x": 824.1428527832031,
+ "y": 207,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "c41bbe96.bcfb",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $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 + '",'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
+ "comments": "",
+ "x": 2308.857208251953,
+ "y": 672.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "5ed4030d.2a373c",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
+ "comments": "",
+ "x": 1703.8573608398438,
+ "y": 599.9998626708984,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "5c5e5f8.5a649a",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
+ "comments": "",
+ "x": 1703.8572082519531,
+ "y": 736.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "30621c93.731054",
+ "type": "set",
+ "name": "set close payload list",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
+ "comments": "",
+ "x": 1709.8572082519531,
+ "y": 801.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "ea2a8ca.3b9d37",
+ "type": "execute",
+ "name": "execute replace extra comma",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1739.8572082519531,
+ "y": 927.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "97b12709.514e68",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2105.857177734375,
+ "y": 949.1427612304688,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "718393eb.a09b34"
+ ]
+ ]
+ },
+ {
+ "id": "f738cd51.cd41e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from NameGenerationNode Unassign\" />\n",
+ "comments": "",
+ "x": 2470.857177734375,
+ "y": 1049.1427612304688,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "d0e601f9.671c6",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2110.857177734375,
+ "y": 1048.1427612304688,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "718393eb.a09b34"
+ ]
+ ]
+ },
+ {
+ "id": "718393eb.a09b34",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2268.857177734375,
+ "y": 993.1427612304688,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "bcc4f011.c46088",
+ "f738cd51.cd41e"
+ ]
+ ]
+ },
+ {
+ "id": "bcc4f011.c46088",
+ "type": "set",
+ "name": "set status as FAILED",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />",
+ "comments": "",
+ "x": 2484.857177734375,
+ "y": 940.1427612304688,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "d674890d.0b54b8",
+ "type": "switchNode",
+ "name": "switch capability action assign",
+ "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 794.3809204101562,
+ "y": 1631.7618560791016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "20e0c70b.391c68"
+ ]
+ ]
+ },
+ {
+ "id": "20e0c70b.391c68",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1049.0951538085938,
+ "y": 1631.7618560791016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "e6d807c0.e53738"
+ ]
+ ]
+ },
+ {
+ "id": "c101db98.1e6f7",
+ "type": "for",
+ "name": "for vnf-parameters-data",
+ "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1951.8572082519531,
+ "y": 1229.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c97cd966.464808"
+ ]
+ ]
+ },
+ {
+ "id": "16707bfd.c97154",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2154.857208251953,
+ "y": 1447.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "a824ee12.8cc8e8"
+ ]
+ ]
+ },
+ {
+ "id": "a824ee12.8cc8e8",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2364.857208251953,
+ "y": 1447.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c872b3d2.2f9e08"
+ ]
+ ]
+ },
+ {
+ "id": "8cb3cf6f.94a54",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
+ "comments": "",
+ "x": 2678.0235595703125,
+ "y": 1425.9205322265625,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "b9d7571b.298638",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1720.8572082519531,
+ "y": 1132.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f2cc0f54.bb60e8",
+ "type": "for",
+ "name": "for response elements",
+ "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1713.8572082519531,
+ "y": 1228.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c101db98.1e6f7"
+ ]
+ ]
+ },
+ {
+ "id": "c97cd966.464808",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2255.857208251953,
+ "y": 1229.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "bad123a5.0894c8"
+ ]
+ ]
+ },
+ {
+ "id": "bad123a5.0894c8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2495.857208251953,
+ "y": 1228.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "be18f58.a0ee008"
+ ]
+ ]
+ },
+ {
+ "id": "1bb7fc63.6e9f3c",
+ "type": "execute",
+ "name": "split resource-resolution-data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2162.857208251953,
+ "y": 1299.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d888d83a.b7d8",
+ "type": "execute",
+ "name": "split resource-resolution-split-1",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2177.857208251953,
+ "y": 1382.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fbccf37.88f999",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1496.8572082519531,
+ "y": 600.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "5ed4030d.2a373c",
+ "d539f25c.c0e5b8",
+ "5c5e5f8.5a649a",
+ "30621c93.731054",
+ "8b3cd365.e1b4c",
+ "b9d7571b.298638",
+ "f2cc0f54.bb60e8",
+ "ea2a8ca.3b9d37",
+ "4379c30d.8a80a4"
+ ]
+ ]
+ },
+ {
+ "id": "ef4a1fc.34c336",
+ "type": "execute",
+ "name": "execute replace extra comma",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1635.5236206054688,
+ "y": 2116.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90f9be75.fa811",
+ "type": "for",
+ "name": "for vnf-parameters-data",
+ "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1743.0236206054688,
+ "y": 1932.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "89254dc2.7f4cd8"
+ ]
+ ]
+ },
+ {
+ "id": "89254dc2.7f4cd8",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $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 + '",'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
+ "comments": "",
+ "x": 1995.5236206054688,
+ "y": 1932.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "3d749bd0.06285c",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n",
+ "comments": "",
+ "x": 1723.9520874023438,
+ "y": 1871.3808135986328,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "3a35a7fe.ef5ea8",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
+ "comments": "",
+ "x": 1725.5236206054688,
+ "y": 1988.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "85561c80.3ef308",
+ "type": "set",
+ "name": "set close payload list",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
+ "comments": "",
+ "x": 1610.5236206054688,
+ "y": 2073.6663360595703,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "4c175841.300a1",
+ "type": "execute",
+ "name": "execute replace extra comma",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1636.5236206054688,
+ "y": 2167.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "88d774fa.1d1a38",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1977.523681640625,
+ "y": 2201.66650390625,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c5c5c44f.80e79"
+ ]
+ ]
+ },
+ {
+ "id": "1dbcec72.a673cc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from NameGenerationNode Assign\" />\n",
+ "comments": "",
+ "x": 2342.523681640625,
+ "y": 2301.66650390625,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "157b3125.a0ffff",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1982.523681640625,
+ "y": 2300.66650390625,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c5c5c44f.80e79"
+ ]
+ ]
+ },
+ {
+ "id": "c5c5c44f.80e79",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2140.523681640625,
+ "y": 2245.66650390625,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "24a305ec.7924e2",
+ "1dbcec72.a673cc"
+ ]
+ ]
+ },
+ {
+ "id": "24a305ec.7924e2",
+ "type": "set",
+ "name": "set status as FAILED",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />",
+ "comments": "",
+ "x": 2356.523681640625,
+ "y": 2192.66650390625,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "76848f5c.5c31a",
+ "type": "for",
+ "name": "for vnf-parameters-data",
+ "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1856.5236206054688,
+ "y": 2424.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "d362ce7b.44bc4"
+ ]
+ ]
+ },
+ {
+ "id": "6e2978a6.3a8118",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2059.5236206054688,
+ "y": 2642.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "6be9a784.88ae8"
+ ]
+ ]
+ },
+ {
+ "id": "6be9a784.88ae8",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2269.5236206054688,
+ "y": 2642.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "88e1aa71.08c4d"
+ ]
+ ]
+ },
+ {
+ "id": "d351c878.19363",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
+ "comments": "",
+ "x": 2622.6903076171875,
+ "y": 2611.4442138671875,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "333a840.1d25d7c",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.5236206054688,
+ "y": 2326.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f671137e.43c9",
+ "type": "for",
+ "name": "for response elements",
+ "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1609.5236206054688,
+ "y": 2423.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "76848f5c.5c31a"
+ ]
+ ]
+ },
+ {
+ "id": "d362ce7b.44bc4",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2160.5236206054688,
+ "y": 2424.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "9fd05568.528db8"
+ ]
+ ]
+ },
+ {
+ "id": "9fd05568.528db8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2400.5236206054688,
+ "y": 2423.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "70491a0a.6a6a24"
+ ]
+ ]
+ },
+ {
+ "id": "925d0988.c8bd58",
+ "type": "execute",
+ "name": "split resource-resolution-data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2067.5236206054688,
+ "y": 2494.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3d173098.20141",
+ "type": "execute",
+ "name": "split resource-resolution-split-1",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2082.5236206054688,
+ "y": 2577.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70491a0a.6a6a24",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1851.5236206054688,
+ "y": 2494.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "925d0988.c8bd58",
+ "3d173098.20141",
+ "6e2978a6.3a8118"
+ ]
+ ]
+ },
+ {
+ "id": "94a9278.dd98e58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1520.6666870117188,
+ "y": 1850.9520416259766,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "3d749bd0.06285c",
+ "90f9be75.fa811",
+ "3a35a7fe.ef5ea8"
+ ]
+ ]
+ },
+ {
+ "id": "59762169.0b874",
+ "type": "switchNode",
+ "name": "switch external-key",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1944.8572082519531,
+ "y": 673.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "3be873de.5f56e4"
+ ]
+ ]
+ },
+ {
+ "id": "3be873de.5f56e4",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2128.857208251953,
+ "y": 673.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c41bbe96.bcfb"
+ ]
+ ]
+ },
+ {
+ "id": "a56c2f8a.64a94",
+ "type": "execute",
+ "name": "execute replace extra comma",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1856.4762573242188,
+ "y": 4087.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75bd0dd1.6885f4",
+ "type": "for",
+ "name": "for vnf-parameters-data",
+ "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1144.9761352539062,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1a936a5a.dcff5e"
+ ]
+ ]
+ },
+ {
+ "id": "1a936a5a.dcff5e",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1424.9761352539062,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "d02ebe6c.238e3"
+ ]
+ ]
+ },
+ {
+ "id": "d02ebe6c.238e3",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1633.9762573242188,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "17f1cb31.5694ed"
+ ]
+ ]
+ },
+ {
+ "id": "a4f0128d.13f6b",
+ "type": "for",
+ "name": "for vf-module-parameters",
+ "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1825.9762573242188,
+ "y": 3888.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "206ac6d4.7ae67a"
+ ]
+ ]
+ },
+ {
+ "id": "e421640.8a1ea2",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-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 + '",'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
+ "comments": "",
+ "x": 2428.4762573242188,
+ "y": 3886.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "2167bfb4.daf4d",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
+ "comments": "",
+ "x": 1823.4762573242188,
+ "y": 3811.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "b585badd.35b568",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
+ "comments": "",
+ "x": 1823.4762573242188,
+ "y": 3950.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "bb4dfba2.da8018",
+ "type": "set",
+ "name": "set close payload list",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
+ "comments": "",
+ "x": 1829.4762573242188,
+ "y": 4015.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "73f361ac.bbceb8",
+ "type": "execute",
+ "name": "execute replace extra comma",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1859.4762573242188,
+ "y": 4141.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb05a44b.81acd",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2189.476318359375,
+ "y": 4163.3330078125,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "53f184d5.f04db4"
+ ]
+ ]
+ },
+ {
+ "id": "ac469966.f9f0b",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from NameGenerationNode Unassign\" />\n",
+ "comments": "",
+ "x": 2554.476318359375,
+ "y": 4263.3330078125,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "ba1d7d79.ebca9",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2194.476318359375,
+ "y": 4262.3330078125,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "53f184d5.f04db4"
+ ]
+ ]
+ },
+ {
+ "id": "53f184d5.f04db4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2352.476318359375,
+ "y": 4207.3330078125,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "d5a758ad.0c7368",
+ "ac469966.f9f0b"
+ ]
+ ]
+ },
+ {
+ "id": "d5a758ad.0c7368",
+ "type": "set",
+ "name": "set status as FAILED",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='FAILED' />",
+ "comments": "",
+ "x": 2568.476318359375,
+ "y": 4154.3330078125,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "8566b45.4555748",
+ "type": "for",
+ "name": "for vf-module-parameters",
+ "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2071.4762573242188,
+ "y": 4443.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "bcafdf43.c97df8"
+ ]
+ ]
+ },
+ {
+ "id": "bfa1ad98.e1291",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.4762573242188,
+ "y": 4661.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1695dfe6.8492a"
+ ]
+ ]
+ },
+ {
+ "id": "1695dfe6.8492a",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2484.4762573242188,
+ "y": 4661.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "29601f42.c65388"
+ ]
+ ]
+ },
+ {
+ "id": "29601f42.c65388",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
+ "comments": "",
+ "x": 2680.9762573242188,
+ "y": 4662.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "e7b4e270.a2e688",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1840.4762573242188,
+ "y": 4346.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc4b9b10.f541",
+ "type": "for",
+ "name": "for response elements",
+ "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1833.4762573242188,
+ "y": 4442.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "8566b45.4555748"
+ ]
+ ]
+ },
+ {
+ "id": "bcafdf43.c97df8",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2375.4762573242188,
+ "y": 4443.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "576f293f.cd5a6"
+ ]
+ ]
+ },
+ {
+ "id": "576f293f.cd5a6",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2615.4762573242188,
+ "y": 4442.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "7103d8d3.c872d8"
+ ]
+ ]
+ },
+ {
+ "id": "3a69492f.bb2bae",
+ "type": "execute",
+ "name": "split resource-resolution-data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2282.4762573242188,
+ "y": 4513.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c5cb3ca9.bf8848",
+ "type": "execute",
+ "name": "split resource-resolution-split-1",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2297.4762573242188,
+ "y": 4596.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7103d8d3.c872d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2066.4762573242188,
+ "y": 4513.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "3a69492f.bb2bae",
+ "c5cb3ca9.bf8848",
+ "bfa1ad98.e1291"
+ ]
+ ]
+ },
+ {
+ "id": "17f1cb31.5694ed",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1616.4762573242188,
+ "y": 3814.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "2167bfb4.daf4d",
+ "a4f0128d.13f6b",
+ "b585badd.35b568",
+ "bb4dfba2.da8018",
+ "a56c2f8a.64a94",
+ "e7b4e270.a2e688",
+ "50a18ce1.97fc1c",
+ "dc4b9b10.f541",
+ "73f361ac.bbceb8",
+ "40117641.f32018"
+ ]
+ ]
+ },
+ {
+ "id": "50a18ce1.97fc1c",
+ "type": "set",
+ "name": "set status as DELETED",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='DELETED' />",
+ "comments": "",
+ "x": 1838.4762573242188,
+ "y": 4396.332901000977,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "206ac6d4.7ae67a",
+ "type": "switchNode",
+ "name": "switch external-key",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2064.4762573242188,
+ "y": 3887.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "5fae231d.5272ac"
+ ]
+ ]
+ },
+ {
+ "id": "5fae231d.5272ac",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2248.4762573242188,
+ "y": 3887.3329010009766,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "e421640.8a1ea2"
+ ]
+ ]
+ },
+ {
+ "id": "9587cb6f.6286",
+ "type": "switchNode",
+ "name": "switch capability-type. vnf",
+ "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 380.1428527832031,
+ "y": 317.99999237060547,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "aad954ce.802738"
+ ]
+ ]
+ },
+ {
+ "id": "aad954ce.802738",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 583.5714111328125,
+ "y": 317.2857208251953,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "d4962dde.7144a8"
+ ]
+ ]
+ },
+ {
+ "id": "c8c9dba8.4a219",
+ "type": "switchNode",
+ "name": "switch capability-type vf-module",
+ "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 509.4761962890625,
+ "y": 3481.3333282470703,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "8771ea99.a3f9d"
+ ]
+ ]
+ },
+ {
+ "id": "8771ea99.a3f9d",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 728.4761962890625,
+ "y": 3482.3333892822266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "52b0c642.e848e8"
+ ]
+ ]
+ },
+ {
+ "id": "99f26ef3.280eb",
+ "type": "for",
+ "name": "for vnf-parameters data",
+ "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1621.5236206054688,
+ "y": 2603.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "442eaa12.f66c1c"
+ ]
+ ]
+ },
+ {
+ "id": "442eaa12.f66c1c",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1747.1902465820312,
+ "y": 2734.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "b6eb4a26.4fec"
+ ]
+ ]
+ },
+ {
+ "id": "b6eb4a26.4fec",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2009.1902465820312,
+ "y": 2790.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "67977d8b.c5df04"
+ ]
+ ]
+ },
+ {
+ "id": "67977d8b.c5df04",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2225.1902465820312,
+ "y": 2790.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "829756fc.3cfc5",
+ "5eef2fa5.addbc8"
+ ]
+ ]
+ },
+ {
+ "id": "829756fc.3cfc5",
+ "type": "set",
+ "name": "set capability name",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.capability-name`' value='INPUT' />",
+ "comments": "",
+ "x": 2451.8568115234375,
+ "y": 2766.4444580078125,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "5eef2fa5.addbc8",
+ "type": "set",
+ "name": "set status SUCCESS",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n",
+ "comments": "",
+ "x": 2455.1902465820312,
+ "y": 2836.6663970947266,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "1fbc0bf7.d9d60c",
+ "type": "switchNode",
+ "name": "switch capability action unassign",
+ "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 837.7142333984375,
+ "y": 408.1428680419922,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "efd6575c.f07d5"
+ ]
+ ]
+ },
+ {
+ "id": "efd6575c.f07d5",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1123.4285278320312,
+ "y": 406.7142791748047,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "57f8f575.c14294"
+ ]
+ ]
+ },
+ {
+ "id": "d4962dde.7144a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 587.7142944335938,
+ "y": 382.42860412597656,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1fbc0bf7.d9d60c",
+ "d674890d.0b54b8"
+ ]
+ ]
+ },
+ {
+ "id": "177385a3.c043a2",
+ "type": "for",
+ "name": "for vnf-parameters-data",
+ "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1062.0715942382812,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "30d24fbb.704358"
+ ]
+ ]
+ },
+ {
+ "id": "30d24fbb.704358",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1303.6786499023438,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "a88e7b27.acd89"
+ ]
+ ]
+ },
+ {
+ "id": "a88e7b27.acd89",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1484.3930053710938,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "94a9278.dd98e58"
+ ]
+ ]
+ },
+ {
+ "id": "1954307b.1b2ba8",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1216.8572387695312,
+ "y": 3610.5714263916016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "75bd0dd1.6885f4"
+ ]
+ ]
+ },
+ {
+ "id": "dcef770e.c6ccf8",
+ "type": "switchNode",
+ "name": "switch capability action unassign",
+ "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 975.8569946289062,
+ "y": 3610.5714263916016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1954307b.1b2ba8"
+ ]
+ ]
+ },
+ {
+ "id": "52b0c642.e848e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 732.8571166992188,
+ "y": 3547.5714263916016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "dcef770e.c6ccf8",
+ "ef3aabef.23d1a8"
+ ]
+ ]
+ },
+ {
+ "id": "ef3aabef.23d1a8",
+ "type": "switchNode",
+ "name": "switch capability action assign",
+ "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 952.8096313476562,
+ "y": 5218.334121704102,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "83323826.8871c8"
+ ]
+ ]
+ },
+ {
+ "id": "83323826.8871c8",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.8096313476562,
+ "y": 5218.334121704102,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "b2d3cc7b.89669"
+ ]
+ ]
+ },
+ {
+ "id": "9f73d864.8536d8",
+ "type": "execute",
+ "name": "execute replace extra comma",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',}' />\n <parameter name='replacement' value='}' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1730.3095092773438,
+ "y": 5688.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e105813.22ffe8",
+ "type": "for",
+ "name": "for vf-module-parameters",
+ "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2048.5595092773438,
+ "y": 5496.334121704102,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "9ebe174c.cca8f8"
+ ]
+ ]
+ },
+ {
+ "id": "9ebe174c.cca8f8",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-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 + '",'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
+ "comments": "",
+ "x": 2305.0595092773438,
+ "y": 5496.334121704102,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "89efd59e.cf284",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
+ "comments": "",
+ "x": 2031.0595092773438,
+ "y": 5442.334121704102,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "4f8d850b.bbbc44",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
+ "comments": "",
+ "x": 2037.0595092773438,
+ "y": 5558.334121704102,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "98c04a64.a011c",
+ "type": "set",
+ "name": "set close payload list",
+ "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
+ "comments": "",
+ "x": 1700.3095092773438,
+ "y": 5637.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "d2f1471f.d735d",
+ "type": "execute",
+ "name": "execute replace extra comma",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n <parameter name='outputPath' value='tmp.naming-data-payload' />\n <parameter name='source' value='`$tmp.naming-data-payload`' />\n <parameter name='target' value=',]' />\n <parameter name='replacement' value=']' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1733.3095092773438,
+ "y": 5742.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7e5bd1ab.209ca",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2036.3095703125,
+ "y": 5756.58447265625,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "42fc5b6c.345bdc"
+ ]
+ ]
+ },
+ {
+ "id": "1e009a1e.612266",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from NameGenerationNode Assign\" />\n",
+ "comments": "",
+ "x": 2401.3095703125,
+ "y": 5856.58447265625,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "90a92735.264c5",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2041.3095703125,
+ "y": 5855.58447265625,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "42fc5b6c.345bdc"
+ ]
+ ]
+ },
+ {
+ "id": "42fc5b6c.345bdc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2199.3095703125,
+ "y": 5800.58447265625,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1e009a1e.612266",
+ "91ff7811.5db32"
+ ]
+ ]
+ },
+ {
+ "id": "91ff7811.5db32",
+ "type": "set",
+ "name": "set status as FAILED",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='FAILED' />",
+ "comments": "",
+ "x": 2415.3095703125,
+ "y": 5747.58447265625,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "9626c789.309858",
+ "type": "for",
+ "name": "for vf-module-parameters",
+ "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2011.3095092773438,
+ "y": 6332.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "df02f986.45d718"
+ ]
+ ]
+ },
+ {
+ "id": "1035d4b9.e79303",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2182.3095092773438,
+ "y": 6490.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "d32665c0.ffe428"
+ ]
+ ]
+ },
+ {
+ "id": "d32665c0.ffe428",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2386.3095092773438,
+ "y": 6488.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "24aa734a.87d674"
+ ]
+ ]
+ },
+ {
+ "id": "24aa734a.87d674",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
+ "comments": "",
+ "x": 2580.8095092773438,
+ "y": 6421.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "b6489347.bb4308",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1714.3095092773438,
+ "y": 5855.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7bfb325.ec2d98",
+ "type": "for",
+ "name": "for response elements",
+ "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1743.3095092773438,
+ "y": 6333.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "9626c789.309858"
+ ]
+ ]
+ },
+ {
+ "id": "df02f986.45d718",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2295.3095092773438,
+ "y": 6336.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c66b75af.b35668"
+ ]
+ ]
+ },
+ {
+ "id": "c66b75af.b35668",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2523.3095092773438,
+ "y": 6333.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "a8f90ed5.c9b5a8"
+ ]
+ ]
+ },
+ {
+ "id": "a4a7fab0.32e9b8",
+ "type": "execute",
+ "name": "split resource-resolution-data",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2190.3095092773438,
+ "y": 6386.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b57bbec9.12ea6",
+ "type": "execute",
+ "name": "split resource-resolution-split-1",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name='ctx_memory_result_key' value='s2' />\n <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n <parameter name='regex' value='\\}' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2203.3095092773438,
+ "y": 6445.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a8f90ed5.c9b5a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1950.3095092773438,
+ "y": 6412.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1035d4b9.e79303",
+ "a4a7fab0.32e9b8",
+ "b57bbec9.12ea6"
+ ]
+ ]
+ },
+ {
+ "id": "9c309af6.f7e4a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1824.0595092773438,
+ "y": 5445.334121704102,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "e105813.22ffe8",
+ "89efd59e.cf284",
+ "4f8d850b.bbbc44"
+ ]
+ ]
+ },
+ {
+ "id": "3caf0f0c.12a5b8",
+ "type": "set",
+ "name": "set status as SUCCESS",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='SUCCESS' />",
+ "comments": "",
+ "x": 1716.3095092773438,
+ "y": 5907.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "267d42ee.73dbde",
+ "type": "for",
+ "name": "for vnf parameters data",
+ "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1738.3095092773438,
+ "y": 6555.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "8fcead9b.0e0b8"
+ ]
+ ]
+ },
+ {
+ "id": "8fcead9b.0e0b8",
+ "type": "execute",
+ "name": "slistringUtils - check value for $",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2044.3095092773438,
+ "y": 6553.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "f158d276.0d8658"
+ ]
+ ]
+ },
+ {
+ "id": "f158d276.0d8658",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2282.3095092773438,
+ "y": 6553.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "3621a169.1458b6"
+ ]
+ ]
+ },
+ {
+ "id": "3621a169.1458b6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2444.3095092773438,
+ "y": 6547.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "fef37cdf.87178",
+ "157e032d.744875"
+ ]
+ ]
+ },
+ {
+ "id": "fef37cdf.87178",
+ "type": "set",
+ "name": "set capability name",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].resource-resolution-data.capability-name`' value='INPUT' />\n",
+ "comments": "",
+ "x": 2668.3095092773438,
+ "y": 6513.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "157e032d.744875",
+ "type": "set",
+ "name": "set status SUCCESS",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n\t",
+ "comments": "",
+ "x": 2656.3095092773438,
+ "y": 6613.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "8a66938a.1460b",
+ "type": "for",
+ "name": "for vnf-parameters data",
+ "xml": "<for index='cn' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1726.3095092773438,
+ "y": 6013.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "e7e744c9.85b75"
+ ]
+ ]
+ },
+ {
+ "id": "e7e744c9.85b75",
+ "type": "switchNode",
+ "name": "switch param[] name",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].name == 'vnfc-name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1979.8095092773438,
+ "y": 6014.584854125977,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "2a4c76d1.47e9a2"
+ ]
+ ]
+ },
+ {
+ "id": "2a4c76d1.47e9a2",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2172.8095092773438,
+ "y": 6015.084732055664,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "2c6b125a.5ec166"
+ ]
+ ]
+ },
+ {
+ "id": "2c6b125a.5ec166",
+ "type": "for",
+ "name": "for j in resource key",
+ "xml": "<for silentFailure='true' index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1820.0238647460938,
+ "y": 6123.870666503906,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "eb80eaa0.5a981"
+ ]
+ ]
+ },
+ {
+ "id": "eb80eaa0.5a981",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2090.5953369140625,
+ "y": 6125.584655761719,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "e4d68431.8d96a8",
+ "ecab974a.9bbd78",
+ "314dd1f2.f106d6",
+ "435ecba0.88a2c4",
+ "18703684.a36359",
+ "5a418843.fb8ce",
+ "658b4432.deae1c"
+ ]
+ ]
+ },
+ {
+ "id": "ecab974a.9bbd78",
+ "type": "switchNode",
+ "name": "switch model-invariant-uuid",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-invariant-uuid'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2524.3095092773438,
+ "y": 6001.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "cf5cb0c4.d1ede8"
+ ]
+ ]
+ },
+ {
+ "id": "314dd1f2.f106d6",
+ "type": "switchNode",
+ "name": "switch model-customization-uuid",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-customization-uuid'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2492.3095092773438,
+ "y": 6059.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "70feaf3a.73ab2"
+ ]
+ ]
+ },
+ {
+ "id": "435ecba0.88a2c4",
+ "type": "switchNode",
+ "name": "switch model-uuid",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-uuid'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2490.3095092773438,
+ "y": 6121.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "40b980ec.ac6338"
+ ]
+ ]
+ },
+ {
+ "id": "18703684.a36359",
+ "type": "switchNode",
+ "name": "switch model-version",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-version'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2498.3095092773438,
+ "y": 6183.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "3405bb1d.191ce4"
+ ]
+ ]
+ },
+ {
+ "id": "e4d68431.8d96a8",
+ "type": "switchNode",
+ "name": "switch vm-type",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'vm-type'`\">\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2514.3095092773438,
+ "y": 5929.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "8cbeeb62.d5961"
+ ]
+ ]
+ },
+ {
+ "id": "8cbeeb62.d5961",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2718.3095092773438,
+ "y": 5925.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "57750a1a.165544"
+ ]
+ ]
+ },
+ {
+ "id": "cf5cb0c4.d1ede8",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2718.3095092773438,
+ "y": 5999.834487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "57206663.d5c56"
+ ]
+ ]
+ },
+ {
+ "id": "70feaf3a.73ab2",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2724.3095092773438,
+ "y": 6055.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "b4b44bc3.5bb8a8"
+ ]
+ ]
+ },
+ {
+ "id": "40b980ec.ac6338",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2728.3095092773438,
+ "y": 6113.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "8cc0d8fe.d3593"
+ ]
+ ]
+ },
+ {
+ "id": "3405bb1d.191ce4",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2734.3095092773438,
+ "y": 6179.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "f57a9876.705b68"
+ ]
+ ]
+ },
+ {
+ "id": "57750a1a.165544",
+ "type": "set",
+ "name": "set vm-type",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].vm-type`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2882.3095092773438,
+ "y": 5927.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "57206663.d5c56",
+ "type": "set",
+ "name": "set model-invariant-uuid",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-invariant-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2928.3095092773438,
+ "y": 5993.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "b4b44bc3.5bb8a8",
+ "type": "set",
+ "name": "set model-customization-uuid",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-customization-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2972.3095092773438,
+ "y": 6057.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "8cc0d8fe.d3593",
+ "type": "set",
+ "name": "set model-uuid",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2948.3095092773438,
+ "y": 6111.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "f57a9876.705b68",
+ "type": "set",
+ "name": "set model-version",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-version`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[j].value`' />\n",
+ "comments": "",
+ "x": 2894.3095092773438,
+ "y": 6177.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "ec4b72ee.0d91e8",
+ "type": "set",
+ "name": "set model-name",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-name`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2900.3095092773438,
+ "y": 6233.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "c2128119.3c59c8",
+ "type": "set",
+ "name": "set vnfc-name",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-name`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
+ "comments": "",
+ "x": 2918.3095092773438,
+ "y": 6289.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "5a418843.fb8ce",
+ "type": "switchNode",
+ "name": "switch model-name",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2498.3095092773438,
+ "y": 6235.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "2b96a377.785aec"
+ ]
+ ]
+ },
+ {
+ "id": "658b4432.deae1c",
+ "type": "switchNode",
+ "name": "switch vnfc-name",
+ "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'vnfc-name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2496.3095092773438,
+ "y": 6289.584487915039,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "2a2a4a91.63c3f6"
+ ]
+ ]
+ },
+ {
+ "id": "2b96a377.785aec",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2732.3095092773438,
+ "y": 6233.584487915038,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "ec4b72ee.0d91e8"
+ ]
+ ]
+ },
+ {
+ "id": "2a2a4a91.63c3f6",
+ "type": "success",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2726.3095092773438,
+ "y": 6287.584487915038,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "c2128119.3c59c8"
+ ]
+ ]
+ },
+ {
+ "id": "b9630ea3.d96b18",
+ "type": "for",
+ "name": "for vnf-parameters-data",
+ "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1266.8571166992188,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "bd4ce803.509a98"
+ ]
+ ]
+ },
+ {
+ "id": "bd4ce803.509a98",
+ "type": "switchNode",
+ "name": "switch capability-name",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1546.8571166992188,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "a5d1018e.3683e"
+ ]
+ ]
+ },
+ {
+ "id": "a5d1018e.3683e",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1755.8572387695312,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "9c309af6.f7e4a"
+ ]
+ ]
+ },
+ {
+ "id": "e6d807c0.e53738",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 841.1071166992188,
+ "y": 1734.5714263916016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "177385a3.c043a2",
+ "ff615e80.275a08",
+ "39178dc5.011a9a"
+ ]
+ ]
+ },
+ {
+ "id": "ff615e80.275a08",
+ "type": "set",
+ "name": "set payload data",
+ "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
+ "comments": "",
+ "x": 1048.8571166992188,
+ "y": 1735.5714263916016,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "39178dc5.011a9a",
+ "type": "switchNode",
+ "name": "switch tmp.naming-data-payload is null",
+ "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.8571166992188,
+ "y": 2014.5714263916016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "781da2e9.01d83c"
+ ]
+ ]
+ },
+ {
+ "id": "781da2e9.01d83c",
+ "type": "not-found",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1333.8571166992188,
+ "y": 2015.5714263916016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "600486cd.2b6308"
+ ]
+ ]
+ },
+ {
+ "id": "600486cd.2b6308",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1371.8571166992188,
+ "y": 2073.5714263916016,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "85561c80.3ef308",
+ "ef4a1fc.34c336",
+ "4c175841.300a1",
+ "333a840.1d25d7c",
+ "f671137e.43c9",
+ "99f26ef3.280eb",
+ "80fef6f4.c675b"
+ ]
+ ]
+ },
+ {
+ "id": "b2d3cc7b.89669",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017.8571166992188,
+ "y": 5324.571426391602,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "6a40e563.5a14a4",
+ "b9630ea3.d96b18",
+ "7640b347.b23714"
+ ]
+ ]
+ },
+ {
+ "id": "6a40e563.5a14a4",
+ "type": "set",
+ "name": "set set payload data",
+ "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
+ "comments": "",
+ "x": 1254.8571166992188,
+ "y": 5323.571426391602,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "7640b347.b23714",
+ "type": "switchNode",
+ "name": "switch tmp.naming-data-payload is null",
+ "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1297.1071472167969,
+ "y": 5514.071548461914,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "48235ce0.3408cc"
+ ]
+ ]
+ },
+ {
+ "id": "48235ce0.3408cc",
+ "type": "not-found",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1530.857177734375,
+ "y": 5513.821304321289,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "7c76786f.4904"
+ ]
+ ]
+ },
+ {
+ "id": "7c76786f.4904",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1518.607177734375,
+ "y": 5591.071670532227,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "98c04a64.a011c",
+ "9f73d864.8536d8",
+ "d2f1471f.d735d",
+ "b6489347.bb4308",
+ "3caf0f0c.12a5b8",
+ "8a66938a.1460b",
+ "c7bfb325.ec2d98",
+ "267d42ee.73dbde",
+ "90b8bf99.7de998"
+ ]
+ ]
+ },
+ {
+ "id": "c465ea91.13fb38",
+ "type": "execute",
+ "name": "execute readProperties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 383,
+ "y": 193,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90b8bf99.7de998",
+ "type": "execute",
+ "name": "execute RestApiCallNode - POST gen-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1779,
+ "y": 5804,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "7e5bd1ab.209ca",
+ "90a92735.264c5"
+ ]
+ ]
+ },
+ {
+ "id": "80fef6f4.c675b",
+ "type": "execute",
+ "name": "execute RestApiCallNode - POST gen-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1682,
+ "y": 2246,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "88d774fa.1d1a38",
+ "157b3125.a0ffff"
+ ]
+ ]
+ },
+ {
+ "id": "40117641.f32018",
+ "type": "execute",
+ "name": "execute RestApiCallNode - DELETE gen-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='DELETE' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1899,
+ "y": 4211,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "cb05a44b.81acd",
+ "ba1d7d79.ebca9"
+ ]
+ ]
+ },
+ {
+ "id": "4379c30d.8a80a4",
+ "type": "execute",
+ "name": "execute RestApiCallNode - DELETE gen-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > \n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='DELETE' />\n <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1792,
+ "y": 996,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "97b12709.514e68",
+ "d0e601f9.671c6"
+ ]
+ ]
+ },
+ {
+ "id": "de7f57d6.741e4",
+ "type": "comment",
+ "name": "For Generate Name DG Capability ",
+ "info": "Support Bulk assign and single delete\nAlso calls Naming gen mS for assign/un-assign\n\nAdded by Ajay Singh(as396y)",
+ "comments": "",
+ "x": 846,
+ "y": 123,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "169273ad.322bdc",
+ "type": "set",
+ "name": "set status as DELETED",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='DELETED' />",
+ "comments": "",
+ "x": 2691.1112060546875,
+ "y": 1477.7779541015625,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "24da0c57.b0398c",
+ "type": "set",
+ "name": "set status SUCCESS",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n",
+ "comments": "",
+ "x": 2624.44482421875,
+ "y": 2671.1112670898438,
+ "z": "8ffa18ff.21a748",
+ "wires": []
+ },
+ {
+ "id": "be18f58.a0ee008",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1946.8572082519531,
+ "y": 1299.1427688598633,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "1bb7fc63.6e9f3c",
+ "d888d83a.b7d8",
+ "16707bfd.c97154"
+ ]
+ ]
+ },
+ {
+ "id": "c872b3d2.2f9e08",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2498.888916015625,
+ "y": 1444.4444580078125,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "169273ad.322bdc",
+ "8cb3cf6f.94a54"
+ ]
+ ]
+ },
+ {
+ "id": "88e1aa71.08c4d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2417.77783203125,
+ "y": 2640.0000610351562,
+ "z": "8ffa18ff.21a748",
+ "wires": [
+ [
+ "d351c878.19363",
+ "24da0c57.b0398c"
+ ]
+ ]
+ }
]
\ No newline at end of file