-[
- {
- "id": "4715fedb.1ef5f",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 96,
- "y": 44,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "16eecbde.63796c"
- ]
- ]
- },
- {
- "id": "16eecbde.63796c",
- "type": "service-logic",
- "name": "GENERIC-RESOURCE-API 1.4.1-SNAPSHOT",
- "module": "GENERIC-RESOURCE-API",
- "version": "1.4.1-SNAPSHOT",
- "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'>",
- "outputs": 1,
- "x": 344.5713806152344,
- "y": 46.428558349609375,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "3e4b7e7e.935232"
- ]
- ]
- },
- {
- "id": "3e4b7e7e.935232",
- "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",
- "wires": [
- [
- "3835d554.5600ca"
- ]
- ]
- },
- {
- "id": "3835d554.5600ca",
- "type": "block",
- "name": "block atomic",
- "xml": "<block atomic=\"true\">\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 147.14285278320312,
- "y": 130.99999237060547,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "cbd7c4ae.654d68",
- "7bb73832.6a4648",
- "4b1c4a05.4570ec",
- "324d6ccc.ba650c",
- "5c83d412.2769f4"
- ]
- ]
- },
- {
- "id": "3a4d4bdb.4c43d4",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "cbd7c4ae.654d68",
- "type": "set",
- "name": "set capability-name",
- "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n",
- "comments": "",
- "x": 346.1428527832031,
- "y": 131.99999237060547,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "7bb73832.6a4648",
- "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",
- "wires": [
- [
- "ea0f354c.745cc8",
- "48698225.83a23c"
- ]
- ]
- },
- {
- "id": "44cc33ed.fb39e4",
- "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",
- "wires": [
- [
- "e2d651ce.c9d9f8"
- ]
- ]
- },
- {
- "id": "e2d651ce.c9d9f8",
- "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",
- "wires": [
- [
- "8eb45c00.aa654"
- ]
- ]
- },
- {
- "id": "8eb45c00.aa654",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1570.2144165039062,
- "y": 488.4284973144531,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "4c47b1b9.3083"
- ]
- ]
- },
- {
- "id": "83de20b7.804778",
- "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",
- "wires": [
- [
- "2a82f8ce.16638"
- ]
- ]
- },
- {
- "id": "ea0f354c.745cc8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 598.1428527832031,
- "y": 191,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "cad21146.cbc7e8"
- ]
- ]
- },
- {
- "id": "48698225.83a23c",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 607.1428527832031,
- "y": 257,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "cad21146.cbc7e8"
- ]
- ]
- },
- {
- "id": "cad21146.cbc7e8",
- "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",
- "wires": []
- },
- {
- "id": "9332f863.29e018",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '":' + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '",'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
- "comments": "",
- "x": 2284.857208251953,
- "y": 656.1427688598633,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "26b1ee2d.08273a",
- "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",
- "wires": []
- },
- {
- "id": "626a201b.d55578",
- "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",
- "wires": []
- },
- {
- "id": "749d681a.41547",
- "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",
- "wires": []
- },
- {
- "id": "212189e2.756db6",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "e1ab56a7.feeeb",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2081.857177734375,
- "y": 933.1427612304688,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "9997d3e2.8f70c"
- ]
- ]
- },
- {
- "id": "d0532823.04f01",
- "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",
- "wires": []
- },
- {
- "id": "7a8d9826.51e62",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2086.857177734375,
- "y": 1032.1427612304688,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "9997d3e2.8f70c"
- ]
- ]
- },
- {
- "id": "9997d3e2.8f70c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2244.857177734375,
- "y": 977.1427612304688,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "d17f42c9.165b2",
- "d0532823.04f01"
- ]
- ]
- },
- {
- "id": "d17f42c9.165b2",
- "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",
- "wires": []
- },
- {
- "id": "2c3347a4.1d0d28",
- "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",
- "wires": [
- [
- "be36dff5.5c2408"
- ]
- ]
- },
- {
- "id": "be36dff5.5c2408",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1025.0951538085938,
- "y": 1615.7618560791016,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "1d187540.6f1cc3"
- ]
- ]
- },
- {
- "id": "601689b5.f1fb7",
- "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",
- "wires": [
- [
- "c8739969.39695"
- ]
- ]
- },
- {
- "id": "a8ca1153.971238",
- "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",
- "wires": [
- [
- "ae4f2855.b375a8"
- ]
- ]
- },
- {
- "id": "ae4f2855.b375a8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2340.857208251953,
- "y": 1431.1427688598633,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "ab51cd7c.871d7"
- ]
- ]
- },
- {
- "id": "ab51cd7c.871d7",
- "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",
- "wires": []
- },
- {
- "id": "280801a6.6b958e",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "c1028f45.2b40b",
- "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",
- "wires": [
- [
- "601689b5.f1fb7"
- ]
- ]
- },
- {
- "id": "c8739969.39695",
- "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",
- "wires": [
- [
- "e6bfc4cb.d914d"
- ]
- ]
- },
- {
- "id": "e6bfc4cb.d914d",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2471.857208251953,
- "y": 1212.1427688598633,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "e4b648de.412ed"
- ]
- ]
- },
- {
- "id": "bc098bd6.7e5e48",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "7a600bc6.51d61c",
- "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",
- "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",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1472.8572082519531,
- "y": 584.1427688598633,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "26b1ee2d.08273a",
- "83de20b7.804778",
- "626a201b.d55578",
- "749d681a.41547",
- "3a4d4bdb.4c43d4",
- "280801a6.6b958e",
- "d2661b85.b495e",
- "c1028f45.2b40b",
- "212189e2.756db6",
- "cc68ecc2.dbb0c8"
- ]
- ]
- },
- {
- "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",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "52baa22c.b272b4",
- "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",
- "wires": [
- [
- "53c27f81.6966a"
- ]
- ]
- },
- {
- "id": "53c27f81.6966a",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '":' + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '",'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
- "comments": "",
- "x": 1971.5236206054688,
- "y": 1916.6663970947266,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "168eba65.ac0bfe",
- "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",
- "wires": []
- },
- {
- "id": "3248b7d.b604248",
- "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",
- "wires": []
- },
- {
- "id": "bb4a1d93.3a86c",
- "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",
- "wires": []
- },
- {
- "id": "71c717dc.1a41b",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "cfb313ac.f6ff68",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1953.523681640625,
- "y": 2185.66650390625,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "99ddd056.c45ef8"
- ]
- ]
- },
- {
- "id": "4ea93843.2ee25",
- "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",
- "wires": []
- },
- {
- "id": "48fa407a.74cf2",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1958.523681640625,
- "y": 2284.66650390625,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "99ddd056.c45ef8"
- ]
- ]
- },
- {
- "id": "99ddd056.c45ef8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2116.523681640625,
- "y": 2229.66650390625,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "8d122dd3.f5458",
- "4ea93843.2ee25"
- ]
- ]
- },
- {
- "id": "8d122dd3.f5458",
- "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",
- "wires": []
- },
- {
- "id": "9f0b4035.10244",
- "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",
- "wires": [
- [
- "ee35f915.82d68"
- ]
- ]
- },
- {
- "id": "1e6b1940.cc1657",
- "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",
- "wires": [
- [
- "9d62a2e2.3a7988"
- ]
- ]
- },
- {
- "id": "9d62a2e2.3a7988",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2245.5236206054688,
- "y": 2626.6663970947266,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "20d781c2.39d966"
- ]
- ]
- },
- {
- "id": "20d781c2.39d966",
- "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",
- "wires": []
- },
- {
- "id": "14a8a060.42cee8",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "1441b20e.14024e",
- "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",
- "wires": [
- [
- "9f0b4035.10244"
- ]
- ]
- },
- {
- "id": "ee35f915.82d68",
- "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",
- "wires": [
- [
- "f03c4ce3.3f12"
- ]
- ]
- },
- {
- "id": "f03c4ce3.3f12",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2376.5236206054688,
- "y": 2407.6663970947266,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "6b8f6d22.f5c394"
- ]
- ]
- },
- {
- "id": "8e5f54d5.686b8",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "46e9ff0c.f30858",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "6b8f6d22.f5c394",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1827.5236206054688,
- "y": 2478.6663970947266,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "8e5f54d5.686b8",
- "46e9ff0c.f30858",
- "1e6b1940.cc1657"
- ]
- ]
- },
- {
- "id": "a809b004.822848",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1496.6666870117188,
- "y": 1834.9520416259766,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "168eba65.ac0bfe",
- "52baa22c.b272b4",
- "3248b7d.b604248"
- ]
- ]
- },
- {
- "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",
- "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",
- "wires": [
- [
- "703d680a.0882b8"
- ]
- ]
- },
- {
- "id": "703d680a.0882b8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2104.857208251953,
- "y": 657.1427688598633,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "9332f863.29e018"
- ]
- ]
- },
- {
- "id": "e30790a5.8eada8",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "764d2bf0.389154",
- "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",
- "wires": [
- [
- "3e3dd5d0.a91612"
- ]
- ]
- },
- {
- "id": "3e3dd5d0.a91612",
- "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",
- "wires": [
- [
- "50f0868b.978048"
- ]
- ]
- },
- {
- "id": "50f0868b.978048",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1609.9762573242188,
- "y": 3683.3333892822266,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "f9767b66.ef7fc8"
- ]
- ]
- },
- {
- "id": "69d0476a.820ed8",
- "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",
- "wires": [
- [
- "a1e78eab.0fa1e8"
- ]
- ]
- },
- {
- "id": "d2c35b36.dd9ed8",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '":' + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '",'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
- "comments": "",
- "x": 2404.4762573242188,
- "y": 3870.3329010009766,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "50c2e9.703e9d18",
- "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",
- "wires": []
- },
- {
- "id": "90bc6a2d.4662e8",
- "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",
- "wires": []
- },
- {
- "id": "fc28ae3b.ec6fc8",
- "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",
- "wires": []
- },
- {
- "id": "5413abd2.a41a7c",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "3783fc44.dd5b6c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2165.476318359375,
- "y": 4147.3330078125,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "1c744a01.9209ae"
- ]
- ]
- },
- {
- "id": "cd050f66.de8e9",
- "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",
- "wires": []
- },
- {
- "id": "73945c44.2de044",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2170.476318359375,
- "y": 4246.3330078125,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "1c744a01.9209ae"
- ]
- ]
- },
- {
- "id": "1c744a01.9209ae",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2328.476318359375,
- "y": 4191.3330078125,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "cb9caa42.183ed",
- "cd050f66.de8e9"
- ]
- ]
- },
- {
- "id": "cb9caa42.183ed",
- "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",
- "wires": []
- },
- {
- "id": "afd0ba60.e2d9f",
- "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",
- "wires": [
- [
- "6c40ec43.6ec0dc"
- ]
- ]
- },
- {
- "id": "83c9c6e9.87388",
- "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",
- "wires": [
- [
- "a3d90c5b.ef51f"
- ]
- ]
- },
- {
- "id": "a3d90c5b.ef51f",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2460.4762573242188,
- "y": 4645.332901000977,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "b737d55d.af5d1"
- ]
- ]
- },
- {
- "id": "b737d55d.af5d1",
- "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",
- "wires": []
- },
- {
- "id": "3d2cb067.b7ddf8",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "5411dd84.42d2fc",
- "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",
- "wires": [
- [
- "afd0ba60.e2d9f"
- ]
- ]
- },
- {
- "id": "6c40ec43.6ec0dc",
- "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",
- "wires": [
- [
- "cae9e560.df808"
- ]
- ]
- },
- {
- "id": "cae9e560.df808",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2591.4762573242188,
- "y": 4426.332901000977,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "a89ce0fc.1e145"
- ]
- ]
- },
- {
- "id": "b3a6efba.ab4d7",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "be3eae60.aeb878",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "a89ce0fc.1e145",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2042.4762573242188,
- "y": 4497.332901000977,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "b3a6efba.ab4d7",
- "be3eae60.aeb878",
- "83c9c6e9.87388"
- ]
- ]
- },
- {
- "id": "f9767b66.ef7fc8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1592.4762573242188,
- "y": 3798.3329010009766,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "50c2e9.703e9d18",
- "69d0476a.820ed8",
- "90bc6a2d.4662e8",
- "fc28ae3b.ec6fc8",
- "e30790a5.8eada8",
- "3d2cb067.b7ddf8",
- "cf08ea1b.928b78",
- "5411dd84.42d2fc",
- "5413abd2.a41a7c",
- "b562a092.868848"
- ]
- ]
- },
- {
- "id": "cf08ea1b.928b78",
- "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",
- "wires": []
- },
- {
- "id": "a1e78eab.0fa1e8",
- "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",
- "wires": [
- [
- "c351bced.05391"
- ]
- ]
- },
- {
- "id": "c351bced.05391",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2224.4762573242188,
- "y": 3871.3329010009766,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "d2c35b36.dd9ed8"
- ]
- ]
- },
- {
- "id": "4b1c4a05.4570ec",
- "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",
- "wires": [
- [
- "812c03eb.24e6a8"
- ]
- ]
- },
- {
- "id": "812c03eb.24e6a8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 559.5714111328125,
- "y": 301.2857208251953,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "32866df4.63e6ea"
- ]
- ]
- },
- {
- "id": "324d6ccc.ba650c",
- "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",
- "wires": [
- [
- "ac3b4f92.a95c5"
- ]
- ]
- },
- {
- "id": "ac3b4f92.a95c5",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 704.4761962890625,
- "y": 3466.3333892822266,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "e2804051.7cbab"
- ]
- ]
- },
- {
- "id": "70bd05a3.857634",
- "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",
- "wires": [
- [
- "962e71b2.6cdc38"
- ]
- ]
- },
- {
- "id": "962e71b2.6cdc38",
- "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",
- "wires": [
- [
- "7337023b.2c5cac"
- ]
- ]
- },
- {
- "id": "7337023b.2c5cac",
- "type": "failure",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1985.1902465820312,
- "y": 2774.6663970947266,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "351fff6a.5eb578"
- ]
- ]
- },
- {
- "id": "351fff6a.5eb578",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2201.1902465820312,
- "y": 2774.6663970947266,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "db60e930.c4136",
- "e87c4b29.75482"
- ]
- ]
- },
- {
- "id": "db60e930.c4136",
- "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",
- "wires": []
- },
- {
- "id": "e87c4b29.75482",
- "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",
- "wires": []
- },
- {
- "id": "767ed8a1.4a0fd",
- "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",
- "wires": [
- [
- "d918681a.83f4a"
- ]
- ]
- },
- {
- "id": "d918681a.83f4a",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1099.4285278320312,
- "y": 390.7142791748047,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "44cc33ed.fb39e4"
- ]
- ]
- },
- {
- "id": "32866df4.63e6ea",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 563.7142944335938,
- "y": 366.42860412597656,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "767ed8a1.4a0fd",
- "2c3347a4.1d0d28"
- ]
- ]
- },
- {
- "id": "28134cd4.8102bc",
- "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",
- "wires": [
- [
- "ea821c0d.f138f"
- ]
- ]
- },
- {
- "id": "ea821c0d.f138f",
- "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",
- "wires": [
- [
- "5fdd4f70.822d6"
- ]
- ]
- },
- {
- "id": "5fdd4f70.822d6",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1460.3930053710938,
- "y": 1778.166763305664,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "a809b004.822848"
- ]
- ]
- },
- {
- "id": "6a2168f8.52087",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1192.8572387695312,
- "y": 3594.5714263916016,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "764d2bf0.389154"
- ]
- ]
- },
- {
- "id": "c27c9e8f.dedd2",
- "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",
- "wires": [
- [
- "6a2168f8.52087"
- ]
- ]
- },
- {
- "id": "e2804051.7cbab",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 708.8571166992188,
- "y": 3531.5714263916016,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "c27c9e8f.dedd2",
- "d8487376.9bcfd"
- ]
- ]
- },
- {
- "id": "d8487376.9bcfd",
- "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",
- "wires": [
- [
- "9fcd1d47.5645c8"
- ]
- ]
- },
- {
- "id": "9fcd1d47.5645c8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1157.8096313476562,
- "y": 5202.334121704102,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "9cfc91ea.726d38"
- ]
- ]
- },
- {
- "id": "920d5892.fd6d68",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "4f85a78f.b9dd4",
- "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",
- "wires": [
- [
- "172c4c1f.fc374c"
- ]
- ]
- },
- {
- "id": "172c4c1f.fc374c",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '":' + '"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '",'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
- "comments": "",
- "x": 2281.0595092773438,
- "y": 5480.334121704102,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "f9d872c.140039",
- "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",
- "wires": []
- },
- {
- "id": "63be973.1d659e8",
- "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",
- "wires": []
- },
- {
- "id": "9191c58b.b355c8",
- "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",
- "wires": []
- },
- {
- "id": "f18ac492.ee4eb",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "965c8b30.02d398",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2012.3095703125,
- "y": 5740.58447265625,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "f4e23bde.24eef"
- ]
- ]
- },
- {
- "id": "180b7df9.28995a",
- "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",
- "wires": []
- },
- {
- "id": "1877c29b.11c2e5",
- "type": "failure",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2017.3095703125,
- "y": 5839.58447265625,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "f4e23bde.24eef"
- ]
- ]
- },
- {
- "id": "f4e23bde.24eef",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2175.3095703125,
- "y": 5784.58447265625,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "180b7df9.28995a",
- "88545db3.91b2f8"
- ]
- ]
- },
- {
- "id": "88545db3.91b2f8",
- "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",
- "wires": []
- },
- {
- "id": "787fb15a.391898",
- "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",
- "wires": [
- [
- "5f3830ae.3b7538"
- ]
- ]
- },
- {
- "id": "854fee6.3fdc71",
- "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",
- "wires": [
- [
- "c27fc49d.c8374"
- ]
- ]
- },
- {
- "id": "c27fc49d.c8374",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2362.3095092773438,
- "y": 6472.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "49f045b5.0d39c4"
- ]
- ]
- },
- {
- "id": "49f045b5.0d39c4",
- "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",
- "wires": []
- },
- {
- "id": "b37ecff9.03eaa8",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "f5c7340.140185",
- "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",
- "wires": [
- [
- "787fb15a.391898"
- ]
- ]
- },
- {
- "id": "5f3830ae.3b7538",
- "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",
- "wires": [
- [
- "6e6d2e55.ed356"
- ]
- ]
- },
- {
- "id": "6e6d2e55.ed356",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2499.3095092773438,
- "y": 6317.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "177cba1.8a3a046"
- ]
- ]
- },
- {
- "id": "76939575.7aa904",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "bd832c6d.e0325",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "177cba1.8a3a046",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1926.3095092773438,
- "y": 6396.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "854fee6.3fdc71",
- "76939575.7aa904",
- "bd832c6d.e0325"
- ]
- ]
- },
- {
- "id": "e20ed5c.32f5da8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1800.0595092773438,
- "y": 5429.334121704102,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "4f85a78f.b9dd4",
- "f9d872c.140039",
- "63be973.1d659e8"
- ]
- ]
- },
- {
- "id": "5e93d51f.0cdb84",
- "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",
- "wires": []
- },
- {
- "id": "dfa3d386.e26368",
- "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",
- "wires": [
- [
- "f3d23ebf.0d11b"
- ]
- ]
- },
- {
- "id": "f3d23ebf.0d11b",
- "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",
- "wires": [
- [
- "4788805e.3ba1d8"
- ]
- ]
- },
- {
- "id": "4788805e.3ba1d8",
- "type": "failure",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2258.3095092773438,
- "y": 6537.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "33994871.8869b8"
- ]
- ]
- },
- {
- "id": "33994871.8869b8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2420.3095092773438,
- "y": 6531.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "b85bda2d.9d095",
- "bd0032a6.185cd8"
- ]
- ]
- },
- {
- "id": "b85bda2d.9d095",
- "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",
- "wires": []
- },
- {
- "id": "bd0032a6.185cd8",
- "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",
- "wires": []
- },
- {
- "id": "5d27e69c.99355",
- "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",
- "wires": [
- [
- "d4c9fe83.84aac8"
- ]
- ]
- },
- {
- "id": "d4c9fe83.84aac8",
- "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",
- "wires": [
- [
- "c85b8b2c.2fc05"
- ]
- ]
- },
- {
- "id": "c85b8b2c.2fc05",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2148.8095092773438,
- "y": 5999.084732055664,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "1dc11508.39f67b"
- ]
- ]
- },
- {
- "id": "1dc11508.39f67b",
- "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",
- "wires": [
- [
- "fdb568af.3349a8"
- ]
- ]
- },
- {
- "id": "fdb568af.3349a8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2066.5953369140625,
- "y": 6109.584655761719,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "c7c8f5c5.e7ace8",
- "5b56627b.8b263c",
- "8553a1d9.e2d5a8",
- "e7c811b5.eee95",
- "52a023ea.e09d54",
- "bf45f76d.ed3c68",
- "ea657b65.61ab28"
- ]
- ]
- },
- {
- "id": "5b56627b.8b263c",
- "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",
- "wires": [
- [
- "a1c68f19.01d038"
- ]
- ]
- },
- {
- "id": "8553a1d9.e2d5a8",
- "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",
- "wires": [
- [
- "62bb6ad6.a53de4"
- ]
- ]
- },
- {
- "id": "e7c811b5.eee95",
- "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",
- "wires": [
- [
- "3d8cad4d.93e9ea"
- ]
- ]
- },
- {
- "id": "52a023ea.e09d54",
- "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",
- "wires": [
- [
- "82c20f3a.6eaf3"
- ]
- ]
- },
- {
- "id": "c7c8f5c5.e7ace8",
- "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",
- "wires": [
- [
- "6f52d21a.388114"
- ]
- ]
- },
- {
- "id": "6f52d21a.388114",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2694.3095092773438,
- "y": 5909.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "9fa0d09b.7817b"
- ]
- ]
- },
- {
- "id": "a1c68f19.01d038",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2694.3095092773438,
- "y": 5983.834487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "437a342d.168b3c"
- ]
- ]
- },
- {
- "id": "62bb6ad6.a53de4",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2700.3095092773438,
- "y": 6039.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "50785314.d70f24"
- ]
- ]
- },
- {
- "id": "3d8cad4d.93e9ea",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2704.3095092773438,
- "y": 6097.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "5705e23b.a1cf84"
- ]
- ]
- },
- {
- "id": "82c20f3a.6eaf3",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2710.3095092773438,
- "y": 6163.584487915039,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "90e5277b.fe7688"
- ]
- ]
- },
- {
- "id": "9fa0d09b.7817b",
- "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",
- "wires": []
- },
- {
- "id": "437a342d.168b3c",
- "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",
- "wires": []
- },
- {
- "id": "50785314.d70f24",
- "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",
- "wires": []
- },
- {
- "id": "5705e23b.a1cf84",
- "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",
- "wires": []
- },
- {
- "id": "90e5277b.fe7688",
- "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",
- "wires": []
- },
- {
- "id": "3eb0fb20.3c8784",
- "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",
- "wires": []
- },
- {
- "id": "7aa119bc.c8649",
- "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",
- "wires": []
- },
- {
- "id": "bf45f76d.ed3c68",
- "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",
- "wires": [
- [
- "543b01b7.f299f8"
- ]
- ]
- },
- {
- "id": "ea657b65.61ab28",
- "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",
- "wires": [
- [
- "bdbf1963.90f8d"
- ]
- ]
- },
- {
- "id": "543b01b7.f299f8",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2708.3095092773438,
- "y": 6217.584487915038,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "3eb0fb20.3c8784"
- ]
- ]
- },
- {
- "id": "bdbf1963.90f8d",
- "type": "success",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2702.3095092773438,
- "y": 6271.584487915038,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "7aa119bc.c8649"
- ]
- ]
- },
- {
- "id": "3c8588b.9d7d378",
- "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",
- "wires": [
- [
- "7a0efead.43ce28"
- ]
- ]
- },
- {
- "id": "7a0efead.43ce28",
- "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",
- "wires": [
- [
- "31adf68d.f27ac2"
- ]
- ]
- },
- {
- "id": "31adf68d.f27ac2",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1731.8572387695312,
- "y": 5375.571670532227,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "e20ed5c.32f5da8"
- ]
- ]
- },
- {
- "id": "1d187540.6f1cc3",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 817.1071166992188,
- "y": 1718.5714263916016,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "28134cd4.8102bc",
- "b3cbf23b.ff3db8",
- "39c643cc.a6f784"
- ]
- ]
- },
- {
- "id": "b3cbf23b.ff3db8",
- "type": "set",
- "name": "set payload data",
- "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
- "comments": "",
- "x": 1024.8571166992188,
- "y": 1719.5714263916016,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "39c643cc.a6f784",
- "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",
- "wires": [
- [
- "6afda891.090ee8"
- ]
- ]
- },
- {
- "id": "6afda891.090ee8",
- "type": "not-found",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1309.8571166992188,
- "y": 1999.5714263916016,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "5dc815b0.cc07ec"
- ]
- ]
- },
- {
- "id": "5dc815b0.cc07ec",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1347.8571166992188,
- "y": 2057.5714263916016,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "bb4a1d93.3a86c",
- "e19d4005.611528",
- "71c717dc.1a41b",
- "14a8a060.42cee8",
- "cd259e38.191b18",
- "1441b20e.14024e",
- "70bd05a3.857634",
- "a1fb5091.45b8b8"
- ]
- ]
- },
- {
- "id": "9cfc91ea.726d38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 993.8571166992188,
- "y": 5308.571426391602,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "19501c77.860e0c",
- "3c8588b.9d7d378",
- "77587c38.f5170c"
- ]
- ]
- },
- {
- "id": "19501c77.860e0c",
- "type": "set",
- "name": "set set payload data",
- "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{"elements":[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
- "comments": "",
- "x": 1230.8571166992188,
- "y": 5307.571426391602,
- "z": "352ca92a.868d0e",
- "wires": []
- },
- {
- "id": "77587c38.f5170c",
- "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",
- "wires": [
- [
- "212b3074.a654f"
- ]
- ]
- },
- {
- "id": "212b3074.a654f",
- "type": "not-found",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1506.857177734375,
- "y": 5497.821304321289,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "4671f4c1.916ba4"
- ]
- ]
- },
- {
- "id": "4671f4c1.916ba4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1494.607177734375,
- "y": 5575.071670532227,
- "z": "352ca92a.868d0e",
- "wires": [
- [
- "9191c58b.b355c8",
- "920d5892.fd6d68",
- "f18ac492.ee4eb",
- "b37ecff9.03eaa8",
- "5e93d51f.0cdb84",
- "5d27e69c.99355",
- "f5c7340.140185",
- "dfa3d386.e26368",
- "f6148def.164458"
- ]
- ]
- },
- {
- "id": "5c83d412.2769f4",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "f6148def.164458",
- "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",
- "wires": [
- [
- "965c8b30.02d398",
- "1877c29b.11c2e5"
- ]
- ]
- },
- {
- "id": "a1fb5091.45b8b8",
- "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",
- "wires": [
- [
- "cfb313ac.f6ff68",
- "48fa407a.74cf2"
- ]
- ]
- },
- {
- "id": "b562a092.868848",
- "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",
- "wires": [
- [
- "3783fc44.dd5b6c",
- "73945c44.2de044"
- ]
- ]
- },
- {
- "id": "cc68ecc2.dbb0c8",
- "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",
- "wires": [
- [
- "e1ab56a7.feeeb",
- "7a8d9826.51e62"
- ]
- ]
- },
- {
- "id": "5e135e40.b1de4",
- "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",
- "wires": []
- }
+[\r
+ {\r
+ "id": "e733d3b3.88487",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 156.42857360839844,\r
+ "y": 56.28571701049805,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "5099214f.ff319"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5099214f.ff319",\r
+ "type": "service-logic",\r
+ "name": "GENERIC-RESOURCE-API ${project.version}",\r
+ "module": "GENERIC-RESOURCE-API",\r
+ "version": "${project.version}",\r
+ "comments": "",\r
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
+ "outputs": 1,\r
+ "x": 293.74993896484375,\r
+ "y": 101.71427631378174,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "9032d171.479ce"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9032d171.479ce",\r
+ "type": "method",\r
+ "name": "self-serve-generate-name",\r
+ "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 284.2856903076172,\r
+ "y": 148.50000190734863,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "f89a758d.f2d688"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f89a758d.f2d688",\r
+ "type": "block",\r
+ "name": "block atomic",\r
+ "xml": "<block atomic=\"true\">\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 324.71427154541016,\r
+ "y": 204.3214168548584,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "7a192e4.9f28dd",\r
+ "62de1a2e.d966a4",\r
+ "ac6c94b3.d6b0d8",\r
+ "c8dd1dbe.9238c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7a192e4.9f28dd",\r
+ "type": "call",\r
+ "name": "call capability-param-resolution",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 612.1785354614258,\r
+ "y": 328.28571128845215,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "62de1a2e.d966a4",\r
+ "type": "switchNode",\r
+ "name": "switch capability-type",\r
+ "xml": "<switch test=\"`$ss.capability-type`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 576.571418762207,\r
+ "y": 456.21424102783203,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "77ff4341.7d270c",\r
+ "efdb53b3.8a016",\r
+ "c9749fd.9fd3e6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "77ff4341.7d270c",\r
+ "type": "not-found",\r
+ "name": "vnf",\r
+ "xml": "<outcome value='vnf'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 792.8570251464844,\r
+ "y": 386.9285945892334,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "929d479d.ee2d38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "52d699f7.aeb4b8",\r
+ "type": "comment",\r
+ "name": "For Generate Name DG Capability ",\r
+ "info": "Support Bulk assign and single delete\nAlso calls Naming gen mS for assign/un-assign\n\nAdded by Ajay Singh(as396y)",\r
+ "comments": "",\r
+ "x": 842.2500152587891,\r
+ "y": 47.82143592834473,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cb16a161.c8808",\r
+ "type": "execute",\r
+ "name": "execute PropertiesNode",\r
+ "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",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1002.8571145193919,\r
+ "y": 258.5714135851181,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ac6c94b3.d6b0d8",\r
+ "type": "switchNode",\r
+ "name": "switch prop.controller.user",\r
+ "xml": "<switch test='`$prop.controller.user`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 591.5713500976562,\r
+ "y": 259.0000343322754,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "6148eeff.8135c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6148eeff.8135c",\r
+ "type": "failure",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 791.4284455435618,\r
+ "y": 258.5714488710678,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "cb16a161.c8808"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "929d479d.ee2d38",\r
+ "type": "call",\r
+ "name": "call self-serve-vnf-generate-name",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-generate-name' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1026.4285125732422,\r
+ "y": 388.214319229126,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "efdb53b3.8a016",\r
+ "type": "not-found",\r
+ "name": "vf-module",\r
+ "xml": "<outcome value='vf-module'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 805.0000076293945,\r
+ "y": 456.7857322692871,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "fa5e8ac7.51e088"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fa5e8ac7.51e088",\r
+ "type": "call",\r
+ "name": "call self-serve-vf-module-generate-name",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-generate-name' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1069.8215026855469,\r
+ "y": 455.5714797973633,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c9749fd.9fd3e6",\r
+ "type": "not-found",\r
+ "name": "pnf",\r
+ "xml": "<outcome value='pnf'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 792.1428756713867,\r
+ "y": 524.5000152587891,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ [\r
+ "4a09f790.f1dc68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4a09f790.f1dc68",\r
+ "type": "call",\r
+ "name": "call self-serve-pnf-generate-name",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-generate-name' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1025.7143630981445,\r
+ "y": 523.7857398986816,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c8dd1dbe.9238c",\r
+ "type": "execute",\r
+ "name": "printContext",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 537.5000152587891,\r
+ "y": 694.6428542137146,\r
+ "z": "3fe07db1.f5a992",\r
+ "wires": [\r
+ []\r
+ ]\r
+ }\r
]
\ No newline at end of file