aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json1038
1 files changed, 1038 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
new file mode 100644
index 00000000..b15f2be8
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
@@ -0,0 +1,1038 @@
+[
+ {
+ "id": "c9662316.ac32e",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 140,
+ "y": 71,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "21b107f1.c4e3d"
+ ]
+ ]
+ },
+ {
+ "id": "21b107f1.c4e3d",
+ "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": 416,
+ "y": 72,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "d31bcb5e.2d5ca8"
+ ]
+ ]
+ },
+ {
+ "id": "d31bcb5e.2d5ca8",
+ "type": "method",
+ "name": "self-serve-vfmodule-ra-assignment",
+ "xml": "<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 767,
+ "y": 72,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "9ca2bb77.96bf4"
+ ]
+ ]
+ },
+ {
+ "id": "9ca2bb77.96bf4",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 152.5,
+ "y": 154,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "2c0fae33.03506a",
+ "596beaf0.87988c",
+ "7ef17c42.39d2c4",
+ "32736a18.7a6e3e",
+ "73f5ad8e.f8c2b4",
+ "1ce514a9.9e4f13",
+ "1d654029.0ef398",
+ "bfb02940.6bc4e",
+ "ddd3f7c.3d06a88",
+ "2a15b80c.c3724"
+ ]
+ ]
+ },
+ {
+ "id": "596beaf0.87988c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n <parameter name=\"request-id\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-type`\" /> \n <parameter name=\"resource-id\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" /> \n <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n",
+ "comments": "",
+ "x": 337,
+ "y": 200,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "3343905.7d2db7",
+ "type": "outcome",
+ "name": "true",
+ "xml": "<outcome value='true'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 615.714241027832,
+ "y": 583.7142734527588,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "5ca9b35e.48b424"
+ ]
+ ]
+ },
+ {
+ "id": "32736a18.7a6e3e",
+ "type": "for",
+ "name": "for vf-module-topology-operation-input",
+ "xml": "<for index='i' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 436.71431732177734,
+ "y": 417.7143135070801,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "608765da.d64014"
+ ]
+ ]
+ },
+ {
+ "id": "b1a3d4f4.dab168",
+ "type": "set",
+ "name": "set tmp.sdnc-model-name",
+ "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n",
+ "comments": "",
+ "x": 1183.428565979004,
+ "y": 350.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "9432ab6d.80ccd8",
+ "type": "outcome",
+ "name": "sdnc_model_name",
+ "xml": "<outcome value='sdnc_model_name'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 929.4285659790039,
+ "y": 350.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "b1a3d4f4.dab168"
+ ]
+ ]
+ },
+ {
+ "id": "608765da.d64014",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 691.4285659790039,
+ "y": 417.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "9432ab6d.80ccd8",
+ "16c88141.7648bf",
+ "a413dd31.e3a578",
+ "4598c824.2fd3b8"
+ ]
+ ]
+ },
+ {
+ "id": "16c88141.7648bf",
+ "type": "outcome",
+ "name": "sdnc_model_version",
+ "xml": "<outcome value='sdnc_model_version'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 932.4285659790039,
+ "y": 396.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "326cbf96.c3fe8"
+ ]
+ ]
+ },
+ {
+ "id": "a413dd31.e3a578",
+ "type": "outcome",
+ "name": "vf_module_label",
+ "xml": "<outcome value='vf_module_label'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 917.4285659790039,
+ "y": 445.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "2dac59d5.d60f76"
+ ]
+ ]
+ },
+ {
+ "id": "326cbf96.c3fe8",
+ "type": "set",
+ "name": "set tmp.sdnc-model-version",
+ "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n",
+ "comments": "",
+ "x": 1187.428565979004,
+ "y": 396.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "2dac59d5.d60f76",
+ "type": "set",
+ "name": "set tmp.vf-module-label",
+ "xml": "<set>\n<parameter name='tmp.vf-module-label' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value`' />\n\n",
+ "comments": "",
+ "x": 1169.428565979004,
+ "y": 445.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "c56fc5e4.f56c68",
+ "type": "set",
+ "name": "set name-value other JsonString",
+ "xml": "<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"`$tmp.config-name-value-other-payload + '&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name + '&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n",
+ "comments": "",
+ "x": 1187.428565979004,
+ "y": 496.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "4598c824.2fd3b8",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 889.4285659790039,
+ "y": 496.1428813934326,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "c56fc5e4.f56c68"
+ ]
+ ]
+ },
+ {
+ "id": "73f5ad8e.f8c2b4",
+ "type": "set",
+ "name": "set configAssignment JsonString",
+ "xml": "<set>\n\t<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $vf-module-topology-operation-input.service-information.service-instance-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '&quot;vnf-id&quot;:&quot;' + $vf-module-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vf-module-model-customization-uuid&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;vnf-model-customization-uuid&quot;:&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload8\" value=\"`$tmp.config-name-value-payload7 + '&quot;vf-module-id&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + '&quot;,'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload9\" value=\"`$tmp.config-name-value-payload8 + '&quot;aic-cloud-region&quot;:&quot;' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region + '&quot;'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload91\" value=\"`'{' + $tmp.config-name-value-payload9 + '}'`\" />\n\t\n",
+ "comments": "",
+ "x": 408,
+ "y": 710,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "1ce514a9.9e4f13",
+ "type": "execute",
+ "name": "execute ConfigAssignment",
+ "xml": "<execute plugin='org.openecomp.sdnc.config.assignment.service.ConfigAssignmentNode' method='process'>\n\t<parameter name=\"request-id\" value='`$request-id`' />\n\t<parameter name=\"resource-id\" value='`$resource-id`' /> \n\t<parameter name=\"resource-type\" value='`$resource-type`' />\n\t<parameter name=\"action-name\" value='`$action-name`' />\n\t<parameter name=\"template-names\" value=\"`'[&quot;' + $tmp.vf-module-label + '&quot;]'`\" />\n\t<parameter name=\"service-template-name\" value='`$tmp.sdnc-model-name`' />\n\t<parameter name=\"service-template-version\" value='`$tmp.sdnc-model-version`' />\n\t<parameter name='input-data' value='`$tmp.config-name-value-payload91`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 394,
+ "y": 788,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "e80696e3.2921b",
+ "5b41a4d9.9a6094"
+ ]
+ ]
+ },
+ {
+ "id": "e80696e3.2921b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 584,
+ "y": 764,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "f656773c.1942a"
+ ]
+ ]
+ },
+ {
+ "id": "f656773c.1942a",
+ "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 ConfigAssignmentNode\" />\n",
+ "comments": "",
+ "x": 782,
+ "y": 764,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "bfb02940.6bc4e",
+ "type": "for",
+ "name": "for resource-accumulator-resolved-data loop",
+ "xml": "<for index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 440,
+ "y": 947,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "db7d4151.0bea98"
+ ]
+ ]
+ },
+ {
+ "id": "ab9a8a47.e5b7a",
+ "type": "set",
+ "name": "set from resource-accumulator-resolved-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[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\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[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='highnum' value='`$highnum + 1`' />\n",
+ "comments": "",
+ "x": 1472,
+ "y": 999,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "ddd3f7c.3d06a88",
+ "type": "for",
+ "name": "for capability-data",
+ "xml": "<for index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 359,
+ "y": 1210,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "f9174c91.e66bd"
+ ]
+ ]
+ },
+ {
+ "id": "45ea44cc.7145e4",
+ "type": "for",
+ "name": "for key-mapping",
+ "xml": "<for index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 749,
+ "y": 1250,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "3a33ccb3.6e1eec"
+ ]
+ ]
+ },
+ {
+ "id": "f9174c91.e66bd",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 536,
+ "y": 1210,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "5d4b471e.9a6278",
+ "45ea44cc.7145e4"
+ ]
+ ]
+ },
+ {
+ "id": "5d4b471e.9a6278",
+ "type": "set",
+ "name": "set counter",
+ "xml": "<set>\n<parameter name='num' value='0' />",
+ "comments": "",
+ "x": 710,
+ "y": 1186,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "1d654029.0ef398",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 384,
+ "y": 868,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c0fae33.03506a",
+ "type": "execute",
+ "name": "execute generateUUID",
+ "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.generate.vnf-se-serv-uuid\" /> \n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 382,
+ "y": 154,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "1479b86b.88bcf8"
+ ]
+ ]
+ },
+ {
+ "id": "1479b86b.88bcf8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 587,
+ "y": 154,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "85890471.7922f8"
+ ]
+ ]
+ },
+ {
+ "id": "85890471.7922f8",
+ "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=\"generateUUID is failed\" />\n",
+ "comments": "",
+ "x": 751,
+ "y": 153,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "299a7a59.42e276",
+ "type": "for",
+ "name": "for vnf-parameters-data.param",
+ "xml": "<for index='cnt' 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": 1413,
+ "y": 947,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "1e59b282.7615bd"
+ ]
+ ]
+ },
+ {
+ "id": "db7d4151.0bea98",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 719,
+ "y": 948,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "494eddf.a3c6824",
+ "84e97247.edaa68",
+ "a43a651a.cb999"
+ ]
+ ]
+ },
+ {
+ "id": "7ef17c42.39d2c4",
+ "type": "switchNode",
+ "name": "switch vf-parameters-data.param_length",
+ "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": 454,
+ "y": 255,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "fb6f83cb.1cddd8",
+ "5a450db0.8182fc"
+ ]
+ ]
+ },
+ {
+ "id": "fb6f83cb.1cddd8",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 717.1428833007812,
+ "y": 222.85715293884277,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "756afc2e.e2ed0c"
+ ]
+ ]
+ },
+ {
+ "id": "5a450db0.8182fc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 716.1428833007812,
+ "y": 286.8571529388428,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "f1c2e566.b878b"
+ ]
+ ]
+ },
+ {
+ "id": "756afc2e.e2ed0c",
+ "type": "set",
+ "name": "set pre service param len as 0",
+ "xml": "<set>\n <parameter name='highnum' value='0' />\n <parameter name='prehighnum' value='0'/>\n",
+ "comments": "",
+ "x": 930.1428833007812,
+ "y": 222.85715293884277,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "f1c2e566.b878b",
+ "type": "set",
+ "name": "set pre service param len",
+ "xml": "<set>\n <parameter name='highnum' 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_length`' />\n <parameter name='prehighnum' 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_length`' />",
+ "comments": "",
+ "x": 915.1428833007812,
+ "y": 286.8571529388428,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "1e59b282.7615bd",
+ "type": "switchNode",
+ "name": "switch input vnf-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[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1671,
+ "y": 947,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "f957b9e3.d73258"
+ ]
+ ]
+ },
+ {
+ "id": "f957b9e3.d73258",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1851,
+ "y": 947,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "9990f366.a5d44"
+ ]
+ ]
+ },
+ {
+ "id": "9990f366.a5d44",
+ "type": "set",
+ "name": "set for existing param 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[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",
+ "comments": "",
+ "x": 2061,
+ "y": 948,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "a43a651a.cb999",
+ "type": "switchNode",
+ "name": "switch tmp.mso.param.not-found",
+ "xml": "<switch test='`$tmp.mso.param.found`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 961,
+ "y": 1000,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "3b81a77e.2652c8"
+ ]
+ ]
+ },
+ {
+ "id": "3b81a77e.2652c8",
+ "type": "not-found",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1195,
+ "y": 999,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "ab9a8a47.e5b7a"
+ ]
+ ]
+ },
+ {
+ "id": "494eddf.a3c6824",
+ "type": "set",
+ "name": "set for existing param name",
+ "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
+ "comments": "",
+ "x": 945,
+ "y": 889,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "84e97247.edaa68",
+ "type": "switchNode",
+ "name": "switch check length > 0",
+ "xml": "<switch test='`$prehighnum &gt; 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 937.5,
+ "y": 948,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "69b58dbb.69cf14"
+ ]
+ ]
+ },
+ {
+ "id": "69b58dbb.69cf14",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1184.5,
+ "y": 948,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "299a7a59.42e276"
+ ]
+ ]
+ },
+ {
+ "id": "c7550dfb.7c233",
+ "type": "for",
+ "name": "for payload",
+ "xml": "<for index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1980,
+ "y": 1301,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "4fe60d9.7cf3174"
+ ]
+ ]
+ },
+ {
+ "id": "f16717f0.87dca",
+ "type": "set",
+ "name": "set resource-key",
+ "xml": "<set>\n\t<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[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n\t<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[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\t\n",
+ "comments": "",
+ "x": 2381,
+ "y": 1298,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "2781e088.ca7918",
+ "type": "set",
+ "name": "set output-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[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\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[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\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[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\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[$highnum].resource-resolution-data.status`' value='PENDING'/>",
+ "comments": "",
+ "x": 1558,
+ "y": 1203,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "3b54118e.faf90e",
+ "type": "for",
+ "name": "for output-key-mapping",
+ "xml": "<for index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1166,
+ "y": 1250,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "a9d3248b.7f1778"
+ ]
+ ]
+ },
+ {
+ "id": "3a33ccb3.6e1eec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 967,
+ "y": 1251,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "3b54118e.faf90e"
+ ]
+ ]
+ },
+ {
+ "id": "a9d3248b.7f1778",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1361,
+ "y": 1249,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "2781e088.ca7918",
+ "4ee85384.52e0fc",
+ "c974039b.190718"
+ ]
+ ]
+ },
+ {
+ "id": "c974039b.190718",
+ "type": "set",
+ "name": "set length",
+ "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_length`' value='`$highnum + 1`'/>\n<parameter name='highnum' value='`$highnum + 1`' />\n",
+ "comments": "",
+ "x": 1557,
+ "y": 1301,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "5b41a4d9.9a6094",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 589,
+ "y": 826,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "f656773c.1942a"
+ ]
+ ]
+ },
+ {
+ "id": "4ee85384.52e0fc",
+ "type": "switchNode",
+ "name": "switch payload_length",
+ "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1587,
+ "y": 1250,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "4707dd6b.5ca8dc",
+ "b4417e84.e898c8"
+ ]
+ ]
+ },
+ {
+ "id": "4707dd6b.5ca8dc",
+ "type": "outcome",
+ "name": "true",
+ "xml": "<outcome value='true'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1802,
+ "y": 1182,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b4417e84.e898c8",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1811,
+ "y": 1301,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "c7550dfb.7c233"
+ ]
+ ]
+ },
+ {
+ "id": "2a15b80c.c3724",
+ "type": "switchNode",
+ "name": "switch: model info == NULL",
+ "xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.vf-module-label == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 404.2856979370117,
+ "y": 583.8571634292603,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "3343905.7d2db7"
+ ]
+ ]
+ },
+ {
+ "id": "b7aa9106.9bd0c8",
+ "type": "get-resource",
+ "name": "get VF_MODEL.sdnc_model_name",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT * from VF_MODEL WHERE customization_uuid = $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-model'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1082.4285278320312,
+ "y": 584.7142745256424,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "7239169c.68f35",
+ "d4787498.b5b308"
+ ]
+ ]
+ },
+ {
+ "id": "7239169c.68f35",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1325.6427459716797,
+ "y": 585.0951337814331,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "403c103e.67045"
+ ]
+ ]
+ },
+ {
+ "id": "403c103e.67045",
+ "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 reading VF_MODEL table\" />\n",
+ "comments": "",
+ "x": 1506.6427268981934,
+ "y": 585.2380409240723,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "feba8980.827e58",
+ "type": "get-resource",
+ "name": "get VF_MODULE_MODEL.vf-module-label",
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n key='SELECT vf_module_label from VF_MODULE_MODEL WHERE vf_customization_uuid = $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n pfx='db1.vf-module-model'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1106.380844116211,
+ "y": 674.8095637559891,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "9cd72e61.04e98",
+ "53281c4d.8fc69c"
+ ]
+ ]
+ },
+ {
+ "id": "9cd72e61.04e98",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1385.1664276123047,
+ "y": 675.1903877258301,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "5e04ead0.dcafdc"
+ ]
+ ]
+ },
+ {
+ "id": "5e04ead0.dcafdc",
+ "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 reading VF_MODULE_MODEL table\" />\n",
+ "comments": "",
+ "x": 1560.166358947754,
+ "y": 675.333288192749,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "53281c4d.8fc69c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1390.380874633789,
+ "y": 722.0952731370926,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "a6aee77a.fe795"
+ ]
+ ]
+ },
+ {
+ "id": "5ca9b35e.48b424",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 791.2380218505859,
+ "y": 584.0952693223953,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "b7aa9106.9bd0c8",
+ "feba8980.827e58"
+ ]
+ ]
+ },
+ {
+ "id": "9facc6ca.2e06a",
+ "type": "set",
+ "name": "set sdnc-model-name, sdnc-model-version",
+ "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$db1.vf-model.sdnc-model-name`' />\n<parameter name='tmp.sdnc-model-version' value='`$db1.vf-model.sdnc-model-version`' />\n\n\n\n",
+ "comments": "",
+ "x": 1602.4285888671875,
+ "y": 627.7143096923828,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "d4787498.b5b308",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.0000610351562,
+ "y": 627.9999847412109,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "9facc6ca.2e06a"
+ ]
+ ]
+ },
+ {
+ "id": "a6aee77a.fe795",
+ "type": "set",
+ "name": "set vf-module-label",
+ "xml": "<set>\n<parameter name='tmp.vf-module-label' value='`$db1.vf-module-model.vf-module-label`' />\n\n\n\n",
+ "comments": "",
+ "x": 1658.5714111328125,
+ "y": 722.4286041259766,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ },
+ {
+ "id": "4fe60d9.7cf3174",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2157,
+ "y": 1300,
+ "z": "ef8bfa93.df0a88",
+ "wires": [
+ [
+ "f16717f0.87dca",
+ "a2fc5423.e959a"
+ ]
+ ]
+ },
+ {
+ "id": "a2fc5423.e959a",
+ "type": "set",
+ "name": "set length",
+ "xml": "<set>\n\t<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[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n\t<parameter name='num' value='`$num + 1`' />\n",
+ "comments": "",
+ "x": 2388,
+ "y": 1373,
+ "z": "ef8bfa93.df0a88",
+ "wires": []
+ }
+] \ No newline at end of file