[
{
- "id": "44384001.814478",
+ "id": "9d01f665.242718",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 112,
- "y": 43,
- "z": "b88526e.24a7ad8",
+ "x": 120,
+ "y": 60,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7f8a6cfc.d713c4"
+ "8d2cd10d.7836b8"
]
]
},
{
- "id": "7f8a6cfc.d713c4",
+ "id": "8d2cd10d.7836b8",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
"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": 359.1428527832031,
- "y": 43.99999237060547,
- "z": "b88526e.24a7ad8",
+ "x": 368.5713806152344,
+ "y": 62.428558349609375,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3e607973.034d6e"
+ "3bb04424.165b2c"
]
]
},
{
- "id": "3e607973.034d6e",
+ "id": "3bb04424.165b2c",
"type": "method",
"name": "self-serve-generate-name",
"xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 664.1428527832031,
- "y": 43.99999237060547,
- "z": "b88526e.24a7ad8",
+ "x": 672.1428527832031,
+ "y": 60.99999237060547,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3f9a35f8.8da52a"
+ "f544f42f.79e4c8"
]
]
},
{
- "id": "3f9a35f8.8da52a",
+ "id": "f544f42f.79e4c8",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 163.14285278320312,
- "y": 129.99999237060547,
- "z": "b88526e.24a7ad8",
+ "x": 171.14285278320312,
+ "y": 146.99999237060547,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7a632215.c0ac2c",
- "7f9a3712.0790f",
- "f841aff3.13a07",
- "571f0673.b8518",
- "2a352877.19cd9"
+ "af15506f.05852",
+ "d5abcd9b.9745b",
+ "9587cb6f.6286",
+ "c8c9dba8.4a219",
+ "c465ea91.13fb38"
]
]
},
{
- "id": "bc633e83.bdfe98",
+ "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": 1728.8572082519531,
- "y": 856.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1736.8572082519531,
+ "y": 873.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "7a632215.c0ac2c",
+ "id": "af15506f.05852",
"type": "set",
"name": "set capability-name",
"xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n",
"comments": "",
- "x": 362.1428527832031,
- "y": 130.99999237060547,
- "z": "b88526e.24a7ad8",
+ "x": 370.1428527832031,
+ "y": 147.99999237060547,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "7f9a3712.0790f",
+ "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": 391.1428527832031,
- "y": 222,
- "z": "b88526e.24a7ad8",
+ "x": 399.1428527832031,
+ "y": 239,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f5bead73.e939c8",
- "e210e97d.997518"
+ "7aabee17.1c5ba8",
+ "8a0a976d.bb54a"
]
]
},
{
- "id": "f5e94169.5fc978",
+ "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": 1162.6430053710938,
- "y": 487.4285125732422,
- "z": "b88526e.24a7ad8",
+ "x": 1170.6430053710938,
+ "y": 504.4285125732422,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "fa4257ae.9fd718"
+ "45ec186d.6638d8"
]
]
},
{
- "id": "fa4257ae.9fd718",
+ "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": 1405.5000610351562,
- "y": 487.4285125732422,
- "z": "b88526e.24a7ad8",
+ "x": 1413.5000610351562,
+ "y": 504.4285125732422,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4a6ecd53.d56884"
+ "c34ee0d3.7925f8"
]
]
},
{
- "id": "4a6ecd53.d56884",
+ "id": "c34ee0d3.7925f8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1586.2144165039062,
- "y": 487.4284973144531,
- "z": "b88526e.24a7ad8",
+ "x": 1594.2144165039062,
+ "y": 504.4284973144531,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a7c641d6.1516b"
+ "fbccf37.88f999"
]
]
},
{
- "id": "9750b026.40e79",
+ "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": 1698.3572082519531,
- "y": 657.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1706.3572082519531,
+ "y": 674.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6e26ff1a.e07b88"
+ "59762169.0b874"
]
]
},
{
- "id": "f5bead73.e939c8",
+ "id": "7aabee17.1c5ba8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 614.1428527832031,
- "y": 190,
- "z": "b88526e.24a7ad8",
+ "x": 622.1428527832031,
+ "y": 207,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "322435c8.51411a"
+ "1370aa99.4464d5"
]
]
},
{
- "id": "e210e97d.997518",
+ "id": "8a0a976d.bb54a",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 623.1428527832031,
- "y": 256,
- "z": "b88526e.24a7ad8",
+ "x": 631.1428527832031,
+ "y": 273,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "322435c8.51411a"
+ "1370aa99.4464d5"
]
]
},
{
- "id": "322435c8.51411a",
+ "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": 816.1428527832031,
- "y": 190,
- "z": "b88526e.24a7ad8",
+ "x": 824.1428527832031,
+ "y": 207,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "11ec24e5.5f86b3",
+ "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": 2300.857208251953,
- "y": 655.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2308.857208251953,
+ "y": 672.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "bc87beaf.bad8a",
+ "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": 1695.8573608398438,
- "y": 582.9998626708984,
- "z": "b88526e.24a7ad8",
+ "x": 1703.8573608398438,
+ "y": 599.9998626708984,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "3b24af37.62d288",
+ "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": 1695.8572082519531,
- "y": 719.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1703.8572082519531,
+ "y": 736.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "a94779d8.6d99c",
+ "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": 1701.8572082519531,
- "y": 784.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1709.8572082519531,
+ "y": 801.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "349803e.db927fc",
+ "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": 1731.8572082519531,
- "y": 910.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1739.8572082519531,
+ "y": 927.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "8af1d548.36ba08",
+ "id": "97b12709.514e68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2097.857177734375,
- "y": 932.1427612304688,
- "z": "b88526e.24a7ad8",
+ "x": 2105.857177734375,
+ "y": 949.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c7e4d145.feb3b8"
+ "718393eb.a09b34"
]
]
},
{
- "id": "91f543dc.e9a0c8",
+ "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": 2462.857177734375,
- "y": 1032.1427612304688,
- "z": "b88526e.24a7ad8",
+ "x": 2470.857177734375,
+ "y": 1049.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "6b5d2c36.36d07c",
+ "id": "d0e601f9.671c6",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2102.857177734375,
- "y": 1031.1427612304688,
- "z": "b88526e.24a7ad8",
+ "x": 2110.857177734375,
+ "y": 1048.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c7e4d145.feb3b8"
+ "718393eb.a09b34"
]
]
},
{
- "id": "c7e4d145.feb3b8",
+ "id": "718393eb.a09b34",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2260.857177734375,
- "y": 976.1427612304688,
- "z": "b88526e.24a7ad8",
+ "x": 2268.857177734375,
+ "y": 993.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6effc421.de541c",
- "91f543dc.e9a0c8"
+ "bcc4f011.c46088",
+ "f738cd51.cd41e"
]
]
},
{
- "id": "6effc421.de541c",
+ "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": 2476.857177734375,
- "y": 923.1427612304688,
- "z": "b88526e.24a7ad8",
+ "x": 2484.857177734375,
+ "y": 940.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "4312cb34.d1fec4",
+ "id": "d674890d.0b54b8",
"type": "switchNode",
"name": "switch capability action assign",
"xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
"comments": "",
"outputs": 1,
- "x": 786.3809204101562,
- "y": 1614.7618560791016,
- "z": "b88526e.24a7ad8",
+ "x": 794.3809204101562,
+ "y": 1631.7618560791016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c588e672.9457"
+ "20e0c70b.391c68"
]
]
},
{
- "id": "c588e672.9457",
+ "id": "20e0c70b.391c68",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1041.0951538085938,
- "y": 1614.7618560791016,
- "z": "b88526e.24a7ad8",
+ "x": 1049.0951538085938,
+ "y": 1631.7618560791016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "96d8122d.bb415"
+ "e6d807c0.e53738"
]
]
},
{
- "id": "f5ff6d86.dbc2a8",
+ "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": 1943.8572082519531,
- "y": 1212.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1951.8572082519531,
+ "y": 1229.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9f1d9384.e4cf38"
+ "c97cd966.464808"
]
]
},
{
- "id": "e8412a7e.3847d8",
+ "id": "16707bfd.c97154",
"type": "switchNode",
"name": "switch capability-name",
"xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 2146.857208251953,
- "y": 1430.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2154.857208251953,
+ "y": 1447.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "32086d42.08bf12"
+ "a824ee12.8cc8e8"
]
]
},
{
- "id": "32086d42.08bf12",
+ "id": "a824ee12.8cc8e8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2356.857208251953,
- "y": 1430.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2364.857208251953,
+ "y": 1447.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "8dd8a7af.a18a58"
+ "c872b3d2.2f9e08"
]
]
},
{
- "id": "8dd8a7af.a18a58",
+ "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": 2553.357208251953,
- "y": 1431.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2678.0235595703125,
+ "y": 1425.9205322265625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "7ce3d216.f2e854",
+ "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": 1712.8572082519531,
- "y": 1115.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1720.8572082519531,
+ "y": 1132.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "174f706f.eb1c4",
+ "id": "f2cc0f54.bb60e8",
"type": "for",
"name": "for response elements",
"xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1705.8572082519531,
- "y": 1211.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1713.8572082519531,
+ "y": 1228.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f5ff6d86.dbc2a8"
+ "c101db98.1e6f7"
]
]
},
{
- "id": "9f1d9384.e4cf38",
+ "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": 2247.857208251953,
- "y": 1212.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2255.857208251953,
+ "y": 1229.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ce97b583.de0eb"
+ "bad123a5.0894c8"
]
]
},
{
- "id": "ce97b583.de0eb",
+ "id": "bad123a5.0894c8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2487.857208251953,
- "y": 1211.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2495.857208251953,
+ "y": 1228.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "2768322c.982d36"
+ "be18f58.a0ee008"
]
]
},
{
- "id": "edf18693.d94aa8",
+ "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": 2154.857208251953,
- "y": 1282.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2162.857208251953,
+ "y": 1299.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "ddf9d245.932de",
+ "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": 2169.857208251953,
- "y": 1365.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2177.857208251953,
+ "y": 1382.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "2768322c.982d36",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1938.8572082519531,
- "y": 1282.1427688598633,
- "z": "b88526e.24a7ad8",
- "wires": [
- [
- "edf18693.d94aa8",
- "ddf9d245.932de",
- "e8412a7e.3847d8"
- ]
- ]
- },
- {
- "id": "a7c641d6.1516b",
+ "id": "fbccf37.88f999",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1488.8572082519531,
- "y": 583.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1496.8572082519531,
+ "y": 600.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "bc87beaf.bad8a",
- "9750b026.40e79",
- "3b24af37.62d288",
- "a94779d8.6d99c",
- "bc633e83.bdfe98",
- "7ce3d216.f2e854",
- "dcc81210.7b3bb",
- "174f706f.eb1c4",
- "349803e.db927fc",
- "f9afd12e.2d3128"
+ "5ed4030d.2a373c",
+ "d539f25c.c0e5b8",
+ "5c5e5f8.5a649a",
+ "30621c93.731054",
+ "8b3cd365.e1b4c",
+ "b9d7571b.298638",
+ "f2cc0f54.bb60e8",
+ "ea2a8ca.3b9d37",
+ "4379c30d.8a80a4"
]
]
},
{
- "id": "dcc81210.7b3bb",
- "type": "set",
- "name": "set status as DELETED",
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='DELETED' />",
- "comments": "",
- "x": 1710.8572082519531,
- "y": 1165.1427688598633,
- "z": "b88526e.24a7ad8",
- "wires": []
- },
- {
- "id": "fff738e5.4d0ce",
+ "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": 1627.5236206054688,
- "y": 2099.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1635.5236206054688,
+ "y": 2116.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "16446b33.aaf505",
+ "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": 1735.0236206054688,
- "y": 1915.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1743.0236206054688,
+ "y": 1932.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "95c09049.cf0398"
+ "89254dc2.7f4cd8"
]
]
},
{
- "id": "95c09049.cf0398",
+ "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": 1987.5236206054688,
- "y": 1915.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1995.5236206054688,
+ "y": 1932.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "278f5611.2443c2",
+ "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": 1715.9520874023438,
- "y": 1854.3808135986328,
- "z": "b88526e.24a7ad8",
+ "x": 1723.9520874023438,
+ "y": 1871.3808135986328,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "b557bbbd.9b02a",
+ "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": 1717.5236206054688,
- "y": 1971.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1725.5236206054688,
+ "y": 1988.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "88f11c7a.f31688",
+ "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": 1602.5236206054688,
- "y": 2056.6663360595703,
- "z": "b88526e.24a7ad8",
+ "x": 1610.5236206054688,
+ "y": 2073.6663360595703,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "f398ae72.bb9338",
+ "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": 1628.5236206054688,
- "y": 2150.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1636.5236206054688,
+ "y": 2167.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "7136f5d4.61b024",
+ "id": "88d774fa.1d1a38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1969.523681640625,
- "y": 2184.66650390625,
- "z": "b88526e.24a7ad8",
+ "x": 1977.523681640625,
+ "y": 2201.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "cce60393.cfd56"
+ "c5c5c44f.80e79"
]
]
},
{
- "id": "37abde73.8b06c2",
+ "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": 2334.523681640625,
- "y": 2284.66650390625,
- "z": "b88526e.24a7ad8",
+ "x": 2342.523681640625,
+ "y": 2301.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "ef775b29.4a7b",
+ "id": "157b3125.a0ffff",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1974.523681640625,
- "y": 2283.66650390625,
- "z": "b88526e.24a7ad8",
+ "x": 1982.523681640625,
+ "y": 2300.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "cce60393.cfd56"
+ "c5c5c44f.80e79"
]
]
},
{
- "id": "cce60393.cfd56",
+ "id": "c5c5c44f.80e79",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2132.523681640625,
- "y": 2228.66650390625,
- "z": "b88526e.24a7ad8",
+ "x": 2140.523681640625,
+ "y": 2245.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "546fd473.2cd5dc",
- "37abde73.8b06c2"
+ "24a305ec.7924e2",
+ "1dbcec72.a673cc"
]
]
},
{
- "id": "546fd473.2cd5dc",
+ "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": 2348.523681640625,
- "y": 2175.66650390625,
- "z": "b88526e.24a7ad8",
+ "x": 2356.523681640625,
+ "y": 2192.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "e2624cc8.4eb57",
+ "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": 1848.5236206054688,
- "y": 2407.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1856.5236206054688,
+ "y": 2424.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "be8a0258.a3d64"
+ "d362ce7b.44bc4"
]
]
},
{
- "id": "5380bfed.f4864",
+ "id": "6e2978a6.3a8118",
"type": "switchNode",
"name": "switch capability-name",
"xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 2051.5236206054688,
- "y": 2625.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2059.5236206054688,
+ "y": 2642.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "94a6c10b.d1c6a"
+ "6be9a784.88ae8"
]
]
},
{
- "id": "94a6c10b.d1c6a",
+ "id": "6be9a784.88ae8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2261.5236206054688,
- "y": 2625.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2269.5236206054688,
+ "y": 2642.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7afdb21d.b59cb4"
+ "88e1aa71.08c4d"
]
]
},
{
- "id": "7afdb21d.b59cb4",
+ "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": 2458.0236206054688,
- "y": 2626.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2622.6903076171875,
+ "y": 2611.4442138671875,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "6d5e56ed.17d75",
+ "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": 1609.5236206054688,
- "y": 2309.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1617.5236206054688,
+ "y": 2326.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "a133146c.f8d1c",
+ "id": "f671137e.43c9",
"type": "for",
"name": "for response elements",
"xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1601.5236206054688,
- "y": 2406.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1609.5236206054688,
+ "y": 2423.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e2624cc8.4eb57"
+ "76848f5c.5c31a"
]
]
},
{
- "id": "be8a0258.a3d64",
+ "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": 2152.5236206054688,
- "y": 2407.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2160.5236206054688,
+ "y": 2424.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "663752cc.bb14ac"
+ "9fd05568.528db8"
]
]
},
{
- "id": "663752cc.bb14ac",
+ "id": "9fd05568.528db8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2392.5236206054688,
- "y": 2406.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2400.5236206054688,
+ "y": 2423.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "5dfb8377.41af4c"
+ "70491a0a.6a6a24"
]
]
},
{
- "id": "f365dac0.f6fd5",
+ "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": 2059.5236206054688,
- "y": 2477.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2067.5236206054688,
+ "y": 2494.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "f61ff7c0.095698",
+ "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": 2074.5236206054688,
- "y": 2560.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2082.5236206054688,
+ "y": 2577.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "5dfb8377.41af4c",
+ "id": "70491a0a.6a6a24",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1843.5236206054688,
- "y": 2477.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1851.5236206054688,
+ "y": 2494.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f365dac0.f6fd5",
- "f61ff7c0.095698",
- "5380bfed.f4864"
+ "925d0988.c8bd58",
+ "3d173098.20141",
+ "6e2978a6.3a8118"
]
]
},
{
- "id": "4849f457.b71524",
+ "id": "94a9278.dd98e58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1512.6666870117188,
- "y": 1833.9520416259766,
- "z": "b88526e.24a7ad8",
+ "x": 1520.6666870117188,
+ "y": 1850.9520416259766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "278f5611.2443c2",
- "16446b33.aaf505",
- "b557bbbd.9b02a"
+ "3d749bd0.06285c",
+ "90f9be75.fa811",
+ "3a35a7fe.ef5ea8"
]
]
},
{
- "id": "a0bc5db0.876ac8",
- "type": "set",
- "name": "set status as SUCCESS",
- "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='SUCCESS' />",
- "comments": "",
- "x": 1608.5236206054688,
- "y": 2360.6663970947266,
- "z": "b88526e.24a7ad8",
- "wires": []
- },
- {
- "id": "6e26ff1a.e07b88",
+ "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": 1936.8572082519531,
- "y": 656.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 1944.8572082519531,
+ "y": 673.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "983c7546.c67c28"
+ "3be873de.5f56e4"
]
]
},
{
- "id": "983c7546.c67c28",
+ "id": "3be873de.5f56e4",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2120.857208251953,
- "y": 656.1427688598633,
- "z": "b88526e.24a7ad8",
+ "x": 2128.857208251953,
+ "y": 673.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "11ec24e5.5f86b3"
+ "c41bbe96.bcfb"
]
]
},
{
- "id": "d8da45ad.01a8a",
+ "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": 1848.4762573242188,
- "y": 4070.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 1856.4762573242188,
+ "y": 4087.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "a3bde9b.3b85798",
+ "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": 1136.9761352539062,
- "y": 3682.3333892822266,
- "z": "b88526e.24a7ad8",
+ "x": 1144.9761352539062,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4c84b197.b55718"
+ "1a936a5a.dcff5e"
]
]
},
{
- "id": "4c84b197.b55718",
+ "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": 1416.9761352539062,
- "y": 3682.3333892822266,
- "z": "b88526e.24a7ad8",
+ "x": 1424.9761352539062,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "8fbf4fc0.ccf628"
+ "d02ebe6c.238e3"
]
]
},
{
- "id": "8fbf4fc0.ccf628",
+ "id": "d02ebe6c.238e3",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1625.9762573242188,
- "y": 3682.3333892822266,
- "z": "b88526e.24a7ad8",
+ "x": 1633.9762573242188,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "37468c59.dd2414"
+ "17f1cb31.5694ed"
]
]
},
{
- "id": "97197bdb.a2cad8",
+ "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": 1817.9762573242188,
- "y": 3871.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 1825.9762573242188,
+ "y": 3888.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3908bfeb.e84f"
+ "206ac6d4.7ae67a"
]
]
},
{
- "id": "28d4f278.d4fa26",
+ "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": 2420.4762573242188,
- "y": 3869.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 2428.4762573242188,
+ "y": 3886.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "73a75422.d8850c",
+ "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": 1815.4762573242188,
- "y": 3794.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 1823.4762573242188,
+ "y": 3811.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "46fb189c.966838",
+ "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": 1815.4762573242188,
- "y": 3933.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 1823.4762573242188,
+ "y": 3950.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "be439e05.fe7ff8",
+ "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": 1821.4762573242188,
- "y": 3998.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 1829.4762573242188,
+ "y": 4015.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "a84918b5.b82848",
+ "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": 1851.4762573242188,
- "y": 4124.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 1859.4762573242188,
+ "y": 4141.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "e6db3fc2.418c7",
+ "id": "cb05a44b.81acd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2181.476318359375,
- "y": 4146.3330078125,
- "z": "b88526e.24a7ad8",
+ "x": 2189.476318359375,
+ "y": 4163.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c89f9697.3bcd9"
+ "53f184d5.f04db4"
]
]
},
{
- "id": "54902e1f.a23738",
+ "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": 2546.476318359375,
- "y": 4246.3330078125,
- "z": "b88526e.24a7ad8",
+ "x": 2554.476318359375,
+ "y": 4263.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "add1de2.24bbda",
+ "id": "ba1d7d79.ebca9",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2186.476318359375,
- "y": 4245.3330078125,
- "z": "b88526e.24a7ad8",
+ "x": 2194.476318359375,
+ "y": 4262.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c89f9697.3bcd9"
+ "53f184d5.f04db4"
]
]
},
{
- "id": "c89f9697.3bcd9",
+ "id": "53f184d5.f04db4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2344.476318359375,
- "y": 4190.3330078125,
- "z": "b88526e.24a7ad8",
+ "x": 2352.476318359375,
+ "y": 4207.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ed1d207b.66697",
- "54902e1f.a23738"
+ "d5a758ad.0c7368",
+ "ac469966.f9f0b"
]
]
},
{
- "id": "ed1d207b.66697",
+ "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": 2560.476318359375,
- "y": 4137.3330078125,
- "z": "b88526e.24a7ad8",
+ "x": 2568.476318359375,
+ "y": 4154.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "712165ae.c8b134",
+ "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": 2063.4762573242188,
- "y": 4426.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2071.4762573242188,
+ "y": 4443.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a8831bf.0add2e8"
+ "bcafdf43.c97df8"
]
]
},
{
- "id": "c4d874bf.c84648",
+ "id": "bfa1ad98.e1291",
"type": "switchNode",
"name": "switch capability-name",
"xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 2266.4762573242188,
- "y": 4644.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2274.4762573242188,
+ "y": 4661.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6c8538a0.f116f8"
+ "1695dfe6.8492a"
]
]
},
{
- "id": "6c8538a0.f116f8",
+ "id": "1695dfe6.8492a",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2476.4762573242188,
- "y": 4644.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2484.4762573242188,
+ "y": 4661.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4ab33b35.a84a54"
+ "29601f42.c65388"
]
]
},
{
- "id": "4ab33b35.a84a54",
+ "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": 2672.9762573242188,
- "y": 4645.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2680.9762573242188,
+ "y": 4662.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "2bae3b0b.919654",
+ "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": 1832.4762573242188,
- "y": 4329.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 1840.4762573242188,
+ "y": 4346.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "bd0c0aec.c12ba",
+ "id": "dc4b9b10.f541",
"type": "for",
"name": "for response elements",
"xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1825.4762573242188,
- "y": 4425.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 1833.4762573242188,
+ "y": 4442.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "712165ae.c8b134"
+ "8566b45.4555748"
]
]
},
{
- "id": "a8831bf.0add2e8",
+ "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": 2367.4762573242188,
- "y": 4426.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2375.4762573242188,
+ "y": 4443.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "b4bafecc.dbd1d8"
+ "576f293f.cd5a6"
]
]
},
{
- "id": "b4bafecc.dbd1d8",
+ "id": "576f293f.cd5a6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2607.4762573242188,
- "y": 4425.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2615.4762573242188,
+ "y": 4442.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "37f99340.6371ac"
+ "7103d8d3.c872d8"
]
]
},
{
- "id": "c6f61ac6.058e2",
+ "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": 2274.4762573242188,
- "y": 4496.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2282.4762573242188,
+ "y": 4513.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "7b6510ed.263a5",
+ "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": 2289.4762573242188,
- "y": 4579.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2297.4762573242188,
+ "y": 4596.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "37f99340.6371ac",
+ "id": "7103d8d3.c872d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2058.4762573242188,
- "y": 4496.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 2066.4762573242188,
+ "y": 4513.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c6f61ac6.058e2",
- "7b6510ed.263a5",
- "c4d874bf.c84648"
+ "3a69492f.bb2bae",
+ "c5cb3ca9.bf8848",
+ "bfa1ad98.e1291"
]
]
},
{
- "id": "37468c59.dd2414",
+ "id": "17f1cb31.5694ed",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1608.4762573242188,
- "y": 3797.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 1616.4762573242188,
+ "y": 3814.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "73a75422.d8850c",
- "97197bdb.a2cad8",
- "46fb189c.966838",
- "be439e05.fe7ff8",
- "d8da45ad.01a8a",
- "2bae3b0b.919654",
- "6650d50f.f2a194",
- "bd0c0aec.c12ba",
- "a84918b5.b82848",
- "99585b38.25a06"
+ "2167bfb4.daf4d",
+ "a4f0128d.13f6b",
+ "b585badd.35b568",
+ "bb4dfba2.da8018",
+ "a56c2f8a.64a94",
+ "e7b4e270.a2e688",
+ "50a18ce1.97fc1c",
+ "dc4b9b10.f541",
+ "73f361ac.bbceb8",
+ "40117641.f32018"
]
]
},
{
- "id": "6650d50f.f2a194",
+ "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": 1830.4762573242188,
- "y": 4379.332901000977,
- "z": "b88526e.24a7ad8",
+ "x": 1838.4762573242188,
+ "y": 4396.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "3908bfeb.e84f",
+ "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": 2056.4762573242188,
- "y": 3870.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 2064.4762573242188,
+ "y": 3887.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "5a34ee8b.f9c61"
+ "5fae231d.5272ac"
]
]
},
{
- "id": "5a34ee8b.f9c61",
+ "id": "5fae231d.5272ac",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2240.4762573242188,
- "y": 3870.3329010009766,
- "z": "b88526e.24a7ad8",
+ "x": 2248.4762573242188,
+ "y": 3887.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "28d4f278.d4fa26"
+ "e421640.8a1ea2"
]
]
},
{
- "id": "f841aff3.13a07",
+ "id": "9587cb6f.6286",
"type": "switchNode",
"name": "switch capability-type. vnf",
"xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
"comments": "",
"outputs": 1,
- "x": 372.1428527832031,
- "y": 300.99999237060547,
- "z": "b88526e.24a7ad8",
+ "x": 380.1428527832031,
+ "y": 317.99999237060547,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "58dd98ce.eb99f"
+ "aad954ce.802738"
]
]
},
{
- "id": "58dd98ce.eb99f",
+ "id": "aad954ce.802738",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 575.5714111328125,
- "y": 300.2857208251953,
- "z": "b88526e.24a7ad8",
+ "x": 583.5714111328125,
+ "y": 317.2857208251953,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7b0e8ad8.f3802c"
+ "d4962dde.7144a8"
]
]
},
{
- "id": "571f0673.b8518",
+ "id": "c8c9dba8.4a219",
"type": "switchNode",
"name": "switch capability-type vf-module",
"xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
"comments": "",
"outputs": 1,
- "x": 501.4761962890625,
- "y": 3464.3333282470703,
- "z": "b88526e.24a7ad8",
+ "x": 509.4761962890625,
+ "y": 3481.3333282470703,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "48a38bbd.e8a77c"
+ "8771ea99.a3f9d"
]
]
},
{
- "id": "48a38bbd.e8a77c",
+ "id": "8771ea99.a3f9d",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 720.4761962890625,
- "y": 3465.3333892822266,
- "z": "b88526e.24a7ad8",
+ "x": 728.4761962890625,
+ "y": 3482.3333892822266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "750bfd10.899924"
+ "52b0c642.e848e8"
]
]
},
{
- "id": "a6e4bc7d.20b678",
+ "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": 1613.5236206054688,
- "y": 2586.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1621.5236206054688,
+ "y": 2603.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ffc03440.e917d"
+ "442eaa12.f66c1c"
]
]
},
{
- "id": "ffc03440.e917d",
+ "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": 1739.1902465820312,
- "y": 2717.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 1747.1902465820312,
+ "y": 2734.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "1af41882.7a6b4f"
+ "b6eb4a26.4fec"
]
]
},
{
- "id": "1af41882.7a6b4f",
+ "id": "b6eb4a26.4fec",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2001.1902465820312,
- "y": 2773.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2009.1902465820312,
+ "y": 2790.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "fcd660c4.530c58"
+ "67977d8b.c5df04"
]
]
},
{
- "id": "fcd660c4.530c58",
+ "id": "67977d8b.c5df04",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2217.1902465820312,
- "y": 2773.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2225.1902465820312,
+ "y": 2790.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "236c01c7.bf3206",
- "bd4596a.19984e8"
+ "829756fc.3cfc5",
+ "5eef2fa5.addbc8"
]
]
},
{
- "id": "236c01c7.bf3206",
+ "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": 2437.1902465820312,
- "y": 2711.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2451.8568115234375,
+ "y": 2766.4444580078125,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "bd4596a.19984e8",
+ "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": 2447.1902465820312,
- "y": 2819.6663970947266,
- "z": "b88526e.24a7ad8",
+ "x": 2455.1902465820312,
+ "y": 2836.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "4bd2a625.600b48",
+ "id": "1fbc0bf7.d9d60c",
"type": "switchNode",
"name": "switch capability action unassign",
"xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
"comments": "",
"outputs": 1,
- "x": 829.7142333984375,
- "y": 391.1428680419922,
- "z": "b88526e.24a7ad8",
+ "x": 837.7142333984375,
+ "y": 408.1428680419922,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f5867b52.e6b6c"
+ "efd6575c.f07d5"
]
]
},
{
- "id": "f5867b52.e6b6c",
+ "id": "efd6575c.f07d5",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1115.4285278320312,
- "y": 389.7142791748047,
- "z": "b88526e.24a7ad8",
+ "x": 1123.4285278320312,
+ "y": 406.7142791748047,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f5e94169.5fc978"
+ "57f8f575.c14294"
]
]
},
{
- "id": "7b0e8ad8.f3802c",
+ "id": "d4962dde.7144a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 579.7142944335938,
- "y": 365.42860412597656,
- "z": "b88526e.24a7ad8",
+ "x": 587.7142944335938,
+ "y": 382.42860412597656,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4bd2a625.600b48",
- "4312cb34.d1fec4"
+ "1fbc0bf7.d9d60c",
+ "d674890d.0b54b8"
]
]
},
{
- "id": "acaab3ca.702c88",
+ "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": 1054.0715942382812,
- "y": 1777.166763305664,
- "z": "b88526e.24a7ad8",
+ "x": 1062.0715942382812,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ae04112f.bd2d08"
+ "30d24fbb.704358"
]
]
},
{
- "id": "ae04112f.bd2d08",
+ "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": 1295.6786499023438,
- "y": 1777.166763305664,
- "z": "b88526e.24a7ad8",
+ "x": 1303.6786499023438,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "1e81a1ec.bd42f6"
+ "a88e7b27.acd89"
]
]
},
{
- "id": "1e81a1ec.bd42f6",
+ "id": "a88e7b27.acd89",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1476.3930053710938,
- "y": 1777.166763305664,
- "z": "b88526e.24a7ad8",
+ "x": 1484.3930053710938,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4849f457.b71524"
+ "94a9278.dd98e58"
]
]
},
{
- "id": "d951a688.ea8908",
+ "id": "1954307b.1b2ba8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1208.8572387695312,
- "y": 3593.5714263916016,
- "z": "b88526e.24a7ad8",
+ "x": 1216.8572387695312,
+ "y": 3610.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a3bde9b.3b85798"
+ "75bd0dd1.6885f4"
]
]
},
{
- "id": "90ab2ac1.82262",
+ "id": "dcef770e.c6ccf8",
"type": "switchNode",
"name": "switch capability action unassign",
"xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
"comments": "",
"outputs": 1,
- "x": 967.8569946289062,
- "y": 3593.5714263916016,
- "z": "b88526e.24a7ad8",
+ "x": 975.8569946289062,
+ "y": 3610.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "d951a688.ea8908"
+ "1954307b.1b2ba8"
]
]
},
{
- "id": "750bfd10.899924",
+ "id": "52b0c642.e848e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 724.8571166992188,
- "y": 3530.5714263916016,
- "z": "b88526e.24a7ad8",
+ "x": 732.8571166992188,
+ "y": 3547.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "90ab2ac1.82262",
- "876d4c7d.f86a88"
+ "dcef770e.c6ccf8",
+ "ef3aabef.23d1a8"
]
]
},
{
- "id": "876d4c7d.f86a88",
+ "id": "ef3aabef.23d1a8",
"type": "switchNode",
"name": "switch capability action assign",
"xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
"comments": "",
"outputs": 1,
- "x": 944.8096313476562,
- "y": 5201.334121704102,
- "z": "b88526e.24a7ad8",
+ "x": 952.8096313476562,
+ "y": 5218.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "97b1b31a.f402b"
+ "83323826.8871c8"
]
]
},
{
- "id": "97b1b31a.f402b",
+ "id": "83323826.8871c8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1173.8096313476562,
- "y": 5201.334121704102,
- "z": "b88526e.24a7ad8",
+ "x": 1181.8096313476562,
+ "y": 5218.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "bf89c636.30aac8"
+ "b2d3cc7b.89669"
]
]
},
{
- "id": "c54c6f8e.b8ff58",
+ "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": 1722.3095092773438,
- "y": 5671.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1730.3095092773438,
+ "y": 5688.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "b361600c.eb049",
+ "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": 2040.5595092773438,
- "y": 5479.334121704102,
- "z": "b88526e.24a7ad8",
+ "x": 2048.5595092773438,
+ "y": 5496.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "b5cdeaa7.6f11d"
+ "9ebe174c.cca8f8"
]
]
},
{
- "id": "b5cdeaa7.6f11d",
+ "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": 2297.0595092773438,
- "y": 5479.334121704102,
- "z": "b88526e.24a7ad8",
+ "x": 2305.0595092773438,
+ "y": 5496.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "8bb2899.7eabb78",
+ "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": 2023.0595092773438,
- "y": 5425.334121704102,
- "z": "b88526e.24a7ad8",
+ "x": 2031.0595092773438,
+ "y": 5442.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "feb610d7.764ab",
+ "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": 2029.0595092773438,
- "y": 5541.334121704102,
- "z": "b88526e.24a7ad8",
+ "x": 2037.0595092773438,
+ "y": 5558.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "aba737c8.b673a",
+ "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": 1692.3095092773438,
- "y": 5620.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1700.3095092773438,
+ "y": 5637.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "e94ef6dd.a37908",
+ "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": 1725.3095092773438,
- "y": 5725.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1733.3095092773438,
+ "y": 5742.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "1ec3d3c3.85586c",
+ "id": "7e5bd1ab.209ca",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2028.3095703125,
- "y": 5739.58447265625,
- "z": "b88526e.24a7ad8",
+ "x": 2036.3095703125,
+ "y": 5756.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "21b0f329.fc401c"
+ "42fc5b6c.345bdc"
]
]
},
{
- "id": "7a611dc7.f16d14",
+ "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": 2393.3095703125,
- "y": 5839.58447265625,
- "z": "b88526e.24a7ad8",
+ "x": 2401.3095703125,
+ "y": 5856.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "80386656.f0d7d",
+ "id": "90a92735.264c5",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2033.3095703125,
- "y": 5838.58447265625,
- "z": "b88526e.24a7ad8",
+ "x": 2041.3095703125,
+ "y": 5855.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "21b0f329.fc401c"
+ "42fc5b6c.345bdc"
]
]
},
{
- "id": "21b0f329.fc401c",
+ "id": "42fc5b6c.345bdc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2191.3095703125,
- "y": 5783.58447265625,
- "z": "b88526e.24a7ad8",
+ "x": 2199.3095703125,
+ "y": 5800.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7a611dc7.f16d14",
- "399dfaf7.a00f2e"
+ "1e009a1e.612266",
+ "91ff7811.5db32"
]
]
},
{
- "id": "399dfaf7.a00f2e",
+ "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": 2407.3095703125,
- "y": 5730.58447265625,
- "z": "b88526e.24a7ad8",
+ "x": 2415.3095703125,
+ "y": 5747.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "8744b72d.e0422",
+ "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": 2003.3095092773438,
- "y": 6315.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2011.3095092773438,
+ "y": 6332.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "26376a44.3bf3e6"
+ "df02f986.45d718"
]
]
},
{
- "id": "c8297614.5665c8",
+ "id": "1035d4b9.e79303",
"type": "switchNode",
"name": "switch capability-name",
"xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 2174.3095092773438,
- "y": 6473.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2182.3095092773438,
+ "y": 6490.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "5c1866b1.7ab59"
+ "d32665c0.ffe428"
]
]
},
{
- "id": "5c1866b1.7ab59",
+ "id": "d32665c0.ffe428",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2378.3095092773438,
- "y": 6471.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2386.3095092773438,
+ "y": 6488.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "8068dba1.b90f38"
+ "24aa734a.87d674"
]
]
},
{
- "id": "8068dba1.b90f38",
+ "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": 2572.8095092773438,
- "y": 6404.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2580.8095092773438,
+ "y": 6421.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "cbc78ec6.7ff248",
+ "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": 1706.3095092773438,
- "y": 5838.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1714.3095092773438,
+ "y": 5855.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "1e5d91b7.f1cac6",
+ "id": "c7bfb325.ec2d98",
"type": "for",
"name": "for response elements",
"xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1735.3095092773438,
- "y": 6316.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1743.3095092773438,
+ "y": 6333.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "8744b72d.e0422"
+ "9626c789.309858"
]
]
},
{
- "id": "26376a44.3bf3e6",
+ "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": 2287.3095092773438,
- "y": 6319.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2295.3095092773438,
+ "y": 6336.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6638dc1c.c0f774"
+ "c66b75af.b35668"
]
]
},
{
- "id": "6638dc1c.c0f774",
+ "id": "c66b75af.b35668",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2515.3095092773438,
- "y": 6316.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2523.3095092773438,
+ "y": 6333.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "49c6c4cb.ae35f4"
+ "a8f90ed5.c9b5a8"
]
]
},
{
- "id": "614640d1.2410b",
+ "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": 2182.3095092773438,
- "y": 6369.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2190.3095092773438,
+ "y": 6386.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "f159cc8b.de17d",
+ "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": 2195.3095092773438,
- "y": 6428.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2203.3095092773438,
+ "y": 6445.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "49c6c4cb.ae35f4",
+ "id": "a8f90ed5.c9b5a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1942.3095092773438,
- "y": 6395.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1950.3095092773438,
+ "y": 6412.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c8297614.5665c8",
- "614640d1.2410b",
- "f159cc8b.de17d"
+ "1035d4b9.e79303",
+ "a4a7fab0.32e9b8",
+ "b57bbec9.12ea6"
]
]
},
{
- "id": "80097c84.1bbc38",
+ "id": "9c309af6.f7e4a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1816.0595092773438,
- "y": 5428.334121704102,
- "z": "b88526e.24a7ad8",
+ "x": 1824.0595092773438,
+ "y": 5445.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "b361600c.eb049",
- "8bb2899.7eabb78",
- "feb610d7.764ab"
+ "e105813.22ffe8",
+ "89efd59e.cf284",
+ "4f8d850b.bbbc44"
]
]
},
{
- "id": "d085846f.259da",
+ "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": 1708.3095092773438,
- "y": 5890.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1716.3095092773438,
+ "y": 5907.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "2d4ee971.9f5306",
+ "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": 1730.3095092773438,
- "y": 6538.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1738.3095092773438,
+ "y": 6555.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "968d7f58.752fa8"
+ "8fcead9b.0e0b8"
]
]
},
{
- "id": "968d7f58.752fa8",
+ "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": 2036.3095092773438,
- "y": 6536.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2044.3095092773438,
+ "y": 6553.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "b316390f.c223e"
+ "f158d276.0d8658"
]
]
},
{
- "id": "b316390f.c223e",
+ "id": "f158d276.0d8658",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2274.3095092773438,
- "y": 6536.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2282.3095092773438,
+ "y": 6553.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "523d1dc3.a4cfdc"
+ "3621a169.1458b6"
]
]
},
{
- "id": "523d1dc3.a4cfdc",
+ "id": "3621a169.1458b6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2436.3095092773438,
- "y": 6530.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2444.3095092773438,
+ "y": 6547.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "196036c5.88ba19",
- "a33c55dc.d6268"
+ "fef37cdf.87178",
+ "157e032d.744875"
]
]
},
{
- "id": "196036c5.88ba19",
+ "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": 2660.3095092773438,
- "y": 6496.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2668.3095092773438,
+ "y": 6513.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "a33c55dc.d6268",
+ "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": 2648.3095092773438,
- "y": 6596.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2656.3095092773438,
+ "y": 6613.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "af0954c0.0ed2a8",
+ "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": 1718.3095092773438,
- "y": 5996.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1726.3095092773438,
+ "y": 6013.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "fcdfe07c.36982"
+ "e7e744c9.85b75"
]
]
},
{
- "id": "fcdfe07c.36982",
+ "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": 1971.8095092773438,
- "y": 5997.584854125977,
- "z": "b88526e.24a7ad8",
+ "x": 1979.8095092773438,
+ "y": 6014.584854125977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ecb5c713.928a5"
+ "2a4c76d1.47e9a2"
]
]
},
{
- "id": "ecb5c713.928a5",
+ "id": "2a4c76d1.47e9a2",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2164.8095092773438,
- "y": 5998.084732055664,
- "z": "b88526e.24a7ad8",
+ "x": 2172.8095092773438,
+ "y": 6015.084732055664,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a271047.93a13f8"
+ "2c6b125a.5ec166"
]
]
},
{
- "id": "a271047.93a13f8",
+ "id": "2c6b125a.5ec166",
"type": "for",
"name": "for j in resource key",
- "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key_length`' >\n",
+ "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": 1806.3095092773438,
- "y": 6112.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 1820.0238647460938,
+ "y": 6123.870666503906,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a54bbb54.f3ff88"
+ "eb80eaa0.5a981"
]
]
},
{
- "id": "a54bbb54.f3ff88",
+ "id": "eb80eaa0.5a981",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2078.3095092773438,
- "y": 6108.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2090.5953369140625,
+ "y": 6125.584655761719,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7a50c097.1fd508",
- "bae1a795.c95818",
- "6cb03d6a.b426e4",
- "fdef5f45.af46b8",
- "d977a0bb.d25038",
- "d4543380.8a8648",
- "80d478e2.ca4f3"
+ "e4d68431.8d96a8",
+ "ecab974a.9bbd78",
+ "314dd1f2.f106d6",
+ "435ecba0.88a2c4",
+ "18703684.a36359",
+ "5a418843.fb8ce",
+ "658b4432.deae1c"
]
]
},
{
- "id": "bae1a795.c95818",
+ "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": 2516.3095092773438,
- "y": 5984.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2524.3095092773438,
+ "y": 6001.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e21bbc33.3bd9b8"
+ "cf5cb0c4.d1ede8"
]
]
},
{
- "id": "6cb03d6a.b426e4",
+ "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": 2484.3095092773438,
- "y": 6042.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2492.3095092773438,
+ "y": 6059.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "26752abf.e0f87e"
+ "70feaf3a.73ab2"
]
]
},
{
- "id": "fdef5f45.af46b8",
+ "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": 2482.3095092773438,
- "y": 6104.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2490.3095092773438,
+ "y": 6121.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "99545f4f.9552"
+ "40b980ec.ac6338"
]
]
},
{
- "id": "d977a0bb.d25038",
+ "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": 2490.3095092773438,
- "y": 6166.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2498.3095092773438,
+ "y": 6183.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "d332c105.d01b6"
+ "3405bb1d.191ce4"
]
]
},
{
- "id": "7a50c097.1fd508",
+ "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": 2506.3095092773438,
- "y": 5912.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2514.3095092773438,
+ "y": 5929.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "343730f6.0bde"
+ "8cbeeb62.d5961"
]
]
},
{
- "id": "343730f6.0bde",
+ "id": "8cbeeb62.d5961",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2710.3095092773438,
- "y": 5908.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2718.3095092773438,
+ "y": 5925.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "10dcd678.f75eb2"
+ "57750a1a.165544"
]
]
},
{
- "id": "e21bbc33.3bd9b8",
+ "id": "cf5cb0c4.d1ede8",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2710.3095092773438,
- "y": 5982.834487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2718.3095092773438,
+ "y": 5999.834487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ba46d15f.84fe98"
+ "57206663.d5c56"
]
]
},
{
- "id": "26752abf.e0f87e",
+ "id": "70feaf3a.73ab2",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2716.3095092773438,
- "y": 6038.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2724.3095092773438,
+ "y": 6055.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ec7f1ff2.18d6b8"
+ "b4b44bc3.5bb8a8"
]
]
},
{
- "id": "99545f4f.9552",
+ "id": "40b980ec.ac6338",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2720.3095092773438,
- "y": 6096.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2728.3095092773438,
+ "y": 6113.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9cb30ad2.947f6"
+ "8cc0d8fe.d3593"
]
]
},
{
- "id": "d332c105.d01b6",
+ "id": "3405bb1d.191ce4",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2726.3095092773438,
- "y": 6162.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2734.3095092773438,
+ "y": 6179.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "78957203.1f8534"
+ "f57a9876.705b68"
]
]
},
{
- "id": "10dcd678.f75eb2",
+ "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": 2874.3095092773438,
- "y": 5910.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2882.3095092773438,
+ "y": 5927.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "ba46d15f.84fe98",
+ "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": 2920.3095092773438,
- "y": 5976.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2928.3095092773438,
+ "y": 5993.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "ec7f1ff2.18d6b8",
+ "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": 2964.3095092773438,
- "y": 6040.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2972.3095092773438,
+ "y": 6057.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "9cb30ad2.947f6",
+ "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": 2940.3095092773438,
- "y": 6094.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2948.3095092773438,
+ "y": 6111.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "78957203.1f8534",
+ "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": 2886.3095092773438,
- "y": 6160.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2894.3095092773438,
+ "y": 6177.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "72d6e55e.c52994",
+ "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": 2892.3095092773438,
- "y": 6216.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2900.3095092773438,
+ "y": 6233.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "f9bda76a.6618c8",
+ "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": 2910.3095092773438,
- "y": 6272.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2918.3095092773438,
+ "y": 6289.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "d4543380.8a8648",
+ "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": 2490.3095092773438,
- "y": 6218.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2498.3095092773438,
+ "y": 6235.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ebf87fd3.da0e28"
+ "2b96a377.785aec"
]
]
},
{
- "id": "80d478e2.ca4f3",
+ "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": 2488.3095092773438,
- "y": 6272.584487915039,
- "z": "b88526e.24a7ad8",
+ "x": 2496.3095092773438,
+ "y": 6289.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e0094cf6.191bc"
+ "2a2a4a91.63c3f6"
]
]
},
{
- "id": "ebf87fd3.da0e28",
+ "id": "2b96a377.785aec",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2724.3095092773438,
- "y": 6216.584487915038,
- "z": "b88526e.24a7ad8",
+ "x": 2732.3095092773438,
+ "y": 6233.584487915038,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "72d6e55e.c52994"
+ "ec4b72ee.0d91e8"
]
]
},
{
- "id": "e0094cf6.191bc",
+ "id": "2a2a4a91.63c3f6",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2718.3095092773438,
- "y": 6270.584487915038,
- "z": "b88526e.24a7ad8",
+ "x": 2726.3095092773438,
+ "y": 6287.584487915038,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f9bda76a.6618c8"
+ "c2128119.3c59c8"
]
]
},
{
- "id": "c88ce4fa.2e3558",
+ "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": 1258.8571166992188,
- "y": 5374.571670532227,
- "z": "b88526e.24a7ad8",
+ "x": 1266.8571166992188,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "5a20be5b.b3a028"
+ "bd4ce803.509a98"
]
]
},
{
- "id": "5a20be5b.b3a028",
+ "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": 1538.8571166992188,
- "y": 5374.571670532227,
- "z": "b88526e.24a7ad8",
+ "x": 1546.8571166992188,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "deb0eb20.bf079"
+ "a5d1018e.3683e"
]
]
},
{
- "id": "deb0eb20.bf079",
+ "id": "a5d1018e.3683e",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1747.8572387695312,
- "y": 5374.571670532227,
- "z": "b88526e.24a7ad8",
+ "x": 1755.8572387695312,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "80097c84.1bbc38"
+ "9c309af6.f7e4a"
]
]
},
{
- "id": "96d8122d.bb415",
+ "id": "e6d807c0.e53738",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 833.1071166992188,
- "y": 1717.5714263916016,
- "z": "b88526e.24a7ad8",
+ "x": 841.1071166992188,
+ "y": 1734.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "acaab3ca.702c88",
- "6764646d.7a6754",
- "e7afeea8.32592"
+ "177385a3.c043a2",
+ "ff615e80.275a08",
+ "39178dc5.011a9a"
]
]
},
{
- "id": "6764646d.7a6754",
+ "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": 1040.8571166992188,
- "y": 1718.5714263916016,
- "z": "b88526e.24a7ad8",
+ "x": 1048.8571166992188,
+ "y": 1735.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "e7afeea8.32592",
+ "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": 1088.8571166992188,
- "y": 1997.5714263916016,
- "z": "b88526e.24a7ad8",
+ "x": 1096.8571166992188,
+ "y": 2014.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "b86e6a12.7ee33"
+ "781da2e9.01d83c"
]
]
},
{
- "id": "b86e6a12.7ee33",
+ "id": "781da2e9.01d83c",
"type": "not-found",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1325.8571166992188,
- "y": 1998.5714263916016,
- "z": "b88526e.24a7ad8",
+ "x": 1333.8571166992188,
+ "y": 2015.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6e3664a9.34079c"
+ "600486cd.2b6308"
]
]
},
{
- "id": "6e3664a9.34079c",
+ "id": "600486cd.2b6308",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1363.8571166992188,
- "y": 2056.5714263916016,
- "z": "b88526e.24a7ad8",
+ "x": 1371.8571166992188,
+ "y": 2073.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "88f11c7a.f31688",
- "fff738e5.4d0ce",
- "f398ae72.bb9338",
- "6d5e56ed.17d75",
- "a0bc5db0.876ac8",
- "a133146c.f8d1c",
- "a6e4bc7d.20b678",
- "93dc5615.04a418"
+ "85561c80.3ef308",
+ "ef4a1fc.34c336",
+ "4c175841.300a1",
+ "333a840.1d25d7c",
+ "f671137e.43c9",
+ "99f26ef3.280eb",
+ "80fef6f4.c675b"
]
]
},
{
- "id": "bf89c636.30aac8",
+ "id": "b2d3cc7b.89669",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1009.8571166992188,
- "y": 5307.571426391602,
- "z": "b88526e.24a7ad8",
+ "x": 1017.8571166992188,
+ "y": 5324.571426391602,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "86e86da4.4fe67",
- "c88ce4fa.2e3558",
- "b36f7e94.174be"
+ "6a40e563.5a14a4",
+ "b9630ea3.d96b18",
+ "7640b347.b23714"
]
]
},
{
- "id": "86e86da4.4fe67",
+ "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": 1246.8571166992188,
- "y": 5306.571426391602,
- "z": "b88526e.24a7ad8",
+ "x": 1254.8571166992188,
+ "y": 5323.571426391602,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "b36f7e94.174be",
+ "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": 1289.1071472167969,
- "y": 5497.071548461914,
- "z": "b88526e.24a7ad8",
+ "x": 1297.1071472167969,
+ "y": 5514.071548461914,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "1f8cfbc.8ebb904"
+ "48235ce0.3408cc"
]
]
},
{
- "id": "1f8cfbc.8ebb904",
+ "id": "48235ce0.3408cc",
"type": "not-found",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1522.857177734375,
- "y": 5496.821304321289,
- "z": "b88526e.24a7ad8",
+ "x": 1530.857177734375,
+ "y": 5513.821304321289,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "d5e5468.2a80438"
+ "7c76786f.4904"
]
]
},
{
- "id": "d5e5468.2a80438",
+ "id": "7c76786f.4904",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1510.607177734375,
- "y": 5574.071670532227,
- "z": "b88526e.24a7ad8",
+ "x": 1518.607177734375,
+ "y": 5591.071670532227,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "aba737c8.b673a",
- "c54c6f8e.b8ff58",
- "e94ef6dd.a37908",
- "cbc78ec6.7ff248",
- "d085846f.259da",
- "af0954c0.0ed2a8",
- "1e5d91b7.f1cac6",
- "2d4ee971.9f5306",
- "d6d7c682.438ef8"
+ "98c04a64.a011c",
+ "9f73d864.8536d8",
+ "d2f1471f.d735d",
+ "b6489347.bb4308",
+ "3caf0f0c.12a5b8",
+ "8a66938a.1460b",
+ "c7bfb325.ec2d98",
+ "267d42ee.73dbde",
+ "90b8bf99.7de998"
]
]
},
{
- "id": "2a352877.19cd9",
+ "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": 375,
- "y": 176,
- "z": "b88526e.24a7ad8",
+ "x": 383,
+ "y": 193,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "d6d7c682.438ef8",
+ "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": 1771,
- "y": 5787,
- "z": "b88526e.24a7ad8",
+ "x": 1779,
+ "y": 5804,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "1ec3d3c3.85586c",
- "80386656.f0d7d"
+ "7e5bd1ab.209ca",
+ "90a92735.264c5"
]
]
},
{
- "id": "93dc5615.04a418",
+ "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": 1674,
- "y": 2229,
- "z": "b88526e.24a7ad8",
+ "x": 1682,
+ "y": 2246,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7136f5d4.61b024",
- "ef775b29.4a7b"
+ "88d774fa.1d1a38",
+ "157b3125.a0ffff"
]
]
},
{
- "id": "99585b38.25a06",
+ "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": 1891,
- "y": 4194,
- "z": "b88526e.24a7ad8",
+ "x": 1899,
+ "y": 4211,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e6db3fc2.418c7",
- "add1de2.24bbda"
+ "cb05a44b.81acd",
+ "ba1d7d79.ebca9"
]
]
},
{
- "id": "f9afd12e.2d3128",
+ "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": 1784,
- "y": 979,
- "z": "b88526e.24a7ad8",
+ "x": 1792,
+ "y": 996,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "8af1d548.36ba08",
- "6b5d2c36.36d07c"
+ "97b12709.514e68",
+ "d0e601f9.671c6"
]
]
},
{
- "id": "63a7432d.46f304",
+ "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": 838,
- "y": 106,
- "z": "b88526e.24a7ad8",
+ "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