aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json1043
1 files changed, 1 insertions, 1042 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json
index d26c8a42..1c4de41f 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json
@@ -1,1042 +1 @@
-[
- {
- "id": "4744948b.ff4c4c",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 141,
- "y": 483,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "124ab7ec.a801c"
- ]
- ]
- },
- {
- "id": "1f00af0b.9f7bd1",
- "type": "method",
- "name": "self-serve-capability-param-resolution",
- "xml": "<method rpc='self-serve-capability-param-resolution' mode='sync'>",
- "comments": "",
- "outputs": 1,
- "x": 249.99998474121094,
- "y": 547.2857217788696,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "65a0cd94.bdc594"
- ]
- ]
- },
- {
- "id": "124ab7ec.a801c",
- "type": "service-logic",
- "name": "GENERIC-RESOURCE-API ${project.version}",
- "module": "GENERIC-RESOURCE-API",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
- "outputs": 1,
- "x": 449,
- "y": 483,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "1f00af0b.9f7bd1"
- ]
- ]
- },
- {
- "id": "65a0cd94.bdc594",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 171.7142791748047,
- "y": 611.1428604125977,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "66ae79cc.1d7e18"
- ]
- ]
- },
- {
- "id": "4ed777ba.f198e8",
- "type": "for",
- "name": "for i in vnf-parameters-data.param[]",
- "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": 645.2857437133789,
- "y": 688.9999961853027,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "9f7a061a.9653b"
- ]
- ]
- },
- {
- "id": "9f7a061a.9653b",
- "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": 926.4286079406738,
- "y": 689.5714192390442,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "746bea5c.ab0a0c"
- ]
- ]
- },
- {
- "id": "746bea5c.ab0a0c",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1131.4285583496094,
- "y": 688.9999995231628,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "e0880a9e.98666"
- ]
- ]
- },
- {
- "id": "e0880a9e.98666",
- "type": "for",
- "name": "for j in resource-key[]",
- "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": 717.7142295837402,
- "y": 801.1428470611572,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "81560eb8.deb4b8"
- ]
- ]
- },
- {
- "id": "81560eb8.deb4b8",
- "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[$i].resource-resolution-data.resource-key[$j].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 995.285717010498,
- "y": 800.1428556442261,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "50303ac8.f7d374"
- ]
- ]
- },
- {
- "id": "50303ac8.f7d374",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1224.7142295837402,
- "y": 799.1428470611572,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "b782a60f.f917f"
- ]
- ]
- },
- {
- "id": "343ae815.d283b",
- "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[$i].resource-resolution-data.resource-key[$j].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1175.4286346435547,
- "y": 1006.7143096923828,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "78f989a4.59c0c8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name=\"tmp.s1\" value='`$resource-resolution-split[0]`'/>\n <parameter name=\"tmp.resolved.var.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 \n\n",
- "comments": "",
- "x": 1112.7143630981445,
- "y": 1078.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "39044a20.560d76",
- "type": "execute",
- "name": "split s2",
- "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": 1114.7143630981445,
- "y": 1149.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "728c9078.2610e",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1494.7143630981445,
- "y": 1241.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "f592e1dc.01e3b",
- "47e441ee.3e69a8"
- ]
- ]
- },
- {
- "id": "47e441ee.3e69a8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name=\"tmp.s2.s2\" value='`$s2[1]`'/>\n \n\n",
- "comments": "",
- "x": 1663.7143630981445,
- "y": 1275.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "1aa70d20.b73f4b",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name=\"tmp.s2.s1\" value='`$s2[0]`'/>\n \n\n",
- "comments": "",
- "x": 1488.7143630981445,
- "y": 1171.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "c841ca3e.c379c",
- "type": "execute",
- "name": "concat",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name='source' value='`$tmp.s1`' />\n <parameter name='target' value='`$tmp.resolved.var.value`' />\n <parameter name='outputPath' value='tmp.result' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1106.5714263916016,
- "y": 1400.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "1e80edf2.8f177a",
- "type": "switchNode",
- "name": "switch s2 length",
- "xml": "<switch test='`$s2_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1142.7143630981445,
- "y": 1213.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "74f5c20d.50dfdc",
- "6e8493b1.d78f1c"
- ]
- ]
- },
- {
- "id": "74f5c20d.50dfdc",
- "type": "outcome",
- "name": "1",
- "xml": "<outcome value='1'>",
- "comments": "",
- "outputs": 1,
- "x": 1328.7143630981445,
- "y": 1171.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "1aa70d20.b73f4b"
- ]
- ]
- },
- {
- "id": "6e8493b1.d78f1c",
- "type": "outcome",
- "name": "2",
- "xml": "<outcome value='2'>",
- "comments": "",
- "outputs": 1,
- "x": 1331.7143630981445,
- "y": 1242.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "728c9078.2610e"
- ]
- ]
- },
- {
- "id": "f592e1dc.01e3b",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name=\"tmp.s2.s1\" value='`$s2[0]`'/>\n \n\n",
- "comments": "",
- "x": 1659.7143630981445,
- "y": 1206.4285774230957,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "9fcf0455.6ca21",
- "type": "execute",
- "name": "concat",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name='source' value='`$tmp.result`' />\n <parameter name='target' value='`$tmp.s2.s2`' />\n <parameter name='outputPath' value='tmp.result' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1510.5714263916016,
- "y": 1523.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "7a91a0fa.de357",
- "type": "switchNode",
- "name": "switch tmp.s2.s2 exist",
- "xml": "<switch test='`$tmp.s2.s2`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1153.5714263916016,
- "y": 1492.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "bccddf67.4dce08",
- "d0ec0616.2e66a8"
- ]
- ]
- },
- {
- "id": "bccddf67.4dce08",
- "type": "outcome",
- "name": "null",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1355.5714263916016,
- "y": 1459.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "d0ec0616.2e66a8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1358.5714263916016,
- "y": 1522.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "9fcf0455.6ca21"
- ]
- ]
- },
- {
- "id": "c46d4ae4.e29dc",
- "type": "set",
- "name": "set result of resolution",
- "xml": "<set>\n <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`' value='`$tmp.result`'/>\n \n\n",
- "comments": "",
- "x": 1154.5714263916016,
- "y": 1553.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "6aad122a.5123ac",
- "type": "for",
- "name": "for cn in vnf-parameters-data.param[]",
- "xml": "<for index='cn' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1200.5714263916016,
- "y": 1333.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "365ad3d4.9975ec"
- ]
- ]
- },
- {
- "id": "365ad3d4.9975ec",
- "type": "switchNode",
- "name": "switch param[].name",
- "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cn].name == $tmp.s2.s1`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1482.2857666015625,
- "y": 1333.4285984039307,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "e4e67239.3278e8"
- ]
- ]
- },
- {
- "id": "e4e67239.3278e8",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1677.2857666015625,
- "y": 1333.4285984039307,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "971e16c2.f735f"
- ]
- ]
- },
- {
- "id": "971e16c2.f735f",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name='tmp.resolved.var.value' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cn].value`'/>\n \n\n",
- "comments": "",
- "x": 1827.2857666015625,
- "y": 1333.4285984039307,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "c50b2f87.5994a",
- "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[$i].resource-resolution-data.resource-key[$j].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 1181.5714263916016,
- "y": 1630.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "d1841585.786d58"
- ]
- ]
- },
- {
- "id": "d1841585.786d58",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1410.5714263916016,
- "y": 1630.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "c9c91cf2.f3c51"
- ]
- ]
- },
- {
- "id": "c9c91cf2.f3c51",
- "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= \"`'Not able to resolve Capability ' + $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 \n \n",
- "comments": "",
- "x": 1599.5714263916016,
- "y": 1631.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "b782a60f.f917f",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 881.5714263916016,
- "y": 945.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "343ae815.d283b",
- "78f989a4.59c0c8",
- "39044a20.560d76",
- "1e80edf2.8f177a",
- "6aad122a.5123ac",
- "c841ca3e.c379c",
- "7a91a0fa.de357",
- "c46d4ae4.e29dc",
- "c50b2f87.5994a",
- "a0e5ea6f.08636"
- ]
- ]
- },
- {
- "id": "66ae79cc.1d7e18",
- "type": "switchNode",
- "name": "switch capability-type",
- "xml": "<switch test=\"`$ss.capability-type`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 208.28570556640625,
- "y": 688.2857093811035,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "b6866d1b.4d78a8",
- "5a149c88.42d234"
- ]
- ]
- },
- {
- "id": "b6866d1b.4d78a8",
- "type": "not-found",
- "name": "vnf",
- "xml": "<outcome value='vnf'>\n",
- "comments": "",
- "outputs": 1,
- "x": 409.9999694824219,
- "y": 688.7143249511719,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "4ed777ba.f198e8"
- ]
- ]
- },
- {
- "id": "5a149c88.42d234",
- "type": "not-found",
- "name": "vf-module",
- "xml": "<outcome value='vf-module'>\n",
- "comments": "",
- "outputs": 1,
- "x": 417.4285659790039,
- "y": 1742.2857333421707,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "d6d9f5e.5ffcc88"
- ]
- ]
- },
- {
- "id": "d6d9f5e.5ffcc88",
- "type": "for",
- "name": "for i in vf-parameters-data.param[]",
- "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": 656.8571319580078,
- "y": 1741.8570499420166,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "6fdf73e7.b0b8dc"
- ]
- ]
- },
- {
- "id": "6fdf73e7.b0b8dc",
- "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": 938.8571319580078,
- "y": 1741.8570499420166,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "923e19af.fe9dd"
- ]
- ]
- },
- {
- "id": "923e19af.fe9dd",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1145.8571319580078,
- "y": 1741.8570499420166,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "cf78f36.049c31"
- ]
- ]
- },
- {
- "id": "cf78f36.049c31",
- "type": "for",
- "name": "for j in respurce-key[]",
- "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 784.71435546875,
- "y": 1829.8572063446045,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "45bb1a10.5144f4"
- ]
- ]
- },
- {
- "id": "45bb1a10.5144f4",
- "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[$i].resource-resolution-data.resource-key[$j].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 1061.71435546875,
- "y": 1828.8572063446045,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "55948daf.742904"
- ]
- ]
- },
- {
- "id": "55948daf.742904",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1291.71435546875,
- "y": 1828.8572063446045,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "98294273.a5fb38"
- ]
- ]
- },
- {
- "id": "f9e46f22.08e988",
- "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[$i].resource-resolution-data.resource-key[$j].value`' />\n <parameter name='regex' value='\\$\\{' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1215.0000457763672,
- "y": 1993.7143115997314,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "bbe76270.f3408",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name=\"tmp.s1\" value='`$resource-resolution-split[0]`'/>\n <parameter name=\"tmp.resolved.var.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 \n\n",
- "comments": "",
- "x": 1152.2857360839844,
- "y": 2054.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "32f65671.ec5b3a",
- "type": "execute",
- "name": "split s2",
- "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": 1154.2857360839844,
- "y": 2125.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "a04dbec6.3323e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1534.2857360839844,
- "y": 2217.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "bcb2f951.912cf8",
- "b11ae880.afbd58"
- ]
- ]
- },
- {
- "id": "b11ae880.afbd58",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name=\"tmp.s2.s2\" value='`$s2[1]`'/>\n \n\n",
- "comments": "",
- "x": 1703.2857360839844,
- "y": 2251.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "4c81ab97.3b7744",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name=\"tmp.s2.s1\" value='`$s2[0]`'/>\n \n\n",
- "comments": "",
- "x": 1528.2857360839844,
- "y": 2147.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "d8df467f.8cad78",
- "type": "execute",
- "name": "concat",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name='source' value='`$tmp.s1`' />\n <parameter name='target' value='`$tmp.resolved.var.value`' />\n <parameter name='outputPath' value='tmp.result' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1157.5714263916016,
- "y": 2373.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "5906dad2.0e56dc",
- "type": "switchNode",
- "name": "switch s2 length",
- "xml": "<switch test='`$s2_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1182.2857360839844,
- "y": 2189.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "bfbc7b03.3b9998",
- "fbaf50ef.915158"
- ]
- ]
- },
- {
- "id": "bfbc7b03.3b9998",
- "type": "outcome",
- "name": "1",
- "xml": "<outcome value='1'>",
- "comments": "",
- "outputs": 1,
- "x": 1368.2857360839844,
- "y": 2147.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "4c81ab97.3b7744"
- ]
- ]
- },
- {
- "id": "fbaf50ef.915158",
- "type": "outcome",
- "name": "2",
- "xml": "<outcome value='2'>",
- "comments": "",
- "outputs": 1,
- "x": 1371.2857360839844,
- "y": 2218.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "a04dbec6.3323e8"
- ]
- ]
- },
- {
- "id": "bcb2f951.912cf8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name=\"tmp.s2.s1\" value='`$s2[0]`'/>\n \n\n",
- "comments": "",
- "x": 1699.2857360839844,
- "y": 2182.285650253296,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "4a2214e3.1eb11c",
- "type": "execute",
- "name": "concat",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name='source' value='`$tmp.result`' />\n <parameter name='target' value='`$tmp.s2.s2`' />\n <parameter name='outputPath' value='tmp.result' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1560.1429138183594,
- "y": 2494.714319229126,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "335d0adc.5736e6",
- "type": "switchNode",
- "name": "switch tmp.s2.s2 exist",
- "xml": "<switch test='`$tmp.s2.s2`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1204.5714263916016,
- "y": 2465.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "5ae49566.19b84c",
- "99c6d4e3.206e28"
- ]
- ]
- },
- {
- "id": "5ae49566.19b84c",
- "type": "outcome",
- "name": "null",
- "xml": "<outcome value=''>",
- "comments": "",
- "outputs": 1,
- "x": 1405.1429138183594,
- "y": 2431.714319229126,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "99c6d4e3.206e28",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1409.1429138183594,
- "y": 2494.714319229126,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "4a2214e3.1eb11c"
- ]
- ]
- },
- {
- "id": "f99ad227.88187",
- "type": "set",
- "name": "set result of resolution",
- "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.resource-key[$j].value`' value='`$tmp.result`'/>\n \n\n",
- "comments": "",
- "x": 1205.5714263916016,
- "y": 2526.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "d0ce13d0.f3104",
- "type": "for",
- "name": "for cn in vf-parameters-data.param[]",
- "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": 1245.5714263916016,
- "y": 2306.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "e3913f3f.a076e"
- ]
- ]
- },
- {
- "id": "e3913f3f.a076e",
- "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 == $tmp.s2.s1`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1534.5714263916016,
- "y": 2305.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "3b5750da.a381d"
- ]
- ]
- },
- {
- "id": "3b5750da.a381d",
- "type": "not-found",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1740.5714263916016,
- "y": 2305.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "386b7833.6aba1"
- ]
- ]
- },
- {
- "id": "386b7833.6aba1",
- "type": "set",
- "name": "set",
- "xml": "<set>\n <parameter name='tmp.resolved.var.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[$cn].value`'/>\n \n\n",
- "comments": "",
- "x": 1893.5714263916016,
- "y": 2305.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "69f8e9bc.e255a",
- "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[$i].resource-resolution-data.resource-key[$j].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n",
- "comments": "",
- "outputs": 1,
- "x": 1232.5714263916016,
- "y": 2603.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "4d034e4b.48d61"
- ]
- ]
- },
- {
- "id": "4d034e4b.48d61",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1461.5714263916016,
- "y": 2603.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "c2dd6cef.c6a32"
- ]
- ]
- },
- {
- "id": "c2dd6cef.c6a32",
- "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= \"`'Not able to resolve Capability ' + $service-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 \n",
- "comments": "",
- "x": 1635.5714111328125,
- "y": 2604,
- "z": "6ed0daf1.5e6824",
- "wires": []
- },
- {
- "id": "98294273.a5fb38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 932.5714263916016,
- "y": 1918.9999985694885,
- "z": "6ed0daf1.5e6824",
- "wires": [
- [
- "f9e46f22.08e988",
- "bbe76270.f3408",
- "32f65671.ec5b3a",
- "5906dad2.0e56dc",
- "d0ce13d0.f3104",
- "d8df467f.8cad78",
- "335d0adc.5736e6",
- "f99ad227.88187",
- "69f8e9bc.e255a",
- "108ba025.b40668"
- ]
- ]
- },
- {
- "id": "a0e5ea6f.08636",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'SS: param[].value with leading $: ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1105.2856369018555,
- "y": 945.4286179542542,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- },
- {
- "id": "108ba025.b40668",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'SS: param[].value with leading $: ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1142.4285736083984,
- "y": 1919.0000076293945,
- "z": "6ed0daf1.5e6824",
- "wires": [
- []
- ]
- }
-] \ No newline at end of file
+[{"id":"b2f9de4.fde782","type":"dgstart","name":"DGSTART","outputs":1,"x":127.5,"y":65.00000000000001,"z":"2eed414c.ede50e","wires":[["d02e6a72.1e6a48"]]},{"id":"b3a65ba9.eb9688","type":"method","name":"self-serve-capability-param-resolution","xml":"<method rpc='self-serve-capability-param-resolution' mode='sync'>","comments":"","outputs":1,"x":236.49998474121094,"y":129.28572177886963,"z":"2eed414c.ede50e","wires":[["be1c8d3f.9ef6b"]]},{"id":"d02e6a72.1e6a48","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>","outputs":1,"x":435.5,"y":65.00000000000001,"z":"2eed414c.ede50e","wires":[["b3a65ba9.eb9688"]]},{"id":"be1c8d3f.9ef6b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":158.2142791748047,"y":193.14286041259766,"z":"2eed414c.ede50e","wires":[["7f9405a.75baafc"]]},{"id":"c011bd0.1ca2f4","type":"for","name":"for i in vnf-parameters-data.param[]","xml":"<for silentFailure='true' 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":720.7857666015625,"y":328,"z":"2eed414c.ede50e","wires":[["e3613cb3.e23c"]]},{"id":"e3613cb3.e23c","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":1001.9286308288574,"y":328.57142305374146,"z":"2eed414c.ede50e","wires":[["453b20b8.0bf3"]]},{"id":"453b20b8.0bf3","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1206.928581237793,"y":328.0000033378601,"z":"2eed414c.ede50e","wires":[["83285695.56f8f8"]]},{"id":"6d2ac1ec.6947d","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.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":818.2142333984375,"y":468.1428527832031,"z":"2eed414c.ede50e","wires":[["57b15620.094f48"]]},{"id":"57b15620.094f48","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[$i].resource-resolution-data.resource-key[$j].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n","comments":"","outputs":1,"x":1095.7857208251953,"y":467.142861366272,"z":"2eed414c.ede50e","wires":[["ac3fad8b.2f5fc"]]},{"id":"ac3fad8b.2f5fc","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1325.2142333984375,"y":466.1428527832031,"z":"2eed414c.ede50e","wires":[["fe88f79e.c02fb8"]]},{"id":"277ff0ac.3260f","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[$i].resource-resolution-data.resource-key[$j].value`' />\n <parameter name='regex' value='\\$\\{' />\n","comments":"","outputs":1,"x":1161.9286346435547,"y":588.7143096923828,"z":"2eed414c.ede50e","wires":[[]]},{"id":"7b0114.5d80beec","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.s1\" value='`$resource-resolution-split[0]`'/>\n <parameter name=\"tmp.s2.s2\" value=''/>\n <parameter name=\"tmp.resolved.var.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 \n\n","comments":"","x":1099.2143630981445,"y":660.4285774230957,"z":"2eed414c.ede50e","wires":[]},{"id":"6aba5cdd.959204","type":"execute","name":"split s2","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":1101.2143630981445,"y":731.4285774230957,"z":"2eed414c.ede50e","wires":[[]]},{"id":"f80112e3.e8376","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1481.2143630981445,"y":823.4285774230957,"z":"2eed414c.ede50e","wires":[["a0d1d1d7.06391","16a1ad1c.4c38f3"]]},{"id":"16a1ad1c.4c38f3","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.s2.s2\" value='`$s2[1]`'/>\n \n\n","comments":"","x":1650.2143630981445,"y":857.4285774230957,"z":"2eed414c.ede50e","wires":[]},{"id":"b8edb73c.2cd188","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.s2.s1\" value='`$s2[0]`'/>\n \n\n","comments":"","x":1475.2143630981445,"y":753.4285774230957,"z":"2eed414c.ede50e","wires":[]},{"id":"b7190e5.81e8af","type":"execute","name":"concat","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name='source' value='`$tmp.s1`' />\n <parameter name='target' value='`$tmp.resolved.var.value`' />\n <parameter name='outputPath' value='tmp.result' />\n","comments":"","outputs":1,"x":1093.0714263916016,"y":982.9999985694885,"z":"2eed414c.ede50e","wires":[[]]},{"id":"91228785.77c5c8","type":"switchNode","name":"switch s2 length","xml":"<switch test='`$s2_length`'>\n","comments":"","outputs":1,"x":1129.2143630981445,"y":795.4285774230957,"z":"2eed414c.ede50e","wires":[["1bed4afb.3b60b5","cf8df26e.65e38"]]},{"id":"1bed4afb.3b60b5","type":"outcome","name":"1","xml":"<outcome value='1'>","comments":"","outputs":1,"x":1315.2143630981445,"y":753.4285774230957,"z":"2eed414c.ede50e","wires":[["b8edb73c.2cd188"]]},{"id":"cf8df26e.65e38","type":"outcome","name":"2","xml":"<outcome value='2'>","comments":"","outputs":1,"x":1318.2143630981445,"y":824.4285774230957,"z":"2eed414c.ede50e","wires":[["f80112e3.e8376"]]},{"id":"a0d1d1d7.06391","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.s2.s1\" value='`$s2[0]`'/>\n \n\n","comments":"","x":1646.2143630981445,"y":788.4285774230957,"z":"2eed414c.ede50e","wires":[]},{"id":"e12991dc.9f762","type":"execute","name":"concat","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name='source' value='`$tmp.result`' />\n <parameter name='target' value='`$tmp.s2.s2`' />\n <parameter name='outputPath' value='tmp.result' />\n","comments":"","outputs":1,"x":1497.0714263916016,"y":1105.9999985694885,"z":"2eed414c.ede50e","wires":[[]]},{"id":"9ee590b9.86b03","type":"switchNode","name":"switch tmp.s2.s2 null","xml":"<switch test=\"`$tmp.s2.s2 == ''`\">\n","comments":"","outputs":1,"x":1140.0714263916016,"y":1074.9999985694885,"z":"2eed414c.ede50e","wires":[["d5945243.43236","76d2ae80.99aaa"]]},{"id":"d5945243.43236","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1342.0714263916016,"y":1041.9999985694885,"z":"2eed414c.ede50e","wires":[[]]},{"id":"76d2ae80.99aaa","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1345.0714263916016,"y":1104.9999985694885,"z":"2eed414c.ede50e","wires":[["e12991dc.9f762"]]},{"id":"a34fa202.a8f58","type":"set","name":"set result of resolution","xml":"<set>\n <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`' value='`$tmp.result`'/>\n \n\n","comments":"","x":1141.0714263916016,"y":1135.9999985694885,"z":"2eed414c.ede50e","wires":[]},{"id":"12905fab.09b84","type":"for","name":"for cn in vnf-parameters-data.param[]","xml":"<for silentFailure='true' index='cn' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1187.0714263916016,"y":915.9999985694885,"z":"2eed414c.ede50e","wires":[["93df27b1.8320b8"]]},{"id":"93df27b1.8320b8","type":"switchNode","name":"switch param[].name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cn].name == $tmp.s2.s1`'>\n","comments":"","outputs":1,"x":1468.7857666015625,"y":915.4285984039307,"z":"2eed414c.ede50e","wires":[["74ab785e.43db98"]]},{"id":"74ab785e.43db98","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1663.7857666015625,"y":915.4285984039307,"z":"2eed414c.ede50e","wires":[["ca61b0c8.8e36"]]},{"id":"ca61b0c8.8e36","type":"set","name":"set","xml":"<set>\n <parameter name='tmp.resolved.var.value' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cn].value`'/>\n \n\n","comments":"","x":1813.7857666015625,"y":915.4285984039307,"z":"2eed414c.ede50e","wires":[]},{"id":"fe88f79e.c02fb8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":868.0714263916016,"y":527.9999985694885,"z":"2eed414c.ede50e","wires":[["277ff0ac.3260f","7b0114.5d80beec","6aba5cdd.959204","91228785.77c5c8","12905fab.09b84","b7190e5.81e8af","9ee590b9.86b03","a34fa202.a8f58","77607272.82d98c"]]},{"id":"7f9405a.75baafc","type":"switchNode","name":"switch capability-type","xml":"<switch test=\"`$ss.capability-type`\">\n","comments":"","outputs":1,"x":194.78570556640625,"y":270.2857093811035,"z":"2eed414c.ede50e","wires":[["cff28686.cdc6c8","489c8727.568328"]]},{"id":"cff28686.cdc6c8","type":"not-found","name":"vnf","xml":"<outcome value='vnf'>\n","comments":"","outputs":1,"x":385.4999694824219,"y":269.7143249511719,"z":"2eed414c.ede50e","wires":[["d8b5acf7.f5e9e"]]},{"id":"489c8727.568328","type":"not-found","name":"vf-module","xml":"<outcome value='vf-module'>\n","comments":"","outputs":1,"x":404.9285583496094,"y":1295.2857666015625,"z":"2eed414c.ede50e","wires":[["2fc1611b.146ece"]]},{"id":"4a358999.23b6a8","type":"for","name":"for i in vf-parameters-data.param[]","xml":"<for silentFailure='true' 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":760.3571319580078,"y":1349.857021331787,"z":"2eed414c.ede50e","wires":[["309116d8.9b624a"]]},{"id":"309116d8.9b624a","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":1042.3571319580078,"y":1349.857021331787,"z":"2eed414c.ede50e","wires":[["45936ec1.758c9"]]},{"id":"45936ec1.758c9","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1249.3571319580078,"y":1349.857021331787,"z":"2eed414c.ede50e","wires":[["b8b2343e.d81f58"]]},{"id":"e93f5357.c408e","type":"for","name":"for j in respurce-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[$i].resource-resolution-data.resource-key_length`' >\n","comments":"","outputs":1,"x":888.21435546875,"y":1437.857177734375,"z":"2eed414c.ede50e","wires":[["e768587b.b2c608"]]},{"id":"e768587b.b2c608","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[$i].resource-resolution-data.resource-key[$j].value`\" />\n <parameter name=\"target\" value=\"$\"/>\n \n","comments":"","outputs":1,"x":1165.21435546875,"y":1436.857177734375,"z":"2eed414c.ede50e","wires":[["419d4a7c.0714c4"]]},{"id":"419d4a7c.0714c4","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1395.21435546875,"y":1436.857177734375,"z":"2eed414c.ede50e","wires":[["ac809c2a.e7902"]]},{"id":"8e785194.b1cc6","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[$i].resource-resolution-data.resource-key[$j].value`' />\n <parameter name='regex' value='\\$\\{' />\n","comments":"","outputs":1,"x":1201.5000457763672,"y":1575.7143115997314,"z":"2eed414c.ede50e","wires":[[]]},{"id":"a068e82.37e7818","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.s1\" value='`$resource-resolution-split[0]`'/>\n <parameter name=\"tmp.s2.s2\" value=''/>\n <parameter name=\"tmp.resolved.var.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 \n\n","comments":"","x":1138.7857360839844,"y":1636.285650253296,"z":"2eed414c.ede50e","wires":[]},{"id":"53bc4452.d2d82c","type":"execute","name":"split s2","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":1140.7857360839844,"y":1707.285650253296,"z":"2eed414c.ede50e","wires":[[]]},{"id":"78020424.b816cc","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1520.7857360839844,"y":1799.285650253296,"z":"2eed414c.ede50e","wires":[["b28d62f6.1f02c","ee486258.1c7fe"]]},{"id":"ee486258.1c7fe","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.s2.s2\" value='`$s2[1]`'/>\n \n\n","comments":"","x":1689.7857360839844,"y":1833.285650253296,"z":"2eed414c.ede50e","wires":[]},{"id":"1a870566.9db06b","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.s2.s1\" value='`$s2[0]`'/>\n \n\n","comments":"","x":1514.7857360839844,"y":1729.285650253296,"z":"2eed414c.ede50e","wires":[]},{"id":"78fe075e.f46998","type":"execute","name":"concat","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name='source' value='`$tmp.s1`' />\n <parameter name='target' value='`$tmp.resolved.var.value`' />\n <parameter name='outputPath' value='tmp.result' />\n","comments":"","outputs":1,"x":1144.0714263916016,"y":1955.9999985694885,"z":"2eed414c.ede50e","wires":[[]]},{"id":"72ca73d8.90947c","type":"switchNode","name":"switch s2 length","xml":"<switch test='`$s2_length`'>\n","comments":"","outputs":1,"x":1168.7857360839844,"y":1771.285650253296,"z":"2eed414c.ede50e","wires":[["7614f305.fb0e1c","9f867041.2f0b4"]]},{"id":"7614f305.fb0e1c","type":"outcome","name":"1","xml":"<outcome value='1'>","comments":"","outputs":1,"x":1354.7857360839844,"y":1729.285650253296,"z":"2eed414c.ede50e","wires":[["1a870566.9db06b"]]},{"id":"9f867041.2f0b4","type":"outcome","name":"2","xml":"<outcome value='2'>","comments":"","outputs":1,"x":1357.7857360839844,"y":1800.285650253296,"z":"2eed414c.ede50e","wires":[["78020424.b816cc"]]},{"id":"b28d62f6.1f02c","type":"set","name":"set","xml":"<set>\n <parameter name=\"tmp.s2.s1\" value='`$s2[0]`'/>\n \n\n","comments":"","x":1685.7857360839844,"y":1764.285650253296,"z":"2eed414c.ede50e","wires":[]},{"id":"10d75c04.4a43a4","type":"execute","name":"concat","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name='source' value='`$tmp.result`' />\n <parameter name='target' value='`$tmp.s2.s2`' />\n <parameter name='outputPath' value='tmp.result' />\n","comments":"","outputs":1,"x":1546.6429138183594,"y":2076.714319229126,"z":"2eed414c.ede50e","wires":[[]]},{"id":"d3d1db22.56e008","type":"switchNode","name":"switch tmp.s2.s2 null","xml":"<switch test=\"`$tmp.s2.s2 == ''`\">\n","comments":"","outputs":1,"x":1191.0714263916016,"y":2047.9999985694885,"z":"2eed414c.ede50e","wires":[["831b610a.e4f05","9d346e29.92e22"]]},{"id":"831b610a.e4f05","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1391.6429138183594,"y":2013.714319229126,"z":"2eed414c.ede50e","wires":[[]]},{"id":"9d346e29.92e22","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1395.6429138183594,"y":2076.714319229126,"z":"2eed414c.ede50e","wires":[["10d75c04.4a43a4"]]},{"id":"b9830f43.d7d8b","type":"set","name":"set result of resolution","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.resource-key[$j].value`' value='`$tmp.result`'/>\n \n\n","comments":"","x":1192.0714263916016,"y":2108.9999985694885,"z":"2eed414c.ede50e","wires":[]},{"id":"9eb906fd.1a56d8","type":"for","name":"for cn in vf-parameters-data.param[]","xml":"<for silentFailure='true' 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":1232.0714263916016,"y":1888.9999985694885,"z":"2eed414c.ede50e","wires":[["a4257282.69bd5"]]},{"id":"a4257282.69bd5","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 == $tmp.s2.s1`'>\n","comments":"","outputs":1,"x":1521.0714263916016,"y":1887.9999985694885,"z":"2eed414c.ede50e","wires":[["59d239dc.21c0f8"]]},{"id":"59d239dc.21c0f8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1727.0714263916016,"y":1887.9999985694885,"z":"2eed414c.ede50e","wires":[["eb169026.04af4"]]},{"id":"eb169026.04af4","type":"set","name":"set","xml":"<set>\n <parameter name='tmp.resolved.var.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[$cn].value`'/>\n \n\n","comments":"","x":1880.0714263916016,"y":1887.9999985694885,"z":"2eed414c.ede50e","wires":[]},{"id":"ac809c2a.e7902","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":919.0714263916016,"y":1500.9999985694885,"z":"2eed414c.ede50e","wires":[["8e785194.b1cc6","a068e82.37e7818","53bc4452.d2d82c","72ca73d8.90947c","9eb906fd.1a56d8","78fe075e.f46998","d3d1db22.56e008","b9830f43.d7d8b","d5392fd8.d89da"]]},{"id":"77607272.82d98c","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'SS: param[].value with leading $: ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n","comments":"","outputs":1,"x":1091.7856369018555,"y":527.4286179542542,"z":"2eed414c.ede50e","wires":[[]]},{"id":"d5392fd8.d89da","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'SS: param[].value with leading $: ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n","comments":"","outputs":1,"x":1128.9285736083984,"y":1501.0000076293945,"z":"2eed414c.ede50e","wires":[[]]},{"id":"d8b5acf7.f5e9e","type":"switchNode","name":"switch param_length null","xml":"<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length == ''`\">\n","comments":"","outputs":1,"x":574.5,"y":270,"z":"2eed414c.ede50e","wires":[["d9d991b7.4c7a"]]},{"id":"d9d991b7.4c7a","type":"outcome","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":793.5,"y":269,"z":"2eed414c.ede50e","wires":[["c011bd0.1ca2f4"]]},{"id":"2fc1611b.146ece","type":"switchNode","name":"switch param_length null","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_length == ''`\">\n","comments":"","outputs":1,"x":636.5,"y":1294,"z":"2eed414c.ede50e","wires":[["8fadf57.37efd08"]]},{"id":"8fadf57.37efd08","type":"outcome","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":837.5,"y":1293,"z":"2eed414c.ede50e","wires":[["4a358999.23b6a8"]]},{"id":"83285695.56f8f8","type":"switchNode","name":"switch resource-key_length null","xml":"<switch test=\"`$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":754.5,"y":397,"z":"2eed414c.ede50e","wires":[["17890ec9.2f6321"]]},{"id":"17890ec9.2f6321","type":"outcome","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":973.5,"y":396,"z":"2eed414c.ede50e","wires":[["6d2ac1ec.6947d"]]},{"id":"b8b2343e.d81f58","type":"switchNode","name":"switch resource-key_length null","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_length == ''`\">\n","comments":"","outputs":1,"x":822.5,"y":1396,"z":"2eed414c.ede50e","wires":[["61744b7d.8c66d4"]]},{"id":"61744b7d.8c66d4","type":"outcome","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1041.5,"y":1395,"z":"2eed414c.ede50e","wires":[["e93f5357.c408e"]]}] \ No newline at end of file