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:
authorBrandon, Bruce (bb2697) <bb2697@att.com>2018-07-26 18:10:42 +0000
committerBrandon, Bruce (bb2697) <bb2697@att.com>2018-07-26 18:10:42 +0000
commit5a41e5c15bdbfba0e84e89e13bb06d9930988e77 (patch)
tree72fa804d3fc3f1e286e3c8e1209309e97a3ff528 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json
parent3b79de733187d2c1c9bccf626958a43bb06dbf2e (diff)
Generic resource API DG catch up
Generic resource API DG catch up with several new capabilities Change-Id: I6ba4a1716693a2fb0ba5314f60038277a50249a3 Issue-ID: SDNC-403 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com> Former-commit-id: dd97cf829ce1c0b3bbb0e98e93a2e6619d945beb
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.json1042
1 files changed, 1042 insertions, 0 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
new file mode 100644
index 00000000..d26c8a42
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-capability-param-resolution.json
@@ -0,0 +1,1042 @@
+[
+ {
+ "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