Bug fix to change leaf-list in yang
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
index 416c356..61c880f 100644 (file)
@@ -1 +1,1086 @@
-[{"id":"c18dd0f9.58727","type":"dgstart","name":"DGSTART","outputs":1,"x":162.5,"y":51.25,"z":"db4d8927.c835e8","wires":[["3abf9c0.ecf0964"]]},{"id":"3abf9c0.ecf0964","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":438.5,"y":52.25,"z":"db4d8927.c835e8","wires":[["803f517d.bdb5f"]]},{"id":"803f517d.bdb5f","type":"method","name":"self-serve-vnf-ra-assignment","xml":"<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":755.5,"y":52.25,"z":"db4d8927.c835e8","wires":[["c0bfd174.8b034"]]},{"id":"c0bfd174.8b034","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":175,"y":134.25,"z":"db4d8927.c835e8","wires":[["c7d0aa3e.1f9928","4a04d1ee.9397b","e82b91b1.0943d","55af9001.e4eea","728e10ce.4b8fa","2f87ad04.767612","fa79cd52.116e9","b979210b.3162f","17e1aa24.ca45d6","6f8ac645.2ca6c8"]]},{"id":"4a04d1ee.9397b","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=\"`$vnf-topology-operation-input.vnf-information.vnf-type`\" />  \n   <parameter name=\"resource-id\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" />   \n   <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n   <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n","comments":"","x":359.5,"y":180.25,"z":"db4d8927.c835e8","wires":[]},{"id":"483ff573.75485c","type":"get-resource","name":"get-resource VF_MODEL","xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db1.vf-model'>\n  \n\n","comments":"","outputs":1,"x":899.642822265625,"y":570.5356521606445,"z":"db4d8927.c835e8","wires":[["44a38892.6019f8","ac900801.0a6828","5f77bf0b.24eac"]]},{"id":"44a38892.6019f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1144.642921447754,"y":519.8213758468628,"z":"db4d8927.c835e8","wires":[["59118b3e.35e0a4"]]},{"id":"59118b3e.35e0a4","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":1317.642921447754,"y":518.8213758468628,"z":"db4d8927.c835e8","wires":[]},{"id":"a31fbae3.b74338","type":"set","name":"set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name","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<parameter name='tmp.sdnc-artifact-name' value='`$db1.vf-model.sdnc-artifact-name`' />\n\n\n\n\n","comments":"","x":1520.0714225769043,"y":619.9641799926758,"z":"db4d8927.c835e8","wires":[]},{"id":"88b4b67c.639308","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":1319.642921447754,"y":567.8213758468628,"z":"db4d8927.c835e8","wires":[]},{"id":"728e10ce.4b8fa","type":"switchNode","name":"switch: model info == NULL","xml":"<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n","comments":"","outputs":1,"x":420.642822265625,"y":571.5356521606445,"z":"db4d8927.c835e8","wires":[["1111f129.9c72ef"]]},{"id":"ac900801.0a6828","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1150.642921447754,"y":568.8213758468628,"z":"db4d8927.c835e8","wires":[["88b4b67c.639308"]]},{"id":"1111f129.9c72ef","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":669.642822265625,"y":571.5356521606445,"z":"db4d8927.c835e8","wires":[["483ff573.75485c"]]},{"id":"55af9001.e4eea","type":"for","name":"for vnf-topology-operation-input","xml":"<for silentFailure='true' index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >","comments":"","outputs":1,"x":436.5,"y":371.25,"z":"db4d8927.c835e8","wires":[["747b461a.194698"]]},{"id":"747b461a.194698","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":658.5,"y":370.25,"z":"db4d8927.c835e8","wires":[["3389099.91489f6"]]},{"id":"4bc009a3.a11038","type":"set","name":"set tmp.sdnc-model-name","xml":"<set>\n<parameter name='tmp.sdnc-model-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n","comments":"","x":1309.5,"y":303.25,"z":"db4d8927.c835e8","wires":[]},{"id":"66cfa3a7.3ec30c","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":1055.5,"y":303.25,"z":"db4d8927.c835e8","wires":[["4bc009a3.a11038"]]},{"id":"3389099.91489f6","type":"switchNode","name":"switch","xml":"<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n\n","comments":"","outputs":1,"x":817.5,"y":370.25,"z":"db4d8927.c835e8","wires":[["66cfa3a7.3ec30c","65466864.3cce18","2e8e8f97.10fe8","4c15de05.cb106"]]},{"id":"65466864.3cce18","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":1058.5,"y":349.25,"z":"db4d8927.c835e8","wires":[["f5cfca7c.a43cd8"]]},{"id":"2e8e8f97.10fe8","type":"outcome","name":"sdnc_artifact_name","xml":"<outcome value='sdnc_artifact_name'>\n","comments":"","outputs":1,"x":1057.5,"y":398.25,"z":"db4d8927.c835e8","wires":[["785af194.60a78"]]},{"id":"f5cfca7c.a43cd8","type":"set","name":"set tmp.sdnc-model-version","xml":"<set>\n<parameter name='tmp.sdnc-model-version' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n","comments":"","x":1313.5,"y":349.25,"z":"db4d8927.c835e8","wires":[]},{"id":"785af194.60a78","type":"set","name":"set tmp.sdnc-artifact-name","xml":"<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n","comments":"","x":1309.5,"y":398.25,"z":"db4d8927.c835e8","wires":[]},{"id":"968b75d6.3b3088","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;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n","comments":"","x":1325.5,"y":447.25,"z":"db4d8927.c835e8","wires":[]},{"id":"4c15de05.cb106","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1017.5000076293945,"y":447.82142066955566,"z":"db4d8927.c835e8","wires":[["968b75d6.3b3088"]]},{"id":"2f87ad04.767612","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;' + $vnf-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-model-customization-uuid&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vnf-id&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '&quot;'`\"/>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />","comments":"","x":430.5,"y":690.25,"z":"db4d8927.c835e8","wires":[]},{"id":"fa79cd52.116e9","type":"execute","name":"execute ConfigAssignment","xml":"<execute plugin='org.onap.ccsdk.features.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.sdnc-artifact-name + '&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.json-payload`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />","comments":"","outputs":1,"x":416.5,"y":768.25,"z":"db4d8927.c835e8","wires":[["c4675012.d86e1","c8f90b0c.1f58f8"]]},{"id":"c4675012.d86e1","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":606.5,"y":744.25,"z":"db4d8927.c835e8","wires":[["535a9f1b.05a41"]]},{"id":"535a9f1b.05a41","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":788.5,"y":765.25,"z":"db4d8927.c835e8","wires":[]},{"id":"17e1aa24.ca45d6","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":462.5,"y":927.25,"z":"db4d8927.c835e8","wires":[["ed425c46.79672"]]},{"id":"e3b9243e.f61e88","type":"set","name":"set from resource-accumulator-resolved-data","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n","comments":"","x":1692.5,"y":979.25,"z":"db4d8927.c835e8","wires":[]},{"id":"6f8ac645.2ca6c8","type":"for","name":"for capability-data","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n","comments":"","outputs":1,"x":387.5,"y":1269.25,"z":"db4d8927.c835e8","wires":[["932379f4.837008"]]},{"id":"932379f4.837008","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":596.5,"y":1269.25,"z":"db4d8927.c835e8","wires":[["58f30c1e.ac4764"]]},{"id":"b979210b.3162f","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":406.5,"y":848.25,"z":"db4d8927.c835e8","wires":[[]]},{"id":"c7d0aa3e.1f9928","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":412.5,"y":134.25,"z":"db4d8927.c835e8","wires":[["ffb9d925.f87298"]]},{"id":"ffb9d925.f87298","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":590.5,"y":132.25,"z":"db4d8927.c835e8","wires":[["2ba77212.26bd3e"]]},{"id":"2ba77212.26bd3e","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":737.5,"y":133.25,"z":"db4d8927.c835e8","wires":[]},{"id":"f891d06f.8860e","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.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1435.5,"y":927.25,"z":"db4d8927.c835e8","wires":[["587a86e4.0e79d8"]]},{"id":"ed425c46.79672","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":741.5,"y":928.25,"z":"db4d8927.c835e8","wires":[["7692076e.df85b8","a1ab3cbb.c4d6f","365588a7.3d5038"]]},{"id":"e82b91b1.0943d","type":"switchNode","name":"switch vnf-parameters-data.param_length","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n","comments":"","outputs":1,"x":464.5,"y":232.25,"z":"db4d8927.c835e8","wires":[["6e8d4097.7255e","12d19eef.fe6b91"]]},{"id":"6e8d4097.7255e","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":702.5,"y":200.25,"z":"db4d8927.c835e8","wires":[["e8a4f37a.1fbe8"]]},{"id":"12d19eef.fe6b91","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":701.5,"y":264.25,"z":"db4d8927.c835e8","wires":[["a6da2e5c.cfd95"]]},{"id":"e8a4f37a.1fbe8","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":915.5,"y":200.25,"z":"db4d8927.c835e8","wires":[]},{"id":"a6da2e5c.cfd95","type":"set","name":"set pre service param len","xml":"<set>\n   <parameter name='highnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />\n   <parameter name='prehighnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />","comments":"","x":900.5,"y":264.25,"z":"db4d8927.c835e8","wires":[]},{"id":"587a86e4.0e79d8","type":"switchNode","name":"switch input vnf-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n","comments":"","outputs":1,"x":1693.5,"y":927.25,"z":"db4d8927.c835e8","wires":[["cda698bb.e51758"]]},{"id":"cda698bb.e51758","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1873.5,"y":927.25,"z":"db4d8927.c835e8","wires":[["97361ac8.670fe8"]]},{"id":"97361ac8.670fe8","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n","comments":"","x":2083.5,"y":928.25,"z":"db4d8927.c835e8","wires":[]},{"id":"365588a7.3d5038","type":"switchNode","name":"switch tmp.mso.param.not-found","xml":"<switch test='`$tmp.mso.param.found`'>\n","comments":"","outputs":1,"x":983.5,"y":980.25,"z":"db4d8927.c835e8","wires":[["75219e31.27d9c"]]},{"id":"75219e31.27d9c","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1217.5,"y":979.25,"z":"db4d8927.c835e8","wires":[["bd8e276d.737468"]]},{"id":"7692076e.df85b8","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='tmp.mso.param.found' value='false' />\n","comments":"","x":967.5,"y":869.25,"z":"db4d8927.c835e8","wires":[]},{"id":"a1ab3cbb.c4d6f","type":"switchNode","name":"switch check length > 0","xml":"<switch test='`$prehighnum &gt; 0`'>\n","comments":"","outputs":1,"x":960,"y":928.25,"z":"db4d8927.c835e8","wires":[["a7625311.f464f"]]},{"id":"a7625311.f464f","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1207,"y":928.25,"z":"db4d8927.c835e8","wires":[["f891d06f.8860e"]]},{"id":"4fca6b77.cc19a4","type":"for","name":"for payload","xml":"<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >","comments":"","outputs":1,"x":1778.5,"y":1287.25,"z":"db4d8927.c835e8","wires":[["15ac2395.72b53c"]]},{"id":"2fff690e.8ee016","type":"set","name":"set resource-key","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\n","comments":"","x":2127.5,"y":1223.25,"z":"db4d8927.c835e8","wires":[]},{"id":"73585513.5cfe9c","type":"set","name":"set output-data ","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />","comments":"","x":1351.5,"y":1167.25,"z":"db4d8927.c835e8","wires":[]},{"id":"58f30c1e.ac4764","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":819.5,"y":1269.25,"z":"db4d8927.c835e8","wires":[["8a8a35d9.648f38"]]},{"id":"8a8a35d9.648f38","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1070.5,"y":1269.25,"z":"db4d8927.c835e8","wires":[["73585513.5cfe9c","c62d9cf0.f3cee","792fe531.556e8c","f67c7412.ed2cc8"]]},{"id":"c62d9cf0.f3cee","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n","comments":"","x":1339.5,"y":1305.25,"z":"db4d8927.c835e8","wires":[]},{"id":"c8f90b0c.1f58f8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":611.5,"y":806.25,"z":"db4d8927.c835e8","wires":[["535a9f1b.05a41"]]},{"id":"792fe531.556e8c","type":"switchNode","name":"switch payload_length","xml":"<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n","comments":"","outputs":1,"x":1375.5,"y":1238.25,"z":"db4d8927.c835e8","wires":[["ff7af5a0.70a758","d8e89357.d8aaf"]]},{"id":"ff7af5a0.70a758","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1596.5,"y":1169.25,"z":"db4d8927.c835e8","wires":[[]]},{"id":"d8e89357.d8aaf","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1603.5,"y":1287.25,"z":"db4d8927.c835e8","wires":[["4fca6b77.cc19a4"]]},{"id":"5f77bf0b.24eac","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1146.7857246398926,"y":619.8213481903076,"z":"db4d8927.c835e8","wires":[["a31fbae3.b74338"]]},{"id":"85947ffe.474d","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n","comments":"","x":2116.5,"y":1287.25,"z":"db4d8927.c835e8","wires":[]},{"id":"716be15b.8d8bc","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='num' value='`$num + 1`' />\n","comments":"","x":2134.5,"y":1361.25,"z":"db4d8927.c835e8","wires":[]},{"id":"f67c7412.ed2cc8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n","comments":"","x":1360.5,"y":1372.25,"z":"db4d8927.c835e8","wires":[]},{"id":"bd8e276d.737468","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1394.5,"y":978.25,"z":"db4d8927.c835e8","wires":[["e3b9243e.f61e88","21e7cb32.046f54"]]},{"id":"21e7cb32.046f54","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1609.5,"y":1038.25,"z":"db4d8927.c835e8","wires":[]},{"id":"15ac2395.72b53c","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1934.5,"y":1288.25,"z":"db4d8927.c835e8","wires":[["2fff690e.8ee016","85947ffe.474d","716be15b.8d8bc"]]}]
\ No newline at end of file
+[
+    {
+        "id": "1e918461.063a3c",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 125,
+        "y": 42,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "7b65fd49.93ba14"
+            ]
+        ]
+    },
+    {
+        "id": "7b65fd49.93ba14",
+        "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": 401,
+        "y": 43,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "96f203b4.cb4d1"
+            ]
+        ]
+    },
+    {
+        "id": "96f203b4.cb4d1",
+        "type": "method",
+        "name": "self-serve-vnf-ra-assignment",
+        "xml": "<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 718,
+        "y": 43,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "38f3f9c9.28a466"
+            ]
+        ]
+    },
+    {
+        "id": "38f3f9c9.28a466",
+        "type": "block",
+        "name": "block atomic",
+        "xml": "<block atomic=\"true\">\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 214.16664123535156,
+        "y": 123.33333396911621,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "5a42798d.9a03d8",
+                "94e52d4.07895d",
+                "f709c437.029758",
+                "ef8d7a.8b1ad288",
+                "bdb13e3c.e9de2",
+                "dd0c4879.786768",
+                "654c303d.bc966",
+                "41ae2337.afe27c",
+                "8e50b155.95aaa",
+                "4b3da748.094068",
+                "72e48172.d53ce",
+                "4471abbd.a27dc4",
+                "40bf0919.577208",
+                "fa837cb4.36bad",
+                "c9addd0a.302f8",
+                "d351ac36.10e8b"
+            ]
+        ]
+    },
+    {
+        "id": "94e52d4.07895d",
+        "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=\"`$vnf-topology-operation-input.vnf-information.vnf-type`\" />  \n   <parameter name=\"`$cds + 'commonHeader.subRequestId'`\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-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": 399.9166603088379,
+        "y": 168.08333015441895,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "1f52d973.dc6427",
+        "type": "get-resource",
+        "name": "get-resource VF_MODEL",
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid'\n  pfx='db1.vf-model'>\n  \n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 938.8094635009766,
+        "y": 559.6189861297607,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "ef8bd7bf.770928",
+                "785d91f7.04973",
+                "7c972f3e.f0f83"
+            ]
+        ]
+    },
+    {
+        "id": "ef8bd7bf.770928",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1183.8095626831055,
+        "y": 508.904709815979,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "a279ec52.aab4c"
+            ]
+        ]
+    },
+    {
+        "id": "a279ec52.aab4c",
+        "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": 1356.8095626831055,
+        "y": 507.904709815979,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "a6be3be4.1bdc08",
+        "type": "set",
+        "name": "set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name",
+        "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<parameter name='tmp.sdnc-artifact-name' value='`$db1.vf-model.sdnc-artifact-name`' />\n\n\n\n\n",
+        "comments": "",
+        "x": 1559.2380638122559,
+        "y": 609.047513961792,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "46a2ef10.633e8",
+        "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": 1358.8095626831055,
+        "y": 556.904709815979,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "bdb13e3c.e9de2",
+        "type": "switchNode",
+        "name": "switch: model info == NULL",
+        "xml": "<switch test=\"`$tmp.sdnc-model-name == '' or $tmp.sdnc-model-version == '' or $tmp.sdnc-artifact-name == ''`\">\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 459.80946350097656,
+        "y": 560.6189861297607,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "25045ee0.e3d5c2"
+            ]
+        ]
+    },
+    {
+        "id": "785d91f7.04973",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1189.8095626831055,
+        "y": 557.904709815979,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "46a2ef10.633e8"
+            ]
+        ]
+    },
+    {
+        "id": "25045ee0.e3d5c2",
+        "type": "outcome",
+        "name": "true",
+        "xml": "<outcome value='true'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 708.8094635009766,
+        "y": 560.6189861297607,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "1f52d973.dc6427"
+            ]
+        ]
+    },
+    {
+        "id": "ef8d7a.8b1ad288",
+        "type": "for",
+        "name": "for vnf-topology-operation-input",
+        "xml": "<for silentFailure='true' index='i' start='0' end='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 475.66664123535156,
+        "y": 360.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "51f6fdb.4dce504"
+            ]
+        ]
+    },
+    {
+        "id": "51f6fdb.4dce504",
+        "type": "block",
+        "name": "block atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 697.6666412353516,
+        "y": 359.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "58dbc6ed.e4fb78"
+            ]
+        ]
+    },
+    {
+        "id": "3eef3f7d.acf9e",
+        "type": "set",
+        "name": "set tmp.sdnc-model-name",
+        "xml": "<set>\n<parameter name='tmp.sdnc-model-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n",
+        "comments": "",
+        "x": 1348.6666412353516,
+        "y": 292.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "28936220.7676ce",
+        "type": "outcome",
+        "name": "sdnc_model_name",
+        "xml": "<outcome value='sdnc_model_name'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1094.6666412353516,
+        "y": 292.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "3eef3f7d.acf9e"
+            ]
+        ]
+    },
+    {
+        "id": "58dbc6ed.e4fb78",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name`'>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 856.6666412353516,
+        "y": 359.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "28936220.7676ce",
+                "41a51be4.e2de84",
+                "97a885a0.8b08e8",
+                "95df12c3.3ce8e"
+            ]
+        ]
+    },
+    {
+        "id": "41a51be4.e2de84",
+        "type": "outcome",
+        "name": "sdnc_model_version",
+        "xml": "<outcome value='sdnc_model_version'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1097.6666412353516,
+        "y": 338.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "50619bed.59bcf4"
+            ]
+        ]
+    },
+    {
+        "id": "97a885a0.8b08e8",
+        "type": "outcome",
+        "name": "sdnc_artifact_name",
+        "xml": "<outcome value='sdnc_artifact_name'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1096.6666412353516,
+        "y": 387.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "82133366.c0bff"
+            ]
+        ]
+    },
+    {
+        "id": "50619bed.59bcf4",
+        "type": "set",
+        "name": "set tmp.sdnc-model-version",
+        "xml": "<set>\n<parameter name='tmp.sdnc-model-version' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n",
+        "comments": "",
+        "x": 1352.6666412353516,
+        "y": 338.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "82133366.c0bff",
+        "type": "set",
+        "name": "set tmp.sdnc-artifact-name",
+        "xml": "<set>\n<parameter name='tmp.sdnc-artifact-name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value`' />\n\n",
+        "comments": "",
+        "x": 1348.6666412353516,
+        "y": 387.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "77c6656f.94e17c",
+        "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;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '&quot;,'`\"/>\n\n",
+        "comments": "",
+        "x": 1364.6666412353516,
+        "y": 436.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "95df12c3.3ce8e",
+        "type": "outcome",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1056.666648864746,
+        "y": 436.9047546386719,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "77c6656f.94e17c"
+            ]
+        ]
+    },
+    {
+        "id": "dd0c4879.786768",
+        "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;' + $vnf-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-model-customization-uuid&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '&quot;vnf-id&quot;:&quot;' + $vnf-topology-operation-input.vnf-information.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '&quot;aic-cloud-region&quot;:&quot;' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '&quot;'`\"/>\n",
+        "comments": "",
+        "x": 470,
+        "y": 620,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "654c303d.bc966",
+        "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='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n    <parameter name=\"responsePrefix\" value=\"`$responsePrefix`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 477.33331298828125,
+        "y": 834,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "d37d9ea0.c12ad",
+                "e8698b70.c431d8"
+            ]
+        ]
+    },
+    {
+        "id": "d37d9ea0.c12ad",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 717.3333129882812,
+        "y": 808,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "cb6982c3.5d096"
+            ]
+        ]
+    },
+    {
+        "id": "cb6982c3.5d096",
+        "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": 899.3333129882812,
+        "y": 829,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "8e50b155.95aaa",
+        "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": 501.66664123535156,
+        "y": 1051.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "76ae92fe.97658c"
+            ]
+        ]
+    },
+    {
+        "id": "edaf4d66.0e603",
+        "type": "set",
+        "name": "set from resource-accumulator-resolved-data",
+        "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n",
+        "comments": "",
+        "x": 1731.6666412353516,
+        "y": 1103.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "4b3da748.094068",
+        "type": "for",
+        "name": "for capability-data",
+        "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 426.66664123535156,
+        "y": 1393.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "afcca100.08442"
+            ]
+        ]
+    },
+    {
+        "id": "afcca100.08442",
+        "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": 635.6666412353516,
+        "y": 1393.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "f22e79d3.9fa598"
+            ]
+        ]
+    },
+    {
+        "id": "41ae2337.afe27c",
+        "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.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 445.66664123535156,
+        "y": 972.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5a42798d.9a03d8",
+        "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": 451.66664123535156,
+        "y": 123.33333396911621,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "90850917.831e78"
+            ]
+        ]
+    },
+    {
+        "id": "90850917.831e78",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 629.6666412353516,
+        "y": 121.33333396911621,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "5b293973.a44fd8"
+            ]
+        ]
+    },
+    {
+        "id": "5b293973.a44fd8",
+        "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": 776.6666412353516,
+        "y": 122.33333396911621,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "55dc72e4.040a6c",
+        "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.vnf-topology.vnf-parameters-data.param_length`' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1474.6666412353516,
+        "y": 1051.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "ef8bc14b.ccbff"
+            ]
+        ]
+    },
+    {
+        "id": "76ae92fe.97658c",
+        "type": "block",
+        "name": "block atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 780.6666412353516,
+        "y": 1052.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "824fa75d.391fc8",
+                "2c5ebadc.773bc6",
+                "f84c1bca.bb7958"
+            ]
+        ]
+    },
+    {
+        "id": "f709c437.029758",
+        "type": "switchNode",
+        "name": "switch vnf-parameters-data.param_length",
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 503.66664123535156,
+        "y": 221.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "23708a8a.213166",
+                "80282891.85c258"
+            ]
+        ]
+    },
+    {
+        "id": "23708a8a.213166",
+        "type": "outcome",
+        "name": "null",
+        "xml": "<outcome value=''>",
+        "comments": "",
+        "outputs": 1,
+        "x": 741.6666412353516,
+        "y": 189.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "dc5b10f3.283cb"
+            ]
+        ]
+    },
+    {
+        "id": "80282891.85c258",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 740.6666412353516,
+        "y": 253.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "9174046b.b8b7d8"
+            ]
+        ]
+    },
+    {
+        "id": "dc5b10f3.283cb",
+        "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": 954.6666412353516,
+        "y": 189.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "9174046b.b8b7d8",
+        "type": "set",
+        "name": "set pre service param len",
+        "xml": "<set>\n   <parameter name='highnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />\n   <parameter name='prehighnum' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' />",
+        "comments": "",
+        "x": 939.6666412353516,
+        "y": 253.3333339691162,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "ef8bc14b.ccbff",
+        "type": "switchNode",
+        "name": "switch input vnf-name",
+        "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1732.6666412353516,
+        "y": 1051.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "ee6ccc97.25efa"
+            ]
+        ]
+    },
+    {
+        "id": "ee6ccc97.25efa",
+        "type": "not-found",
+        "name": "true",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1912.6666412353516,
+        "y": 1051.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "ed52e9db.e0c808"
+            ]
+        ]
+    },
+    {
+        "id": "ed52e9db.e0c808",
+        "type": "set",
+        "name": "set for existing param name",
+        "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",
+        "comments": "",
+        "x": 2122.6666412353516,
+        "y": 1052.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "f84c1bca.bb7958",
+        "type": "switchNode",
+        "name": "switch tmp.mso.param.not-found",
+        "xml": "<switch test='`$tmp.mso.param.found`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1022.6666412353516,
+        "y": 1104.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "eb181e3d.05137"
+            ]
+        ]
+    },
+    {
+        "id": "eb181e3d.05137",
+        "type": "not-found",
+        "name": "false",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1256.6666412353516,
+        "y": 1103.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "f72b62.fb42f4a"
+            ]
+        ]
+    },
+    {
+        "id": "824fa75d.391fc8",
+        "type": "set",
+        "name": "set for existing param name",
+        "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
+        "comments": "",
+        "x": 1006.6666412353516,
+        "y": 993.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "2c5ebadc.773bc6",
+        "type": "switchNode",
+        "name": "switch check length > 0",
+        "xml": "<switch test='`$prehighnum &gt; 0`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 999.1666412353516,
+        "y": 1052.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "6aca2d7e.39e184"
+            ]
+        ]
+    },
+    {
+        "id": "6aca2d7e.39e184",
+        "type": "not-found",
+        "name": "true",
+        "xml": "<outcome value='true'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1246.1666412353516,
+        "y": 1052.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "55dc72e4.040a6c"
+            ]
+        ]
+    },
+    {
+        "id": "32788be4.48e304",
+        "type": "for",
+        "name": "for payload",
+        "xml": "<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 1817.6666412353516,
+        "y": 1411.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "52ca6e98.bf065"
+            ]
+        ]
+    },
+    {
+        "id": "778c089.bfab7f8",
+        "type": "set",
+        "name": "set resource-key",
+        "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\n",
+        "comments": "",
+        "x": 2166.6666412353516,
+        "y": 1347.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "1eb3f359.e179fd",
+        "type": "set",
+        "name": "set output-data ",
+        "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.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.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />",
+        "comments": "",
+        "x": 1390.6666412353516,
+        "y": 1291.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "f22e79d3.9fa598",
+        "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": 858.6666412353516,
+        "y": 1393.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "b6e3c033.d365e"
+            ]
+        ]
+    },
+    {
+        "id": "b6e3c033.d365e",
+        "type": "block",
+        "name": "block atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1109.6666412353516,
+        "y": 1393.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "1eb3f359.e179fd",
+                "c8871600.cda7b8",
+                "31cafe60.c858c2",
+                "d883e8b5.c87cd8"
+            ]
+        ]
+    },
+    {
+        "id": "c8871600.cda7b8",
+        "type": "set",
+        "name": "set length",
+        "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n",
+        "comments": "",
+        "x": 1378.6666412353516,
+        "y": 1429.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "e8698b70.c431d8",
+        "type": "failure",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 722.3333129882812,
+        "y": 870,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "cb6982c3.5d096"
+            ]
+        ]
+    },
+    {
+        "id": "31cafe60.c858c2",
+        "type": "switchNode",
+        "name": "switch payload_length",
+        "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1414.6666412353516,
+        "y": 1362.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "35a0c321.c01b8c",
+                "4c60a062.02cd4"
+            ]
+        ]
+    },
+    {
+        "id": "35a0c321.c01b8c",
+        "type": "outcome",
+        "name": "true",
+        "xml": "<outcome value='true'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1635.6666412353516,
+        "y": 1293.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4c60a062.02cd4",
+        "type": "other",
+        "name": "false",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1642.6666412353516,
+        "y": 1411.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "32788be4.48e304"
+            ]
+        ]
+    },
+    {
+        "id": "7c972f3e.f0f83",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1185.9523658752441,
+        "y": 608.9046821594238,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "a6be3be4.1bdc08"
+            ]
+        ]
+    },
+    {
+        "id": "b887f515.962a38",
+        "type": "set",
+        "name": "set length",
+        "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n",
+        "comments": "",
+        "x": 2155.6666412353516,
+        "y": 1411.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "30950fde.196f6",
+        "type": "set",
+        "name": "increment length",
+        "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
+        "comments": "",
+        "x": 2173.6666412353516,
+        "y": 1485.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "d883e8b5.c87cd8",
+        "type": "set",
+        "name": "increment length",
+        "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n",
+        "comments": "",
+        "x": 1399.6666412353516,
+        "y": 1496.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "f72b62.fb42f4a",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1433.6666412353516,
+        "y": 1102.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "edaf4d66.0e603",
+                "aba36cfb.938af"
+            ]
+        ]
+    },
+    {
+        "id": "aba36cfb.938af",
+        "type": "set",
+        "name": "increment length",
+        "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
+        "comments": "",
+        "x": 1648.6666412353516,
+        "y": 1162.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "52ca6e98.bf065",
+        "type": "block",
+        "name": "block atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1973.6666412353516,
+        "y": 1412.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            [
+                "778c089.bfab7f8",
+                "b887f515.962a38",
+                "30950fde.196f6"
+            ]
+        ]
+    },
+    {
+        "id": "72e48172.d53ce",
+        "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": 399.9999809265137,
+        "y": 755.333324432373,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4471abbd.a27dc4",
+        "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": 396.6666488647461,
+        "y": 910.3333320617676,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fa837cb4.36bad",
+        "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": 405.00000762939453,
+        "y": 1714.5000267028809,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "40bf0919.577208",
+        "type": "set",
+        "name": "set pathname",
+        "xml": "<set>\n<parameter name='pathname' \n\tvalue=\"`'/var/tmp/ss-vnf-ra-assignment-' + \n\t$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id + '.log'`\" />\n",
+        "comments": "",
+        "x": 411.25000762939453,
+        "y": 1662.0000247955322,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    },
+    {
+        "id": "c9addd0a.302f8",
+        "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: vnf-ra-assignment\"/>\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 388.75000381469727,
+        "y": 1615.7500247955322,
+        "z": "3ef876bf.78b1fa",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d351ac36.10e8b",
+        "type": "set",
+        "name": "set updateJsonPayload",
+        "xml": "<set>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />\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.sdnc-artifact-name`' />\n<parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
+        "comments": "",
+        "x": 441,
+        "y": 680,
+        "z": "3ef876bf.78b1fa",
+        "wires": []
+    }
+]
\ No newline at end of file