e0cbb8626887b50ec939d8859d020e6486dcf869
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / APPC / APPC_setInputParams.json
1 [{"id":"c5f27e6b.6555","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"SetInputData action complete\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":331.25,"y":897.1666736602783,"z":"5ad64f3a.c3774","wires":[["9a41a79f.2a2b38"]]},{"id":"9a41a79f.2a2b38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":584.0000114440918,"y":900.0833206176758,"z":"5ad64f3a.c3774","wires":[["be9673a6.ce4fd"]]},{"id":"be9673a6.ce4fd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":802.333309173584,"y":900.5833616256714,"z":"5ad64f3a.c3774","wires":[[]]},{"id":"4a7685a5.000f1c","type":"dgstart","name":"DGSTART","outputs":1,"x":99.63886260986328,"y":21.222224235534668,"z":"5ad64f3a.c3774","wires":[["973925de.552808"]]},{"id":"973925de.552808","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","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='APPC' version='4.0.0'>","outputs":1,"x":269.5118751525879,"y":25.500001907348633,"z":"5ad64f3a.c3774","wires":[["41b485e7.20eb5c"]]},{"id":"41b485e7.20eb5c","type":"method","name":"method setInputParams","xml":"<method rpc='setInputParams' mode='sync'>\n","comments":"","outputs":1,"x":513.9206161499023,"y":25.55555534362793,"z":"5ad64f3a.c3774","wires":[["a74c0e05.af52e"]]},{"id":"a74c0e05.af52e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":165.46427154541016,"y":113.95236778259277,"z":"5ad64f3a.c3774","wires":[["c5f27e6b.6555","f65ded23.e6749","641ea02d.4b382","d1e77579.e7ab88","4df171f3.7b5ed","47641fcb.2cbbc","499cc381.43b7ac","581c65dc.66c40c","960e0153.19089","df9c11ec.844bb","c3fc55e7.85ef98","d62b8ebb.ff133","e5a060ba.6726c"]]},{"id":"f65ded23.e6749","type":"set","name":"set params based on Dispatcher Input","xml":"<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' />\n<parameter name='vserver-id' value='`$input.action-identifiers.vserver-id`' />\n<parameter name='vf-module-id' value='`$input.action-identifiers.vf-module-id`' />\n<parameter name='vnfc-name' value='`$input.action-identifiers.vnfc-name`' />\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n","comments":"","x":738.6943969726562,"y":66.63888549804688,"z":"5ad64f3a.c3774","wires":[]},{"id":"4df171f3.7b5ed","type":"execute","name":"execute Convert payload to DG Context ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":537.4167098999023,"y":183.0555534362793,"z":"5ad64f3a.c3774","wires":[["13057386.cb05bc","705bb0fd.6235a"]]},{"id":"13057386.cb05bc","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":860.2222290039062,"y":156.1388931274414,"z":"5ad64f3a.c3774","wires":[["58736a12.c8a834"]]},{"id":"705bb0fd.6235a","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":862.9166793823242,"y":202.52777481079102,"z":"5ad64f3a.c3774","wires":[["31c8328a.24f9ee"]]},{"id":"58736a12.c8a834","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1060.5833358764648,"y":156.50000190734863,"z":"5ad64f3a.c3774","wires":[["f52e91c9.0c54f"]]},{"id":"31c8328a.24f9ee","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1054.8333358764648,"y":204.50000286102295,"z":"5ad64f3a.c3774","wires":[["8778642b.6f0a08"]]},{"id":"f52e91c9.0c54f","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t","comments":"","x":1245.333339691162,"y":156.75000190734863,"z":"5ad64f3a.c3774","wires":[]},{"id":"8778642b.6f0a08","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process input parameters\"/>\n\t","comments":"","x":1248.083339691162,"y":206.25000381469727,"z":"5ad64f3a.c3774","wires":[]},{"id":"d1e77579.e7ab88","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":574.3333206176758,"y":137.75000190734863,"z":"5ad64f3a.c3774","wires":[["dd212aaa.c08fd8"]]},{"id":"641ea02d.4b382","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action +  ': ' + $payload`\" />\n","comments":"","x":672.2777709960938,"y":99.8888931274414,"z":"5ad64f3a.c3774","wires":[]},{"id":"dd212aaa.c08fd8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":981.0833129882812,"y":94.25,"z":"5ad64f3a.c3774","wires":[["6f36ee18.a34f3"]]},{"id":"6f36ee18.a34f3","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1138.0833129882812,"y":91.25,"z":"5ad64f3a.c3774","wires":[[]]},{"id":"46672893.29be28","type":"call","name":"call: GetAaiInfo","xml":"<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":825.8888626098633,"y":619.5833129882812,"z":"5ad64f3a.c3774","wires":[["d3c47a04.b4c318","44eb99ad.384d38"]]},{"id":"d3c47a04.b4c318","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1110.5554885864258,"y":592.1666870117188,"z":"5ad64f3a.c3774","wires":[["1588264f.0dbc0a"]]},{"id":"1588264f.0dbc0a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1291.4999465942383,"y":615.8333740234375,"z":"5ad64f3a.c3774","wires":[["911166e0.3593c8"]]},{"id":"911166e0.3593c8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1457.9165725708008,"y":616.3333129882812,"z":"5ad64f3a.c3774","wires":[]},{"id":"44eb99ad.384d38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1104.4445266723633,"y":637.6943969726562,"z":"5ad64f3a.c3774","wires":[["1588264f.0dbc0a"]]},{"id":"47641fcb.2cbbc","type":"switchNode","name":"switch isTemplateDriven.TEMPLATE","xml":"<switch test='`$isTemplateDriven.TEMPLATE`'>\n","comments":"","outputs":1,"x":422.2499771118164,"y":810.8333377838135,"z":"5ad64f3a.c3774","wires":[["9a6ca9b5.a5f1b8","3e178fb8.db00e"]]},{"id":"9a6ca9b5.a5f1b8","type":"success","name":"outcome: YES","xml":"<outcome value=\"YES\">","comments":"","outputs":1,"x":757.174617767334,"y":780.8134269714355,"z":"5ad64f3a.c3774","wires":[["90c3ac2d.01d09"]]},{"id":"3e178fb8.db00e","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":758.9127349853516,"y":838.9563655853271,"z":"5ad64f3a.c3774","wires":[["93a44588.d50728"]]},{"id":"90c3ac2d.01d09","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":992.8015785217285,"y":787.0793762207031,"z":"5ad64f3a.c3774","wires":[["814dc33.55b844"]]},{"id":"93a44588.d50728","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":1022.8889465332031,"y":838.0278367996216,"z":"5ad64f3a.c3774","wires":[[]]},{"id":"814dc33.55b844","type":"call","name":"call: loadTeamplate","xml":"<call module=\"APPC\" rpc=\"loadTeamplate\" mode=\"sync\">","comments":"","outputs":1,"x":1196.3889503479004,"y":787.1110744476318,"z":"5ad64f3a.c3774","wires":[["b351a17b.41869","bfe70fa5.66e08"]]},{"id":"b351a17b.41869","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1365.55562210083,"y":756.8611545562744,"z":"5ad64f3a.c3774","wires":[["33f219a0.9ce106"]]},{"id":"392a5ccd.227d44","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to load Template Information\"/>\n","comments":"","x":1759.3889694213867,"y":752.5277996063232,"z":"5ad64f3a.c3774","wires":[]},{"id":"33f219a0.9ce106","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":1542.5555877685547,"y":754.7777805328369,"z":"5ad64f3a.c3774","wires":[["392a5ccd.227d44"]]},{"id":"bfe70fa5.66e08","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1356.4722480773926,"y":869.4444408416748,"z":"5ad64f3a.c3774","wires":[["4782d66.0e30528"]]},{"id":"499cc381.43b7ac","type":"get-resource","name":"get-resource: APPC.action-level","xml":"<get-resource\n\tplugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT ACTION_LEVEL\n\t     FROM ACTION_LEVEL_REFERENCE\n         WHERE ACTION_IDENTIFIER = $action-identifier ;\"\n    force='true'\n\tpfx='APPC.action-level'>\n","comments":"","outputs":1,"x":474.8333206176758,"y":472.4166946411133,"z":"5ad64f3a.c3774","wires":[["34c05249.d79afe","59f42bd7.3b8014"]]},{"id":"70c97dc2.b38574","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":945.5833206176758,"y":489.75000190734863,"z":"5ad64f3a.c3774","wires":[["f7860416.1a1108"]]},{"id":"f7860416.1a1108","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t","comments":"","x":1113.8333206176758,"y":487.50000190734863,"z":"5ad64f3a.c3774","wires":[]},{"id":"34c05249.d79afe","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":747.9999771118164,"y":487.3611030578613,"z":"5ad64f3a.c3774","wires":[["70c97dc2.b38574"]]},{"id":"4782d66.0e30528","type":"call","name":"call: MergeTemplateData","xml":"<call module=\"APPC\" rpc=\"MergeTemplateData\" mode=\"sync\">","comments":"","outputs":1,"x":1537.7499618530273,"y":866.2500057220459,"z":"5ad64f3a.c3774","wires":[["55d06171.b5739","fb63c6c3.f262a8"]]},{"id":"13067f71.cb0181","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":1931.2619018554688,"y":825.8214569091797,"z":"5ad64f3a.c3774","wires":[["569e6b14.42c9e4"]]},{"id":"55d06171.b5739","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1771.9047546386719,"y":826.5238094329834,"z":"5ad64f3a.c3774","wires":[["13067f71.cb0181"]]},{"id":"fb63c6c3.f262a8","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1775.5714225769043,"y":892.952399969101,"z":"5ad64f3a.c3774","wires":[["2603c6fc.c7658a"]]},{"id":"2603c6fc.c7658a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1939.8571548461914,"y":892.523811340332,"z":"5ad64f3a.c3774","wires":[["7237869.f38ce78"]]},{"id":"7237869.f38ce78","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n","comments":"","outputs":1,"x":2116.428653717041,"y":894.1428498625755,"z":"5ad64f3a.c3774","wires":[[]]},{"id":"10e21f94.2859d","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to Merge Template and Data Information\"/>\n","comments":"","x":2312.250072479248,"y":822.7500057220459,"z":"5ad64f3a.c3774","wires":[]},{"id":"569e6b14.42c9e4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":2124.166648864746,"y":824.1666307449341,"z":"5ad64f3a.c3774","wires":[["10e21f94.2859d"]]},{"id":"581c65dc.66c40c","type":"get-resource","name":"get-resource: isTemplateDriven","xml":"<get-resource\n\tplugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE\n\t     FROM PROTOCOL_REFERENCE\n         WHERE ACTION = $input.action and VNF_TYPE = $vnf-type and ACTION_LEVEL= $action-level ;\"\n    force='true'\n\tpfx='isTemplateDriven'>\n","comments":"","outputs":1,"x":423.4166488647461,"y":748.3333148956299,"z":"5ad64f3a.c3774","wires":[["236e23a7.75805c"]]},{"id":"b342a11f.4cb1a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":962.4999847412109,"y":732.3333616256714,"z":"5ad64f3a.c3774","wires":[["e30e032f.dca54"]]},{"id":"e30e032f.dca54","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t","comments":"","x":1165.7499923706055,"y":726.7499666213989,"z":"5ad64f3a.c3774","wires":[]},{"id":"236e23a7.75805c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":751.5833129882812,"y":727.1666946411133,"z":"5ad64f3a.c3774","wires":[["b342a11f.4cb1a"]]},{"id":"960e0153.19089","type":"set","name":"set Payload params ","xml":"<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n\n\n<!--1702 VM/VNFC Parameters when passed from Request--> \n<parameter name='VNFCTYPE' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name=\"VMNAME0\" value=\"`$request-parameters.vm[0].vm-name`\"/>\n<parameter name=\"VNFCNAME0\" value=\"`$request-parameters.vm[0].vnfc[0].vnfc-name`\"/>\n<parameter name=\"VMLENGTH\" value=\"`$size_request-parameters.vm`\"/>\n<parameter name=\"VNFCLENGTH\" value=\"`$size_request-parameters.vm[0].vnfc`\"/>\n<parameter name=\"CONFIGTYPE\" value=\"`$config-type`\"/>\n\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n","comments":"","x":493.4722366333008,"y":224.08331775665283,"z":"5ad64f3a.c3774","wires":[]},{"id":"59f42bd7.3b8014","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":748.8611030578613,"y":545.3333215713501,"z":"5ad64f3a.c3774","wires":[["e0bb5945.ce9928"]]},{"id":"e0bb5945.ce9928","type":"set","name":"set action-level ","xml":"<set>\n<parameter name='action-level' value='`$APPC.action-level.ACTION-LEVEL`' />\n\n\n\n\n\n","comments":"","x":965.2777328491211,"y":548.3888630867004,"z":"5ad64f3a.c3774","wires":[]},{"id":"df9c11ec.844bb","type":"switchNode","name":"switch action-level","xml":"<switch test='`$action-level`'>\n","comments":"","outputs":1,"x":407.9999771118164,"y":592.9166965484619,"z":"5ad64f3a.c3774","wires":[["6eb262a7.6f6d0c","5a3d27a3.2b2d98"]]},{"id":"6eb262a7.6f6d0c","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":625.4166564941406,"y":619.3333377838135,"z":"5ad64f3a.c3774","wires":[["46672893.29be28"]]},{"id":"5a3d27a3.2b2d98","type":"success","name":"outcome: VM","xml":"<outcome value='VM'>","comments":"","outputs":1,"x":615.4166564941406,"y":682.0000276565552,"z":"5ad64f3a.c3774","wires":[["3e46fb5e.8e8fc4"]]},{"id":"3e46fb5e.8e8fc4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":776.4166526794434,"y":683.6666445732117,"z":"5ad64f3a.c3774","wires":[["39e6b24d.41090e"]]},{"id":"39e6b24d.41090e","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":1041.7500305175781,"y":679.6666927337646,"z":"5ad64f3a.c3774","wires":[]},{"id":"7ff4860d.906048","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":1535.1666450500488,"y":366.6666326522827,"z":"5ad64f3a.c3774","wires":[["6913b0fa.1e861"]]},{"id":"61f421d6.bfea9","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1468.9883499145508,"y":463.14288330078125,"z":"5ad64f3a.c3774","wires":[["5b26aeb2.014b5"]]},{"id":"6913b0fa.1e861","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1065.988182067871,"y":439.23810386657715,"z":"5ad64f3a.c3774","wires":[["8c272d3a.1fda9"]]},{"id":"5b26aeb2.014b5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":1662.2974319458008,"y":462.54766845703125,"z":"5ad64f3a.c3774","wires":[["2f509b0e.830454"]]},{"id":"2f509b0e.830454","type":"set","name":"setActionLevel VNF","xml":"<set>\n<parameter name='action-level' value='VNF' />\n<parameter name='action-identifier' value='vnf-id' />","comments":"","x":1866.9165725708008,"y":462.33331298828125,"z":"5ad64f3a.c3774","wires":[]},{"id":"c3fc55e7.85ef98","type":"switchNode","name":"switch vnfc-name","xml":"<switch test='`$vnfc-name`'>\n","comments":"","outputs":1,"x":457.25001525878906,"y":345.80554389953613,"z":"5ad64f3a.c3774","wires":[["95399a07.ea4f08","60550aae.3a6004"]]},{"id":"95399a07.ea4f08","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":730.7937927246094,"y":335.4206600189209,"z":"5ad64f3a.c3774","wires":[["450f80e7.6d15"]]},{"id":"450f80e7.6d15","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":918.7419891357422,"y":346.5477046966553,"z":"5ad64f3a.c3774","wires":[["af2df603.4ae968"]]},{"id":"af2df603.4ae968","type":"set","name":"setActionLevel VNFC","xml":"<set>\n<parameter name='action-level' value='VNFC' />\n<parameter name='action-identifier' value='vnfc-name' />\n","comments":"","x":1206.250099182129,"y":258.05552673339844,"z":"5ad64f3a.c3774","wires":[]},{"id":"75506bed.9faa54","type":"switchNode","name":"switch vserver-id","xml":"<switch test='`$vserver-id`'>\n","comments":"","outputs":1,"x":924.1388092041016,"y":387.1110610961914,"z":"5ad64f3a.c3774","wires":[["79aeaa57.7ae244","98b876c6.c2b488"]]},{"id":"79aeaa57.7ae244","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1180.015998840332,"y":309.92064571380615,"z":"5ad64f3a.c3774","wires":[["8df97915.365a48"]]},{"id":"8df97915.365a48","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":1364.4642028808594,"y":291.79767322540283,"z":"5ad64f3a.c3774","wires":[["b97dd2a7.2d3e2"]]},{"id":"b97dd2a7.2d3e2","type":"set","name":"setActionLevel VM","xml":"<set>\n<parameter name='action-level' value='VM' />\n<parameter name='action-identifier' value='vserver-id' />\n\n","comments":"","x":1552.3333435058594,"y":281.99997425079346,"z":"5ad64f3a.c3774","wires":[]},{"id":"8c272d3a.1fda9","type":"switchNode","name":"switch vnf-id","xml":"<switch test='`$vnf-id`'>\n","comments":"","outputs":1,"x":1229.4167137145996,"y":439.83331871032715,"z":"5ad64f3a.c3774","wires":[["61f421d6.bfea9","5dee6920.b9c5a8"]]},{"id":"5dee6920.b9c5a8","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":1463.4999694824219,"y":413.1666316986084,"z":"5ad64f3a.c3774","wires":[["1edb9ae1.72e305"]]},{"id":"1edb9ae1.72e305","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1653.7382507324219,"y":409.5714473724365,"z":"5ad64f3a.c3774","wires":[["2ba19f2d.87e9a"]]},{"id":"2ba19f2d.87e9a","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Action identifier is missing in the request\"/>\n\t\n\t","comments":"","x":1852.2498512268066,"y":415.58331871032715,"z":"5ad64f3a.c3774","wires":[]},{"id":"eae00a39.c7edb8","type":"switchNode","name":"switch vf-module-id","xml":"<switch test='`$vf-module-id`'>\n","comments":"","outputs":1,"x":1335.2619323730469,"y":350.4404354095459,"z":"5ad64f3a.c3774","wires":[["2fce24e2.84f1cc","7ff4860d.906048"]]},{"id":"2fce24e2.84f1cc","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1549.5833435058594,"y":324.0832872390747,"z":"5ad64f3a.c3774","wires":[["6aa3f5cb.2378fc"]]},{"id":"6aa3f5cb.2378fc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":1755.1427917480469,"y":322.9881343841553,"z":"5ad64f3a.c3774","wires":[["6402489b.ea4c28"]]},{"id":"6402489b.ea4c28","type":"set","name":"setActionLevel VF-Module","xml":"<set>\n<parameter name='action-level' value='VF-MODULE' />\n<parameter name='action-identifier' value='vf-module-id' />\n","comments":"","x":1967.428565979004,"y":321.85712242126465,"z":"5ad64f3a.c3774","wires":[]},{"id":"60550aae.3a6004","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":725.5832939147949,"y":381.2500009536743,"z":"5ad64f3a.c3774","wires":[["75506bed.9faa54"]]},{"id":"98b876c6.c2b488","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":1144.4722785949707,"y":368.8888854980469,"z":"5ad64f3a.c3774","wires":[["eae00a39.c7edb8"]]},{"id":"d62b8ebb.ff133","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$action-identifier`\"/>\n\n","comments":"","outputs":1,"x":431.25000762939453,"y":396.111120223999,"z":"5ad64f3a.c3774","wires":[[]]},{"id":"e5a060ba.6726c","type":"switchNode","name":"switch vnfc-type","xml":"<switch test='`$vnfc-type`'>\n","comments":"","outputs":1,"x":466.6666488647461,"y":278.88890266418457,"z":"5ad64f3a.c3774","wires":[["2f46d21c.ad87ce","1ac83acb.3771a5"]]},{"id":"2f46d21c.ad87ce","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":742.4325942993164,"y":244.0595827102661,"z":"5ad64f3a.c3774","wires":[["ca9a8300.12e3d"]]},{"id":"ca9a8300.12e3d","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":null,"outputs":1,"x":935.9364204406738,"y":246.29769325256348,"z":"5ad64f3a.c3774","wires":[[]]},{"id":"1ac83acb.3771a5","type":"success","name":"outcome: ''","xml":"<outcome value=''>","comments":"","outputs":1,"x":738.3332672119141,"y":285.4444417953491,"z":"5ad64f3a.c3774","wires":[["6cee73a9.31fecc"]]},{"id":"6cee73a9.31fecc","type":"set","name":"set vnfc-type ","xml":"<set>\n<!-- 17.07 If vnfc-type is blank assign Parameters from request in array list -->\n<parameter name='vnfc-type' value='`$VNFCTYPE`' />\n\n\n\n\n\n\n\n\n\n\n\n","comments":"","x":936.6665954589844,"y":285.55558013916016,"z":"5ad64f3a.c3774","wires":[]}]