Mapping based RA Processing
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
index bfce76d..bd19efd 100644 (file)
@@ -1,1173 +1 @@
-[
-    {
-        "id": "62b4ac2.a95e9d4",
-        "type": "dgstart",
-        "name": "DGSTART",
-        "outputs": 1,
-        "x": 103,
-        "y": 69,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "391f2cc4.ebd754"
-            ]
-        ]
-    },
-    {
-        "id": "391f2cc4.ebd754",
-        "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": 379,
-        "y": 70,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "90a983eb.65fd9"
-            ]
-        ]
-    },
-    {
-        "id": "90a983eb.65fd9",
-        "type": "method",
-        "name": "self-serve-vfmodule-ra-assignment",
-        "xml": "<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 730,
-        "y": 70,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "f81932d4.e701e"
-            ]
-        ]
-    },
-    {
-        "id": "f81932d4.e701e",
-        "type": "block",
-        "name": "block atomic",
-        "xml": "<block atomic=\"true\">\n",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 115.5,
-        "y": 152,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "15b6f898.c038a7",
-                "75ce745c.c90274",
-                "2178fdaa.9f4722",
-                "41638aa2.6a574c",
-                "7f7fcb9e.5c0444",
-                "eb354f8e.b9f91",
-                "b3fed148.ab4d6",
-                "82beaa2.c0b24d8",
-                "5224ef9f.f95998",
-                "f02efea4.67e1a8",
-                "fc28f089.d04e38",
-                "a7a9673d.8c8648",
-                "6f10c8a6.d01ab",
-                "f4313dca.a2ef98",
-                "6ddd33ca.15d1fc"
-            ]
-        ]
-    },
-    {
-        "id": "75ce745c.c90274",
-        "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\"/> \n   <parameter name=\"responsePrefix\" value=\"raAssign\" />\n",
-        "comments": "",
-        "x": 300,
-        "y": 198,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "730e137.b92b2ec",
-        "type": "outcome",
-        "name": "true",
-        "xml": "<outcome value='true'>",
-        "comments": "",
-        "outputs": 1,
-        "x": 576.2142486572266,
-        "y": 550.4642963409424,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "69655b75.0e578c"
-            ]
-        ]
-    },
-    {
-        "id": "41638aa2.6a574c",
-        "type": "for",
-        "name": "for vf-module-topology-operation-input",
-        "xml": "<for silentFailure='true' index='i' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >",
-        "comments": "",
-        "outputs": 1,
-        "x": 399.71431732177734,
-        "y": 415.7143135070801,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "f207181d.dc00e8"
-            ]
-        ]
-    },
-    {
-        "id": "984d45d2.2050e8",
-        "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": 1146.428565979004,
-        "y": 348.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "a40d4738.46ee6",
-        "type": "outcome",
-        "name": "sdnc_model_name",
-        "xml": "<outcome value='sdnc_model_name'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 892.4285659790039,
-        "y": 348.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "984d45d2.2050e8"
-            ]
-        ]
-    },
-    {
-        "id": "f207181d.dc00e8",
-        "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": 654.4285659790039,
-        "y": 415.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "a40d4738.46ee6",
-                "6b0ee766.140a",
-                "88e9a62a.e66e",
-                "21483ce9.b05d14"
-            ]
-        ]
-    },
-    {
-        "id": "6b0ee766.140a",
-        "type": "outcome",
-        "name": "sdnc_model_version",
-        "xml": "<outcome value='sdnc_model_version'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 895.4285659790039,
-        "y": 394.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "88addd0a.9ca868"
-            ]
-        ]
-    },
-    {
-        "id": "88e9a62a.e66e",
-        "type": "outcome",
-        "name": "vf_module_label",
-        "xml": "<outcome value='vf_module_label'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 880.4285659790039,
-        "y": 443.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "b46339a.f490748"
-            ]
-        ]
-    },
-    {
-        "id": "88addd0a.9ca868",
-        "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": 1150.428565979004,
-        "y": 394.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "b46339a.f490748",
-        "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": 1132.428565979004,
-        "y": 443.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "7a186b3.6673414",
-        "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": 1150.428565979004,
-        "y": 494.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "21483ce9.b05d14",
-        "type": "outcome",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 852.4285659790039,
-        "y": 494.1428813934326,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "7a186b3.6673414"
-            ]
-        ]
-    },
-    {
-        "id": "7f7fcb9e.5c0444",
-        "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": 371,
-        "y": 708,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "eb354f8e.b9f91",
-        "type": "execute",
-        "name": "execute BlueprintProcessingClient",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.grpc.cds.BlueprintProcessingClient' method='sendRequest' >\n     <parameter name='blueprint_name' value='`$tmp.sdnc-model-name`' />\n     <parameter name='blueprint_version' value='`$tmp.sdnc-model-version`' />\n     <parameter name='action' value='`$action-name`' />\n     <parameter name='mode' value='sync' />\n     <parameter name='force' value='false' />\n     <parameter name='ttl' value='0' />\n     <parameter name='prefix' value='`$responsePrefix`' />\n     <parameter name='payload' value=\"`'{\n  &quot;resource-assignment-request&quot;: {\n    &quot;template-prefix&quot;: [\n      &quot;' + $tmp.vf-module-label + '&quot;\n    ],\n    &quot;resource-assignment-properties&quot;: \n        ' + $tmp.config-name-value-payload91 + '\n  }\n}'`\"/>",
-        "comments": "",
-        "outputs": 1,
-        "x": 385.33331298828125,
-        "y": 885,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "5c78e84c.ba8ec",
-                "27108109.bca146"
-            ]
-        ]
-    },
-    {
-        "id": "5c78e84c.ba8ec",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 609.3333129882812,
-        "y": 851,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "37ca0be9.afa37c"
-            ]
-        ]
-    },
-    {
-        "id": "37ca0be9.afa37c",
-        "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": 807.3333129882812,
-        "y": 851,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "82beaa2.c0b24d8",
-        "type": "for",
-        "name": "for resource-accumulator-resolved-data loop",
-        "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.resource-accumulator-resolved-data_length`' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 418.00001525878906,
-        "y": 1153.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "371f7985.57bd16"
-            ]
-        ]
-    },
-    {
-        "id": "ea488b64.0cb308",
-        "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='`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='RA Resolved'/>\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='SUCCESS'/>\n\n",
-        "comments": "",
-        "x": 1632.000015258789,
-        "y": 1204.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "5224ef9f.f95998",
-        "type": "for",
-        "name": "for capability-data",
-        "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 337.00001525878906,
-        "y": 1416.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "180834f4.0223fb"
-            ]
-        ]
-    },
-    {
-        "id": "180834f4.0223fb",
-        "type": "for",
-        "name": "for key-mapping",
-        "xml": "<for silentFailure='true' index='j' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping_length`' >",
-        "comments": "",
-        "outputs": 1,
-        "x": 560.0000152587891,
-        "y": 1416.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "90054e48.e44a1"
-            ]
-        ]
-    },
-    {
-        "id": "b3fed148.ab4d6",
-        "type": "execute",
-        "name": "execute jsonStringToCtx",
-        "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-params.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 362.00001525878906,
-        "y": 1074.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "15b6f898.c038a7",
-        "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": 345,
-        "y": 152,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "7e9fde22.d0f5"
-            ]
-        ]
-    },
-    {
-        "id": "7e9fde22.d0f5",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 550,
-        "y": 152,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "1e729d78.2afb63"
-            ]
-        ]
-    },
-    {
-        "id": "1e729d78.2afb63",
-        "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": 714,
-        "y": 151,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "921c6908.5a7c6",
-        "type": "for",
-        "name": "for vnf-parameters-data.param",
-        "xml": "<for silentFailure='true' 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": 1391.000015258789,
-        "y": 1153.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "4ba8e978.428598"
-            ]
-        ]
-    },
-    {
-        "id": "371f7985.57bd16",
-        "type": "block",
-        "name": "block atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 697.0000152587891,
-        "y": 1154.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "daec1228.174c78",
-                "11c1115b.0b9dcf",
-                "b6fa1afb.0b0068"
-            ]
-        ]
-    },
-    {
-        "id": "2178fdaa.9f4722",
-        "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": 417,
-        "y": 253,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "2f8ba0ac.8cb83",
-                "585f5e92.feaf28"
-            ]
-        ]
-    },
-    {
-        "id": "2f8ba0ac.8cb83",
-        "type": "outcome",
-        "name": "null",
-        "xml": "<outcome value=''>",
-        "comments": "",
-        "outputs": 1,
-        "x": 680.1428833007812,
-        "y": 220.85715293884277,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "95452a78.4cd6e8"
-            ]
-        ]
-    },
-    {
-        "id": "585f5e92.feaf28",
-        "type": "other",
-        "name": "other",
-        "xml": "<outcome value='Other'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 679.1428833007812,
-        "y": 284.8571529388428,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "274ba7d4.2752e"
-            ]
-        ]
-    },
-    {
-        "id": "95452a78.4cd6e8",
-        "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": 893.1428833007812,
-        "y": 220.85715293884277,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "274ba7d4.2752e",
-        "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": 878.1428833007812,
-        "y": 284.8571529388428,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "4ba8e978.428598",
-        "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": 1649.000015258789,
-        "y": 1153.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "51567492.7ec0ac"
-            ]
-        ]
-    },
-    {
-        "id": "51567492.7ec0ac",
-        "type": "not-found",
-        "name": "true",
-        "xml": "<outcome value='true'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1829.000015258789,
-        "y": 1153.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "c1a41bbc.f5855"
-            ]
-        ]
-    },
-    {
-        "id": "c1a41bbc.f5855",
-        "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": 2039.000015258789,
-        "y": 1154.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "b6fa1afb.0b0068",
-        "type": "switchNode",
-        "name": "switch tmp.mso.param.not-found",
-        "xml": "<switch test='`$tmp.mso.param.found`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 939.0000152587891,
-        "y": 1206.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "13042a91.1fbf7d"
-            ]
-        ]
-    },
-    {
-        "id": "13042a91.1fbf7d",
-        "type": "not-found",
-        "name": "false",
-        "xml": "<outcome value='false'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1173.000015258789,
-        "y": 1205.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "c99ccd6c.b70598"
-            ]
-        ]
-    },
-    {
-        "id": "daec1228.174c78",
-        "type": "set",
-        "name": "set for existing param name",
-        "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
-        "comments": "",
-        "x": 923.0000152587891,
-        "y": 1095.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "11c1115b.0b9dcf",
-        "type": "switchNode",
-        "name": "switch check length > 0",
-        "xml": "<switch test='`$prehighnum &gt; 0`'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 915.5000152587891,
-        "y": 1154.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "13d6175.5719969"
-            ]
-        ]
-    },
-    {
-        "id": "13d6175.5719969",
-        "type": "not-found",
-        "name": "true",
-        "xml": "<outcome value='true'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1162.500015258789,
-        "y": 1154.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "921c6908.5a7c6"
-            ]
-        ]
-    },
-    {
-        "id": "402f5e16.17318",
-        "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": 1609.000015258789,
-        "y": 1468.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "5766e1da.218b68"
-            ]
-        ]
-    },
-    {
-        "id": "462cc35.3e8b9bc",
-        "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": 2008.000015258789,
-        "y": 1409.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "ae8db4d3.4b4a48",
-        "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'/>\n<parameter name='num' value='0' />",
-        "comments": "",
-        "x": 1187.000015258789,
-        "y": 1370.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "90054e48.e44a1",
-        "type": "for",
-        "name": "for output-key-mapping",
-        "xml": "<for silentFailure='true' index='l' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping_length`' >",
-        "comments": "",
-        "outputs": 1,
-        "x": 795.0000152587891,
-        "y": 1417.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "5a70cf94.1278d8"
-            ]
-        ]
-    },
-    {
-        "id": "5a70cf94.1278d8",
-        "type": "block",
-        "name": "block atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "false",
-        "comments": "",
-        "outputs": 1,
-        "x": 990.0000152587891,
-        "y": 1416.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "ae8db4d3.4b4a48",
-                "914a95fd.27e4",
-                "74ac5a29.666eac",
-                "5d5538e1.f0339"
-            ]
-        ]
-    },
-    {
-        "id": "74ac5a29.666eac",
-        "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\n",
-        "comments": "",
-        "x": 1186.000015258789,
-        "y": 1468.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "27108109.bca146",
-        "type": "failure",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 614.3333129882812,
-        "y": 913,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "37ca0be9.afa37c"
-            ]
-        ]
-    },
-    {
-        "id": "914a95fd.27e4",
-        "type": "switchNode",
-        "name": "switch payload_length",
-        "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1216.000015258789,
-        "y": 1417.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "e7579cfd.79cf",
-                "53b912f8.bc8e44"
-            ]
-        ]
-    },
-    {
-        "id": "e7579cfd.79cf",
-        "type": "outcome",
-        "name": "true",
-        "xml": "<outcome value='true'>",
-        "comments": "",
-        "outputs": 1,
-        "x": 1431.000015258789,
-        "y": 1349.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "53b912f8.bc8e44",
-        "type": "other",
-        "name": "false",
-        "xml": "<outcome value='false'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1440.000015258789,
-        "y": 1468.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "402f5e16.17318"
-            ]
-        ]
-    },
-    {
-        "id": "f02efea4.67e1a8",
-        "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": 364.78570556640625,
-        "y": 550.6071863174438,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "730e137.b92b2ec"
-            ]
-        ]
-    },
-    {
-        "id": "210411fd.9339ae",
-        "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": 1042.9285354614258,
-        "y": 551.464297413826,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "1dda43f0.78a6ec",
-                "17ee1b83.1900bc",
-                "436821fa.6b6638"
-            ]
-        ]
-    },
-    {
-        "id": "1dda43f0.78a6ec",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1286.1427536010742,
-        "y": 551.8451566696167,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "13103a3.51f8ec6"
-            ]
-        ]
-    },
-    {
-        "id": "13103a3.51f8ec6",
-        "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": 1467.142734527588,
-        "y": 551.9880638122559,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "dc45b20d.a2471",
-        "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 customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid \n  \tAND vf_module_label is not null'\n  pfx='db1.vf-module-model'>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1064.380874633789,
-        "y": 680.3095798492432,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "49f2443a.7a2f84",
-                "1553ab7a.9ccd2d",
-                "f60a2de7.b86a"
-            ]
-        ]
-    },
-    {
-        "id": "49f2443a.7a2f84",
-        "type": "failure",
-        "name": "failure",
-        "xml": "<outcome value='failure'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1343.1664581298828,
-        "y": 680.6904038190842,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "696c0378.dceeec"
-            ]
-        ]
-    },
-    {
-        "id": "696c0378.dceeec",
-        "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": 1518.166389465332,
-        "y": 680.8333042860031,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "1553ab7a.9ccd2d",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1353.3808822631836,
-        "y": 760.095287322998,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "2b1bf028.83d6c"
-            ]
-        ]
-    },
-    {
-        "id": "69655b75.0e578c",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic=\"true\">",
-        "atomic": "true",
-        "outputs": 1,
-        "x": 751.7380294799805,
-        "y": 550.8452922105789,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "210411fd.9339ae",
-                "dc45b20d.a2471"
-            ]
-        ]
-    },
-    {
-        "id": "e9acfce8.8fe6e",
-        "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": 1565.42866897583,
-        "y": 631.964334487915,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "17ee1b83.1900bc",
-        "type": "success",
-        "name": "success",
-        "xml": "<outcome value='success'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1294.0001411437988,
-        "y": 632.2500095367432,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "e9acfce8.8fe6e"
-            ]
-        ]
-    },
-    {
-        "id": "2b1bf028.83d6c",
-        "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": 1557.821434020996,
-        "y": 761.6786003112793,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "5766e1da.218b68",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 1786.000015258789,
-        "y": 1467.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "462cc35.3e8b9bc",
-                "8649e6f6.ce9d2",
-                "7fb45245.33dda4"
-            ]
-        ]
-    },
-    {
-        "id": "8649e6f6.ce9d2",
-        "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",
-        "comments": "",
-        "x": 1997.000015258789,
-        "y": 1467.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "436821fa.6b6638",
-        "type": "not-found",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1296.7500190734863,
-        "y": 591.5000076293945,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "37a1e85c.528b7"
-            ]
-        ]
-    },
-    {
-        "id": "37a1e85c.528b7",
-        "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=\"`'No VF_MODEL found with customization_uuid = ' + $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />",
-        "comments": "",
-        "x": 1468.0000228881836,
-        "y": 590.2500085830688,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "f60a2de7.b86a",
-        "type": "not-found",
-        "name": "not-found",
-        "xml": "<outcome value='not-found'>\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 1354.25,
-        "y": 721.5,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "94027915.4b59b"
-            ]
-        ]
-    },
-    {
-        "id": "94027915.4b59b",
-        "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=\"`'vf_module_label not found in VF_MODULE_MODEL WHERE customization_uuid = ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />",
-        "comments": "",
-        "x": 1525.5000038146973,
-        "y": 720.2500009536743,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "7fb45245.33dda4",
-        "type": "set",
-        "name": "increment length",
-        "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
-        "comments": "",
-        "x": 2010.000015258789,
-        "y": 1533.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "5d5538e1.f0339",
-        "type": "set",
-        "name": "increment length",
-        "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
-        "comments": "",
-        "x": 1203.000015258789,
-        "y": 1539.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "b8f5425b.1922c",
-        "type": "set",
-        "name": "increment length",
-        "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
-        "comments": "",
-        "x": 1550.000015258789,
-        "y": 1264.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "c99ccd6c.b70598",
-        "type": "block",
-        "name": "block : atomic",
-        "xml": "<block atomic='true'>",
-        "atomic": "true",
-        "comments": "",
-        "outputs": 1,
-        "x": 1344.000015258789,
-        "y": 1204.3333473205566,
-        "z": "25457e3a.564dda",
-        "wires": [
-            [
-                "ea488b64.0cb308",
-                "b8f5425b.1922c"
-            ]
-        ]
-    },
-    {
-        "id": "fc28f089.d04e38",
-        "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=\"BEFORE BlueprintProcessingClient\"/>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 309.6666603088379,
-        "y": 814.0000104904175,
-        "z": "25457e3a.564dda",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "a7a9673d.8c8648",
-        "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=\"AFTER BlueprintProcessingClient\"/>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 306.3333282470703,
-        "y": 969.000018119812,
-        "z": "25457e3a.564dda",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "f4313dca.a2ef98",
-        "type": "execute",
-        "name": "printContext",
-        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 319.25,
-        "y": 1691.5000133514404,
-        "z": "25457e3a.564dda",
-        "wires": [
-            []
-        ]
-    },
-    {
-        "id": "6f10c8a6.d01ab",
-        "type": "set",
-        "name": "set pathname",
-        "xml": "<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vfmodule-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n",
-        "comments": "",
-        "x": 325.5,
-        "y": 1639.0000114440918,
-        "z": "25457e3a.564dda",
-        "wires": []
-    },
-    {
-        "id": "6ddd33ca.15d1fc",
-        "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=\"DONE: vfmodule-ra-assignment\"/>\n\n",
-        "comments": "",
-        "outputs": 1,
-        "x": 304.00000381469727,
-        "y": 1590.2500190734863,
-        "z": "25457e3a.564dda",
-        "wires": [
-            []
-        ]
-    }
-]
\ No newline at end of file
+[{"id":"4dffc60d.5bd808","type":"dgstart","name":"DGSTART","outputs":1,"x":141.42858123779297,"y":65.71432209014893,"z":"f6902f40.5e19","wires":[["91c8160.4dcc1e8"]]},{"id":"91c8160.4dcc1e8","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":417.42858123779297,"y":66.71432209014893,"z":"f6902f40.5e19","wires":[["14bf1d36.3d8cf3"]]},{"id":"14bf1d36.3d8cf3","type":"method","name":"self-serve-vfmodule-ra-assignment","xml":"<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":768.428581237793,"y":66.71432209014893,"z":"f6902f40.5e19","wires":[["39968a5c.ccc976"]]},{"id":"39968a5c.ccc976","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":153.92858123779297,"y":148.71432209014893,"z":"f6902f40.5e19","wires":[["7254b5cc.b6e2cc","1459f827.386618","82877888.a7fc38","9a591dc8.409ea","91c376dc.43b9f8","6fdb941c.28348c","e0d9e606.a1f3b8","a7fb3dc8.82b7b","2433b69e.9dac5a","421c7868.35b668","5a748f0d.33a49","1ffabdff.2624f2","247751ca.46435e","ca7fe006.4ef63","d2ce5f51.17499"]]},{"id":"1459f827.386618","type":"set","name":"set","xml":"<set>\n   <parameter name=\"cds\" value=\"execution-service_process.\"/>\n   <parameter name=\"`$cds + 'commonHeader.requestId'`\" 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=\"`$cds + 'commonHeader.subRequestId'`\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />   \n   <parameter name=\"`$cds + 'actionIdentifiers.actionName'`\" value=\"resource-assignment\"/> \n   <parameter name=\"responsePrefix\" value=\"raAssign\" />\n   <parameter name=\"`$cds + 'isNonAppend'`\" value=\"true\"/>\n   <parameter name=\"`$cds + 'commonHeader.originatorId'`\" value=\"SDNC_DG\"/>\n   <parameter name=\"`$cds + 'actionIdentifiers.mode'`\" value=\"sync\"/>\n","comments":"","x":348.7142639160156,"y":214.57146644592285,"z":"f6902f40.5e19","wires":[]},{"id":"d601ca0a.4083b8","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":643.2142333984375,"y":761.4642413854599,"z":"f6902f40.5e19","wires":[["427cc999.3bd468"]]},{"id":"9a591dc8.409ea","type":"for","name":"for vf-module-topology-operation-input","xml":"<for silentFailure='true' index='i' start='0' end='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`' >","comments":"","outputs":1,"x":466.7143859863281,"y":458.14292430877686,"z":"f6902f40.5e19","wires":[["dfdf3542.d43a68"]]},{"id":"cf936a79.960488","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":1213.4286346435547,"y":390.5714921951294,"z":"f6902f40.5e19","wires":[]},{"id":"163793cb.859cfc","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":959.4286346435547,"y":390.5714921951294,"z":"f6902f40.5e19","wires":[["cf936a79.960488"]]},{"id":"dfdf3542.d43a68","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":721.4286346435547,"y":457.5714921951294,"z":"f6902f40.5e19","wires":[["163793cb.859cfc","b400f633.2e5378","da04e9fd.4674f8","177a5191.74c57e"]]},{"id":"b400f633.2e5378","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":962.4286346435547,"y":436.5714921951294,"z":"f6902f40.5e19","wires":[["7ebb83ae.d475ac"]]},{"id":"da04e9fd.4674f8","type":"outcome","name":"vf_module_label","xml":"<outcome value='vf_module_label'>\n","comments":"","outputs":1,"x":947.4286346435547,"y":485.5714921951294,"z":"f6902f40.5e19","wires":[["12118326.66feed"]]},{"id":"7ebb83ae.d475ac","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":1217.4286346435547,"y":436.5714921951294,"z":"f6902f40.5e19","wires":[]},{"id":"12118326.66feed","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":1199.4286346435547,"y":485.5714921951294,"z":"f6902f40.5e19","wires":[]},{"id":"efbc62cb.48e09","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":1217.4286346435547,"y":536.5714921951294,"z":"f6902f40.5e19","wires":[]},{"id":"177a5191.74c57e","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":919.4286346435547,"y":536.5714921951294,"z":"f6902f40.5e19","wires":[["efbc62cb.48e09"]]},{"id":"91c376dc.43b9f8","type":"set","name":"set configAssignment JsonString","xml":"<set>\n<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<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<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<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<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<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;'`\"/>","comments":"","x":443.00003814697266,"y":973.7143392562866,"z":"f6902f40.5e19","wires":[]},{"id":"6fdb941c.28348c","type":"execute","name":"execute BlueprintProcessingClient","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value=\"`$prop.cds.url + '/api/v1/execution-service/process'`\" />\n    <parameter name='restapiUser' value='`$prop.cds.user`' />\n    <parameter name='restapiPassword' value='`$prop.cds.pwd`' />\n    <parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name=\"responsePrefix\" value=\"`$responsePrefix`\" />","comments":"","outputs":1,"x":445.1904296875,"y":1143.7142820358276,"z":"f6902f40.5e19","wires":[["594be503.f419ac","3419422c.24830e"]]},{"id":"594be503.f419ac","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":687.7618255615234,"y":1112.571475982666,"z":"f6902f40.5e19","wires":[["8edb7744.b6b238"]]},{"id":"8edb7744.b6b238","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":861.4760818481445,"y":1141.1429405212402,"z":"f6902f40.5e19","wires":[]},{"id":"e0d9e606.a1f3b8","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":406.1428985595703,"y":1297.3333320617676,"z":"f6902f40.5e19","wires":[[]]},{"id":"7254b5cc.b6e2cc","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":403.4285659790039,"y":149.14289474487305,"z":"f6902f40.5e19","wires":[["e24c189a.46feb8"]]},{"id":"e24c189a.46feb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":608.4285659790039,"y":149.14289474487305,"z":"f6902f40.5e19","wires":[["39ad9c69.bcd344"]]},{"id":"39ad9c69.bcd344","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":772.4285659790039,"y":149.14289474487305,"z":"f6902f40.5e19","wires":[]},{"id":"82877888.a7fc38","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":472.5714340209961,"y":294.00005435943604,"z":"f6902f40.5e19","wires":[["98f386c5.e8bba8","c4516b65.17aaa8"]]},{"id":"98f386c5.e8bba8","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":735.7143173217773,"y":261.8572072982788,"z":"f6902f40.5e19","wires":[["e77b3d83.fde56"]]},{"id":"c4516b65.17aaa8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":734.7143173217773,"y":325.8572072982788,"z":"f6902f40.5e19","wires":[["3a943829.dea268"]]},{"id":"e77b3d83.fde56","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":948.7143173217773,"y":261.8572072982788,"z":"f6902f40.5e19","wires":[]},{"id":"3a943829.dea268","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":933.7143173217773,"y":325.8572072982788,"z":"f6902f40.5e19","wires":[]},{"id":"3419422c.24830e","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":692.7618255615234,"y":1174.571475982666,"z":"f6902f40.5e19","wires":[["8edb7744.b6b238"]]},{"id":"a7fb3dc8.82b7b","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":431.7856903076172,"y":761.6071313619614,"z":"f6902f40.5e19","wires":[["d601ca0a.4083b8"]]},{"id":"5ac8e4a2.4d4cdc","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":1115.6427459716797,"y":673.8927841186523,"z":"f6902f40.5e19","wires":[["ab0217f0.3c09f8","d436a8eb.310f58","54a1f6ba.ddb6e8"]]},{"id":"ab0217f0.3c09f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1357.999885559082,"y":623.416501045227,"z":"f6902f40.5e19","wires":[["8de303f.6eea6"]]},{"id":"8de303f.6eea6","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":1538.9998664855957,"y":623.5594081878662,"z":"f6902f40.5e19","wires":[]},{"id":"3aadcdf.ea01932","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 customization_uuid = $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid \n  \tAND vf_module_label is not null'\n  pfx='db1.vf-module-model'>\n\n","comments":"","outputs":1,"x":1137.0950012207031,"y":847.0239028334618,"z":"f6902f40.5e19","wires":[["2f50f1a3.c9e7be","226785b2.b6bb5a","bc50ef9a.ee4a9"]]},{"id":"2f50f1a3.c9e7be","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1418.7377166748047,"y":794.1189783215523,"z":"f6902f40.5e19","wires":[["999b5358.3c004"]]},{"id":"999b5358.3c004","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":1593.737648010254,"y":794.2618787884712,"z":"f6902f40.5e19","wires":[]},{"id":"226785b2.b6bb5a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1428.9521751403809,"y":896.3810014128685,"z":"f6902f40.5e19","wires":[["596dce00.574df4"]]},{"id":"427cc999.3bd468","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":818.7380142211914,"y":761.8452372550964,"z":"f6902f40.5e19","wires":[["5ac8e4a2.4d4cdc","3aadcdf.ea01932"]]},{"id":"79398b4d.f2cf44","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":1639.571548461914,"y":721.5356760025024,"z":"f6902f40.5e19","wires":[]},{"id":"d436a8eb.310f58","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1366.1430206298828,"y":721.8213510513306,"z":"f6902f40.5e19","wires":[["79398b4d.f2cf44"]]},{"id":"596dce00.574df4","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":1622.3927268981934,"y":895.9643144011497,"z":"f6902f40.5e19","wires":[]},{"id":"54a1f6ba.ddb6e8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1370.8929252624512,"y":673.928524017334,"z":"f6902f40.5e19","wires":[["de68ea72.16eda8"]]},{"id":"de68ea72.16eda8","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=\"`'No VF_MODEL found with customization_uuid = ' + $vf-module-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\" />","comments":"","x":1542.1429290771484,"y":673.6785249710083,"z":"f6902f40.5e19","wires":[]},{"id":"bc50ef9a.ee4a9","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1429.8212661743164,"y":845.928583085537,"z":"f6902f40.5e19","wires":[["6713d4f5.791f4c"]]},{"id":"6713d4f5.791f4c","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=\"`'vf_module_label not found in VF_MODULE_MODEL WHERE customization_uuid = ' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`\" />","comments":"","x":1601.0712699890137,"y":845.6785840392113,"z":"f6902f40.5e19","wires":[]},{"id":"2433b69e.9dac5a","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=\"BEFORE BlueprintProcessingClient\"/>\n\n","comments":"","outputs":1,"x":351.5714530944824,"y":1077.999945640564,"z":"f6902f40.5e19","wires":[[]]},{"id":"421c7868.35b668","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=\"AFTER BlueprintProcessingClient\"/>\n\n","comments":"","outputs":1,"x":347.6190185546875,"y":1234.8571891784668,"z":"f6902f40.5e19","wires":[[]]},{"id":"1ffabdff.2624f2","type":"execute","name":"printContext","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n","comments":"","outputs":1,"x":364.8214416503906,"y":1608.2144298553467,"z":"f6902f40.5e19","wires":[[]]},{"id":"5a748f0d.33a49","type":"set","name":"set pathname","xml":"<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vfmodule-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.vf-module-id + '.log'`\" />\n","comments":"","x":366.78575897216797,"y":1541.4286289215088,"z":"f6902f40.5e19","wires":[]},{"id":"247751ca.46435e","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=\"DONE: vfmodule-ra-assignment\"/>\n\n","comments":"","outputs":1,"x":342.42859649658203,"y":1474.1070833206177,"z":"f6902f40.5e19","wires":[[]]},{"id":"ca7fe006.4ef63","type":"set","name":"set updateJsonPayload","xml":"<set>\n\t<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload9 + '}'`\" />\n    <parameter name=\"`$cds + 'actionIdentifiers.blueprintName'`\" value='`$tmp.sdnc-model-name`' />\n    <parameter name=\"`$cds + 'actionIdentifiers.blueprintVersion'`\" value='`$tmp.sdnc-model-version`' />\n    <parameter name=\"`$cds + 'payload.resource-assignment-request.template-prefix[0]'`\" value='`$tmp.vf-module-label`' />\n    <parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />","comments":"","x":409.7143096923828,"y":1029.4286937713623,"z":"f6902f40.5e19","wires":[]},{"id":"d2ce5f51.17499","type":"switchNode","name":"switch: jsonContextPrefix.resource-accumulator-resolved-data_length","xml":"<switch test=\"`$jsonContextPrefix.resource-accumulator-resolved-data_length`\">\n","comments":"","outputs":1,"x":564.2857055664062,"y":1372.8572034835815,"z":"f6902f40.5e19","wires":[["e5c38409.014558","6a1d4cbd.e5e004"]]},{"id":"e5c38409.014558","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":932.0634460449219,"y":1348.4127197265625,"z":"f6902f40.5e19","wires":[["1798f3ad.219efc"]]},{"id":"4a6d4db3.b62444","type":"call","name":"Call self-serve-process-vfmodule-template-ra-response","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vfmodule-template-ra-response' mode='sync' >\n","comments":"","outputs":1,"x":1241.063461303711,"y":1402.3015422821045,"z":"f6902f40.5e19","wires":[[]]},{"id":"1798f3ad.219efc","type":"call","name":"Call self-serve-process-vfmodule-mapping-ra-response","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vfmodule-mapping-ra-response' mode='sync' >\n","comments":"","outputs":1,"x":1241.3968353271484,"y":1348.4127445220947,"z":"f6902f40.5e19","wires":[[]]},{"id":"6a1d4cbd.e5e004","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":931.0634307861328,"y":1401.7461185455322,"z":"f6902f40.5e19","wires":[["4a6d4db3.b62444"]]}]
\ No newline at end of file