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