diff options
author | 2017-10-30 11:44:18 -0500 | |
---|---|---|
committer | 2017-10-30 20:50:26 +0000 | |
commit | 2db8ef5e6c440442ba7d3c16142ede201a33d11b (patch) | |
tree | 05edac860719907936b3c5754d021793b70ca206 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json | |
parent | 7498c91aad814cd16fe23819c0e87c52fb3b1529 (diff) |
Update DGs for Carbon and remove comments
Update plugins for Carbon CCSDK
Format json
Remove license text comments since json files don't handle comments
Issue-ID: APPC-293
Change-Id: I6a227c804a424b0c3e49c3427391896ea1b06e15
Signed-off-by: Skip Wonnell <skip@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json | 1359 |
1 files changed, 1338 insertions, 21 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json index eeace8e82..0020f031c 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json @@ -1,21 +1,1338 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP : APP-C - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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":[]}] +[ + { + "comments": "", + "id": "c5f27e6b.6555", + "name": "execute saveTxLog", + "outputs": 1, + "type": "execute", + "wires": [ + [ + "9a41a79f.2a2b38" + ] + ], + "x": 331.25, + "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", + "y": 897.1666736602783, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "9a41a79f.2a2b38", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "be9673a6.ce4fd" + ] + ], + "x": 584.0000114440918, + "xml": "<outcome value='failure'>\n", + "y": 900.0833206176758, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "false", + "comments": "", + "id": "be9673a6.ce4fd", + "name": "block", + "outputs": 1, + "type": "block", + "wires": [ + [] + ], + "x": 802.333309173584, + "xml": "<block>\n", + "y": 900.5833616256714, + "z": "5ad64f3a.c3774" + }, + { + "id": "4a7685a5.000f1c", + "name": "DGSTART", + "outputs": 1, + "type": "dgstart", + "wires": [ + [ + "973925de.552808" + ] + ], + "x": 99.63886260986328, + "y": 21.222224235534668, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "973925de.552808", + "module": "APPC", + "name": "APPC 4.0.0", + "outputs": 1, + "type": "service-logic", + "version": "4.0.0", + "wires": [ + [ + "41b485e7.20eb5c" + ] + ], + "x": 269.5118751525879, + "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'>", + "y": 25.500001907348633, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "41b485e7.20eb5c", + "name": "method setInputParams", + "outputs": 1, + "type": "method", + "wires": [ + [ + "a74c0e05.af52e" + ] + ], + "x": 513.9206161499023, + "xml": "<method rpc='setInputParams' mode='sync'>\n", + "y": 25.55555534362793, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": "", + "id": "a74c0e05.af52e", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "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" + ] + ], + "x": 165.46427154541016, + "xml": "<block atomic=\"true\">", + "y": 113.95236778259277, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "f65ded23.e6749", + "name": "set params based on Dispatcher Input", + "type": "set", + "wires": [], + "x": 738.6943969726562, + "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", + "y": 66.63888549804688, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "4df171f3.7b5ed", + "name": "execute Convert payload to DG Context ", + "outputs": 1, + "type": "execute", + "wires": [ + [ + "13057386.cb05bc", + "705bb0fd.6235a" + ] + ], + "x": 537.4167098999023, + "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\" />", + "y": 183.0555534362793, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "13057386.cb05bc", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "58736a12.c8a834" + ] + ], + "x": 860.2222290039062, + "xml": "<outcome value='failure'>\n", + "y": 156.1388931274414, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "705bb0fd.6235a", + "name": "not-found", + "outputs": 1, + "type": "not-found", + "wires": [ + [ + "31c8328a.24f9ee" + ] + ], + "x": 862.9166793823242, + "xml": "<outcome value='not-found'>\n", + "y": 202.52777481079102, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "false", + "comments": "", + "id": "58736a12.c8a834", + "name": "block", + "outputs": 1, + "type": "block", + "wires": [ + [ + "f52e91c9.0c54f" + ] + ], + "x": 1060.5833358764648, + "xml": "<block>\n", + "y": 156.50000190734863, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "false", + "comments": "", + "id": "31c8328a.24f9ee", + "name": "block", + "outputs": 1, + "type": "block", + "wires": [ + [ + "8778642b.6f0a08" + ] + ], + "x": 1054.8333358764648, + "xml": "<block>\n", + "y": 204.50000286102295, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "f52e91c9.0c54f", + "name": "return failure", + "type": "returnFailure", + "wires": [], + "x": 1245.333339691162, + "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", + "y": 156.75000190734863, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "8778642b.6f0a08", + "name": "return failure", + "type": "returnFailure", + "wires": [], + "x": 1248.083339691162, + "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", + "y": 206.25000381469727, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "d1e77579.e7ab88", + "name": "execute saveTxLog", + "outputs": 1, + "type": "execute", + "wires": [ + [ + "dd212aaa.c08fd8" + ] + ], + "x": 574.3333206176758, + "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", + "y": 137.75000190734863, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "641ea02d.4b382", + "name": "set tmp.message", + "type": "set", + "wires": [], + "x": 672.2777709960938, + "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action + ': ' + $payload`\" />\n", + "y": 99.8888931274414, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "dd212aaa.c08fd8", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "6f36ee18.a34f3" + ] + ], + "x": 981.0833129882812, + "xml": "<outcome value='failure'>\n", + "y": 94.25, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "false", + "comments": "", + "id": "6f36ee18.a34f3", + "name": "block", + "outputs": 1, + "type": "block", + "wires": [ + [] + ], + "x": 1138.0833129882812, + "xml": "<block>\n", + "y": 91.25, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "46672893.29be28", + "name": "call: GetAaiInfo", + "outputs": 1, + "type": "call", + "wires": [ + [ + "d3c47a04.b4c318", + "44eb99ad.384d38" + ] + ], + "x": 825.8888626098633, + "xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">", + "y": 619.5833129882812, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "d3c47a04.b4c318", + "name": "not-found", + "outputs": 1, + "type": "not-found", + "wires": [ + [ + "1588264f.0dbc0a" + ] + ], + "x": 1110.5554885864258, + "xml": "<outcome value='not-found'>\n", + "y": 592.1666870117188, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "false", + "comments": "", + "id": "1588264f.0dbc0a", + "name": "block", + "outputs": 1, + "type": "block", + "wires": [ + [ + "911166e0.3593c8" + ] + ], + "x": 1291.4999465942383, + "xml": "<block>\n", + "y": 615.8333740234375, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "911166e0.3593c8", + "name": "return failure", + "type": "returnFailure", + "wires": [], + "x": 1457.9165725708008, + "xml": "<return status=\"failure\">\n\t", + "y": 616.3333129882812, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "44eb99ad.384d38", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "1588264f.0dbc0a" + ] + ], + "x": 1104.4445266723633, + "xml": "<outcome value='failure'>\n", + "y": 637.6943969726562, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "47641fcb.2cbbc", + "name": "switch isTemplateDriven.TEMPLATE", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "9a6ca9b5.a5f1b8", + "3e178fb8.db00e" + ] + ], + "x": 422.2499771118164, + "xml": "<switch test='`$isTemplateDriven.TEMPLATE`'>\n", + "y": 810.8333377838135, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "9a6ca9b5.a5f1b8", + "name": "outcome: YES", + "outputs": 1, + "type": "success", + "wires": [ + [ + "90c3ac2d.01d09" + ] + ], + "x": 757.174617767334, + "xml": "<outcome value=\"YES\">", + "y": 780.8134269714355, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "3e178fb8.db00e", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "93a44588.d50728" + ] + ], + "x": 758.9127349853516, + "xml": "<outcome value='Other'>", + "y": 838.9563655853271, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": null, + "id": "90c3ac2d.01d09", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "814dc33.55b844" + ] + ], + "x": 992.8015785217285, + "xml": "<block atomic=\"true\">", + "y": 787.0793762207031, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": null, + "id": "93a44588.d50728", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [] + ], + "x": 1022.8889465332031, + "xml": "<block atomic=\"true\">", + "y": 838.0278367996216, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "814dc33.55b844", + "name": "call: loadTeamplate", + "outputs": 1, + "type": "call", + "wires": [ + [ + "b351a17b.41869", + "bfe70fa5.66e08" + ] + ], + "x": 1196.3889503479004, + "xml": "<call module=\"APPC\" rpc=\"loadTeamplate\" mode=\"sync\">", + "y": 787.1110744476318, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "b351a17b.41869", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "33f219a0.9ce106" + ] + ], + "x": 1365.55562210083, + "xml": "<outcome value='failure'>\n", + "y": 756.8611545562744, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "392a5ccd.227d44", + "name": "return failure", + "type": "returnFailure", + "wires": [], + "x": 1759.3889694213867, + "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", + "y": 752.5277996063232, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": "", + "id": "33f219a0.9ce106", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "392a5ccd.227d44" + ] + ], + "x": 1542.5555877685547, + "xml": "<block atomic=\"true\">\n\n", + "y": 754.7777805328369, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "bfe70fa5.66e08", + "name": "Other", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "4782d66.0e30528" + ] + ], + "x": 1356.4722480773926, + "xml": "<outcome value='Other'>\n", + "y": 869.4444408416748, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "499cc381.43b7ac", + "name": "get-resource: APPC.action-level", + "outputs": 1, + "type": "get-resource", + "wires": [ + [ + "34c05249.d79afe", + "59f42bd7.3b8014" + ] + ], + "x": 474.8333206176758, + "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql' \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", + "y": 472.4166946411133, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "false", + "comments": "", + "id": "70c97dc2.b38574", + "name": "block", + "outputs": 1, + "type": "block", + "wires": [ + [ + "f7860416.1a1108" + ] + ], + "x": 945.5833206176758, + "xml": "<block>\n", + "y": 489.75000190734863, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "f7860416.1a1108", + "name": "return failure", + "type": "returnFailure", + "wires": [], + "x": 1113.8333206176758, + "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", + "y": 487.50000190734863, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "34c05249.d79afe", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "70c97dc2.b38574" + ] + ], + "x": 747.9999771118164, + "xml": "<outcome value='failure'>\n", + "y": 487.3611030578613, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "4782d66.0e30528", + "name": "call: MergeTemplateData", + "outputs": 1, + "type": "call", + "wires": [ + [ + "55d06171.b5739", + "fb63c6c3.f262a8" + ] + ], + "x": 1537.7499618530273, + "xml": "<call module=\"APPC\" rpc=\"MergeTemplateData\" mode=\"sync\">", + "y": 866.2500057220459, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": null, + "id": "13067f71.cb0181", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "569e6b14.42c9e4" + ] + ], + "x": 1931.2619018554688, + "xml": "<block atomic=\"true\">", + "y": 825.8214569091797, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "55d06171.b5739", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "13067f71.cb0181" + ] + ], + "x": 1771.9047546386719, + "xml": "<outcome value='failure'>\n", + "y": 826.5238094329834, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "fb63c6c3.f262a8", + "name": "Other", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "2603c6fc.c7658a" + ] + ], + "x": 1775.5714225769043, + "xml": "<outcome value='Other'>\n", + "y": 892.952399969101, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": "", + "id": "2603c6fc.c7658a", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "7237869.f38ce78" + ] + ], + "x": 1939.8571548461914, + "xml": "<block atomic=\"true\">", + "y": 892.523811340332, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "7237869.f38ce78", + "name": "record", + "outputs": 1, + "type": "record", + "wires": [ + [] + ], + "x": 2116.428653717041, + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.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", + "y": 894.1428498625755, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "10e21f94.2859d", + "name": "return failure", + "type": "returnFailure", + "wires": [], + "x": 2312.250072479248, + "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", + "y": 822.7500057220459, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": "", + "id": "569e6b14.42c9e4", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "10e21f94.2859d" + ] + ], + "x": 2124.166648864746, + "xml": "<block atomic=\"true\">\n\n", + "y": 824.1666307449341, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "581c65dc.66c40c", + "name": "get-resource: isTemplateDriven", + "outputs": 1, + "type": "get-resource", + "wires": [ + [ + "236e23a7.75805c" + ] + ], + "x": 423.4166488647461, + "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql' \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", + "y": 748.3333148956299, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "false", + "comments": "", + "id": "b342a11f.4cb1a", + "name": "block", + "outputs": 1, + "type": "block", + "wires": [ + [ + "e30e032f.dca54" + ] + ], + "x": 962.4999847412109, + "xml": "<block>\n", + "y": 732.3333616256714, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "e30e032f.dca54", + "name": "return failure", + "type": "returnFailure", + "wires": [], + "x": 1165.7499923706055, + "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", + "y": 726.7499666213989, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "236e23a7.75805c", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "b342a11f.4cb1a" + ] + ], + "x": 751.5833129882812, + "xml": "<outcome value='failure'>\n", + "y": 727.1666946411133, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "960e0153.19089", + "name": "set Payload params ", + "type": "set", + "wires": [], + "x": 493.4722366333008, + "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", + "y": 224.08331775665283, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "59f42bd7.3b8014", + "name": "success", + "outputs": 1, + "type": "success", + "wires": [ + [ + "e0bb5945.ce9928" + ] + ], + "x": 748.8611030578613, + "xml": "<outcome value='success'>\n", + "y": 545.3333215713501, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "e0bb5945.ce9928", + "name": "set action-level ", + "type": "set", + "wires": [], + "x": 965.2777328491211, + "xml": "<set>\n<parameter name='action-level' value='`$APPC.action-level.ACTION-LEVEL`' />\n\n\n\n\n\n", + "y": 548.3888630867004, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "df9c11ec.844bb", + "name": "switch action-level", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "6eb262a7.6f6d0c", + "5a3d27a3.2b2d98" + ] + ], + "x": 407.9999771118164, + "xml": "<switch test='`$action-level`'>\n", + "y": 592.9166965484619, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "6eb262a7.6f6d0c", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "46672893.29be28" + ] + ], + "x": 625.4166564941406, + "xml": "<outcome value='Other'>", + "y": 619.3333377838135, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "5a3d27a3.2b2d98", + "name": "outcome: VM", + "outputs": 1, + "type": "success", + "wires": [ + [ + "3e46fb5e.8e8fc4" + ] + ], + "x": 615.4166564941406, + "xml": "<outcome value='VM'>", + "y": 682.0000276565552, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "false", + "comments": "", + "id": "3e46fb5e.8e8fc4", + "name": "block", + "outputs": 1, + "type": "block", + "wires": [ + [ + "39e6b24d.41090e" + ] + ], + "x": 776.4166526794434, + "xml": "<block>\n", + "y": 683.6666445732117, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "39e6b24d.41090e", + "name": "return success", + "type": "returnSuccess", + "wires": [], + "x": 1041.7500305175781, + "xml": "<return status='success'>\n\n", + "y": 679.6666927337646, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "7ff4860d.906048", + "name": "outcome: ''", + "outputs": 1, + "type": "success", + "wires": [ + [ + "6913b0fa.1e861" + ] + ], + "x": 1535.1666450500488, + "xml": "<outcome value=''>", + "y": 366.6666326522827, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "61f421d6.bfea9", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "5b26aeb2.014b5" + ] + ], + "x": 1468.9883499145508, + "xml": "<outcome value='Other'>", + "y": 463.14288330078125, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": "", + "id": "6913b0fa.1e861", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "8c272d3a.1fda9" + ] + ], + "x": 1065.988182067871, + "xml": "<block atomic=\"true\">", + "y": 439.23810386657715, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": null, + "id": "5b26aeb2.014b5", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "2f509b0e.830454" + ] + ], + "x": 1662.2974319458008, + "xml": "<block atomic=\"true\">", + "y": 462.54766845703125, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "2f509b0e.830454", + "name": "setActionLevel VNF", + "type": "set", + "wires": [], + "x": 1866.9165725708008, + "xml": "<set>\n<parameter name='action-level' value='VNF' />\n<parameter name='action-identifier' value='vnf-id' />", + "y": 462.33331298828125, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "c3fc55e7.85ef98", + "name": "switch vnfc-name", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "95399a07.ea4f08", + "60550aae.3a6004" + ] + ], + "x": 457.25001525878906, + "xml": "<switch test='`$vnfc-name`'>\n", + "y": 345.80554389953613, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "95399a07.ea4f08", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "450f80e7.6d15" + ] + ], + "x": 730.7937927246094, + "xml": "<outcome value='Other'>", + "y": 335.4206600189209, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": null, + "id": "450f80e7.6d15", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "af2df603.4ae968" + ] + ], + "x": 918.7419891357422, + "xml": "<block atomic=\"true\">", + "y": 346.5477046966553, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "af2df603.4ae968", + "name": "setActionLevel VNFC", + "type": "set", + "wires": [], + "x": 1206.250099182129, + "xml": "<set>\n<parameter name='action-level' value='VNFC' />\n<parameter name='action-identifier' value='vnfc-name' />\n", + "y": 258.05552673339844, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "75506bed.9faa54", + "name": "switch vserver-id", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "79aeaa57.7ae244", + "98b876c6.c2b488" + ] + ], + "x": 924.1388092041016, + "xml": "<switch test='`$vserver-id`'>\n", + "y": 387.1110610961914, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "79aeaa57.7ae244", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "8df97915.365a48" + ] + ], + "x": 1180.015998840332, + "xml": "<outcome value='Other'>", + "y": 309.92064571380615, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": null, + "id": "8df97915.365a48", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "b97dd2a7.2d3e2" + ] + ], + "x": 1364.4642028808594, + "xml": "<block atomic=\"true\">", + "y": 291.79767322540283, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "b97dd2a7.2d3e2", + "name": "setActionLevel VM", + "type": "set", + "wires": [], + "x": 1552.3333435058594, + "xml": "<set>\n<parameter name='action-level' value='VM' />\n<parameter name='action-identifier' value='vserver-id' />\n\n", + "y": 281.99997425079346, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "8c272d3a.1fda9", + "name": "switch vnf-id", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "61f421d6.bfea9", + "5dee6920.b9c5a8" + ] + ], + "x": 1229.4167137145996, + "xml": "<switch test='`$vnf-id`'>\n", + "y": 439.83331871032715, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "5dee6920.b9c5a8", + "name": "outcome: ''", + "outputs": 1, + "type": "success", + "wires": [ + [ + "1edb9ae1.72e305" + ] + ], + "x": 1463.4999694824219, + "xml": "<outcome value=''>", + "y": 413.1666316986084, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": "", + "id": "1edb9ae1.72e305", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "2ba19f2d.87e9a" + ] + ], + "x": 1653.7382507324219, + "xml": "<block atomic=\"true\">", + "y": 409.5714473724365, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "2ba19f2d.87e9a", + "name": "return failure", + "type": "returnFailure", + "wires": [], + "x": 1852.2498512268066, + "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", + "y": 415.58331871032715, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "eae00a39.c7edb8", + "name": "switch vf-module-id", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "2fce24e2.84f1cc", + "7ff4860d.906048" + ] + ], + "x": 1335.2619323730469, + "xml": "<switch test='`$vf-module-id`'>\n", + "y": 350.4404354095459, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "2fce24e2.84f1cc", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "6aa3f5cb.2378fc" + ] + ], + "x": 1549.5833435058594, + "xml": "<outcome value='Other'>", + "y": 324.0832872390747, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": null, + "id": "6aa3f5cb.2378fc", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "6402489b.ea4c28" + ] + ], + "x": 1755.1427917480469, + "xml": "<block atomic=\"true\">", + "y": 322.9881343841553, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "6402489b.ea4c28", + "name": "setActionLevel VF-Module", + "type": "set", + "wires": [], + "x": 1967.428565979004, + "xml": "<set>\n<parameter name='action-level' value='VF-MODULE' />\n<parameter name='action-identifier' value='vf-module-id' />\n", + "y": 321.85712242126465, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "60550aae.3a6004", + "name": "outcome: ''", + "outputs": 1, + "type": "success", + "wires": [ + [ + "75506bed.9faa54" + ] + ], + "x": 725.5832939147949, + "xml": "<outcome value=''>", + "y": 381.2500009536743, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "98b876c6.c2b488", + "name": "outcome: ''", + "outputs": 1, + "type": "success", + "wires": [ + [ + "eae00a39.c7edb8" + ] + ], + "x": 1144.4722785949707, + "xml": "<outcome value=''>", + "y": 368.8888854980469, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "d62b8ebb.ff133", + "name": "record", + "outputs": 1, + "type": "record", + "wires": [ + [] + ], + "x": 431.25000762939453, + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.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", + "y": 396.111120223999, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "e5a060ba.6726c", + "name": "switch vnfc-type", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "2f46d21c.ad87ce", + "1ac83acb.3771a5" + ] + ], + "x": 466.6666488647461, + "xml": "<switch test='`$vnfc-type`'>\n", + "y": 278.88890266418457, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "2f46d21c.ad87ce", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "ca9a8300.12e3d" + ] + ], + "x": 742.4325942993164, + "xml": "<outcome value='Other'>", + "y": 244.0595827102661, + "z": "5ad64f3a.c3774" + }, + { + "atomic": "true", + "comments": null, + "id": "ca9a8300.12e3d", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [] + ], + "x": 935.9364204406738, + "xml": "<block atomic=\"true\">", + "y": 246.29769325256348, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "1ac83acb.3771a5", + "name": "outcome: ''", + "outputs": 1, + "type": "success", + "wires": [ + [ + "6cee73a9.31fecc" + ] + ], + "x": 738.3332672119141, + "xml": "<outcome value=''>", + "y": 285.4444417953491, + "z": "5ad64f3a.c3774" + }, + { + "comments": "", + "id": "6cee73a9.31fecc", + "name": "set vnfc-type ", + "type": "set", + "wires": [], + "x": 936.6665954589844, + "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", + "y": 285.55558013916016, + "z": "5ad64f3a.c3774" + } +] |