aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json2028
1 files changed, 1031 insertions, 997 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
index 76a1a697..4c7c450c 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name.json
@@ -1,2902 +1,2936 @@
[
{
- "id": "4715fedb.1ef5f",
+ "id": "9d01f665.242718",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 96,
- "y": 44,
- "z": "352ca92a.868d0e",
+ "x": 120,
+ "y": 60,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "16eecbde.63796c"
+ "8d2cd10d.7836b8"
]
]
},
{
- "id": "16eecbde.63796c",
+ "id": "8d2cd10d.7836b8",
"type": "service-logic",
- "name": "GENERIC-RESOURCE-API 1.4.1-SNAPSHOT",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
- "version": "1.4.1-SNAPSHOT",
+ "version": "${project.version}",
"comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='1.4.1-SNAPSHOT'>",
+ "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": 344.5713806152344,
- "y": 46.428558349609375,
- "z": "352ca92a.868d0e",
+ "x": 368.5713806152344,
+ "y": 62.428558349609375,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3e4b7e7e.935232"
+ "3bb04424.165b2c"
]
]
},
{
- "id": "3e4b7e7e.935232",
+ "id": "3bb04424.165b2c",
"type": "method",
"name": "self-serve-generate-name",
"xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 648.1428527832031,
- "y": 44.99999237060547,
- "z": "352ca92a.868d0e",
+ "x": 672.1428527832031,
+ "y": 60.99999237060547,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3835d554.5600ca"
+ "f544f42f.79e4c8"
]
]
},
{
- "id": "3835d554.5600ca",
+ "id": "f544f42f.79e4c8",
"type": "block",
"name": "block atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 147.14285278320312,
- "y": 130.99999237060547,
- "z": "352ca92a.868d0e",
+ "x": 171.14285278320312,
+ "y": 146.99999237060547,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "cbd7c4ae.654d68",
- "7bb73832.6a4648",
- "4b1c4a05.4570ec",
- "324d6ccc.ba650c",
- "5c83d412.2769f4"
+ "af15506f.05852",
+ "d5abcd9b.9745b",
+ "9587cb6f.6286",
+ "c8c9dba8.4a219",
+ "c465ea91.13fb38"
]
]
},
{
- "id": "3a4d4bdb.4c43d4",
+ "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": 1712.8572082519531,
- "y": 857.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1736.8572082519531,
+ "y": 873.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "cbd7c4ae.654d68",
+ "id": "af15506f.05852",
"type": "set",
"name": "set capability-name",
"xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n",
"comments": "",
- "x": 346.1428527832031,
- "y": 131.99999237060547,
- "z": "352ca92a.868d0e",
+ "x": 370.1428527832031,
+ "y": 147.99999237060547,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "7bb73832.6a4648",
+ "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": 375.1428527832031,
- "y": 223,
- "z": "352ca92a.868d0e",
+ "x": 399.1428527832031,
+ "y": 239,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ea0f354c.745cc8",
- "48698225.83a23c"
+ "7aabee17.1c5ba8",
+ "8a0a976d.bb54a"
]
]
},
{
- "id": "44cc33ed.fb39e4",
+ "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": 1146.6430053710938,
- "y": 488.4285125732422,
- "z": "352ca92a.868d0e",
+ "x": 1170.6430053710938,
+ "y": 504.4285125732422,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e2d651ce.c9d9f8"
+ "45ec186d.6638d8"
]
]
},
{
- "id": "e2d651ce.c9d9f8",
+ "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": 1389.5000610351562,
- "y": 488.4285125732422,
- "z": "352ca92a.868d0e",
+ "x": 1413.5000610351562,
+ "y": 504.4285125732422,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "8eb45c00.aa654"
+ "c34ee0d3.7925f8"
]
]
},
{
- "id": "8eb45c00.aa654",
+ "id": "c34ee0d3.7925f8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1570.2144165039062,
- "y": 488.4284973144531,
- "z": "352ca92a.868d0e",
+ "x": 1594.2144165039062,
+ "y": 504.4284973144531,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4c47b1b9.3083"
+ "fbccf37.88f999"
]
]
},
{
- "id": "83de20b7.804778",
+ "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": 1682.3572082519531,
- "y": 658.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1706.3572082519531,
+ "y": 674.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "2a82f8ce.16638"
+ "59762169.0b874"
]
]
},
{
- "id": "ea0f354c.745cc8",
+ "id": "7aabee17.1c5ba8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 598.1428527832031,
- "y": 191,
- "z": "352ca92a.868d0e",
+ "x": 622.1428527832031,
+ "y": 207,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "cad21146.cbc7e8"
+ "1370aa99.4464d5"
]
]
},
{
- "id": "48698225.83a23c",
+ "id": "8a0a976d.bb54a",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 607.1428527832031,
- "y": 257,
- "z": "352ca92a.868d0e",
+ "x": 631.1428527832031,
+ "y": 273,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "cad21146.cbc7e8"
+ "1370aa99.4464d5"
]
]
},
{
- "id": "cad21146.cbc7e8",
+ "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": 800.1428527832031,
- "y": 191,
- "z": "352ca92a.868d0e",
+ "x": 824.1428527832031,
+ "y": 207,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "9332f863.29e018",
+ "id": "c41bbe96.bcfb",
"type": "set",
"name": "set payload data",
"xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
"comments": "",
- "x": 2284.857208251953,
- "y": 656.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2308.857208251953,
+ "y": 672.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "26b1ee2d.08273a",
+ "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": 1679.8573608398438,
- "y": 583.9998626708984,
- "z": "352ca92a.868d0e",
+ "x": 1703.8573608398438,
+ "y": 599.9998626708984,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "626a201b.d55578",
+ "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": 1679.8572082519531,
- "y": 720.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1703.8572082519531,
+ "y": 736.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "749d681a.41547",
+ "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": 1685.8572082519531,
- "y": 785.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1709.8572082519531,
+ "y": 801.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "212189e2.756db6",
+ "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": 1715.8572082519531,
- "y": 911.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1739.8572082519531,
+ "y": 927.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "e1ab56a7.feeeb",
+ "id": "97b12709.514e68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2081.857177734375,
- "y": 933.1427612304688,
- "z": "352ca92a.868d0e",
+ "x": 2105.857177734375,
+ "y": 949.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9997d3e2.8f70c"
+ "718393eb.a09b34"
]
]
},
{
- "id": "d0532823.04f01",
+ "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": 2446.857177734375,
- "y": 1033.1427612304688,
- "z": "352ca92a.868d0e",
+ "x": 2470.857177734375,
+ "y": 1049.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "7a8d9826.51e62",
+ "id": "d0e601f9.671c6",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2086.857177734375,
- "y": 1032.1427612304688,
- "z": "352ca92a.868d0e",
+ "x": 2110.857177734375,
+ "y": 1048.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9997d3e2.8f70c"
+ "718393eb.a09b34"
]
]
},
{
- "id": "9997d3e2.8f70c",
+ "id": "718393eb.a09b34",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2244.857177734375,
- "y": 977.1427612304688,
- "z": "352ca92a.868d0e",
+ "x": 2268.857177734375,
+ "y": 993.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "d17f42c9.165b2",
- "d0532823.04f01"
+ "bcc4f011.c46088",
+ "f738cd51.cd41e"
]
]
},
{
- "id": "d17f42c9.165b2",
+ "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": 2460.857177734375,
- "y": 924.1427612304688,
- "z": "352ca92a.868d0e",
+ "x": 2484.857177734375,
+ "y": 940.1427612304688,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "2c3347a4.1d0d28",
+ "id": "d674890d.0b54b8",
"type": "switchNode",
"name": "switch capability action assign",
"xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
"comments": "",
"outputs": 1,
- "x": 770.3809204101562,
- "y": 1615.7618560791016,
- "z": "352ca92a.868d0e",
+ "x": 794.3809204101562,
+ "y": 1631.7618560791016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "be36dff5.5c2408"
+ "20e0c70b.391c68"
]
]
},
{
- "id": "be36dff5.5c2408",
+ "id": "20e0c70b.391c68",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1025.0951538085938,
- "y": 1615.7618560791016,
- "z": "352ca92a.868d0e",
+ "x": 1049.0951538085938,
+ "y": 1631.7618560791016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "1d187540.6f1cc3"
+ "e6d807c0.e53738"
]
]
},
{
- "id": "601689b5.f1fb7",
+ "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": 1927.8572082519531,
- "y": 1213.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1951.8572082519531,
+ "y": 1229.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c8739969.39695"
+ "c97cd966.464808"
]
]
},
{
- "id": "a8ca1153.971238",
+ "id": "16707bfd.c97154",
"type": "switchNode",
"name": "switch capability-name",
"xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 2130.857208251953,
- "y": 1431.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2154.857208251953,
+ "y": 1447.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ae4f2855.b375a8"
+ "a824ee12.8cc8e8"
]
]
},
{
- "id": "ae4f2855.b375a8",
+ "id": "a824ee12.8cc8e8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2340.857208251953,
- "y": 1431.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2364.857208251953,
+ "y": 1447.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ab51cd7c.871d7"
+ "c872b3d2.2f9e08"
]
]
},
{
- "id": "ab51cd7c.871d7",
+ "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": 2537.357208251953,
- "y": 1432.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2678.0235595703125,
+ "y": 1425.9205322265625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "280801a6.6b958e",
+ "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": 1696.8572082519531,
- "y": 1116.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1720.8572082519531,
+ "y": 1132.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "c1028f45.2b40b",
+ "id": "f2cc0f54.bb60e8",
"type": "for",
"name": "for response elements",
"xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1689.8572082519531,
- "y": 1212.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1713.8572082519531,
+ "y": 1228.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "601689b5.f1fb7"
+ "c101db98.1e6f7"
]
]
},
{
- "id": "c8739969.39695",
+ "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": 2231.857208251953,
- "y": 1213.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2255.857208251953,
+ "y": 1229.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e6bfc4cb.d914d"
+ "bad123a5.0894c8"
]
]
},
{
- "id": "e6bfc4cb.d914d",
+ "id": "bad123a5.0894c8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2471.857208251953,
- "y": 1212.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2495.857208251953,
+ "y": 1228.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e4b648de.412ed"
+ "be18f58.a0ee008"
]
]
},
{
- "id": "bc098bd6.7e5e48",
+ "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": 2138.857208251953,
- "y": 1283.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2162.857208251953,
+ "y": 1299.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "7a600bc6.51d61c",
+ "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": 2153.857208251953,
- "y": 1366.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2177.857208251953,
+ "y": 1382.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "e4b648de.412ed",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1922.8572082519531,
- "y": 1283.1427688598633,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "bc098bd6.7e5e48",
- "7a600bc6.51d61c",
- "a8ca1153.971238"
- ]
- ]
- },
- {
- "id": "4c47b1b9.3083",
+ "id": "fbccf37.88f999",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1472.8572082519531,
- "y": 584.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1496.8572082519531,
+ "y": 600.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "26b1ee2d.08273a",
- "83de20b7.804778",
- "626a201b.d55578",
- "749d681a.41547",
- "3a4d4bdb.4c43d4",
- "280801a6.6b958e",
- "d2661b85.b495e",
- "c1028f45.2b40b",
- "212189e2.756db6",
- "cc68ecc2.dbb0c8"
+ "5ed4030d.2a373c",
+ "d539f25c.c0e5b8",
+ "5c5e5f8.5a649a",
+ "30621c93.731054",
+ "8b3cd365.e1b4c",
+ "b9d7571b.298638",
+ "f2cc0f54.bb60e8",
+ "ea2a8ca.3b9d37",
+ "4379c30d.8a80a4"
]
]
},
{
- "id": "d2661b85.b495e",
- "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": 1694.8572082519531,
- "y": 1166.1427688598633,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "e19d4005.611528",
+ "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": 1611.5236206054688,
- "y": 2100.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1635.5236206054688,
+ "y": 2116.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "52baa22c.b272b4",
+ "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": 1719.0236206054688,
- "y": 1916.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1743.0236206054688,
+ "y": 1932.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "53c27f81.6966a"
+ "89254dc2.7f4cd8"
]
]
},
{
- "id": "53c27f81.6966a",
+ "id": "89254dc2.7f4cd8",
"type": "set",
"name": "set payload data",
"xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
"comments": "",
- "x": 1971.5236206054688,
- "y": 1916.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1995.5236206054688,
+ "y": 1932.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "168eba65.ac0bfe",
+ "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": 1699.9520874023438,
- "y": 1855.3808135986328,
- "z": "352ca92a.868d0e",
+ "x": 1723.9520874023438,
+ "y": 1871.3808135986328,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "3248b7d.b604248",
+ "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": 1701.5236206054688,
- "y": 1972.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1725.5236206054688,
+ "y": 1988.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "bb4a1d93.3a86c",
+ "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": 1586.5236206054688,
- "y": 2057.6663360595703,
- "z": "352ca92a.868d0e",
+ "x": 1610.5236206054688,
+ "y": 2073.6663360595703,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "71c717dc.1a41b",
+ "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": 1612.5236206054688,
- "y": 2151.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1636.5236206054688,
+ "y": 2167.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "cfb313ac.f6ff68",
+ "id": "88d774fa.1d1a38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1953.523681640625,
- "y": 2185.66650390625,
- "z": "352ca92a.868d0e",
+ "x": 1977.523681640625,
+ "y": 2201.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "99ddd056.c45ef8"
+ "c5c5c44f.80e79"
]
]
},
{
- "id": "4ea93843.2ee25",
+ "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": 2318.523681640625,
- "y": 2285.66650390625,
- "z": "352ca92a.868d0e",
+ "x": 2342.523681640625,
+ "y": 2301.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "48fa407a.74cf2",
+ "id": "157b3125.a0ffff",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1958.523681640625,
- "y": 2284.66650390625,
- "z": "352ca92a.868d0e",
+ "x": 1982.523681640625,
+ "y": 2300.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "99ddd056.c45ef8"
+ "c5c5c44f.80e79"
]
]
},
{
- "id": "99ddd056.c45ef8",
+ "id": "c5c5c44f.80e79",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2116.523681640625,
- "y": 2229.66650390625,
- "z": "352ca92a.868d0e",
+ "x": 2140.523681640625,
+ "y": 2245.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "8d122dd3.f5458",
- "4ea93843.2ee25"
+ "24a305ec.7924e2",
+ "1dbcec72.a673cc"
]
]
},
{
- "id": "8d122dd3.f5458",
+ "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": 2332.523681640625,
- "y": 2176.66650390625,
- "z": "352ca92a.868d0e",
+ "x": 2356.523681640625,
+ "y": 2192.66650390625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "9f0b4035.10244",
+ "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": 1832.5236206054688,
- "y": 2408.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1856.5236206054688,
+ "y": 2424.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ee35f915.82d68"
+ "d362ce7b.44bc4"
]
]
},
{
- "id": "1e6b1940.cc1657",
+ "id": "6e2978a6.3a8118",
"type": "switchNode",
"name": "switch capability-name",
"xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 2035.5236206054688,
- "y": 2626.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2059.5236206054688,
+ "y": 2642.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9d62a2e2.3a7988"
+ "6be9a784.88ae8"
]
]
},
{
- "id": "9d62a2e2.3a7988",
+ "id": "6be9a784.88ae8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2245.5236206054688,
- "y": 2626.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2269.5236206054688,
+ "y": 2642.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "20d781c2.39d966"
+ "88e1aa71.08c4d"
]
]
},
{
- "id": "20d781c2.39d966",
+ "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": 2442.0236206054688,
- "y": 2627.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2622.6903076171875,
+ "y": 2611.4442138671875,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "14a8a060.42cee8",
+ "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": 1593.5236206054688,
- "y": 2310.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1617.5236206054688,
+ "y": 2326.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "1441b20e.14024e",
+ "id": "f671137e.43c9",
"type": "for",
"name": "for response elements",
"xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1585.5236206054688,
- "y": 2407.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1609.5236206054688,
+ "y": 2423.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9f0b4035.10244"
+ "76848f5c.5c31a"
]
]
},
{
- "id": "ee35f915.82d68",
+ "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": 2136.5236206054688,
- "y": 2408.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2160.5236206054688,
+ "y": 2424.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f03c4ce3.3f12"
+ "9fd05568.528db8"
]
]
},
{
- "id": "f03c4ce3.3f12",
+ "id": "9fd05568.528db8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2376.5236206054688,
- "y": 2407.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2400.5236206054688,
+ "y": 2423.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6b8f6d22.f5c394"
+ "70491a0a.6a6a24"
]
]
},
{
- "id": "8e5f54d5.686b8",
+ "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": 2043.5236206054688,
- "y": 2478.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2067.5236206054688,
+ "y": 2494.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "46e9ff0c.f30858",
+ "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": 2058.5236206054688,
- "y": 2561.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2082.5236206054688,
+ "y": 2577.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "6b8f6d22.f5c394",
+ "id": "70491a0a.6a6a24",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1827.5236206054688,
- "y": 2478.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1851.5236206054688,
+ "y": 2494.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "8e5f54d5.686b8",
- "46e9ff0c.f30858",
- "1e6b1940.cc1657"
+ "925d0988.c8bd58",
+ "3d173098.20141",
+ "6e2978a6.3a8118"
]
]
},
{
- "id": "a809b004.822848",
+ "id": "94a9278.dd98e58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1496.6666870117188,
- "y": 1834.9520416259766,
- "z": "352ca92a.868d0e",
+ "x": 1520.6666870117188,
+ "y": 1850.9520416259766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "168eba65.ac0bfe",
- "52baa22c.b272b4",
- "3248b7d.b604248"
+ "3d749bd0.06285c",
+ "90f9be75.fa811",
+ "3a35a7fe.ef5ea8"
]
]
},
{
- "id": "cd259e38.191b18",
- "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": 1592.5236206054688,
- "y": 2361.6663970947266,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "2a82f8ce.16638",
+ "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": 1920.8572082519531,
- "y": 657.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 1944.8572082519531,
+ "y": 673.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "703d680a.0882b8"
+ "3be873de.5f56e4"
]
]
},
{
- "id": "703d680a.0882b8",
+ "id": "3be873de.5f56e4",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2104.857208251953,
- "y": 657.1427688598633,
- "z": "352ca92a.868d0e",
+ "x": 2128.857208251953,
+ "y": 673.1427688598633,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9332f863.29e018"
+ "c41bbe96.bcfb"
]
]
},
{
- "id": "e30790a5.8eada8",
+ "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": 1832.4762573242188,
- "y": 4071.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 1856.4762573242188,
+ "y": 4087.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "764d2bf0.389154",
+ "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": 1120.9761352539062,
- "y": 3683.3333892822266,
- "z": "352ca92a.868d0e",
+ "x": 1144.9761352539062,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3e3dd5d0.a91612"
+ "1a936a5a.dcff5e"
]
]
},
{
- "id": "3e3dd5d0.a91612",
+ "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": 1400.9761352539062,
- "y": 3683.3333892822266,
- "z": "352ca92a.868d0e",
+ "x": 1424.9761352539062,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "50f0868b.978048"
+ "d02ebe6c.238e3"
]
]
},
{
- "id": "50f0868b.978048",
+ "id": "d02ebe6c.238e3",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1609.9762573242188,
- "y": 3683.3333892822266,
- "z": "352ca92a.868d0e",
+ "x": 1633.9762573242188,
+ "y": 3699.3333892822266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f9767b66.ef7fc8"
+ "17f1cb31.5694ed"
]
]
},
{
- "id": "69d0476a.820ed8",
+ "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": 1801.9762573242188,
- "y": 3872.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 1825.9762573242188,
+ "y": 3888.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a1e78eab.0fa1e8"
+ "206ac6d4.7ae67a"
]
]
},
{
- "id": "d2c35b36.dd9ed8",
+ "id": "e421640.8a1ea2",
"type": "set",
"name": "set payload data",
"xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
"comments": "",
- "x": 2404.4762573242188,
- "y": 3870.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 2428.4762573242188,
+ "y": 3886.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "50c2e9.703e9d18",
+ "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": 1799.4762573242188,
- "y": 3795.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 1823.4762573242188,
+ "y": 3811.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "90bc6a2d.4662e8",
+ "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": 1799.4762573242188,
- "y": 3934.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 1823.4762573242188,
+ "y": 3950.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "fc28ae3b.ec6fc8",
+ "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": 1805.4762573242188,
- "y": 3999.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 1829.4762573242188,
+ "y": 4015.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "5413abd2.a41a7c",
+ "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": 1835.4762573242188,
- "y": 4125.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 1859.4762573242188,
+ "y": 4141.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "3783fc44.dd5b6c",
+ "id": "cb05a44b.81acd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2165.476318359375,
- "y": 4147.3330078125,
- "z": "352ca92a.868d0e",
+ "x": 2189.476318359375,
+ "y": 4163.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "1c744a01.9209ae"
+ "53f184d5.f04db4"
]
]
},
{
- "id": "cd050f66.de8e9",
+ "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": 2530.476318359375,
- "y": 4247.3330078125,
- "z": "352ca92a.868d0e",
+ "x": 2554.476318359375,
+ "y": 4263.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "73945c44.2de044",
+ "id": "ba1d7d79.ebca9",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2170.476318359375,
- "y": 4246.3330078125,
- "z": "352ca92a.868d0e",
+ "x": 2194.476318359375,
+ "y": 4262.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "1c744a01.9209ae"
+ "53f184d5.f04db4"
]
]
},
{
- "id": "1c744a01.9209ae",
+ "id": "53f184d5.f04db4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2328.476318359375,
- "y": 4191.3330078125,
- "z": "352ca92a.868d0e",
+ "x": 2352.476318359375,
+ "y": 4207.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "cb9caa42.183ed",
- "cd050f66.de8e9"
+ "d5a758ad.0c7368",
+ "ac469966.f9f0b"
]
]
},
{
- "id": "cb9caa42.183ed",
+ "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": 2544.476318359375,
- "y": 4138.3330078125,
- "z": "352ca92a.868d0e",
+ "x": 2568.476318359375,
+ "y": 4154.3330078125,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "afd0ba60.e2d9f",
+ "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": 2047.4762573242188,
- "y": 4427.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2071.4762573242188,
+ "y": 4443.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6c40ec43.6ec0dc"
+ "bcafdf43.c97df8"
]
]
},
{
- "id": "83c9c6e9.87388",
+ "id": "bfa1ad98.e1291",
"type": "switchNode",
"name": "switch capability-name",
"xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 2250.4762573242188,
- "y": 4645.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2274.4762573242188,
+ "y": 4661.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a3d90c5b.ef51f"
+ "1695dfe6.8492a"
]
]
},
{
- "id": "a3d90c5b.ef51f",
+ "id": "1695dfe6.8492a",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2460.4762573242188,
- "y": 4645.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2484.4762573242188,
+ "y": 4661.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "b737d55d.af5d1"
+ "29601f42.c65388"
]
]
},
{
- "id": "b737d55d.af5d1",
+ "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": 2656.9762573242188,
- "y": 4646.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2680.9762573242188,
+ "y": 4662.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "3d2cb067.b7ddf8",
+ "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": 1816.4762573242188,
- "y": 4330.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 1840.4762573242188,
+ "y": 4346.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "5411dd84.42d2fc",
+ "id": "dc4b9b10.f541",
"type": "for",
"name": "for response elements",
"xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1809.4762573242188,
- "y": 4426.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 1833.4762573242188,
+ "y": 4442.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "afd0ba60.e2d9f"
+ "8566b45.4555748"
]
]
},
{
- "id": "6c40ec43.6ec0dc",
+ "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": 2351.4762573242188,
- "y": 4427.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2375.4762573242188,
+ "y": 4443.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "cae9e560.df808"
+ "576f293f.cd5a6"
]
]
},
{
- "id": "cae9e560.df808",
+ "id": "576f293f.cd5a6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2591.4762573242188,
- "y": 4426.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2615.4762573242188,
+ "y": 4442.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a89ce0fc.1e145"
+ "7103d8d3.c872d8"
]
]
},
{
- "id": "b3a6efba.ab4d7",
+ "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": 2258.4762573242188,
- "y": 4497.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2282.4762573242188,
+ "y": 4513.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "be3eae60.aeb878",
+ "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": 2273.4762573242188,
- "y": 4580.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2297.4762573242188,
+ "y": 4596.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "a89ce0fc.1e145",
+ "id": "7103d8d3.c872d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2042.4762573242188,
- "y": 4497.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 2066.4762573242188,
+ "y": 4513.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "b3a6efba.ab4d7",
- "be3eae60.aeb878",
- "83c9c6e9.87388"
+ "3a69492f.bb2bae",
+ "c5cb3ca9.bf8848",
+ "bfa1ad98.e1291"
]
]
},
{
- "id": "f9767b66.ef7fc8",
+ "id": "17f1cb31.5694ed",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1592.4762573242188,
- "y": 3798.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 1616.4762573242188,
+ "y": 3814.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "50c2e9.703e9d18",
- "69d0476a.820ed8",
- "90bc6a2d.4662e8",
- "fc28ae3b.ec6fc8",
- "e30790a5.8eada8",
- "3d2cb067.b7ddf8",
- "cf08ea1b.928b78",
- "5411dd84.42d2fc",
- "5413abd2.a41a7c",
- "b562a092.868848"
+ "2167bfb4.daf4d",
+ "a4f0128d.13f6b",
+ "b585badd.35b568",
+ "bb4dfba2.da8018",
+ "a56c2f8a.64a94",
+ "e7b4e270.a2e688",
+ "50a18ce1.97fc1c",
+ "dc4b9b10.f541",
+ "73f361ac.bbceb8",
+ "40117641.f32018"
]
]
},
{
- "id": "cf08ea1b.928b78",
+ "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": 1814.4762573242188,
- "y": 4380.332901000977,
- "z": "352ca92a.868d0e",
+ "x": 1838.4762573242188,
+ "y": 4396.332901000977,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "a1e78eab.0fa1e8",
+ "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": 2040.4762573242188,
- "y": 3871.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 2064.4762573242188,
+ "y": 3887.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c351bced.05391"
+ "5fae231d.5272ac"
]
]
},
{
- "id": "c351bced.05391",
+ "id": "5fae231d.5272ac",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2224.4762573242188,
- "y": 3871.3329010009766,
- "z": "352ca92a.868d0e",
+ "x": 2248.4762573242188,
+ "y": 3887.3329010009766,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "d2c35b36.dd9ed8"
+ "e421640.8a1ea2"
]
]
},
{
- "id": "4b1c4a05.4570ec",
+ "id": "9587cb6f.6286",
"type": "switchNode",
"name": "switch capability-type. vnf",
"xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
"comments": "",
"outputs": 1,
- "x": 356.1428527832031,
- "y": 301.99999237060547,
- "z": "352ca92a.868d0e",
+ "x": 380.1428527832031,
+ "y": 317.99999237060547,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "812c03eb.24e6a8"
+ "aad954ce.802738"
]
]
},
{
- "id": "812c03eb.24e6a8",
+ "id": "aad954ce.802738",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 559.5714111328125,
- "y": 301.2857208251953,
- "z": "352ca92a.868d0e",
+ "x": 583.5714111328125,
+ "y": 317.2857208251953,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "32866df4.63e6ea"
+ "d4962dde.7144a8"
]
]
},
{
- "id": "324d6ccc.ba650c",
+ "id": "c8c9dba8.4a219",
"type": "switchNode",
"name": "switch capability-type vf-module",
"xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
"comments": "",
"outputs": 1,
- "x": 485.4761962890625,
- "y": 3465.3333282470703,
- "z": "352ca92a.868d0e",
+ "x": 509.4761962890625,
+ "y": 3481.3333282470703,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ac3b4f92.a95c5"
+ "8771ea99.a3f9d"
]
]
},
{
- "id": "ac3b4f92.a95c5",
+ "id": "8771ea99.a3f9d",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 704.4761962890625,
- "y": 3466.3333892822266,
- "z": "352ca92a.868d0e",
+ "x": 728.4761962890625,
+ "y": 3482.3333892822266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e2804051.7cbab"
+ "52b0c642.e848e8"
]
]
},
{
- "id": "70bd05a3.857634",
+ "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": 1597.5236206054688,
- "y": 2587.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1621.5236206054688,
+ "y": 2603.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "962e71b2.6cdc38"
+ "442eaa12.f66c1c"
]
]
},
{
- "id": "962e71b2.6cdc38",
+ "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": 1723.1902465820312,
- "y": 2718.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 1747.1902465820312,
+ "y": 2734.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7337023b.2c5cac"
+ "b6eb4a26.4fec"
]
]
},
{
- "id": "7337023b.2c5cac",
+ "id": "b6eb4a26.4fec",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1985.1902465820312,
- "y": 2774.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2009.1902465820312,
+ "y": 2790.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "351fff6a.5eb578"
+ "67977d8b.c5df04"
]
]
},
{
- "id": "351fff6a.5eb578",
+ "id": "67977d8b.c5df04",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2201.1902465820312,
- "y": 2774.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2225.1902465820312,
+ "y": 2790.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "db60e930.c4136",
- "e87c4b29.75482"
+ "829756fc.3cfc5",
+ "5eef2fa5.addbc8"
]
]
},
{
- "id": "db60e930.c4136",
+ "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": 2421.1902465820312,
- "y": 2712.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2451.8568115234375,
+ "y": 2766.4444580078125,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "e87c4b29.75482",
+ "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": 2431.1902465820312,
- "y": 2820.6663970947266,
- "z": "352ca92a.868d0e",
+ "x": 2455.1902465820312,
+ "y": 2836.6663970947266,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "767ed8a1.4a0fd",
+ "id": "1fbc0bf7.d9d60c",
"type": "switchNode",
"name": "switch capability action unassign",
"xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
"comments": "",
"outputs": 1,
- "x": 813.7142333984375,
- "y": 392.1428680419922,
- "z": "352ca92a.868d0e",
+ "x": 837.7142333984375,
+ "y": 408.1428680419922,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "d918681a.83f4a"
+ "efd6575c.f07d5"
]
]
},
{
- "id": "d918681a.83f4a",
+ "id": "efd6575c.f07d5",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1099.4285278320312,
- "y": 390.7142791748047,
- "z": "352ca92a.868d0e",
+ "x": 1123.4285278320312,
+ "y": 406.7142791748047,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "44cc33ed.fb39e4"
+ "57f8f575.c14294"
]
]
},
{
- "id": "32866df4.63e6ea",
+ "id": "d4962dde.7144a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 563.7142944335938,
- "y": 366.42860412597656,
- "z": "352ca92a.868d0e",
+ "x": 587.7142944335938,
+ "y": 382.42860412597656,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "767ed8a1.4a0fd",
- "2c3347a4.1d0d28"
+ "1fbc0bf7.d9d60c",
+ "d674890d.0b54b8"
]
]
},
{
- "id": "28134cd4.8102bc",
+ "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": 1038.0715942382812,
- "y": 1778.166763305664,
- "z": "352ca92a.868d0e",
+ "x": 1062.0715942382812,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "ea821c0d.f138f"
+ "30d24fbb.704358"
]
]
},
{
- "id": "ea821c0d.f138f",
+ "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": 1279.6786499023438,
- "y": 1778.166763305664,
- "z": "352ca92a.868d0e",
+ "x": 1303.6786499023438,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "5fdd4f70.822d6"
+ "a88e7b27.acd89"
]
]
},
{
- "id": "5fdd4f70.822d6",
+ "id": "a88e7b27.acd89",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1460.3930053710938,
- "y": 1778.166763305664,
- "z": "352ca92a.868d0e",
+ "x": 1484.3930053710938,
+ "y": 1794.166763305664,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a809b004.822848"
+ "94a9278.dd98e58"
]
]
},
{
- "id": "6a2168f8.52087",
+ "id": "1954307b.1b2ba8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1192.8572387695312,
- "y": 3594.5714263916016,
- "z": "352ca92a.868d0e",
+ "x": 1216.8572387695312,
+ "y": 3610.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "764d2bf0.389154"
+ "75bd0dd1.6885f4"
]
]
},
{
- "id": "c27c9e8f.dedd2",
+ "id": "dcef770e.c6ccf8",
"type": "switchNode",
"name": "switch capability action unassign",
"xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
"comments": "",
"outputs": 1,
- "x": 951.8569946289062,
- "y": 3594.5714263916016,
- "z": "352ca92a.868d0e",
+ "x": 975.8569946289062,
+ "y": 3610.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6a2168f8.52087"
+ "1954307b.1b2ba8"
]
]
},
{
- "id": "e2804051.7cbab",
+ "id": "52b0c642.e848e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 708.8571166992188,
- "y": 3531.5714263916016,
- "z": "352ca92a.868d0e",
+ "x": 732.8571166992188,
+ "y": 3547.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c27c9e8f.dedd2",
- "d8487376.9bcfd"
+ "dcef770e.c6ccf8",
+ "ef3aabef.23d1a8"
]
]
},
{
- "id": "d8487376.9bcfd",
+ "id": "ef3aabef.23d1a8",
"type": "switchNode",
"name": "switch capability action assign",
"xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
"comments": "",
"outputs": 1,
- "x": 928.8096313476562,
- "y": 5202.334121704102,
- "z": "352ca92a.868d0e",
+ "x": 952.8096313476562,
+ "y": 5218.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9fcd1d47.5645c8"
+ "83323826.8871c8"
]
]
},
{
- "id": "9fcd1d47.5645c8",
+ "id": "83323826.8871c8",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1157.8096313476562,
- "y": 5202.334121704102,
- "z": "352ca92a.868d0e",
+ "x": 1181.8096313476562,
+ "y": 5218.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9cfc91ea.726d38"
+ "b2d3cc7b.89669"
]
]
},
{
- "id": "920d5892.fd6d68",
+ "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": 1706.3095092773438,
- "y": 5672.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1730.3095092773438,
+ "y": 5688.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "4f85a78f.b9dd4",
+ "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": 2024.5595092773438,
- "y": 5480.334121704102,
- "z": "352ca92a.868d0e",
+ "x": 2048.5595092773438,
+ "y": 5496.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "172c4c1f.fc374c"
+ "9ebe174c.cca8f8"
]
]
},
{
- "id": "172c4c1f.fc374c",
+ "id": "9ebe174c.cca8f8",
"type": "set",
"name": "set payload data",
"xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
"comments": "",
- "x": 2281.0595092773438,
- "y": 5480.334121704102,
- "z": "352ca92a.868d0e",
+ "x": 2305.0595092773438,
+ "y": 5496.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "f9d872c.140039",
+ "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": 2007.0595092773438,
- "y": 5426.334121704102,
- "z": "352ca92a.868d0e",
+ "x": 2031.0595092773438,
+ "y": 5442.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "63be973.1d659e8",
+ "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": 2013.0595092773438,
- "y": 5542.334121704102,
- "z": "352ca92a.868d0e",
+ "x": 2037.0595092773438,
+ "y": 5558.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "9191c58b.b355c8",
+ "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": 1676.3095092773438,
- "y": 5621.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1700.3095092773438,
+ "y": 5637.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "f18ac492.ee4eb",
+ "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": 1709.3095092773438,
- "y": 5726.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1733.3095092773438,
+ "y": 5742.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "965c8b30.02d398",
+ "id": "7e5bd1ab.209ca",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2012.3095703125,
- "y": 5740.58447265625,
- "z": "352ca92a.868d0e",
+ "x": 2036.3095703125,
+ "y": 5756.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f4e23bde.24eef"
+ "42fc5b6c.345bdc"
]
]
},
{
- "id": "180b7df9.28995a",
+ "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": 2377.3095703125,
- "y": 5840.58447265625,
- "z": "352ca92a.868d0e",
+ "x": 2401.3095703125,
+ "y": 5856.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "1877c29b.11c2e5",
+ "id": "90a92735.264c5",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 2017.3095703125,
- "y": 5839.58447265625,
- "z": "352ca92a.868d0e",
+ "x": 2041.3095703125,
+ "y": 5855.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f4e23bde.24eef"
+ "42fc5b6c.345bdc"
]
]
},
{
- "id": "f4e23bde.24eef",
+ "id": "42fc5b6c.345bdc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2175.3095703125,
- "y": 5784.58447265625,
- "z": "352ca92a.868d0e",
+ "x": 2199.3095703125,
+ "y": 5800.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "180b7df9.28995a",
- "88545db3.91b2f8"
+ "1e009a1e.612266",
+ "91ff7811.5db32"
]
]
},
{
- "id": "88545db3.91b2f8",
+ "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": 2391.3095703125,
- "y": 5731.58447265625,
- "z": "352ca92a.868d0e",
+ "x": 2415.3095703125,
+ "y": 5747.58447265625,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "787fb15a.391898",
+ "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": 1987.3095092773438,
- "y": 6316.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2011.3095092773438,
+ "y": 6332.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "5f3830ae.3b7538"
+ "df02f986.45d718"
]
]
},
{
- "id": "854fee6.3fdc71",
+ "id": "1035d4b9.e79303",
"type": "switchNode",
"name": "switch capability-name",
"xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
"comments": "",
"outputs": 1,
- "x": 2158.3095092773438,
- "y": 6474.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2182.3095092773438,
+ "y": 6490.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c27fc49d.c8374"
+ "d32665c0.ffe428"
]
]
},
{
- "id": "c27fc49d.c8374",
+ "id": "d32665c0.ffe428",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2362.3095092773438,
- "y": 6472.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2386.3095092773438,
+ "y": 6488.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "49f045b5.0d39c4"
+ "24aa734a.87d674"
]
]
},
{
- "id": "49f045b5.0d39c4",
+ "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": 2556.8095092773438,
- "y": 6405.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2580.8095092773438,
+ "y": 6421.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "b37ecff9.03eaa8",
+ "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": 1690.3095092773438,
- "y": 5839.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1714.3095092773438,
+ "y": 5855.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "f5c7340.140185",
+ "id": "c7bfb325.ec2d98",
"type": "for",
"name": "for response elements",
"xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1719.3095092773438,
- "y": 6317.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1743.3095092773438,
+ "y": 6333.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "787fb15a.391898"
+ "9626c789.309858"
]
]
},
{
- "id": "5f3830ae.3b7538",
+ "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": 2271.3095092773438,
- "y": 6320.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2295.3095092773438,
+ "y": 6336.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6e6d2e55.ed356"
+ "c66b75af.b35668"
]
]
},
{
- "id": "6e6d2e55.ed356",
+ "id": "c66b75af.b35668",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2499.3095092773438,
- "y": 6317.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2523.3095092773438,
+ "y": 6333.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "177cba1.8a3a046"
+ "a8f90ed5.c9b5a8"
]
]
},
{
- "id": "76939575.7aa904",
+ "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": 2166.3095092773438,
- "y": 6370.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2190.3095092773438,
+ "y": 6386.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "bd832c6d.e0325",
+ "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": 2179.3095092773438,
- "y": 6429.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2203.3095092773438,
+ "y": 6445.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "177cba1.8a3a046",
+ "id": "a8f90ed5.c9b5a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1926.3095092773438,
- "y": 6396.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1950.3095092773438,
+ "y": 6412.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "854fee6.3fdc71",
- "76939575.7aa904",
- "bd832c6d.e0325"
+ "1035d4b9.e79303",
+ "a4a7fab0.32e9b8",
+ "b57bbec9.12ea6"
]
]
},
{
- "id": "e20ed5c.32f5da8",
+ "id": "9c309af6.f7e4a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1800.0595092773438,
- "y": 5429.334121704102,
- "z": "352ca92a.868d0e",
+ "x": 1824.0595092773438,
+ "y": 5445.334121704102,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4f85a78f.b9dd4",
- "f9d872c.140039",
- "63be973.1d659e8"
+ "e105813.22ffe8",
+ "89efd59e.cf284",
+ "4f8d850b.bbbc44"
]
]
},
{
- "id": "5e93d51f.0cdb84",
+ "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": 1692.3095092773438,
- "y": 5891.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1716.3095092773438,
+ "y": 5907.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "dfa3d386.e26368",
+ "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": 1714.3095092773438,
- "y": 6539.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1738.3095092773438,
+ "y": 6555.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "f3d23ebf.0d11b"
+ "8fcead9b.0e0b8"
]
]
},
{
- "id": "f3d23ebf.0d11b",
+ "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": 2020.3095092773438,
- "y": 6537.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2044.3095092773438,
+ "y": 6553.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4788805e.3ba1d8"
+ "f158d276.0d8658"
]
]
},
{
- "id": "4788805e.3ba1d8",
+ "id": "f158d276.0d8658",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2258.3095092773438,
- "y": 6537.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2282.3095092773438,
+ "y": 6553.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "33994871.8869b8"
+ "3621a169.1458b6"
]
]
},
{
- "id": "33994871.8869b8",
+ "id": "3621a169.1458b6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2420.3095092773438,
- "y": 6531.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2444.3095092773438,
+ "y": 6547.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "b85bda2d.9d095",
- "bd0032a6.185cd8"
+ "fef37cdf.87178",
+ "157e032d.744875"
]
]
},
{
- "id": "b85bda2d.9d095",
+ "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": 2644.3095092773438,
- "y": 6497.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2668.3095092773438,
+ "y": 6513.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "bd0032a6.185cd8",
+ "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": 2632.3095092773438,
- "y": 6597.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2656.3095092773438,
+ "y": 6613.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "5d27e69c.99355",
+ "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": 1702.3095092773438,
- "y": 5997.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 1726.3095092773438,
+ "y": 6013.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "d4c9fe83.84aac8"
+ "e7e744c9.85b75"
]
]
},
{
- "id": "d4c9fe83.84aac8",
+ "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": 1955.8095092773438,
- "y": 5998.584854125977,
- "z": "352ca92a.868d0e",
+ "x": 1979.8095092773438,
+ "y": 6014.584854125977,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c85b8b2c.2fc05"
+ "2a4c76d1.47e9a2"
]
]
},
{
- "id": "c85b8b2c.2fc05",
+ "id": "2a4c76d1.47e9a2",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2148.8095092773438,
- "y": 5999.084732055664,
- "z": "352ca92a.868d0e",
+ "x": 2172.8095092773438,
+ "y": 6015.084732055664,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "1dc11508.39f67b"
+ "2c6b125a.5ec166"
]
]
},
{
- "id": "1dc11508.39f67b",
+ "id": "2c6b125a.5ec166",
"type": "for",
"name": "for j in resource key",
"xml": "<for silentFailure='true' index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1796.0238647460938,
- "y": 6107.870666503906,
- "z": "352ca92a.868d0e",
+ "x": 1820.0238647460938,
+ "y": 6123.870666503906,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "fdb568af.3349a8"
+ "eb80eaa0.5a981"
]
]
},
{
- "id": "fdb568af.3349a8",
+ "id": "eb80eaa0.5a981",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2066.5953369140625,
- "y": 6109.584655761719,
- "z": "352ca92a.868d0e",
+ "x": 2090.5953369140625,
+ "y": 6125.584655761719,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "c7c8f5c5.e7ace8",
- "5b56627b.8b263c",
- "8553a1d9.e2d5a8",
- "e7c811b5.eee95",
- "52a023ea.e09d54",
- "bf45f76d.ed3c68",
- "ea657b65.61ab28"
+ "e4d68431.8d96a8",
+ "ecab974a.9bbd78",
+ "314dd1f2.f106d6",
+ "435ecba0.88a2c4",
+ "18703684.a36359",
+ "5a418843.fb8ce",
+ "658b4432.deae1c"
]
]
},
{
- "id": "5b56627b.8b263c",
+ "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": 2500.3095092773438,
- "y": 5985.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2524.3095092773438,
+ "y": 6001.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "a1c68f19.01d038"
+ "cf5cb0c4.d1ede8"
]
]
},
{
- "id": "8553a1d9.e2d5a8",
+ "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": 2468.3095092773438,
- "y": 6043.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2492.3095092773438,
+ "y": 6059.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "62bb6ad6.a53de4"
+ "70feaf3a.73ab2"
]
]
},
{
- "id": "e7c811b5.eee95",
+ "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": 2466.3095092773438,
- "y": 6105.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2490.3095092773438,
+ "y": 6121.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3d8cad4d.93e9ea"
+ "40b980ec.ac6338"
]
]
},
{
- "id": "52a023ea.e09d54",
+ "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": 2474.3095092773438,
- "y": 6167.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2498.3095092773438,
+ "y": 6183.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "82c20f3a.6eaf3"
+ "3405bb1d.191ce4"
]
]
},
{
- "id": "c7c8f5c5.e7ace8",
+ "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": 2490.3095092773438,
- "y": 5913.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2514.3095092773438,
+ "y": 5929.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6f52d21a.388114"
+ "8cbeeb62.d5961"
]
]
},
{
- "id": "6f52d21a.388114",
+ "id": "8cbeeb62.d5961",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2694.3095092773438,
- "y": 5909.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2718.3095092773438,
+ "y": 5925.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9fa0d09b.7817b"
+ "57750a1a.165544"
]
]
},
{
- "id": "a1c68f19.01d038",
+ "id": "cf5cb0c4.d1ede8",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2694.3095092773438,
- "y": 5983.834487915039,
- "z": "352ca92a.868d0e",
+ "x": 2718.3095092773438,
+ "y": 5999.834487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "437a342d.168b3c"
+ "57206663.d5c56"
]
]
},
{
- "id": "62bb6ad6.a53de4",
+ "id": "70feaf3a.73ab2",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2700.3095092773438,
- "y": 6039.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2724.3095092773438,
+ "y": 6055.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "50785314.d70f24"
+ "b4b44bc3.5bb8a8"
]
]
},
{
- "id": "3d8cad4d.93e9ea",
+ "id": "40b980ec.ac6338",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2704.3095092773438,
- "y": 6097.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2728.3095092773438,
+ "y": 6113.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "5705e23b.a1cf84"
+ "8cc0d8fe.d3593"
]
]
},
{
- "id": "82c20f3a.6eaf3",
+ "id": "3405bb1d.191ce4",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2710.3095092773438,
- "y": 6163.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2734.3095092773438,
+ "y": 6179.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "90e5277b.fe7688"
+ "f57a9876.705b68"
]
]
},
{
- "id": "9fa0d09b.7817b",
+ "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": 2858.3095092773438,
- "y": 5911.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2882.3095092773438,
+ "y": 5927.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "437a342d.168b3c",
+ "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": 2904.3095092773438,
- "y": 5977.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2928.3095092773438,
+ "y": 5993.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "50785314.d70f24",
+ "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": 2948.3095092773438,
- "y": 6041.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2972.3095092773438,
+ "y": 6057.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "5705e23b.a1cf84",
+ "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": 2924.3095092773438,
- "y": 6095.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2948.3095092773438,
+ "y": 6111.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "90e5277b.fe7688",
+ "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": 2870.3095092773438,
- "y": 6161.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2894.3095092773438,
+ "y": 6177.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "3eb0fb20.3c8784",
+ "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": 2876.3095092773438,
- "y": 6217.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2900.3095092773438,
+ "y": 6233.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "7aa119bc.c8649",
+ "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": 2894.3095092773438,
- "y": 6273.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2918.3095092773438,
+ "y": 6289.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "bf45f76d.ed3c68",
+ "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": 2474.3095092773438,
- "y": 6219.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2498.3095092773438,
+ "y": 6235.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "543b01b7.f299f8"
+ "2b96a377.785aec"
]
]
},
{
- "id": "ea657b65.61ab28",
+ "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": 2472.3095092773438,
- "y": 6273.584487915039,
- "z": "352ca92a.868d0e",
+ "x": 2496.3095092773438,
+ "y": 6289.584487915039,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "bdbf1963.90f8d"
+ "2a2a4a91.63c3f6"
]
]
},
{
- "id": "543b01b7.f299f8",
+ "id": "2b96a377.785aec",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2708.3095092773438,
- "y": 6217.584487915038,
- "z": "352ca92a.868d0e",
+ "x": 2732.3095092773438,
+ "y": 6233.584487915038,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3eb0fb20.3c8784"
+ "ec4b72ee.0d91e8"
]
]
},
{
- "id": "bdbf1963.90f8d",
+ "id": "2a2a4a91.63c3f6",
"type": "success",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2702.3095092773438,
- "y": 6271.584487915038,
- "z": "352ca92a.868d0e",
+ "x": 2726.3095092773438,
+ "y": 6287.584487915038,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7aa119bc.c8649"
+ "c2128119.3c59c8"
]
]
},
{
- "id": "3c8588b.9d7d378",
+ "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": 1242.8571166992188,
- "y": 5375.571670532227,
- "z": "352ca92a.868d0e",
+ "x": 1266.8571166992188,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "7a0efead.43ce28"
+ "bd4ce803.509a98"
]
]
},
{
- "id": "7a0efead.43ce28",
+ "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": 1522.8571166992188,
- "y": 5375.571670532227,
- "z": "352ca92a.868d0e",
+ "x": 1546.8571166992188,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "31adf68d.f27ac2"
+ "a5d1018e.3683e"
]
]
},
{
- "id": "31adf68d.f27ac2",
+ "id": "a5d1018e.3683e",
"type": "not-found",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1731.8572387695312,
- "y": 5375.571670532227,
- "z": "352ca92a.868d0e",
+ "x": 1755.8572387695312,
+ "y": 5391.571670532227,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e20ed5c.32f5da8"
+ "9c309af6.f7e4a"
]
]
},
{
- "id": "1d187540.6f1cc3",
+ "id": "e6d807c0.e53738",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 817.1071166992188,
- "y": 1718.5714263916016,
- "z": "352ca92a.868d0e",
+ "x": 841.1071166992188,
+ "y": 1734.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "28134cd4.8102bc",
- "b3cbf23b.ff3db8",
- "39c643cc.a6f784"
+ "177385a3.c043a2",
+ "ff615e80.275a08",
+ "39178dc5.011a9a"
]
]
},
{
- "id": "b3cbf23b.ff3db8",
+ "id": "ff615e80.275a08",
"type": "set",
"name": "set payload data",
"xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
"comments": "",
- "x": 1024.8571166992188,
- "y": 1719.5714263916016,
- "z": "352ca92a.868d0e",
+ "x": 1048.8571166992188,
+ "y": 1735.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "39c643cc.a6f784",
+ "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": 1072.8571166992188,
- "y": 1998.5714263916016,
- "z": "352ca92a.868d0e",
+ "x": 1096.8571166992188,
+ "y": 2014.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "6afda891.090ee8"
+ "781da2e9.01d83c"
]
]
},
{
- "id": "6afda891.090ee8",
+ "id": "781da2e9.01d83c",
"type": "not-found",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1309.8571166992188,
- "y": 1999.5714263916016,
- "z": "352ca92a.868d0e",
+ "x": 1333.8571166992188,
+ "y": 2015.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "5dc815b0.cc07ec"
+ "600486cd.2b6308"
]
]
},
{
- "id": "5dc815b0.cc07ec",
+ "id": "600486cd.2b6308",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1347.8571166992188,
- "y": 2057.5714263916016,
- "z": "352ca92a.868d0e",
+ "x": 1371.8571166992188,
+ "y": 2073.5714263916016,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "bb4a1d93.3a86c",
- "e19d4005.611528",
- "71c717dc.1a41b",
- "14a8a060.42cee8",
- "cd259e38.191b18",
- "1441b20e.14024e",
- "70bd05a3.857634",
- "a1fb5091.45b8b8"
+ "85561c80.3ef308",
+ "ef4a1fc.34c336",
+ "4c175841.300a1",
+ "333a840.1d25d7c",
+ "f671137e.43c9",
+ "99f26ef3.280eb",
+ "80fef6f4.c675b"
]
]
},
{
- "id": "9cfc91ea.726d38",
+ "id": "b2d3cc7b.89669",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 993.8571166992188,
- "y": 5308.571426391602,
- "z": "352ca92a.868d0e",
+ "x": 1017.8571166992188,
+ "y": 5324.571426391602,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "19501c77.860e0c",
- "3c8588b.9d7d378",
- "77587c38.f5170c"
+ "6a40e563.5a14a4",
+ "b9630ea3.d96b18",
+ "7640b347.b23714"
]
]
},
{
- "id": "19501c77.860e0c",
+ "id": "6a40e563.5a14a4",
"type": "set",
"name": "set set payload data",
"xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
"comments": "",
- "x": 1230.8571166992188,
- "y": 5307.571426391602,
- "z": "352ca92a.868d0e",
+ "x": 1254.8571166992188,
+ "y": 5323.571426391602,
+ "z": "8ffa18ff.21a748",
"wires": []
},
{
- "id": "77587c38.f5170c",
+ "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": 1273.1071472167969,
- "y": 5498.071548461914,
- "z": "352ca92a.868d0e",
+ "x": 1297.1071472167969,
+ "y": 5514.071548461914,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "212b3074.a654f"
+ "48235ce0.3408cc"
]
]
},
{
- "id": "212b3074.a654f",
+ "id": "48235ce0.3408cc",
"type": "not-found",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1506.857177734375,
- "y": 5497.821304321289,
- "z": "352ca92a.868d0e",
+ "x": 1530.857177734375,
+ "y": 5513.821304321289,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "4671f4c1.916ba4"
+ "7c76786f.4904"
]
]
},
{
- "id": "4671f4c1.916ba4",
+ "id": "7c76786f.4904",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1494.607177734375,
- "y": 5575.071670532227,
- "z": "352ca92a.868d0e",
+ "x": 1518.607177734375,
+ "y": 5591.071670532227,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "9191c58b.b355c8",
- "920d5892.fd6d68",
- "f18ac492.ee4eb",
- "b37ecff9.03eaa8",
- "5e93d51f.0cdb84",
- "5d27e69c.99355",
- "f5c7340.140185",
- "dfa3d386.e26368",
- "f6148def.164458"
+ "98c04a64.a011c",
+ "9f73d864.8536d8",
+ "d2f1471f.d735d",
+ "b6489347.bb4308",
+ "3caf0f0c.12a5b8",
+ "8a66938a.1460b",
+ "c7bfb325.ec2d98",
+ "267d42ee.73dbde",
+ "90b8bf99.7de998"
]
]
},
{
- "id": "5c83d412.2769f4",
+ "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": 359,
- "y": 177,
- "z": "352ca92a.868d0e",
+ "x": 383,
+ "y": 193,
+ "z": "8ffa18ff.21a748",
"wires": [
[]
]
},
{
- "id": "f6148def.164458",
+ "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": 1755,
- "y": 5788,
- "z": "352ca92a.868d0e",
+ "x": 1779,
+ "y": 5804,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "965c8b30.02d398",
- "1877c29b.11c2e5"
+ "7e5bd1ab.209ca",
+ "90a92735.264c5"
]
]
},
{
- "id": "a1fb5091.45b8b8",
+ "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": 1658,
- "y": 2230,
- "z": "352ca92a.868d0e",
+ "x": 1682,
+ "y": 2246,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "cfb313ac.f6ff68",
- "48fa407a.74cf2"
+ "88d774fa.1d1a38",
+ "157b3125.a0ffff"
]
]
},
{
- "id": "b562a092.868848",
+ "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": 1875,
- "y": 4195,
- "z": "352ca92a.868d0e",
+ "x": 1899,
+ "y": 4211,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "3783fc44.dd5b6c",
- "73945c44.2de044"
+ "cb05a44b.81acd",
+ "ba1d7d79.ebca9"
]
]
},
{
- "id": "cc68ecc2.dbb0c8",
+ "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": 1768,
- "y": 980,
- "z": "352ca92a.868d0e",
+ "x": 1792,
+ "y": 996,
+ "z": "8ffa18ff.21a748",
"wires": [
[
- "e1ab56a7.feeeb",
- "7a8d9826.51e62"
+ "97b12709.514e68",
+ "d0e601f9.671c6"
]
]
},
{
- "id": "5e135e40.b1de4",
+ "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": 822,
- "y": 107,
- "z": "352ca92a.868d0e",
+ "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