1
|
[{"id":"d0c59a3d.7ed238","type":"dgstart","name":"DGSTART","outputs":1,"x":98.75,"y":50,"z":"800c9e1a.13ce2","wires":[["f0c0673e.e88ee8"]]},{"id":"f0c0673e.e88ee8","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":374.75,"y":51,"z":"800c9e1a.13ce2","wires":[["8f50a323.b2533"]]},{"id":"8f50a323.b2533","type":"method","name":"self-serve-vnf-ra-assignment","xml":"<method rpc='self-serve-vnf-ra-assignment' mode='sync'>\n","comments":"","outputs":1,"x":691.75,"y":51,"z":"800c9e1a.13ce2","wires":[["8d8d8e2.459ef7"]]},{"id":"8d8d8e2.459ef7","type":"block","name":"block atomic","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":187.91664123535156,"y":131.3333339691162,"z":"800c9e1a.13ce2","wires":[["824db1d2.ca0c8","319a8e77.bffd82","baafab16.f78078","295ada85.311d36","32e0a4e6.ad652c","66ae9485.ed619c","773ad2d5.7929bc","f06c74aa.529078","b08389cd.25db28","2ecf40df.8b54","27588817.e77f28","118b26b3.8912c9","b9e6cadc.8763c8","ea43f5d0.00a1a8","397b0eed.c2de92"]]},{"id":"319a8e77.bffd82","type":"set","name":"set","xml":"<set>\n <parameter name=\"request-id\" value=\"`$tmp.return.generate.vnf-se-serv-uuid`\"/>\n <parameter name=\"resource-type\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-type`\" /> \n <parameter name=\"resource-id\" value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" /> \n <parameter name=\"action-name\" value=\"resource-assignment-action\"/> \n <parameter name=\"responsePrefix\" value=\"sriovAssign\" />\n","comments":"","x":373.6666603088379,"y":176.08333015441895,"z":"800c9e1a.13ce2","wires":[]},{"id":"e67d04d9.1103a8","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":912.5594635009766,"y":567.6189861297607,"z":"800c9e1a.13ce2","wires":[["d9295e39.85b92","ceb448d8.62a4f8","524195c4.a15adc"]]},{"id":"d9295e39.85b92","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1157.5595626831055,"y":516.904709815979,"z":"800c9e1a.13ce2","wires":[["aa075761.aa8fd8"]]},{"id":"aa075761.aa8fd8","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":1330.5595626831055,"y":515.904709815979,"z":"800c9e1a.13ce2","wires":[]},{"id":"e30fe9dc.be8b98","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":1532.9880638122559,"y":617.047513961792,"z":"800c9e1a.13ce2","wires":[]},{"id":"7ee3a573.6d8efc","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":1332.5595626831055,"y":564.904709815979,"z":"800c9e1a.13ce2","wires":[]},{"id":"32e0a4e6.ad652c","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":433.55946350097656,"y":568.6189861297607,"z":"800c9e1a.13ce2","wires":[["6d6bcc9e.6983a4"]]},{"id":"ceb448d8.62a4f8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1163.5595626831055,"y":565.904709815979,"z":"800c9e1a.13ce2","wires":[["7ee3a573.6d8efc"]]},{"id":"6d6bcc9e.6983a4","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":682.5594635009766,"y":568.6189861297607,"z":"800c9e1a.13ce2","wires":[["e67d04d9.1103a8"]]},{"id":"295ada85.311d36","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":449.41664123535156,"y":368.3333339691162,"z":"800c9e1a.13ce2","wires":[["34e422ee.14170e"]]},{"id":"34e422ee.14170e","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":671.4166412353516,"y":367.3333339691162,"z":"800c9e1a.13ce2","wires":[["f966e290.4208d"]]},{"id":"fe1a1220.0d2a9","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":1322.4166412353516,"y":300.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"bf45de0d.8d2cd","type":"outcome","name":"sdnc_model_name","xml":"<outcome value='sdnc_model_name'>\n","comments":"","outputs":1,"x":1068.4166412353516,"y":300.3333339691162,"z":"800c9e1a.13ce2","wires":[["fe1a1220.0d2a9"]]},{"id":"f966e290.4208d","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":830.4166412353516,"y":367.3333339691162,"z":"800c9e1a.13ce2","wires":[["bf45de0d.8d2cd","bf945f09.0b903","5e2ecec5.712b4","542f60d0.d3792"]]},{"id":"bf945f09.0b903","type":"outcome","name":"sdnc_model_version","xml":"<outcome value='sdnc_model_version'>\n","comments":"","outputs":1,"x":1071.4166412353516,"y":346.3333339691162,"z":"800c9e1a.13ce2","wires":[["6a9371f3.51374"]]},{"id":"5e2ecec5.712b4","type":"outcome","name":"sdnc_artifact_name","xml":"<outcome value='sdnc_artifact_name'>\n","comments":"","outputs":1,"x":1070.4166412353516,"y":395.3333339691162,"z":"800c9e1a.13ce2","wires":[["7543e155.3b9c4"]]},{"id":"6a9371f3.51374","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":1326.4166412353516,"y":346.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"7543e155.3b9c4","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":1322.4166412353516,"y":395.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"b220aa70.438f68","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 + '"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].name + '":"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$i].value + '",'`\"/>\n\n","comments":"","x":1338.4166412353516,"y":444.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"542f60d0.d3792","type":"outcome","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1030.416648864746,"y":444.9047546386719,"z":"800c9e1a.13ce2","wires":[["b220aa70.438f68"]]},{"id":"66ae9485.ed619c","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":"' + $vnf-topology-operation-input.service-information.service-instance-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload5\" value=\"`$tmp.config-name-value-payload4 + '"vnf-model-customization-uuid":"' + $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload6\" value=\"`$tmp.config-name-value-payload5 + '"vnf-id":"' + $vnf-topology-operation-input.vnf-information.vnf-id + '",'`\"/>\n<parameter name=\"tmp.config-name-value-payload7\" value=\"`$tmp.config-name-value-payload6 + '"aic-cloud-region":"' + $vnf-topology-operation-input.vnf-request-input.aic-cloud-region + '"'`\"/>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload7 + '}'`\" />","comments":"","x":443.41664123535156,"y":687.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"773ad2d5.7929bc","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.sdnc-artifact-name + '"]'`\" />\n\t<parameter name=\"service-template-name\" value='`$tmp.sdnc-model-name`' />\n\t<parameter name=\"service-template-version\" value='`$tmp.sdnc-model-version`' />\n\t<parameter name='input-data' value='`$tmp.json-payload`' />\n\t<parameter name=\"prifix\" value=\"sriovAssign\" />","comments":"","outputs":1,"x":431.08331298828125,"y":841.9999761581421,"z":"800c9e1a.13ce2","wires":[["439ea371.d8e00c","737bc15c.33608"]]},{"id":"439ea371.d8e00c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":621.0833129882812,"y":817.9999761581421,"z":"800c9e1a.13ce2","wires":[["a0e51ba7.0038b8"]]},{"id":"a0e51ba7.0038b8","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":803.0833129882812,"y":838.9999761581421,"z":"800c9e1a.13ce2","wires":[]},{"id":"b08389cd.25db28","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":475.41664123535156,"y":1059.333324432373,"z":"800c9e1a.13ce2","wires":[["bfd7ca.a572b838"]]},{"id":"6a7385bd.a3aa5c","type":"set","name":"set from resource-accumulator-resolved-data","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='RA Resolved'/>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='SUCCESS'/>\n","comments":"","x":1705.4166412353516,"y":1111.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"2ecf40df.8b54","type":"for","name":"for capability-data","xml":"<for silentFailure='true' index='i' start='0' end='`$jsonContextPrefix.capability-data_length`' >\n","comments":"","outputs":1,"x":400.41664123535156,"y":1401.333324432373,"z":"800c9e1a.13ce2","wires":[["c7af3a2a.07b838"]]},{"id":"c7af3a2a.07b838","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":609.4166412353516,"y":1401.333324432373,"z":"800c9e1a.13ce2","wires":[["def772c6.92a07"]]},{"id":"f06c74aa.529078","type":"execute","name":"execute jsonStringToCtx","xml":"<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"`'sriovAssign.mashed-data.' + $tmp.sdnc-artifact-name`\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n","comments":"","outputs":1,"x":419.41664123535156,"y":980.333324432373,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"824db1d2.ca0c8","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":425.41664123535156,"y":131.3333339691162,"z":"800c9e1a.13ce2","wires":[["c25f2fa4.2e114"]]},{"id":"c25f2fa4.2e114","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":603.4166412353516,"y":129.3333339691162,"z":"800c9e1a.13ce2","wires":[["5adea246.4faddc"]]},{"id":"5adea246.4faddc","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":750.4166412353516,"y":130.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"b33db330.db3ac","type":"for","name":"for vnf-parameters-data.param","xml":"<for silentFailure='true' index='cnt' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n","comments":"","outputs":1,"x":1448.4166412353516,"y":1059.333324432373,"z":"800c9e1a.13ce2","wires":[["103653f5.91707c"]]},{"id":"bfd7ca.a572b838","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":754.4166412353516,"y":1060.333324432373,"z":"800c9e1a.13ce2","wires":[["aaca7b17.ef9368","228e0b9c.62cb04","15915f83.bbaed"]]},{"id":"baafab16.f78078","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":477.41664123535156,"y":229.3333339691162,"z":"800c9e1a.13ce2","wires":[["c0beca06.9dbe98","a751e3b8.f7e79"]]},{"id":"c0beca06.9dbe98","type":"outcome","name":"null","xml":"<outcome value=''>","comments":"","outputs":1,"x":715.4166412353516,"y":197.3333339691162,"z":"800c9e1a.13ce2","wires":[["325b94d1.d736ec"]]},{"id":"a751e3b8.f7e79","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":714.4166412353516,"y":261.3333339691162,"z":"800c9e1a.13ce2","wires":[["4cac7986.26d988"]]},{"id":"325b94d1.d736ec","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":928.4166412353516,"y":197.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"4cac7986.26d988","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":913.4166412353516,"y":261.3333339691162,"z":"800c9e1a.13ce2","wires":[]},{"id":"103653f5.91707c","type":"switchNode","name":"switch input vnf-name","xml":"<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].name == $jsonContextPrefix.resource-accumulator-resolved-data[$i].param-name`'>\n","comments":"","outputs":1,"x":1706.4166412353516,"y":1059.333324432373,"z":"800c9e1a.13ce2","wires":[["bb513218.4fb28"]]},{"id":"bb513218.4fb28","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1886.4166412353516,"y":1059.333324432373,"z":"800c9e1a.13ce2","wires":[["13551737.eec4e9"]]},{"id":"13551737.eec4e9","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$cnt].value`' value='`$jsonContextPrefix.resource-accumulator-resolved-data[$i].param-value`'/>\n<parameter name='tmp.mso.param.found' value='true' />\n","comments":"","x":2096.4166412353516,"y":1060.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"15915f83.bbaed","type":"switchNode","name":"switch tmp.mso.param.not-found","xml":"<switch test='`$tmp.mso.param.found`'>\n","comments":"","outputs":1,"x":996.4166412353516,"y":1112.333324432373,"z":"800c9e1a.13ce2","wires":[["57aa76b8.68f398"]]},{"id":"57aa76b8.68f398","type":"not-found","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1230.4166412353516,"y":1111.333324432373,"z":"800c9e1a.13ce2","wires":[["a1a25b3c.f6b8a8"]]},{"id":"aaca7b17.ef9368","type":"set","name":"set for existing param name","xml":"<set>\n<parameter name='tmp.mso.param.found' value='false' />\n","comments":"","x":980.4166412353516,"y":1001.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"228e0b9c.62cb04","type":"switchNode","name":"switch check length > 0","xml":"<switch test='`$prehighnum > 0`'>\n","comments":"","outputs":1,"x":972.9166412353516,"y":1060.333324432373,"z":"800c9e1a.13ce2","wires":[["478407d7.e64458"]]},{"id":"478407d7.e64458","type":"not-found","name":"true","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1219.9166412353516,"y":1060.333324432373,"z":"800c9e1a.13ce2","wires":[["b33db330.db3ac"]]},{"id":"129dc007.a6a9b","type":"for","name":"for payload","xml":"<for silentFailure='true' index='k' start='0' end='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length`' >","comments":"","outputs":1,"x":1791.4166412353516,"y":1419.333324432373,"z":"800c9e1a.13ce2","wires":[["b2135a5d.998258"]]},{"id":"ed366e3e.4e89c","type":"set","name":"set resource-key","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key[$num].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload[$k].param-value`'/>\n\n","comments":"","x":2140.4166412353516,"y":1355.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"adc0d430.9c36a8","type":"set","name":"set output-data ","xml":"<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].name`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].value`' value='`$jsonContextPrefix.capability-data[$i].key-mapping[$j].output-key-mapping[$l].resource-value`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.capability-name`' value='`$jsonContextPrefix.capability-data[$i].capability-name`'/>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.status`' value='PENDING'/>\n<parameter name='num' value='0' />","comments":"","x":1364.4166412353516,"y":1299.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"def772c6.92a07","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":832.4166412353516,"y":1401.333324432373,"z":"800c9e1a.13ce2","wires":[["5039b442.319d5c"]]},{"id":"5039b442.319d5c","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1083.4166412353516,"y":1401.333324432373,"z":"800c9e1a.13ce2","wires":[["adc0d430.9c36a8","ace22a8e.1c1438","224d1f3e.75128","98fa758f.6cfbb8"]]},{"id":"ace22a8e.1c1438","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' value='`$highnum + 1`'/>\n","comments":"","x":1352.4166412353516,"y":1437.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"737bc15c.33608","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":626.0833129882812,"y":879.9999761581421,"z":"800c9e1a.13ce2","wires":[["a0e51ba7.0038b8"]]},{"id":"224d1f3e.75128","type":"switchNode","name":"switch payload_length","xml":"<switch test=\"`$jsonContextPrefix.capability-data[$i].key-mapping[$j].payload_length == ''`\">\n","comments":"","outputs":1,"x":1388.4166412353516,"y":1370.333324432373,"z":"800c9e1a.13ce2","wires":[["da435bd9.d2a898","121da4bf.6ed1fb"]]},{"id":"da435bd9.d2a898","type":"outcome","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":1609.4166412353516,"y":1301.333324432373,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"121da4bf.6ed1fb","type":"other","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":1616.4166412353516,"y":1419.333324432373,"z":"800c9e1a.13ce2","wires":[["129dc007.a6a9b"]]},{"id":"524195c4.a15adc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1159.7023658752441,"y":616.9046821594238,"z":"800c9e1a.13ce2","wires":[["e30fe9dc.be8b98"]]},{"id":"c2b87f13.df4ad","type":"set","name":"set length","xml":"<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$highnum].resource-resolution-data.resource-key_length`' value='`$num + 1`'/>\n","comments":"","x":2129.4166412353516,"y":1419.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"965376ca.357fd8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='num' value='`$num + 1`' />\n","comments":"","x":2147.4166412353516,"y":1493.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"98fa758f.6cfbb8","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n\n","comments":"","x":1373.4166412353516,"y":1504.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"a1a25b3c.f6b8a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1407.4166412353516,"y":1110.333324432373,"z":"800c9e1a.13ce2","wires":[["6a7385bd.a3aa5c","82641903.bb3408"]]},{"id":"82641903.bb3408","type":"set","name":"increment length","xml":"<set>\n\t<parameter name='highnum' value='`$highnum + 1`' />\n","comments":"","x":1622.4166412353516,"y":1170.333324432373,"z":"800c9e1a.13ce2","wires":[]},{"id":"b2135a5d.998258","type":"block","name":"block atomic","xml":"<block atomic=\"true\">","atomic":"false","comments":"","outputs":1,"x":1947.4166412353516,"y":1420.333324432373,"z":"800c9e1a.13ce2","wires":[["ed366e3e.4e89c","c2b87f13.df4ad","965376ca.357fd8"]]},{"id":"27588817.e77f28","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 ConfigAssignmentNode\"/>\n\n","comments":"","outputs":1,"x":373.7499809265137,"y":763.333324432373,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"118b26b3.8912c9","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 ConfigAssignmentNode\"/>\n\n","comments":"","outputs":1,"x":370.4166488647461,"y":918.3333320617676,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"ea43f5d0.00a1a8","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":378.75000762939453,"y":1722.5000267028809,"z":"800c9e1a.13ce2","wires":[[]]},{"id":"b9e6cadc.8763c8","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":385.00000762939453,"y":1670.0000247955322,"z":"800c9e1a.13ce2","wires":[]},{"id":"397b0eed.c2de92","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE: vnf-ra-assignment\"/>\n\n","comments":"","outputs":1,"x":362.50000381469727,"y":1623.7500247955322,"z":"800c9e1a.13ce2","wires":[[]]}]
|