-[{"id":"787b7eb6.eccdc","type":"dgstart","name":"DGSTART","outputs":1,"x":136.25,"y":51.25,"z":"f6cdfffd.3c02b","wires":[["1a8cfe.b37c9302"]]},{"id":"1a8cfe.b37c9302","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":412.25,"y":52.25,"z":"f6cdfffd.3c02b","wires":[["fdaa1f04.85343"]]},{"id":"fdaa1f04.85343","type":"method","name":"self-serve-vfmodule-ra-assignment","xml":"<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":763.25,"y":52.25,"z":"f6cdfffd.3c02b","wires":[["e4454830.acc5d8"]]},{"id":"e4454830.acc5d8","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":148.75,"y":134.25,"z":"f6cdfffd.3c02b","wires":[["50c86ef6.ffe2c","312a579c.f03f38","aeccb186.c7c4d","9eabe9e8.401698","d314732e.2b6ab","b152dbc0.724f38","30d09ca3.7b5804","bc01ec0.9995218","e972af31.068b5","e49ffba7.3d67e8"]]},{"id":"312a579c.f03f38","type":"set","name":"set","xml":"<set>\n <parameter name=\"request-id\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-type`\" /> \n <parameter name=\"resource-id\" value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" /> \n <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n","comments":"","x":333.25,"y":180.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"d858c747.ea8e38","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":609.4642486572266,"y":532.7142963409424,"z":"f6cdfffd.3c02b","wires":[["a3af88b.95cf078"]]},{"id":"9eabe9e8.401698","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":432.96431732177734,"y":397.9643135070801,"z":"f6cdfffd.3c02b","wires":[["be4504b2.d80da8"]]},{"id":"46e556fe.1910d8","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":1179.678565979004,"y":330.3928813934326,"z":"f6cdfffd.3c02b","wires":[]},{"id":"9e8107ed.d481a8","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":925.6785659790039,"y":330.3928813934326,"z":"f6cdfffd.3c02b","wires":[["46e556fe.1910d8"]]},{"id":"be4504b2.d80da8","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":687.6785659790039,"y":397.3928813934326,"z":"f6cdfffd.3c02b","wires":[["9e8107ed.d481a8","e575a36f.2aab7","f82b2aa1.d96ab8","be2e83c0.4cf55"]]},{"id":"e575a36f.2aab7","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":928.6785659790039,"y":376.3928813934326,"z":"f6cdfffd.3c02b","wires":[["53d8e980.fa9b38"]]},{"id":"f82b2aa1.d96ab8","type":"outcome","name":"vf_module_label","xml":"<outcome value='vf_module_label'>\n","comments":"","outputs":1,"x":913.6785659790039,"y":425.3928813934326,"z":"f6cdfffd.3c02b","wires":[["ff80f931.a9fef8"]]},{"id":"53d8e980.fa9b38","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":1183.678565979004,"y":376.3928813934326,"z":"f6cdfffd.3c02b","wires":[]},{"id":"ff80f931.a9fef8","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":1165.678565979004,"y":425.3928813934326,"z":"f6cdfffd.3c02b","wires":[]},{"id":"595ad25c.6df7cc","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 + '"' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name + '":"' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value + '",'`\"/>\n\n","comments":"","x":1183.678565979004,"y":476.3928813934326,"z":"f6cdfffd.3c02b","wires":[]},{"id":"be2e83c0.4cf55","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":885.6785659790039,"y":476.3928813934326,"z":"f6cdfffd.3c02b","wires":[["595ad25c.6df7cc"]]},{"id":"d314732e.2b6ab","type":"set","name":"set configAssignment JsonString","xml":"<set>\n\t<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '"service-instance-id":"' + $vf-module-topology-operation-input.service-information.service-instance-id + '",'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '"vnf-id":"' + $vf-module-topology-operation-input.vnf-information.vnf-id + '",'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '"vf-module-model-customization-uuid":"' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid + '",'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '"vnf-model-customization-uuid":"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid + '",'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload8\" value=\"`$tmp.config-name-value-payload7 + '"vf-module-id":"' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + '",'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload9\" value=\"`$tmp.config-name-value-payload8 + '"aic-cloud-region":"' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region + '"'`\"/>\n\t<parameter name=\"tmp.config-name-value-payload91\" value=\"`'{' + $tmp.config-name-value-payload9 + '}'`\" />\n\t\n","comments":"","x":404.25,"y":690.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"b152dbc0.724f38","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=\"`'["' + $tmp.vf-module-label + '"]'`\" />\n\t<parameter name=\"service-template-name\" value='`$tmp.sdnc-model-name`' />\n\t<parameter name=\"service-template-version\" value='`$tmp.sdnc-model-version`' />\n\t<parameter name='input-data' value='`$tmp.config-name-value-payload91`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />","comments":"","outputs":1,"x":390.25,"y":768.25,"z":"f6cdfffd.3c02b","wires":[["a75449a9.121cb8","4c11e20f.4101dc"]]},{"id":"a75449a9.121cb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":580.25,"y":744.25,"z":"f6cdfffd.3c02b","wires":[["55bef0b4.3f7bf"]]},{"id":"55bef0b4.3f7bf","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":778.25,"y":744.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"bc01ec0.9995218","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":436.25,"y":927.25,"z":"f6cdfffd.3c02b","wires":[["e00b2e3e.42c3e"]]},{"id":"acec6411.5abd48","type":"set","name":"set from resource-accumulator-resolved-data","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n\n","comments":"","x":1650.25,"y":978.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"e972af31.068b5","type":"for","name":"for capability-data","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n","comments":"","outputs":1,"x":355.25,"y":1190.25,"z":"f6cdfffd.3c02b","wires":[["493375a8.8ad84c"]]},{"id":"493375a8.8ad84c","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":578.25,"y":1190.25,"z":"f6cdfffd.3c02b","wires":[["dcc80534.449a68"]]},{"id":"30d09ca3.7b5804","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.vf-module-label`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":380.25,"y":848.25,"z":"f6cdfffd.3c02b","wires":[[]]},{"id":"50c86ef6.ffe2c","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":378.25,"y":134.25,"z":"f6cdfffd.3c02b","wires":[["dbcf1180.b48a"]]},{"id":"dbcf1180.b48a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":583.25,"y":134.25,"z":"f6cdfffd.3c02b","wires":[["28b63f4c.cc67"]]},{"id":"28b63f4c.cc67","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":747.25,"y":133.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"eb5a3d43.b778a","type":"for","name":"for vnf-parameters-data.param","xml":"<for silentFailure='true' index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n","comments":"","outputs":1,"x":1409.25,"y":927.25,"z":"f6cdfffd.3c02b","wires":[["d54ded8.5f1761"]]},{"id":"e00b2e3e.42c3e","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":715.25,"y":928.25,"z":"f6cdfffd.3c02b","wires":[["88260dd7.f8775","6947adfa.4470d4","6701fb7e.2b26b4"]]},{"id":"aeccb186.c7c4d","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":450.25,"y":235.25,"z":"f6cdfffd.3c02b","wires":[["7dfd20db.77c8f","a72e244b.da8138"]]},{"id":"7dfd20db.77c8f","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":713.3928833007812,"y":203.10715293884277,"z":"f6cdfffd.3c02b","wires":[["2727cdfd.cfb6a2"]]},{"id":"a72e244b.da8138","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":712.3928833007812,"y":267.1071529388428,"z":"f6cdfffd.3c02b","wires":[["dfe615c9.fe0728"]]},{"id":"2727cdfd.cfb6a2","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":926.3928833007812,"y":203.10715293884277,"z":"f6cdfffd.3c02b","wires":[]},{"id":"dfe615c9.fe0728","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":911.3928833007812,"y":267.1071529388428,"z":"f6cdfffd.3c02b","wires":[]},{"id":"d54ded8.5f1761","type":"switchNode","name":"switch input vnf-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n","comments":"","outputs":1,"x":1667.25,"y":927.25,"z":"f6cdfffd.3c02b","wires":[["c9bba73a.79c8a8"]]},{"id":"c9bba73a.79c8a8","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1847.25,"y":927.25,"z":"f6cdfffd.3c02b","wires":[["f8516843.76bfa8"]]},{"id":"f8516843.76bfa8","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n","comments":"","x":2057.25,"y":928.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"6701fb7e.2b26b4","type":"switchNode","name":"switch tmp.mso.param.not-found","xml":"<switch test='`$tmp.mso.param.found`'>\n","comments":"","outputs":1,"x":957.25,"y":980.25,"z":"f6cdfffd.3c02b","wires":[["1eab6ca0.fd9523"]]},{"id":"1eab6ca0.fd9523","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1191.25,"y":979.25,"z":"f6cdfffd.3c02b","wires":[["10451c0f.5267c4"]]},{"id":"88260dd7.f8775","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='tmp.mso.param.found' value='false' />\n","comments":"","x":941.25,"y":869.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"6947adfa.4470d4","type":"switchNode","name":"switch check length > 0","xml":"<switch test='`$prehighnum > 0`'>\n","comments":"","outputs":1,"x":933.75,"y":928.25,"z":"f6cdfffd.3c02b","wires":[["804cd2b6.9dfca"]]},{"id":"804cd2b6.9dfca","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1180.75,"y":928.25,"z":"f6cdfffd.3c02b","wires":[["eb5a3d43.b778a"]]},{"id":"c1178694.6e13a8","type":"for","name":"for payload","xml":"<for index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >","comments":"","outputs":1,"x":1627.25,"y":1242.25,"z":"f6cdfffd.3c02b","wires":[["24a9685f.2a0058"]]},{"id":"b0ad1516.f57698","type":"set","name":"set resource-key","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\t\n","comments":"","x":2026.25,"y":1183.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"b6a93d87.a295b","type":"set","name":"set output-data ","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />","comments":"","x":1205.25,"y":1144.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"dcc80534.449a68","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":813.25,"y":1191.25,"z":"f6cdfffd.3c02b","wires":[["b3170125.7c722"]]},{"id":"b3170125.7c722","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1008.25,"y":1190.25,"z":"f6cdfffd.3c02b","wires":[["b6a93d87.a295b","f8216152.dcd4b","fadae3c4.72797","e2c1071c.0cc8c8"]]},{"id":"fadae3c4.72797","type":"set","name":"set length","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' value='`$highnum + 1`'/>\n\n","comments":"","x":1204.25,"y":1242.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"4c11e20f.4101dc","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":585.25,"y":806.25,"z":"f6cdfffd.3c02b","wires":[["55bef0b4.3f7bf"]]},{"id":"f8216152.dcd4b","type":"switchNode","name":"switch payload_length","xml":"<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n","comments":"","outputs":1,"x":1234.25,"y":1191.25,"z":"f6cdfffd.3c02b","wires":[["83895025.eb98d","be495554.bffde8"]]},{"id":"83895025.eb98d","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1449.25,"y":1123.25,"z":"f6cdfffd.3c02b","wires":[[]]},{"id":"be495554.bffde8","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1458.25,"y":1242.25,"z":"f6cdfffd.3c02b","wires":[["c1178694.6e13a8"]]},{"id":"e49ffba7.3d67e8","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":398.03570556640625,"y":532.8571863174438,"z":"f6cdfffd.3c02b","wires":[["d858c747.ea8e38"]]},{"id":"14d26024.6fa82","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":1076.1785354614258,"y":533.714297413826,"z":"f6cdfffd.3c02b","wires":[["963bb4b0.22ed08","1fbe2488.4c27fb","22951609.29842a"]]},{"id":"963bb4b0.22ed08","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1319.3927536010742,"y":534.0951566696167,"z":"f6cdfffd.3c02b","wires":[["844ac3f5.38c17"]]},{"id":"844ac3f5.38c17","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":1500.392734527588,"y":534.2380638122559,"z":"f6cdfffd.3c02b","wires":[]},{"id":"df03e41c.dcd528","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":1097.630874633789,"y":662.5595798492432,"z":"f6cdfffd.3c02b","wires":[["4acd2420.495eec","30028d51.5031a2","714d9205.b0588c"]]},{"id":"4acd2420.495eec","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1376.4164581298828,"y":662.9404038190842,"z":"f6cdfffd.3c02b","wires":[["e4517ef0.7d38d"]]},{"id":"e4517ef0.7d38d","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":1551.416389465332,"y":663.0833042860031,"z":"f6cdfffd.3c02b","wires":[]},{"id":"30028d51.5031a2","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1386.6308822631836,"y":742.345287322998,"z":"f6cdfffd.3c02b","wires":[["74f0e16a.8ee83"]]},{"id":"a3af88b.95cf078","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":784.9880294799805,"y":533.0952922105789,"z":"f6cdfffd.3c02b","wires":[["14d26024.6fa82","df03e41c.dcd528"]]},{"id":"76ba4f27.57cd","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":1598.67866897583,"y":614.214334487915,"z":"f6cdfffd.3c02b","wires":[]},{"id":"1fbe2488.4c27fb","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1327.2501411437988,"y":614.5000095367432,"z":"f6cdfffd.3c02b","wires":[["76ba4f27.57cd"]]},{"id":"74f0e16a.8ee83","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":1591.071434020996,"y":743.9286003112793,"z":"f6cdfffd.3c02b","wires":[]},{"id":"24a9685f.2a0058","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1804.25,"y":1241.25,"z":"f6cdfffd.3c02b","wires":[["b0ad1516.f57698","7d81cd82.395494","aa9f9e41.1d7a"]]},{"id":"7d81cd82.395494","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n","comments":"","x":2015.25,"y":1241.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"22951609.29842a","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1330.0000190734863,"y":573.7500076293945,"z":"f6cdfffd.3c02b","wires":[["9226e1bf.3d826"]]},{"id":"9226e1bf.3d826","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":1501.2500228881836,"y":572.5000085830688,"z":"f6cdfffd.3c02b","wires":[]},{"id":"714d9205.b0588c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1387.5,"y":703.75,"z":"f6cdfffd.3c02b","wires":[["3ac5c538.2d5c9a"]]},{"id":"3ac5c538.2d5c9a","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":1558.7500038146973,"y":702.5000009536743,"z":"f6cdfffd.3c02b","wires":[]},{"id":"aa9f9e41.1d7a","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='num' value='`$num + 1`' />\n","comments":"","x":2028.25,"y":1307.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"e2c1071c.0cc8c8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1221.25,"y":1313.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"f918a896.e97518","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1568.25,"y":1038.25,"z":"f6cdfffd.3c02b","wires":[]},{"id":"10451c0f.5267c4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1362.25,"y":978.25,"z":"f6cdfffd.3c02b","wires":[["acec6411.5abd48","f918a896.e97518"]]}]
\ No newline at end of file
+[
+ {
+ "id": "eef285aa.adcf08",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 112,
+ "y": 56,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "7fa82770.3d11a8"
+ ]
+ ]
+ },
+ {
+ "id": "7fa82770.3d11a8",
+ "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": 388,
+ "y": 57,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "4815508b.fe2d3"
+ ]
+ ]
+ },
+ {
+ "id": "4815508b.fe2d3",
+ "type": "method",
+ "name": "self-serve-vfmodule-ra-assignment",
+ "xml": "<method rpc='self-serve-vfmodule-ra-assignment' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 739,
+ "y": 57,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "8883fb88.18b918"
+ ]
+ ]
+ },
+ {
+ "id": "8883fb88.18b918",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 124.5,
+ "y": 139,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "b71ab664.30d0b8",
+ "664b49d9.a8ed68",
+ "b69a7caa.2ef72",
+ "fd0f0fe.b870bf",
+ "4556977.80dab68",
+ "f4d2dad9.651818",
+ "c1dc247a.f59bd8",
+ "1584a1f4.77616e",
+ "d7fdb480.d92b28",
+ "34d4733f.ad277c",
+ "1f798081.68b1ef",
+ "860049fc.959878",
+ "53829451.b6abdc",
+ "f39abee0.7b55a",
+ "5ee34dfd.0df884",
+ "a487406b.42d53"
+ ]
+ ]
+ },
+ {
+ "id": "664b49d9.a8ed68",
+ "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": 309,
+ "y": 185,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "f8be6bf3.459048",
+ "type": "outcome",
+ "name": "true",
+ "xml": "<outcome value='true'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 585.2142486572266,
+ "y": 537.4642963409424,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "70a816d3.209488"
+ ]
+ ]
+ },
+ {
+ "id": "fd0f0fe.b870bf",
+ "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": 408.71431732177734,
+ "y": 402.7143135070801,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "43cc66c7.9e4908"
+ ]
+ ]
+ },
+ {
+ "id": "48b337df.0e22f8",
+ "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": 1155.428565979004,
+ "y": 335.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "31ed0071.fe8b9",
+ "type": "outcome",
+ "name": "sdnc_model_name",
+ "xml": "<outcome value='sdnc_model_name'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 901.4285659790039,
+ "y": 335.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "48b337df.0e22f8"
+ ]
+ ]
+ },
+ {
+ "id": "43cc66c7.9e4908",
+ "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": 663.4285659790039,
+ "y": 402.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "31ed0071.fe8b9",
+ "44279893.74a9d8",
+ "67bd2926.b30418",
+ "a154fcf0.3dc44"
+ ]
+ ]
+ },
+ {
+ "id": "44279893.74a9d8",
+ "type": "outcome",
+ "name": "sdnc_model_version",
+ "xml": "<outcome value='sdnc_model_version'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 904.4285659790039,
+ "y": 381.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "cf17488c.4f8388"
+ ]
+ ]
+ },
+ {
+ "id": "67bd2926.b30418",
+ "type": "outcome",
+ "name": "vf_module_label",
+ "xml": "<outcome value='vf_module_label'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 889.4285659790039,
+ "y": 430.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "c0c56190.d3b15"
+ ]
+ ]
+ },
+ {
+ "id": "cf17488c.4f8388",
+ "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": 1159.428565979004,
+ "y": 381.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "c0c56190.d3b15",
+ "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": 1141.428565979004,
+ "y": 430.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "e897fa08.d5bf28",
+ "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 + '"' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].name + '":"' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$i].value + '",'`\"/>\n\n",
+ "comments": "",
+ "x": 1159.428565979004,
+ "y": 481.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "a154fcf0.3dc44",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861.4285659790039,
+ "y": 481.1428813934326,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "e897fa08.d5bf28"
+ ]
+ ]
+ },
+ {
+ "id": "4556977.80dab68",
+ "type": "set",
+ "name": "set configAssignment JsonString",
+ "xml": "<set>\n<parameter name=\"tmp.config-name-value-payload4\" value=\"`$tmp.config-name-value-other-payload + '"service-instance-id":"' + $vf-module-topology-operation-input.service-information.service-instance-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '"vnf-id":"' + $vf-module-topology-operation-input.vnf-information.vnf-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '"vf-module-model-customization-uuid":"' + $vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '"vnf-model-customization-uuid":"' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.onap-model-information.model-customization-uuid + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload8\" value=\"`$tmp.config-name-value-payload7 + '"vf-module-id":"' + $vf-module-topology-operation-input.vf-module-information.vf-module-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload9\" value=\"`$tmp.config-name-value-payload8 + '"aic-cloud-region":"' + $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region + '"'`\"/>",
+ "comments": "",
+ "x": 395.0000190734863,
+ "y": 651,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "f4d2dad9.651818",
+ "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": 397.3333435058594,
+ "y": 869.000057220459,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "8233e320.47afe",
+ "6398d565.0d7bec"
+ ]
+ ]
+ },
+ {
+ "id": "8233e320.47afe",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 618.3333129882812,
+ "y": 838,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "ad5923cd.d6bbb"
+ ]
+ ]
+ },
+ {
+ "id": "ad5923cd.d6bbb",
+ "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": 816.3333129882812,
+ "y": 838,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "1584a1f4.77616e",
+ "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": 427.00001525878906,
+ "y": 1140.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "a0dff41d.c5f6f8"
+ ]
+ ]
+ },
+ {
+ "id": "b1915485.d1a248",
+ "type": "set",
+ "name": "set from resource-accumulator-resolved-data",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n\n",
+ "comments": "",
+ "x": 1641.000015258789,
+ "y": 1191.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "d7fdb480.d92b28",
+ "type": "for",
+ "name": "for capability-data",
+ "xml": "<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 346.00001525878906,
+ "y": 1403.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "57177866.272cc8"
+ ]
+ ]
+ },
+ {
+ "id": "57177866.272cc8",
+ "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": 569.0000152587891,
+ "y": 1403.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "c093b4a1.367fc8"
+ ]
+ ]
+ },
+ {
+ "id": "c1dc247a.f59bd8",
+ "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": 371.00001525878906,
+ "y": 1061.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b71ab664.30d0b8",
+ "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": 354,
+ "y": 139,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "f5981e01.60fd2"
+ ]
+ ]
+ },
+ {
+ "id": "f5981e01.60fd2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 559,
+ "y": 139,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "3c5c1bf8.51e694"
+ ]
+ ]
+ },
+ {
+ "id": "3c5c1bf8.51e694",
+ "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": 723,
+ "y": 138,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "cde17ef3.62e96",
+ "type": "for",
+ "name": "for vnf-parameters-data.param",
+ "xml": "<for silentFailure='true' index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1400.000015258789,
+ "y": 1140.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "ee7f99cb.ec6478"
+ ]
+ ]
+ },
+ {
+ "id": "a0dff41d.c5f6f8",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 706.0000152587891,
+ "y": 1141.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "5ba2a252.918fcc",
+ "9de1e4b8.140328",
+ "8d20aa37.3155b8"
+ ]
+ ]
+ },
+ {
+ "id": "b69a7caa.2ef72",
+ "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": 426,
+ "y": 240,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "4afc6166.7a666",
+ "82ad191e.542718"
+ ]
+ ]
+ },
+ {
+ "id": "4afc6166.7a666",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 689.1428833007812,
+ "y": 207.85715293884277,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "efd0848b.dde0a8"
+ ]
+ ]
+ },
+ {
+ "id": "82ad191e.542718",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 688.1428833007812,
+ "y": 271.8571529388428,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "f848b2f3.3c79"
+ ]
+ ]
+ },
+ {
+ "id": "efd0848b.dde0a8",
+ "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": 902.1428833007812,
+ "y": 207.85715293884277,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "f848b2f3.3c79",
+ "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": 887.1428833007812,
+ "y": 271.8571529388428,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "ee7f99cb.ec6478",
+ "type": "switchNode",
+ "name": "switch input vnf-name",
+ "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1658.000015258789,
+ "y": 1140.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "9cff4b27.b85b38"
+ ]
+ ]
+ },
+ {
+ "id": "9cff4b27.b85b38",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1838.000015258789,
+ "y": 1140.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "c0fb05df.380d78"
+ ]
+ ]
+ },
+ {
+ "id": "c0fb05df.380d78",
+ "type": "set",
+ "name": "set for existing param name",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n",
+ "comments": "",
+ "x": 2048.000015258789,
+ "y": 1141.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "8d20aa37.3155b8",
+ "type": "switchNode",
+ "name": "switch tmp.mso.param.not-found",
+ "xml": "<switch test='`$tmp.mso.param.found`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 948.0000152587891,
+ "y": 1193.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "1c10cd2a.821413"
+ ]
+ ]
+ },
+ {
+ "id": "1c10cd2a.821413",
+ "type": "not-found",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1182.000015258789,
+ "y": 1192.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "99896231.f8f2a"
+ ]
+ ]
+ },
+ {
+ "id": "5ba2a252.918fcc",
+ "type": "set",
+ "name": "set for existing param name",
+ "xml": "<set>\n<parameter name='tmp.mso.param.found' value='false' />\n",
+ "comments": "",
+ "x": 932.0000152587891,
+ "y": 1082.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "9de1e4b8.140328",
+ "type": "switchNode",
+ "name": "switch check length > 0",
+ "xml": "<switch test='`$prehighnum > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 924.5000152587891,
+ "y": 1141.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "9213bfe0.b1c2f"
+ ]
+ ]
+ },
+ {
+ "id": "9213bfe0.b1c2f",
+ "type": "not-found",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1171.500015258789,
+ "y": 1141.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "cde17ef3.62e96"
+ ]
+ ]
+ },
+ {
+ "id": "2ccc2373.2f411c",
+ "type": "for",
+ "name": "for payload",
+ "xml": "<for index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1618.000015258789,
+ "y": 1455.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "f1daaf1.ffce15"
+ ]
+ ]
+ },
+ {
+ "id": "44960d5c.3364a4",
+ "type": "set",
+ "name": "set resource-key",
+ "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\t\n",
+ "comments": "",
+ "x": 2017.000015258789,
+ "y": 1396.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "53d49382.5b17ac",
+ "type": "set",
+ "name": "set output-data ",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />",
+ "comments": "",
+ "x": 1196.000015258789,
+ "y": 1357.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "c093b4a1.367fc8",
+ "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": 804.0000152587891,
+ "y": 1404.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "556a862d.ca6cc8"
+ ]
+ ]
+ },
+ {
+ "id": "556a862d.ca6cc8",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 999.0000152587891,
+ "y": 1403.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "53d49382.5b17ac",
+ "d10a9ec.6fa016",
+ "1edc412b.57e08f",
+ "fb512106.96832"
+ ]
+ ]
+ },
+ {
+ "id": "1edc412b.57e08f",
+ "type": "set",
+ "name": "set length",
+ "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' value='`$highnum + 1`'/>\n\n",
+ "comments": "",
+ "x": 1195.000015258789,
+ "y": 1455.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "6398d565.0d7bec",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 623.3333129882812,
+ "y": 900,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "ad5923cd.d6bbb"
+ ]
+ ]
+ },
+ {
+ "id": "d10a9ec.6fa016",
+ "type": "switchNode",
+ "name": "switch payload_length",
+ "xml": "<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1225.000015258789,
+ "y": 1404.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "4ee4b348.8656dc",
+ "e4f53748.a116e8"
+ ]
+ ]
+ },
+ {
+ "id": "4ee4b348.8656dc",
+ "type": "outcome",
+ "name": "true",
+ "xml": "<outcome value='true'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1440.000015258789,
+ "y": 1336.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4f53748.a116e8",
+ "type": "other",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.000015258789,
+ "y": 1455.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "2ccc2373.2f411c"
+ ]
+ ]
+ },
+ {
+ "id": "34d4733f.ad277c",
+ "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": 373.78570556640625,
+ "y": 537.6071863174438,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "f8be6bf3.459048"
+ ]
+ ]
+ },
+ {
+ "id": "2dcbecbb.bef464",
+ "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": 1051.9285354614258,
+ "y": 538.464297413826,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "6d48236.8c58cdc",
+ "77c0ba75.bf78b4",
+ "3eefac05.6098c4"
+ ]
+ ]
+ },
+ {
+ "id": "6d48236.8c58cdc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1295.1427536010742,
+ "y": 538.8451566696167,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "b60c82bc.a0482"
+ ]
+ ]
+ },
+ {
+ "id": "b60c82bc.a0482",
+ "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": 1476.142734527588,
+ "y": 538.9880638122559,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "691f618d.9d0b7",
+ "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": 1073.380874633789,
+ "y": 667.3095798492432,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "7a3b7e53.0cbf9",
+ "21c1086d.e4f9e8",
+ "9b560159.d8c39"
+ ]
+ ]
+ },
+ {
+ "id": "7a3b7e53.0cbf9",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1352.1664581298828,
+ "y": 667.6904038190842,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "e1cb3e60.4c427"
+ ]
+ ]
+ },
+ {
+ "id": "e1cb3e60.4c427",
+ "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": 1527.166389465332,
+ "y": 667.8333042860031,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "21c1086d.e4f9e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1362.3808822631836,
+ "y": 747.095287322998,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "3dd958.a42046a8"
+ ]
+ ]
+ },
+ {
+ "id": "70a816d3.209488",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 760.7380294799805,
+ "y": 537.8452922105789,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "2dcbecbb.bef464",
+ "691f618d.9d0b7"
+ ]
+ ]
+ },
+ {
+ "id": "e3b84927.6478a8",
+ "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": 1574.42866897583,
+ "y": 618.964334487915,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "77c0ba75.bf78b4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1303.0001411437988,
+ "y": 619.2500095367432,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "e3b84927.6478a8"
+ ]
+ ]
+ },
+ {
+ "id": "3dd958.a42046a8",
+ "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": 1566.821434020996,
+ "y": 748.6786003112793,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "f1daaf1.ffce15",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1795.000015258789,
+ "y": 1454.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "44960d5c.3364a4",
+ "4b9e8979.c71658",
+ "bdf323e8.a11f4"
+ ]
+ ]
+ },
+ {
+ "id": "4b9e8979.c71658",
+ "type": "set",
+ "name": "set length",
+ "xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n",
+ "comments": "",
+ "x": 2006.000015258789,
+ "y": 1454.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "3eefac05.6098c4",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1305.7500190734863,
+ "y": 578.5000076293945,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "8019c4ec.975338"
+ ]
+ ]
+ },
+ {
+ "id": "8019c4ec.975338",
+ "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": 1477.0000228881836,
+ "y": 577.2500085830688,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "9b560159.d8c39",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1363.25,
+ "y": 708.5,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "489b8367.0100dc"
+ ]
+ ]
+ },
+ {
+ "id": "489b8367.0100dc",
+ "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": 1534.5000038146973,
+ "y": 707.2500009536743,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "bdf323e8.a11f4",
+ "type": "set",
+ "name": "increment length",
+ "xml": "<set>\n\t<parameter name='num' value='`$num + 1`' />\n",
+ "comments": "",
+ "x": 2019.000015258789,
+ "y": 1520.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "fb512106.96832",
+ "type": "set",
+ "name": "increment length",
+ "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
+ "comments": "",
+ "x": 1212.000015258789,
+ "y": 1526.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "3d1f3402.e6765c",
+ "type": "set",
+ "name": "increment length",
+ "xml": "<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n",
+ "comments": "",
+ "x": 1559.000015258789,
+ "y": 1251.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "99896231.f8f2a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.000015258789,
+ "y": 1191.3333473205566,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ [
+ "b1915485.d1a248",
+ "3d1f3402.e6765c"
+ ]
+ ]
+ },
+ {
+ "id": "1f798081.68b1ef",
+ "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": 318.6666603088379,
+ "y": 801.0000104904175,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "860049fc.959878",
+ "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": 315.3333282470703,
+ "y": 956.000018119812,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f39abee0.7b55a",
+ "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": 328.25,
+ "y": 1678.5000133514404,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "53829451.b6abdc",
+ "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": 334.5,
+ "y": 1626.0000114440918,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ },
+ {
+ "id": "5ee34dfd.0df884",
+ "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": 313.00000381469727,
+ "y": 1577.2500190734863,
+ "z": "37ca9f86.ffaea",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a487406b.42d53",
+ "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.template-prefix'`\" value='`$tmp.sdnc-artifact-name`' />\n <parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
+ "comments": "",
+ "x": 369.0000228881836,
+ "y": 702.6667098999023,
+ "z": "37ca9f86.ffaea",
+ "wires": []
+ }
+]
\ No newline at end of file