summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api
diff options
context:
space:
mode:
authorCheung, Pat (kc1472) <kc1472@att.com>2020-04-01 22:25:47 +0000
committerCheung, Pat (kc1472) <kc1472@att.com>2020-04-01 22:25:47 +0000
commit23aa280a5ae737594806ecefa1c1c139a5d69286 (patch)
treea2367077d92313ab1f7b0854841e77ac1f036468 /platform-logic/generic-resource-api
parentdeb729cf3099ad58cb8c243101c37904da4fe349 (diff)
self serve DG bugfix
updated ra-assignment DG to identify ra-response from mapping and mesed-template data Issue-ID: SDNC-1140 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I80e7316c8d4961520a5d0d41a06f0becbb90807e Former-commit-id: 6959ebe30426c49593c3d4809f8996b9a9f4b8c1
Diffstat (limited to 'platform-logic/generic-resource-api')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json2
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json2
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml30
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml34
4 files changed, 46 insertions, 22 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
index bd19efd7..e4c01a0e 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.json
@@ -1 +1 @@
-[{"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
+[{"id":"9ea93e47.d1baf","type":"dgstart","name":"DGSTART","outputs":1,"x":145,"y":67.5,"z":"a8fbfa1a.ba8768","wires":[["d2786e1f.c2dcc"]]},{"id":"d2786e1f.c2dcc","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":421,"y":68.5,"z":"a8fbfa1a.ba8768","wires":[["cbb0a774.00ebb8"]]},{"id":"cbb0a774.00ebb8","type":"method","name":"self-serve-vfmodule-ra-assignment","xml":"<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":772,"y":68.5,"z":"a8fbfa1a.ba8768","wires":[["a1195f6b.72fc5"]]},{"id":"a1195f6b.72fc5","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":157.5,"y":150.5,"z":"a8fbfa1a.ba8768","wires":[["4d6d5854.936238","3036d3b9.88892c","c3f8369f.f359f8","6f97c12d.ffcb7","2ccd8f5f.0b0f1","88408445.ae8188","a0112dc1.4af37","1db0159f.e7762a","976ec855.a8e1c8","5c8c9aaf.662724","2d5e8121.02835e","f9c0eb64.8966a8","f5b1e151.0f621","d84162d8.9b617"]]},{"id":"3036d3b9.88892c","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":352.28568267822266,"y":216.35714435577393,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"c5a7fd4f.c2d3","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":646.7856521606445,"y":763.249919295311,"z":"a8fbfa1a.ba8768","wires":[["17ba093c.d7c077"]]},{"id":"6f97c12d.ffcb7","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":470.28580474853516,"y":459.92860221862793,"z":"a8fbfa1a.ba8768","wires":[["4c7f9a13.947354"]]},{"id":"4f3e73d.5ca788c","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":1217.0000534057617,"y":392.35717010498047,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"47c6c666.72f248","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":963.0000534057617,"y":392.35717010498047,"z":"a8fbfa1a.ba8768","wires":[["4f3e73d.5ca788c"]]},{"id":"4c7f9a13.947354","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":725.0000534057617,"y":459.35717010498047,"z":"a8fbfa1a.ba8768","wires":[["47c6c666.72f248","28beb64f.06759a","450c3cd8.795ae4","3f2f6cef.73a7f4"]]},{"id":"28beb64f.06759a","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":966.0000534057617,"y":438.35717010498047,"z":"a8fbfa1a.ba8768","wires":[["bc5e234c.60224"]]},{"id":"450c3cd8.795ae4","type":"outcome","name":"vf_module_label","xml":"<outcome value='vf_module_label'>\n","comments":"","outputs":1,"x":951.0000534057617,"y":487.35717010498047,"z":"a8fbfa1a.ba8768","wires":[["6015ba3a.3fe844"]]},{"id":"bc5e234c.60224","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":1221.0000534057617,"y":438.35717010498047,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"6015ba3a.3fe844","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":1203.0000534057617,"y":487.35717010498047,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"ef61beeb.3e6bf","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":1221.0000534057617,"y":538.3571701049805,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"3f2f6cef.73a7f4","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":923.0000534057617,"y":538.3571701049805,"z":"a8fbfa1a.ba8768","wires":[["ef61beeb.3e6bf"]]},{"id":"2ccd8f5f.0b0f1","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":446.5714569091797,"y":975.5000171661377,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"88408445.ae8188","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=\"raAssign\" />","comments":"","outputs":1,"x":448.76184844970703,"y":1145.4999599456787,"z":"a8fbfa1a.ba8768","wires":[["8b8b59e2.7094c8","d0a90f94.934b1"]]},{"id":"8b8b59e2.7094c8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":691.3332443237305,"y":1114.357153892517,"z":"a8fbfa1a.ba8768","wires":[["905e16.6435b1e8"]]},{"id":"905e16.6435b1e8","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":865.0475006103516,"y":1142.9286184310913,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"4d6d5854.936238","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":406.99998474121094,"y":150.92857265472412,"z":"a8fbfa1a.ba8768","wires":[["ae2a95b4.c2afd8"]]},{"id":"ae2a95b4.c2afd8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":611.9999847412109,"y":150.92857265472412,"z":"a8fbfa1a.ba8768","wires":[["e5a440b7.94973"]]},{"id":"e5a440b7.94973","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":775.9999847412109,"y":150.92857265472412,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"c3f8369f.f359f8","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":476.1428527832031,"y":295.7857322692871,"z":"a8fbfa1a.ba8768","wires":[["278e635.ddd179c","39d2c7fb.c62018"]]},{"id":"278e635.ddd179c","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":739.2857360839844,"y":263.6428852081299,"z":"a8fbfa1a.ba8768","wires":[["4f696e32.aa379"]]},{"id":"39d2c7fb.c62018","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":738.2857360839844,"y":327.6428852081299,"z":"a8fbfa1a.ba8768","wires":[["550556cc.d56188"]]},{"id":"4f696e32.aa379","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":952.2857360839844,"y":263.6428852081299,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"550556cc.d56188","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":937.2857360839844,"y":327.6428852081299,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"d0a90f94.934b1","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":696.3332443237305,"y":1176.357153892517,"z":"a8fbfa1a.ba8768","wires":[["905e16.6435b1e8"]]},{"id":"a0112dc1.4af37","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":435.3571090698242,"y":763.3928092718124,"z":"a8fbfa1a.ba8768","wires":[["c5a7fd4f.c2d3"]]},{"id":"52f69702.aac5b8","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":1119.2141647338867,"y":675.6784620285034,"z":"a8fbfa1a.ba8768","wires":[["3f444520.5d7b7a","5dd73d06.33aa94","f68dbe38.707d"]]},{"id":"3f444520.5d7b7a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1361.571304321289,"y":625.2021789550781,"z":"a8fbfa1a.ba8768","wires":[["a37d35a7.578bb8"]]},{"id":"a37d35a7.578bb8","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":1542.5712852478027,"y":625.3450860977173,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"1c64759c.49da2a","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":1140.6664199829102,"y":848.8095807433128,"z":"a8fbfa1a.ba8768","wires":[["85a473e7.4f297","bc3bfe80.99a32","fbdb5540.30d358"]]},{"id":"85a473e7.4f297","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1422.3091354370117,"y":795.9046562314034,"z":"a8fbfa1a.ba8768","wires":[["83ade5b3.1af888"]]},{"id":"83ade5b3.1af888","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":1597.309066772461,"y":796.0475566983223,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"bc3bfe80.99a32","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1432.523593902588,"y":898.1666793227196,"z":"a8fbfa1a.ba8768","wires":[["771c825d.9a77cc"]]},{"id":"17ba093c.d7c077","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":822.3094329833984,"y":763.6309151649475,"z":"a8fbfa1a.ba8768","wires":[["52f69702.aac5b8","1c64759c.49da2a"]]},{"id":"f9eef446.bfc1b8","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":1643.142967224121,"y":723.3213539123535,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"5dd73d06.33aa94","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1369.7144393920898,"y":723.6070289611816,"z":"a8fbfa1a.ba8768","wires":[["f9eef446.bfc1b8"]]},{"id":"771c825d.9a77cc","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":1625.9641456604004,"y":897.7499923110008,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"f68dbe38.707d","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1374.4643440246582,"y":675.7142019271851,"z":"a8fbfa1a.ba8768","wires":[["51a9602f.b32aa"]]},{"id":"51a9602f.b32aa","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":1545.7143478393555,"y":675.4642028808594,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"fbdb5540.30d358","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1433.3926849365234,"y":847.714260995388,"z":"a8fbfa1a.ba8768","wires":[["491e9233.e7c08c"]]},{"id":"491e9233.e7c08c","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":1604.6426887512207,"y":847.4642619490623,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"1db0159f.e7762a","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":355.14287185668945,"y":1079.785623550415,"z":"a8fbfa1a.ba8768","wires":[[]]},{"id":"976ec855.a8e1c8","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":351.19043731689453,"y":1236.6428670883179,"z":"a8fbfa1a.ba8768","wires":[[]]},{"id":"2d5e8121.02835e","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":366.1428527832031,"y":1715.0000689029694,"z":"a8fbfa1a.ba8768","wires":[[]]},{"id":"5c8c9aaf.662724","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":372.10717010498047,"y":1648.2142679691315,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"f9c0eb64.8966a8","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":344.75000762939453,"y":1580.8927223682404,"z":"a8fbfa1a.ba8768","wires":[[]]},{"id":"f5b1e151.0f621","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":413.28572845458984,"y":1031.2143716812134,"z":"a8fbfa1a.ba8768","wires":[]},{"id":"beefedee.f9d4e","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":1614.6348114013672,"y":1439.8371772766113,"z":"a8fbfa1a.ba8768","wires":[[]]},{"id":"3e2d3645.000e4a","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":1054.9683074951172,"y":1293.6983823776245,"z":"a8fbfa1a.ba8768","wires":[[]]},{"id":"d84162d8.9b617","type":"execute","name":"execute jsonStringToCtx - resolved-data","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-response.resolved-data.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"true\" />\n\n","comments":"","outputs":1,"x":462.5,"y":1348.722412109375,"z":"a8fbfa1a.ba8768","wires":[["bde04434.054e68","79774eda.1c727"]]},{"id":"bde04434.054e68","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":736.2499809265137,"y":1293.722412109375,"z":"a8fbfa1a.ba8768","wires":[["3e2d3645.000e4a"]]},{"id":"79774eda.1c727","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":729.4999809265137,"y":1402.2224140167236,"z":"a8fbfa1a.ba8768","wires":[["fa243f7d.8e03b"]]},{"id":"fa243f7d.8e03b","type":"execute","name":"execute jsonStringToCtx - meshed-template","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=\"true\" />\n\n","comments":"","outputs":1,"x":1008.7500419616699,"y":1402.4724130630493,"z":"a8fbfa1a.ba8768","wires":[["d19cbbbe.2c9da8","b1fc338b.0ad94"]]},{"id":"b1fc338b.0ad94","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1297.5000495910645,"y":1439.972412109375,"z":"a8fbfa1a.ba8768","wires":[["beefedee.f9d4e"]]},{"id":"d19cbbbe.2c9da8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1290.7500457763672,"y":1363.7224111557007,"z":"a8fbfa1a.ba8768","wires":[["be17bf40.3815"]]},{"id":"be17bf40.3815","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=\"Failed to parse RA respose from mapping or meshed-template\" />\n","comments":"","x":1467.99995803833,"y":1363.9723930358887,"z":"a8fbfa1a.ba8768","wires":[]}] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
index abca12da..b1849b7c 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.json
@@ -1 +1 @@
-[{"id":"3501e5a2.675aea","type":"dgstart","name":"DGSTART","outputs":1,"x":91,"y":33.5,"z":"8334cfbf.1dbfc","wires":[["b5f22dfe.6e31"]]},{"id":"b5f22dfe.6e31","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":367,"y":34.5,"z":"8334cfbf.1dbfc","wires":[["547f0019.d0fa3"]]},{"id":"547f0019.d0fa3","type":"method","name":"self-serve-vnf-ra-assignment","xml":"<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":210.07144165039062,"y":91.46428775787354,"z":"8334cfbf.1dbfc","wires":[["2e63ff2b.561f1"]]},{"id":"2e63ff2b.561f1","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":204.4523468017578,"y":158.04761695861816,"z":"8334cfbf.1dbfc","wires":[["96155f36.4dee","ecd8ee9b.c02a9","1f066148.408b8f","694896b0.6ae8c8","bc33905f.8bba6","9226252e.e39d18","16b37854.35c298","1c416f3d.add001","8bd3a596.34f178","be4e75b8.3ec5d8","7ff74048.c7318","6a301448.38917c","5d4647a7.c772e8","363fca1c.bf8736","e7b4ac15.b3f62"]]},{"id":"ecd8ee9b.c02a9","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":385.2023696899414,"y":226.5476131439209,"z":"8334cfbf.1dbfc","wires":[]},{"id":"eba7814c.4e099","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":943.8173675537109,"y":689.611005783081,"z":"8334cfbf.1dbfc","wires":[["c763b60b.7a9018","40f3797c.5f4068","93c98739.415188"]]},{"id":"c763b60b.7a9018","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1188.8174667358398,"y":638.8967294692993,"z":"8334cfbf.1dbfc","wires":[["c002a60.b907d58"]]},{"id":"c002a60.b907d58","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":1361.8174667358398,"y":638.8967294692993,"z":"8334cfbf.1dbfc","wires":[]},{"id":"cc998536.46b198","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":1587.2459678649902,"y":739.0395336151123,"z":"8334cfbf.1dbfc","wires":[]},{"id":"357da513.c5218a","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":1371.8174667358398,"y":687.8967294692993,"z":"8334cfbf.1dbfc","wires":[]},{"id":"bc33905f.8bba6","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":461.81736755371094,"y":690.611005783081,"z":"8334cfbf.1dbfc","wires":[["ffaf5b0c.1fedc8"]]},{"id":"40f3797c.5f4068","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1194.8174667358398,"y":687.8967294692993,"z":"8334cfbf.1dbfc","wires":[["357da513.c5218a"]]},{"id":"ffaf5b0c.1fedc8","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":713.8173675537109,"y":690.611005783081,"z":"8334cfbf.1dbfc","wires":[["eba7814c.4e099"]]},{"id":"694896b0.6ae8c8","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":473.4523468017578,"y":476.29761695861816,"z":"8334cfbf.1dbfc","wires":[["f14b9f13.ca1ba"]]},{"id":"f14b9f13.ca1ba","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":734.4523468017578,"y":476.29761695861816,"z":"8334cfbf.1dbfc","wires":[["38dc7b1c.057fc4"]]},{"id":"a24519d6.9da8a8","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":1383.4523468017578,"y":398.29761695861816,"z":"8334cfbf.1dbfc","wires":[]},{"id":"8c31b1c4.f2bee","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":1129.4523468017578,"y":398.29761695861816,"z":"8334cfbf.1dbfc","wires":[["a24519d6.9da8a8"]]},{"id":"38dc7b1c.057fc4","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":908.4523468017578,"y":476.29761695861816,"z":"8334cfbf.1dbfc","wires":[["8c31b1c4.f2bee","6ab00d80.fca704","a9ef8550.572b88","8245db44.d86468"]]},{"id":"6ab00d80.fca704","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":1132.4523468017578,"y":444.29761695861816,"z":"8334cfbf.1dbfc","wires":[["8358a2cb.5dc06"]]},{"id":"a9ef8550.572b88","type":"outcome","name":"sdnc_artifact_name","xml":"<outcome value='sdnc_artifact_name'>\n","comments":"","outputs":1,"x":1131.4523468017578,"y":493.29761695861816,"z":"8334cfbf.1dbfc","wires":[["a9c04e60.ef2f8"]]},{"id":"8358a2cb.5dc06","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":1387.4523468017578,"y":444.29761695861816,"z":"8334cfbf.1dbfc","wires":[]},{"id":"a9c04e60.ef2f8","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":1383.4523468017578,"y":493.29761695861816,"z":"8334cfbf.1dbfc","wires":[]},{"id":"86fadb38.c81f38","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":1399.4523468017578,"y":542.2976169586182,"z":"8334cfbf.1dbfc","wires":[]},{"id":"8245db44.d86468","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1091.4523544311523,"y":542.8690376281738,"z":"8334cfbf.1dbfc","wires":[["86fadb38.c81f38"]]},{"id":"9226252e.e39d18","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":475.0079040527344,"y":749.9920196533203,"z":"8334cfbf.1dbfc","wires":[]},{"id":"16b37854.35c298","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.8968048095703,"y":968.4364633560181,"z":"8334cfbf.1dbfc","wires":[["dd7f5eae.cd01d","f7ecbf9b.1b1ca"]]},{"id":"dd7f5eae.cd01d","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":717.8968048095703,"y":942.4364633560181,"z":"8334cfbf.1dbfc","wires":[["11e08758.03b3a9"]]},{"id":"11e08758.03b3a9","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.8968048095703,"y":963.4364633560181,"z":"8334cfbf.1dbfc","wires":[]},{"id":"96155f36.4dee","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":441.9523468017578,"y":158.04761695861816,"z":"8334cfbf.1dbfc","wires":[["42941485.41dd1c"]]},{"id":"42941485.41dd1c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":653.9523468017578,"y":157.04761695861816,"z":"8334cfbf.1dbfc","wires":[["44726b34.9c6614"]]},{"id":"44726b34.9c6614","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":829.9523468017578,"y":157.04761695861816,"z":"8334cfbf.1dbfc","wires":[]},{"id":"1f066148.408b8f","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":510.2023468017578,"y":304.79764461517334,"z":"8334cfbf.1dbfc","wires":[["7aad0ce7.e8e6c4","35092a50.a68416"]]},{"id":"7aad0ce7.e8e6c4","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":777.2023468017578,"y":272.79764461517334,"z":"8334cfbf.1dbfc","wires":[["5d9fd2c5.25f81c"]]},{"id":"35092a50.a68416","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":776.2023468017578,"y":336.79764461517334,"z":"8334cfbf.1dbfc","wires":[["848e04b8.ce3208"]]},{"id":"5d9fd2c5.25f81c","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":990.2023468017578,"y":272.79764461517334,"z":"8334cfbf.1dbfc","wires":[]},{"id":"848e04b8.ce3208","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":975.2023468017578,"y":336.79764461517334,"z":"8334cfbf.1dbfc","wires":[]},{"id":"f7ecbf9b.1b1ca","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":722.8968048095703,"y":1004.4364633560181,"z":"8334cfbf.1dbfc","wires":[["11e08758.03b3a9"]]},{"id":"93c98739.415188","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1190.9602699279785,"y":738.8967018127441,"z":"8334cfbf.1dbfc","wires":[["cc998536.46b198"]]},{"id":"1c416f3d.add001","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":381.67456436157227,"y":894.2143058776855,"z":"8334cfbf.1dbfc","wires":[[]]},{"id":"8bd3a596.34f178","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":383.8968200683594,"y":1078.1031112670898,"z":"8334cfbf.1dbfc","wires":[[]]},{"id":"be4e75b8.3ec5d8","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":440.4523468017578,"y":822.2143030166626,"z":"8334cfbf.1dbfc","wires":[]},{"id":"7ff74048.c7318","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":443.8888702392578,"y":1143.3332748413086,"z":"8334cfbf.1dbfc","wires":[[]]},{"id":"6a301448.38917c","type":"switchNode","name":"switch: jsonContextPrefix.resource-accumulator-resolved-data_length","xml":"<switch test=\"`$jsonContextPrefix.resource-accumulator-resolved-data_length`\">\n","comments":"","outputs":1,"x":601.8888854980469,"y":1233.3332777023315,"z":"8334cfbf.1dbfc","wires":[["cd8908db.761938","251a76.7423158a"]]},{"id":"cd8908db.761938","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":969.6666259765625,"y":1208.8887939453125,"z":"8334cfbf.1dbfc","wires":[["2fd0fd65.b23da2"]]},{"id":"f8ea61ad.0fe5b","type":"call","name":"Call self-serve-process-vnf-template-ra-response","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vnf-template-ra-response' mode='sync' >\n","comments":"","outputs":1,"x":1262.6666412353516,"y":1262.7776165008545,"z":"8334cfbf.1dbfc","wires":[[]]},{"id":"2fd0fd65.b23da2","type":"call","name":"Call self-serve-process-vnf-mapping-ra-response","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vnf-mapping-ra-response' mode='sync' >\n","comments":"","outputs":1,"x":1263.000015258789,"y":1208.8888187408447,"z":"8334cfbf.1dbfc","wires":[[]]},{"id":"251a76.7423158a","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":968.6666107177734,"y":1262.2221927642822,"z":"8334cfbf.1dbfc","wires":[["f8ea61ad.0fe5b"]]},{"id":"e7b4ac15.b3f62","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":397.5,"y":1432.5,"z":"8334cfbf.1dbfc","wires":[[]]},{"id":"363fca1c.bf8736","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":402.75,"y":1379.9999980926514,"z":"8334cfbf.1dbfc","wires":[]},{"id":"5d4647a7.c772e8","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: self-serve-vnf-ra-assignment\"/>\n\n","comments":"","outputs":1,"x":378.24999618530273,"y":1329.7499980926514,"z":"8334cfbf.1dbfc","wires":[[]]}] \ No newline at end of file
+[{"id":"63c6d4ad.9f7fdc","type":"dgstart","name":"DGSTART","outputs":1,"x":105,"y":60,"z":"9c9d6788.9ad478","wires":[["c9ec4200.9fbe"]]},{"id":"c9ec4200.9fbe","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":381,"y":61,"z":"9c9d6788.9ad478","wires":[["9dfa437.8ea91c"]]},{"id":"9dfa437.8ea91c","type":"method","name":"self-serve-vnf-ra-assignment","xml":"<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":224.07144165039062,"y":117.96428775787354,"z":"9c9d6788.9ad478","wires":[["2d7abfcd.2faa6"]]},{"id":"2d7abfcd.2faa6","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":218.4523468017578,"y":184.54761695861816,"z":"9c9d6788.9ad478","wires":[["4d21efd2.5e5ff","ab54238d.24ce5","8b575074.f108d","bc2286aa.e94c88","d4b38f52.e612d","a657e5a1.4f2038","2de3e1e7.11b9de","76f1b778.049d28","8217d55.d112b28","f43af4c9.1c8338","c77c96b3.9671d8","25ebf820.dd8c48","989ba1d5.b7504","3dd11a72.581e76"]]},{"id":"ab54238d.24ce5","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.2023696899414,"y":253.0476131439209,"z":"9c9d6788.9ad478","wires":[]},{"id":"a14536c0.6d3618","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":957.8173675537109,"y":716.111005783081,"z":"9c9d6788.9ad478","wires":[["cfe4a3cc.64f95","e22771c4.b1ea3","bf4a0272.ac394"]]},{"id":"cfe4a3cc.64f95","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1202.8174667358398,"y":665.3967294692993,"z":"9c9d6788.9ad478","wires":[["f292357e.bbd1a8"]]},{"id":"f292357e.bbd1a8","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":1375.8174667358398,"y":665.3967294692993,"z":"9c9d6788.9ad478","wires":[]},{"id":"b5950127.c7e1c","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":1601.2459678649902,"y":765.5395336151123,"z":"9c9d6788.9ad478","wires":[]},{"id":"11e64d9f.7666f2","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":1385.8174667358398,"y":714.3967294692993,"z":"9c9d6788.9ad478","wires":[]},{"id":"d4b38f52.e612d","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":475.81736755371094,"y":717.111005783081,"z":"9c9d6788.9ad478","wires":[["50bfe883.896158"]]},{"id":"e22771c4.b1ea3","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1208.8174667358398,"y":714.3967294692993,"z":"9c9d6788.9ad478","wires":[["11e64d9f.7666f2"]]},{"id":"50bfe883.896158","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":727.8173675537109,"y":717.111005783081,"z":"9c9d6788.9ad478","wires":[["a14536c0.6d3618"]]},{"id":"bc2286aa.e94c88","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":487.4523468017578,"y":502.79761695861816,"z":"9c9d6788.9ad478","wires":[["19d21bae.1c2954"]]},{"id":"19d21bae.1c2954","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":748.4523468017578,"y":502.79761695861816,"z":"9c9d6788.9ad478","wires":[["a444ea28.08f138"]]},{"id":"bf9fd0c8.a829d","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":1397.4523468017578,"y":424.79761695861816,"z":"9c9d6788.9ad478","wires":[]},{"id":"94e35222.f28a4","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":1143.4523468017578,"y":424.79761695861816,"z":"9c9d6788.9ad478","wires":[["bf9fd0c8.a829d"]]},{"id":"a444ea28.08f138","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":922.4523468017578,"y":502.79761695861816,"z":"9c9d6788.9ad478","wires":[["94e35222.f28a4","729b92d8.96607c","2b571743.3f9948","8a545dd3.88e11"]]},{"id":"729b92d8.96607c","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":1146.4523468017578,"y":470.79761695861816,"z":"9c9d6788.9ad478","wires":[["77facf86.b921f"]]},{"id":"2b571743.3f9948","type":"outcome","name":"sdnc_artifact_name","xml":"<outcome value='sdnc_artifact_name'>\n","comments":"","outputs":1,"x":1145.4523468017578,"y":519.7976169586182,"z":"9c9d6788.9ad478","wires":[["784205a5.281cac"]]},{"id":"77facf86.b921f","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":1401.4523468017578,"y":470.79761695861816,"z":"9c9d6788.9ad478","wires":[]},{"id":"784205a5.281cac","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":1397.4523468017578,"y":519.7976169586182,"z":"9c9d6788.9ad478","wires":[]},{"id":"f57a1ff1.c4263","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":1413.4523468017578,"y":568.7976169586182,"z":"9c9d6788.9ad478","wires":[]},{"id":"8a545dd3.88e11","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1105.4523544311523,"y":569.3690376281738,"z":"9c9d6788.9ad478","wires":[["f57a1ff1.c4263"]]},{"id":"a657e5a1.4f2038","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":489.0079040527344,"y":776.4920196533203,"z":"9c9d6788.9ad478","wires":[]},{"id":"2de3e1e7.11b9de","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=\"raAssign\" />","comments":"","outputs":1,"x":491.8968048095703,"y":996.9364633560181,"z":"9c9d6788.9ad478","wires":[["72272799.6f87e8","94ab143.1d302e8"]]},{"id":"72272799.6f87e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":731.8968048095703,"y":968.9364633560181,"z":"9c9d6788.9ad478","wires":[["d75bb620.442198"]]},{"id":"d75bb620.442198","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 BlueprintProcessingClient\" />\n","comments":"","x":920.8968048095703,"y":989.9364633560181,"z":"9c9d6788.9ad478","wires":[]},{"id":"4d21efd2.5e5ff","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":455.9523468017578,"y":184.54761695861816,"z":"9c9d6788.9ad478","wires":[["4b9937da.942858"]]},{"id":"4b9937da.942858","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":667.9523468017578,"y":183.54761695861816,"z":"9c9d6788.9ad478","wires":[["a3737477.348b98"]]},{"id":"a3737477.348b98","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":843.9523468017578,"y":183.54761695861816,"z":"9c9d6788.9ad478","wires":[]},{"id":"8b575074.f108d","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":524.2023468017578,"y":331.29764461517334,"z":"9c9d6788.9ad478","wires":[["2de664b1.86a3cc","ce207255.cb9e6"]]},{"id":"2de664b1.86a3cc","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":791.2023468017578,"y":299.29764461517334,"z":"9c9d6788.9ad478","wires":[["163e5ecc.ddef61"]]},{"id":"ce207255.cb9e6","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":790.2023468017578,"y":363.29764461517334,"z":"9c9d6788.9ad478","wires":[["aa3c70c4.b7cd6"]]},{"id":"163e5ecc.ddef61","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":1004.2023468017578,"y":299.29764461517334,"z":"9c9d6788.9ad478","wires":[]},{"id":"aa3c70c4.b7cd6","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":989.2023468017578,"y":363.29764461517334,"z":"9c9d6788.9ad478","wires":[]},{"id":"94ab143.1d302e8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":742.8968048095703,"y":1030.936463356018,"z":"9c9d6788.9ad478","wires":[["d75bb620.442198"]]},{"id":"bf4a0272.ac394","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1204.9602699279785,"y":765.3967018127441,"z":"9c9d6788.9ad478","wires":[["b5950127.c7e1c"]]},{"id":"76f1b778.049d28","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":395.67456436157227,"y":920.7143058776855,"z":"9c9d6788.9ad478","wires":[[]]},{"id":"8217d55.d112b28","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":397.8968200683594,"y":1104.6031112670898,"z":"9c9d6788.9ad478","wires":[[]]},{"id":"f43af4c9.1c8338","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":454.4523468017578,"y":848.7143030166626,"z":"9c9d6788.9ad478","wires":[]},{"id":"809d6195.590c7","type":"call","name":"Call self-serve-process-vnf-template-ra-response","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vnf-template-ra-response' mode='sync' >\n","comments":"","outputs":1,"x":1641.1666946411133,"y":1324.0276069641113,"z":"9c9d6788.9ad478","wires":[[]]},{"id":"16e7a11.046735f","type":"call","name":"Call self-serve-process-vnf-mapping-ra-response","xml":"<call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vnf-mapping-ra-response' mode='sync' >\n","comments":"","outputs":1,"x":1082.000015258789,"y":1177.8888149261475,"z":"9c9d6788.9ad478","wires":[[]]},{"id":"989ba1d5.b7504","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":417.7500114440918,"y":1532.7500228881836,"z":"9c9d6788.9ad478","wires":[[]]},{"id":"25ebf820.dd8c48","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":423.0000114440918,"y":1480.250020980835,"z":"9c9d6788.9ad478","wires":[]},{"id":"c77c96b3.9671d8","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: self-serve-vnf-ra-assignment\"/>\n\n","comments":"","outputs":1,"x":398.50000762939453,"y":1430.000020980835,"z":"9c9d6788.9ad478","wires":[[]]},{"id":"3dd11a72.581e76","type":"execute","name":"execute jsonStringToCtx - resolved-data","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'raAssign.payload.resource-assignment-response.resolved-data.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"true\" />\n\n","comments":"","outputs":1,"x":510.2500915527344,"y":1232.7500190734863,"z":"9c9d6788.9ad478","wires":[["2788fff6.944b9","13b73d7.3420cc3"]]},{"id":"2788fff6.944b9","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":784.000072479248,"y":1177.7500190734863,"z":"9c9d6788.9ad478","wires":[["16e7a11.046735f"]]},{"id":"13b73d7.3420cc3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":777.250072479248,"y":1286.250020980835,"z":"9c9d6788.9ad478","wires":[["4b9abfd.ef1ff4"]]},{"id":"4b9abfd.ef1ff4","type":"execute","name":"execute jsonStringToCtx - meshed-template","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=\"true\" />\n\n","comments":"","outputs":1,"x":1056.5001335144043,"y":1286.5000200271606,"z":"9c9d6788.9ad478","wires":[["8cc2bc38.60658","672e4e41.d3303"]]},{"id":"672e4e41.d3303","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1345.2501411437988,"y":1324.0000190734863,"z":"9c9d6788.9ad478","wires":[["809d6195.590c7"]]},{"id":"8cc2bc38.60658","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1338.5001373291016,"y":1247.750018119812,"z":"9c9d6788.9ad478","wires":[["ac6070e3.05c52"]]},{"id":"ac6070e3.05c52","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=\"Failed to parse RA respose from mapping or meshed-template\" />\n","comments":"","x":1515.7500495910645,"y":1248,"z":"9c9d6788.9ad478","wires":[]}] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
index b1486e22..9038e678 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vfmodule-ra-assignment.xml
@@ -142,7 +142,7 @@
<parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
<parameter name='format' value='json' />
<parameter name='httpMethod' value='POST' />
- <parameter name="responsePrefix" value="`$responsePrefix`" />
+ <parameter name="responsePrefix" value="raAssign" />
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
@@ -163,18 +163,30 @@
<parameter name="field1" value="AFTER BlueprintProcessingClient"/>
</record>
<execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
- <parameter name="source" value="`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.vf-module-label`" />
+ <parameter name="source" value="`'raAssign.payload.resource-assignment-response.resolved-data.' + $tmp.vf-module-label`" />
<parameter name="outputPath" value="jsonContextPrefix" />
- <parameter name="isEscaped" value="false" />
- </execute>
- <switch test="`$jsonContextPrefix.resource-accumulator-resolved-data_length`">
- <outcome value=''>
+ <parameter name="isEscaped" value="true" />
+ <outcome value='success'>
<call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vfmodule-mapping-ra-response' mode='sync' ></call>
</outcome>
- <outcome value='Other'>
- <call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vfmodule-template-ra-response' mode='sync' ></call>
+ <outcome value='failure'>
+ <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
+ <parameter name="source" value="`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.vf-module-label`" />
+ <parameter name="outputPath" value="jsonContextPrefix" />
+ <parameter name="isEscaped" value="true" />
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Failed to parse RA respose from mapping or meshed-template" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vfmodule-template-ra-response' mode='sync' ></call>
+ </outcome>
+ </execute>
</outcome>
- </switch>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
<parameter name="logger" value="message-log"/>
<parameter name="field1" value="DONE: vfmodule-ra-assignment"/>
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
index 494fe4a4..420bdf32 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-ra-assignment.xml
@@ -117,19 +117,19 @@
<parameter name='format' value='json' />
<parameter name='httpMethod' value='POST' />
<parameter name='dirPath' value="/opt/onap/sdnc/restconfapi/yang" />
- <parameter name="responsePrefix" value="`$responsePrefix`" />
+ <parameter name="responsePrefix" value="raAssign" />
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from ConfigAssignmentNode" />
+ <parameter name="error-message" value="Error from BlueprintProcessingClient" />
</return>
</outcome>
<outcome value='not-found'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error from ConfigAssignmentNode" />
+ <parameter name="error-message" value="Error from BlueprintProcessingClient" />
</return>
</outcome>
</execute>
@@ -138,18 +138,30 @@
<parameter name="field1" value="AFTER BlueprintProcessingClient"/>
</record>
<execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
- <parameter name="source" value="`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.sdnc-artifact-name`" />
+ <parameter name="source" value="`'raAssign.payload.resource-assignment-response.resolved-data.' + $tmp.sdnc-artifact-name`" />
<parameter name="outputPath" value="jsonContextPrefix" />
- <parameter name="isEscaped" value="false" />
- </execute>
- <switch test="`$jsonContextPrefix.resource-accumulator-resolved-data_length`">
- <outcome value=''>
+ <parameter name="isEscaped" value="true" />
+ <outcome value='success'>
<call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vnf-mapping-ra-response' mode='sync' ></call>
</outcome>
- <outcome value='Other'>
- <call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vnf-template-ra-response' mode='sync' ></call>
+ <outcome value='failure'>
+ <execute plugin="org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils" method="jsonStringToCtx">
+ <parameter name="source" value="`'raAssign.payload.resource-assignment-response.meshed-template.' + $tmp.sdnc-artifact-name`" />
+ <parameter name="outputPath" value="jsonContextPrefix" />
+ <parameter name="isEscaped" value="true" />
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Failed to parse RA respose from mapping or meshed-template" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <call module='GENERIC-RESOURCE-API' rpc='self-serve-process-vnf-template-ra-response' mode='sync' ></call>
+ </outcome>
+ </execute>
</outcome>
- </switch>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder">
<parameter name="logger" value="message-log"/>
<parameter name="field1" value="DONE: self-serve-vnf-ra-assignment"/>