aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json2
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_setInputParams.json4
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_2.0.1_method_configuration-document-request.json2
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_method_configuration-document-request_3.0.0.json2
4 files changed, 5 insertions, 5 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
index 5b713611a..46956d52e 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
@@ -1 +1 @@
-[{"id":"9333f052.3d35c","type":"service-logic","name":"APPC 3.0.0","module":"APPC","version":"3.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='3.0.0'>","outputs":1,"x":267,"y":42.333335876464844,"z":"2c29979c.085788","wires":[["b5bc2ae5.c3ccb8"]]},{"id":"ccfc3135.e932f","type":"dgstart","name":"DGSTART","outputs":1,"x":96.83331298828125,"y":41.66667938232422,"z":"2c29979c.085788","wires":[["9333f052.3d35c"]]},{"id":"b5bc2ae5.c3ccb8","type":"method","name":"method UpdateAaiforPayloadInput","xml":"<method rpc='UpdateAaiforPayloadInput' mode='sync'>\n","comments":"","outputs":1,"x":490.3333740234375,"y":39,"z":"2c29979c.085788","wires":[["6f4f9cf7.421284"]]},{"id":"6f4f9cf7.421284","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":120,"y":262.33333587646484,"z":"2c29979c.085788","wires":[["dacd8a6.62c3978","46ce8310.34f23c","16298fb8.22c27","f50ba4be.268618"]]},{"id":"46ce8310.34f23c","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=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$aai-error-message`\"/>\n\n","comments":"","outputs":1,"x":327,"y":717.3333969116211,"z":"2c29979c.085788","wires":[[]]},{"id":"dacd8a6.62c3978","type":"switchNode","name":"switch: vm length","xml":"<switch test=\"`$size_request-parameters.vm`\">","comments":"","outputs":1,"x":356,"y":165.44445037841797,"z":"2c29979c.085788","wires":[["44fdeb61.aa9034","72261fcd.ca467","2a6d9b73.a96634"]]},{"id":"daef72.bdc6c09","type":"for","name":"for: vm","xml":"<for index=\"j\" start=\"0\" end=\"`$size_request-parameters.vm`\" >","comments":"","outputs":1,"x":365,"y":319.3333969116211,"z":"2c29979c.085788","wires":[["9ed29edc.ebe52"]]},{"id":"44fdeb61.aa9034","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":591.0000610351562,"y":142.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"72261fcd.ca467","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":581.0000610351562,"y":201.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"9ed29edc.ebe52","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":540.0000610351562,"y":320.3333969116211,"z":"2c29979c.085788","wires":[["8a8c3760.6f71b8"]]},{"id":"bfe524b3.a8b848","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":785.0000610351562,"y":171.44445037841797,"z":"2c29979c.085788","wires":[["270c634c.7568ec","a13ad30b.4366c"]]},{"id":"6ef24474.a983ec","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.resource.sql.SqlResource\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1249.5001220703125,"y":677.5555648803711,"z":"2c29979c.085788","wires":[["a751861e.5d43a8","52d5b700.fd5458"]]},{"id":"270c634c.7568ec","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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VM data not found in request\"/>\n\n\n","comments":"","outputs":1,"x":975.0000610351562,"y":152.44445037841797,"z":"2c29979c.085788","wires":[[]]},{"id":"a751861e.5d43a8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1511,"y":680.3333358764648,"z":"2c29979c.085788","wires":[["3e894fae.eed92"]]},{"id":"3e894fae.eed92","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1682,"y":685.3333358764648,"z":"2c29979c.085788","wires":[["29d3772.e8a1788"]]},{"id":"defef68c.efd408","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1274.1664962768555,"y":1023.5833148956299,"z":"2c29979c.085788","wires":[["1b7742ee.646d8d"]]},{"id":"1b7742ee.646d8d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1465.1664962768555,"y":1023.0833148956299,"z":"2c29979c.085788","wires":[["484c0808.c6a598","22e0181c.878b98"]]},{"id":"484c0808.c6a598","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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1641.6665000915527,"y":977.5833759307861,"z":"2c29979c.085788","wires":[[]]},{"id":"22e0181c.878b98","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":1718.1664962768555,"y":1071.8333158493042,"z":"2c29979c.085788","wires":[]},{"id":"8ffddb97.757d58","type":"for","name":"for: vm.vnfc","xml":"<for index=\"k\" start=\"0\" end=\"`$size_request-parameters.vm[$j].vnfc`\" >","comments":"","outputs":1,"x":875.2143783569336,"y":614.7619743347168,"z":"2c29979c.085788","wires":[["c2298a98.0adbd8"]]},{"id":"c2298a98.0adbd8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1060.5001831054688,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["b61d1503.913e98","6ef24474.a983ec"]]},{"id":"b61d1503.913e98","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=\"__TIMESTAMP__\"/>\n\n<parameter name=\"VNFCNAME\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n<parameter name=\"VMNAME\" value=\"`$request-parameters.vm[$j].vm-name`\"/>\n","comments":"","outputs":1,"x":1245.5001831054688,"y":597.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"2a6d9b73.a96634","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":373.00006103515625,"y":248.1111068725586,"z":"2c29979c.085788","wires":[["b4699d7b.74cfd"]]},{"id":"b4699d7b.74cfd","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":560,"y":253.1111068725586,"z":"2c29979c.085788","wires":[["daef72.bdc6c09"]]},{"id":"e4aab88c.91de48","type":"switchNode","name":"switch: vnfc length","xml":"<switch test=\"`$size_request-parameters.vm[$j].vnfc`\">","comments":"","outputs":1,"x":704.3572540283203,"y":477.9047508239746,"z":"2c29979c.085788","wires":[["cc76df4b.79195","b9647e56.5428","515b427.0838abc"]]},{"id":"cc76df4b.79195","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1012.5001831054688,"y":465.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"b9647e56.5428","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":999.5001831054688,"y":503.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"515b427.0838abc","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1002.5001831054688,"y":555.3333358764648,"z":"2c29979c.085788","wires":[["85b4db72.6fea78"]]},{"id":"daca7ad3.6849a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1233.500244140625,"y":493.33333587646484,"z":"2c29979c.085788","wires":[["a51065d2.dda8e8","84809a16.798bb8"]]},{"id":"a51065d2.dda8e8","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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VNFC data not in request\"/>\n\n\n","comments":"","outputs":1,"x":1425.500244140625,"y":459.33333587646484,"z":"2c29979c.085788","wires":[[]]},{"id":"85b4db72.6fea78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":663.5001220703125,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["8ffddb97.757d58"]]},{"id":"8a8c3760.6f71b8","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.resource.sql.SqlResource\" resource=\"vserver\" key=\"vserver-name = $request-parameters.vm[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n","comments":"","outputs":1,"x":813.1666870117188,"y":323.1111068725586,"z":"2c29979c.085788","wires":[["891fa503.2eb248","8165f2d1.c2795","760228ff.b17788"]]},{"id":"891fa503.2eb248","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1074.166748046875,"y":284.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"8165f2d1.c2795","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1083.166748046875,"y":335.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"760228ff.b17788","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1060,"y":396.33333587646484,"z":"2c29979c.085788","wires":[["9ead1868.e9e0d8"]]},{"id":"ffbb360a.0f9b98","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1265.166748046875,"y":310.1111068725586,"z":"2c29979c.085788","wires":[["23cd0ec8.29e192"]]},{"id":"23cd0ec8.29e192","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Get from A&amp;AI Failed for ' + $request-parameters.vm[$j].vm-name + '.' + $aai-error-message`\"/>","comments":"","x":1538.166748046875,"y":315.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"a13ad30b.4366c","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VM Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1055.1666870117188,"y":198.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"84809a16.798bb8","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VNFC Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1505.6668701171875,"y":520.3333358764648,"z":"2c29979c.085788","wires":[]},{"id":"16298fb8.22c27","type":"switchNode","name":"switch: aai-error-message","xml":"<switch test=\"`$aai-error-message`\">","comments":"","outputs":1,"x":131.16668701171875,"y":859.1111068725586,"z":"2c29979c.085788","wires":[["ccb9af83.f0c75","d8d6fa14.d6e7e8"]]},{"id":"ccb9af83.f0c75","type":"other","name":"outcome: not populated","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":387.16668701171875,"y":858.1111068725586,"z":"2c29979c.085788","wires":[["8e4f6b95.1df068"]]},{"id":"8e4f6b95.1df068","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":589.1666870117188,"y":872.1111068725586,"z":"2c29979c.085788","wires":[["18c23b39.337805"]]},{"id":"d8d6fa14.d6e7e8","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":362.16668701171875,"y":936.1111068725586,"z":"2c29979c.085788","wires":[["94c6b29b.e6273"]]},{"id":"94c6b29b.e6273","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":554.1666870117188,"y":938.1111068725586,"z":"2c29979c.085788","wires":[["73ce9597.b49bcc","715964cb.dde1bc"]]},{"id":"18c23b39.337805","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":782.1666870117188,"y":874.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"73ce9597.b49bcc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":746.1666870117188,"y":1004.1111679077148,"z":"2c29979c.085788","wires":[]},{"id":"f50ba4be.268618","type":"set","name":"set prov-status and orch-status","xml":"<set>\n<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />\n","comments":"","x":403,"y":84.33333587646484,"z":"2c29979c.085788","wires":[]},{"id":"c46d035a.6bbd7","type":"save","name":"save Put VNFC","xml":"<save plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='vnfc' key='vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'>\n<parameter name='vnfc-function-code' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-function-code`'/>\n<parameter name='vnfc-type' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-type`'/>\n<parameter name='ipaddress-v4-oam-vip' value='`$request-parameters.vm[$j].vnfc[$k].ipaddress-v4-oam-vip`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n<parameter name='group-notation' value='`$request-parameters.vm[$j].vnfc[$k].group-notation`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n\n\n","comments":"","outputs":1,"x":1553.749984741211,"y":896.8333148956299,"z":"2c29979c.085788","wires":[["defef68c.efd408"]]},{"id":"29d3772.e8a1788","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":1110.5,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["c6141f12.05436","9041ddd8.6b377"]]},{"id":"c6141f12.05436","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1109.5,"y":901.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"e0ced342.2ee9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1349.9999885559082,"y":893.0833740234375,"z":"2c29979c.085788","wires":[["c46d035a.6bbd7"]]},{"id":"9ead1868.e9e0d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1241,"y":397.33333587646484,"z":"2c29979c.085788","wires":[["e4aab88c.91de48"]]},{"id":"9041ddd8.6b377","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1329,"y":770.3333358764648,"z":"2c29979c.085788","wires":[["745b11d2.f9797"]]},{"id":"efef03f8.81d38","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":1744,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["525acc69.20d3e4","9b2ee4c2.6db578"]]},{"id":"745b11d2.f9797","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1505,"y":769.3333358764648,"z":"2c29979c.085788","wires":[["efef03f8.81d38"]]},{"id":"525acc69.20d3e4","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1965,"y":767.3333358764648,"z":"2c29979c.085788","wires":[["8cf964a5.579d18"]]},{"id":"8cf964a5.579d18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2120,"y":768.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"9b2ee4c2.6db578","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1962,"y":821.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"715964cb.dde1bc","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=\"`'501:' + $aai-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":768,"y":947.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"52d5b700.fd5458","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1515.928581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["ca342217.314c8"]]},{"id":"ca342217.314c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1674.678581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["56cad9d9.774ac8"]]},{"id":"56cad9d9.774ac8","type":"get-resource","name":"update: A&AI Data for VNFC status update","xml":"<update plugin=\"org.openecomp.sdnc.sli.resource.sql.SqlResource\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc-update\" >\n<parameter name='vnfc-name' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-name`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n\n","comments":"","outputs":1,"x":1952.1785888671875,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["cc410b82.8ebc38","e8d3d750.465eb8"]]},{"id":"cc410b82.8ebc38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2238.6787109375,"y":599.9404907226562,"z":"2c29979c.085788","wires":[["df90a4f2.8e71d8"]]},{"id":"df90a4f2.8e71d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2390.6785583496094,"y":617.1904773712158,"z":"2c29979c.085788","wires":[["69ebc07.edf0c4","4743ee44.6c93f"]]},{"id":"69ebc07.edf0c4","type":"record","name":"record","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=\"Update VNFC status to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2584.6785583496094,"y":599.1904773712158,"z":"2c29979c.085788","wires":[[]]},{"id":"4743ee44.6c93f","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Update VNFC status to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":2666.178596496582,"y":660.940486907959,"z":"2c29979c.085788","wires":[]},{"id":"e8d3d750.465eb8","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2225.9285583496094,"y":683.9404773712158,"z":"2c29979c.085788","wires":[["c21aabb4.5a6d58"]]},{"id":"c21aabb4.5a6d58","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2387.1785926818848,"y":682.690486907959,"z":"2c29979c.085788","wires":[["a5bec166.b3913"]]},{"id":"a5bec166.b3913","type":"record","name":"record","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=\"Update VNFC status to AnAI Request Success\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2568.4285583496094,"y":707.6904773712158,"z":"2c29979c.085788","wires":[[]]}]
+[{"id":"9333f052.3d35c","type":"service-logic","name":"APPC 3.0.0","module":"APPC","version":"3.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='3.0.0'>","outputs":1,"x":267,"y":42.333335876464844,"z":"2c29979c.085788","wires":[["b5bc2ae5.c3ccb8"]]},{"id":"ccfc3135.e932f","type":"dgstart","name":"DGSTART","outputs":1,"x":96.83331298828125,"y":41.66667938232422,"z":"2c29979c.085788","wires":[["9333f052.3d35c"]]},{"id":"b5bc2ae5.c3ccb8","type":"method","name":"method UpdateAaiforPayloadInput","xml":"<method rpc='UpdateAaiforPayloadInput' mode='sync'>\n","comments":"","outputs":1,"x":490.3333740234375,"y":39,"z":"2c29979c.085788","wires":[["6f4f9cf7.421284"]]},{"id":"6f4f9cf7.421284","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":120,"y":262.33333587646484,"z":"2c29979c.085788","wires":[["dacd8a6.62c3978","46ce8310.34f23c","16298fb8.22c27","f50ba4be.268618"]]},{"id":"46ce8310.34f23c","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=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$aai-error-message`\"/>\n\n","comments":"","outputs":1,"x":327,"y":717.3333969116211,"z":"2c29979c.085788","wires":[[]]},{"id":"dacd8a6.62c3978","type":"switchNode","name":"switch: vm length","xml":"<switch test=\"`$size_request-parameters.vm`\">","comments":"","outputs":1,"x":356,"y":165.44445037841797,"z":"2c29979c.085788","wires":[["44fdeb61.aa9034","72261fcd.ca467","2a6d9b73.a96634"]]},{"id":"daef72.bdc6c09","type":"for","name":"for: vm","xml":"<for index=\"j\" start=\"0\" end=\"`$size_request-parameters.vm`\" >","comments":"","outputs":1,"x":365,"y":319.3333969116211,"z":"2c29979c.085788","wires":[["9ed29edc.ebe52"]]},{"id":"44fdeb61.aa9034","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":591.0000610351562,"y":142.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"72261fcd.ca467","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":581.0000610351562,"y":201.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"9ed29edc.ebe52","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":540.0000610351562,"y":320.3333969116211,"z":"2c29979c.085788","wires":[["8a8c3760.6f71b8"]]},{"id":"bfe524b3.a8b848","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":785.0000610351562,"y":171.44445037841797,"z":"2c29979c.085788","wires":[["270c634c.7568ec","a13ad30b.4366c"]]},{"id":"6ef24474.a983ec","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1249.5001220703125,"y":677.5555648803711,"z":"2c29979c.085788","wires":[["a751861e.5d43a8","52d5b700.fd5458"]]},{"id":"270c634c.7568ec","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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VM data not found in request\"/>\n\n\n","comments":"","outputs":1,"x":975.0000610351562,"y":152.44445037841797,"z":"2c29979c.085788","wires":[[]]},{"id":"a751861e.5d43a8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1511,"y":680.3333358764648,"z":"2c29979c.085788","wires":[["3e894fae.eed92"]]},{"id":"3e894fae.eed92","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1682,"y":685.3333358764648,"z":"2c29979c.085788","wires":[["29d3772.e8a1788"]]},{"id":"defef68c.efd408","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1274.1664962768555,"y":1023.5833148956299,"z":"2c29979c.085788","wires":[["1b7742ee.646d8d"]]},{"id":"1b7742ee.646d8d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1465.1664962768555,"y":1023.0833148956299,"z":"2c29979c.085788","wires":[["484c0808.c6a598","22e0181c.878b98"]]},{"id":"484c0808.c6a598","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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1641.6665000915527,"y":977.5833759307861,"z":"2c29979c.085788","wires":[[]]},{"id":"22e0181c.878b98","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":1718.1664962768555,"y":1071.8333158493042,"z":"2c29979c.085788","wires":[]},{"id":"8ffddb97.757d58","type":"for","name":"for: vm.vnfc","xml":"<for index=\"k\" start=\"0\" end=\"`$size_request-parameters.vm[$j].vnfc`\" >","comments":"","outputs":1,"x":875.2143783569336,"y":614.7619743347168,"z":"2c29979c.085788","wires":[["c2298a98.0adbd8"]]},{"id":"c2298a98.0adbd8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1060.5001831054688,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["b61d1503.913e98","6ef24474.a983ec"]]},{"id":"b61d1503.913e98","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=\"__TIMESTAMP__\"/>\n\n<parameter name=\"VNFCNAME\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n<parameter name=\"VMNAME\" value=\"`$request-parameters.vm[$j].vm-name`\"/>\n","comments":"","outputs":1,"x":1245.5001831054688,"y":597.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"2a6d9b73.a96634","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":373.00006103515625,"y":248.1111068725586,"z":"2c29979c.085788","wires":[["b4699d7b.74cfd"]]},{"id":"b4699d7b.74cfd","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":560,"y":253.1111068725586,"z":"2c29979c.085788","wires":[["daef72.bdc6c09"]]},{"id":"e4aab88c.91de48","type":"switchNode","name":"switch: vnfc length","xml":"<switch test=\"`$size_request-parameters.vm[$j].vnfc`\">","comments":"","outputs":1,"x":704.3572540283203,"y":477.9047508239746,"z":"2c29979c.085788","wires":[["cc76df4b.79195","b9647e56.5428","515b427.0838abc"]]},{"id":"cc76df4b.79195","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1012.5001831054688,"y":465.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"b9647e56.5428","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":999.5001831054688,"y":503.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"515b427.0838abc","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1002.5001831054688,"y":555.3333358764648,"z":"2c29979c.085788","wires":[["85b4db72.6fea78"]]},{"id":"daca7ad3.6849a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1233.500244140625,"y":493.33333587646484,"z":"2c29979c.085788","wires":[["a51065d2.dda8e8","84809a16.798bb8"]]},{"id":"a51065d2.dda8e8","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=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VNFC data not in request\"/>\n\n\n","comments":"","outputs":1,"x":1425.500244140625,"y":459.33333587646484,"z":"2c29979c.085788","wires":[[]]},{"id":"85b4db72.6fea78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":663.5001220703125,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["8ffddb97.757d58"]]},{"id":"8a8c3760.6f71b8","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"vserver\" key=\"vserver-name = $request-parameters.vm[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n","comments":"","outputs":1,"x":813.1666870117188,"y":323.1111068725586,"z":"2c29979c.085788","wires":[["891fa503.2eb248","8165f2d1.c2795","760228ff.b17788"]]},{"id":"891fa503.2eb248","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1074.166748046875,"y":284.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"8165f2d1.c2795","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1083.166748046875,"y":335.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"760228ff.b17788","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1060,"y":396.33333587646484,"z":"2c29979c.085788","wires":[["9ead1868.e9e0d8"]]},{"id":"ffbb360a.0f9b98","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1265.166748046875,"y":310.1111068725586,"z":"2c29979c.085788","wires":[["23cd0ec8.29e192"]]},{"id":"23cd0ec8.29e192","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Get from A&amp;AI Failed for ' + $request-parameters.vm[$j].vm-name + '.' + $aai-error-message`\"/>","comments":"","x":1538.166748046875,"y":315.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"a13ad30b.4366c","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VM Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1055.1666870117188,"y":198.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"84809a16.798bb8","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VNFC Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1505.6668701171875,"y":520.3333358764648,"z":"2c29979c.085788","wires":[]},{"id":"16298fb8.22c27","type":"switchNode","name":"switch: aai-error-message","xml":"<switch test=\"`$aai-error-message`\">","comments":"","outputs":1,"x":131.16668701171875,"y":859.1111068725586,"z":"2c29979c.085788","wires":[["ccb9af83.f0c75","d8d6fa14.d6e7e8"]]},{"id":"ccb9af83.f0c75","type":"other","name":"outcome: not populated","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":387.16668701171875,"y":858.1111068725586,"z":"2c29979c.085788","wires":[["8e4f6b95.1df068"]]},{"id":"8e4f6b95.1df068","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":589.1666870117188,"y":872.1111068725586,"z":"2c29979c.085788","wires":[["18c23b39.337805"]]},{"id":"d8d6fa14.d6e7e8","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":362.16668701171875,"y":936.1111068725586,"z":"2c29979c.085788","wires":[["94c6b29b.e6273"]]},{"id":"94c6b29b.e6273","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":554.1666870117188,"y":938.1111068725586,"z":"2c29979c.085788","wires":[["73ce9597.b49bcc","715964cb.dde1bc"]]},{"id":"18c23b39.337805","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":782.1666870117188,"y":874.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"73ce9597.b49bcc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":746.1666870117188,"y":1004.1111679077148,"z":"2c29979c.085788","wires":[]},{"id":"f50ba4be.268618","type":"set","name":"set prov-status and orch-status","xml":"<set>\n<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />\n","comments":"","x":403,"y":84.33333587646484,"z":"2c29979c.085788","wires":[]},{"id":"c46d035a.6bbd7","type":"save","name":"save Put VNFC","xml":"<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='vnfc' key='vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'>\n<parameter name='vnfc-function-code' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-function-code`'/>\n<parameter name='vnfc-type' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-type`'/>\n<parameter name='ipaddress-v4-oam-vip' value='`$request-parameters.vm[$j].vnfc[$k].ipaddress-v4-oam-vip`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n<parameter name='group-notation' value='`$request-parameters.vm[$j].vnfc[$k].group-notation`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n\n\n","comments":"","outputs":1,"x":1553.749984741211,"y":896.8333148956299,"z":"2c29979c.085788","wires":[["defef68c.efd408"]]},{"id":"29d3772.e8a1788","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":1110.5,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["c6141f12.05436","9041ddd8.6b377"]]},{"id":"c6141f12.05436","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1109.5,"y":901.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"e0ced342.2ee9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1349.9999885559082,"y":893.0833740234375,"z":"2c29979c.085788","wires":[["c46d035a.6bbd7"]]},{"id":"9ead1868.e9e0d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1241,"y":397.33333587646484,"z":"2c29979c.085788","wires":[["e4aab88c.91de48"]]},{"id":"9041ddd8.6b377","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1329,"y":770.3333358764648,"z":"2c29979c.085788","wires":[["745b11d2.f9797"]]},{"id":"efef03f8.81d38","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":1744,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["525acc69.20d3e4","9b2ee4c2.6db578"]]},{"id":"745b11d2.f9797","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1505,"y":769.3333358764648,"z":"2c29979c.085788","wires":[["efef03f8.81d38"]]},{"id":"525acc69.20d3e4","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1965,"y":767.3333358764648,"z":"2c29979c.085788","wires":[["8cf964a5.579d18"]]},{"id":"8cf964a5.579d18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2120,"y":768.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"9b2ee4c2.6db578","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1962,"y":821.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"715964cb.dde1bc","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=\"`'501:' + $aai-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":768,"y":947.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"52d5b700.fd5458","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1515.928581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["ca342217.314c8"]]},{"id":"ca342217.314c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1674.678581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["56cad9d9.774ac8"]]},{"id":"56cad9d9.774ac8","type":"get-resource","name":"update: A&AI Data for VNFC status update","xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc-update\" >\n<parameter name='vnfc-name' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-name`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n\n","comments":"","outputs":1,"x":1952.1785888671875,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["cc410b82.8ebc38","e8d3d750.465eb8"]]},{"id":"cc410b82.8ebc38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2238.6787109375,"y":599.9404907226562,"z":"2c29979c.085788","wires":[["df90a4f2.8e71d8"]]},{"id":"df90a4f2.8e71d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2390.6785583496094,"y":617.1904773712158,"z":"2c29979c.085788","wires":[["69ebc07.edf0c4","4743ee44.6c93f"]]},{"id":"69ebc07.edf0c4","type":"record","name":"record","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=\"Update VNFC status to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2584.6785583496094,"y":599.1904773712158,"z":"2c29979c.085788","wires":[[]]},{"id":"4743ee44.6c93f","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Update VNFC status to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":2666.178596496582,"y":660.940486907959,"z":"2c29979c.085788","wires":[]},{"id":"e8d3d750.465eb8","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2225.9285583496094,"y":683.9404773712158,"z":"2c29979c.085788","wires":[["c21aabb4.5a6d58"]]},{"id":"c21aabb4.5a6d58","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2387.1785926818848,"y":682.690486907959,"z":"2c29979c.085788","wires":[["a5bec166.b3913"]]},{"id":"a5bec166.b3913","type":"record","name":"record","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=\"Update VNFC status to AnAI Request Success\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2568.4285583496094,"y":707.6904773712158,"z":"2c29979c.085788","wires":[[]]}]
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 0020f031c..b7743d3eb 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
@@ -545,7 +545,7 @@
]
],
"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",
+ "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.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",
"y": 472.4166946411133,
"z": "5ad64f3a.c3774"
},
@@ -730,7 +730,7 @@
]
],
"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",
+ "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.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",
"y": 748.3333148956299,
"z": "5ad64f3a.c3774"
},
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_2.0.1_method_configuration-document-request.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_2.0.1_method_configuration-document-request.json
index 58f53c4c0..a49f9b2a6 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_2.0.1_method_configuration-document-request.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_2.0.1_method_configuration-document-request.json
@@ -1 +1 @@
-[{"id":"16b56aca.921305","type":"dgstart","name":"DGSTART","outputs":1,"x":164,"y":68,"z":"c6a88251.aeda8","wires":[["dafab93e.ef6db8"]]},{"id":"71efd50a.f24eec","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":209,"y":199,"z":"c6a88251.aeda8","wires":[["7ab86011.58b3d","51012c63.b2c994","10cfc47.8fe793c","9b276109.1a9f8"]]},{"id":"d686b8ea.8264f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":575,"y":381,"z":"c6a88251.aeda8","wires":[["cce5b362.94661"]]},{"id":"5cf21fe6.ee98e","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"503\"/>\n\t<parameter name=\"error-message\" value=\"Unable to save ASDC artifact\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":948,"y":439,"z":"c6a88251.aeda8","wires":[]},{"id":"6a8fcfe.ea99b3","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":280,"y":575,"z":"c6a88251.aeda8","wires":[["62a9108b.dca58"]]},{"id":"62a9108b.dca58","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":438,"y":611,"z":"c6a88251.aeda8","wires":[["9ca441f6.58cd1","995305a7.07ec28","9d8a547b.b434f8"]]},{"id":"9d8a547b.b434f8","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='200' />\n","comments":"","x":666,"y":733,"z":"c6a88251.aeda8","wires":[]},{"id":"dafab93e.ef6db8","type":"service-logic","name":"ASDC-MESSAGE 2.0.1","module":"ASDC-MESSAGE","version":"2.0.1","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='ASDC-MESSAGE' version='2.0.1'>","outputs":1,"x":386,"y":68,"z":"c6a88251.aeda8","wires":[["5cb3be39.2d283"]]},{"id":"5cb3be39.2d283","type":"method","name":"configuration-document-request","xml":"<method rpc='configuration-document-request' mode='sync'>\n","comments":"","outputs":1,"x":270,"y":129,"z":"c6a88251.aeda8","wires":[["71efd50a.f24eec"]]},{"id":"7ab86011.58b3d","type":"get-resource","name":"get-resource: asdc-reference SQLResource","xml":"<get-resource\n\tplugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT vnf_type, vnfc_type, file_category\n\t FROM ASDC_REFERENCE\n WHERE artifact_name = $configuration-document-request-input.document-parameters.artifact-name ;\"\n force='true'\n\tpfx='asdc-reference'>\n","comments":"","outputs":1,"x":492,"y":192,"z":"c6a88251.aeda8","wires":[["3e5e30f7.7b527","3ce6e169.a2dc8e"]]},{"id":"9b276109.1a9f8","type":"save","name":"save asdc-file SQLResource","xml":"<save \tplugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey='INSERT INTO CONFIGFILES\n\t SET data_source = \"ASDC\",\n\t vnf_type = $asdc-reference.vnf-type ,\n\t vnfc_type = $asdc-reference.vnfc-type ,\n\t file_category \t= $asdc-reference.file-category ,\n\t file_name = $configuration-document-request-input.document-parameters.artifact-name ,\n\t file_content = $escapedData ;'\n\t \tforce='true'\n\n \tpfx='tmp.config-files'>\n","comments":"","outputs":1,"x":342,"y":389,"z":"c6a88251.aeda8","wires":[["d686b8ea.8264f8","6a8fcfe.ea99b3","de6d6715.fb9568"]]},{"id":"51012c63.b2c994","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=\"vnf-type\" value=\"`$asdc-reference.vnf-type`\"/>\n<parameter name=\"vnfc-type\" value=\"`$asdc-reference.vnfc-type`\"/>\n<parameter name=\"file-category\" value=\"`$asdc-reference.file-category`\"/>\n\n\n\n","comments":"","outputs":1,"x":378,"y":235,"z":"c6a88251.aeda8","wires":[[]]},{"id":"3e5e30f7.7b527","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":750,"y":157,"z":"c6a88251.aeda8","wires":[["568cd496.8a01fc"]]},{"id":"3ce6e169.a2dc8e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":758,"y":223,"z":"c6a88251.aeda8","wires":[["568cd496.8a01fc"]]},{"id":"d8e09650.bf1098","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"502\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve asdc_resource\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":1226,"y":291,"z":"c6a88251.aeda8","wires":[]},{"id":"9ca441f6.58cd1","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=\"file-contents\" value=\"`$configuration-document-request-input.configuration-document-information.document-parameters[0].artifact-contents`\"/>\n\n","comments":"","outputs":1,"x":643,"y":634,"z":"c6a88251.aeda8","wires":[[]]},{"id":"995305a7.07ec28","type":"set","name":"set deploy-ok","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_OK\" />\n","comments":"","outputs":1,"x":665,"y":681,"z":"c6a88251.aeda8","wires":[[]]},{"id":"cce5b362.94661","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":725,"y":406,"z":"c6a88251.aeda8","wires":[["21e0bdf3.1ca732","c27c40a2.ae31","5cf21fe6.ee98e"]]},{"id":"21e0bdf3.1ca732","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=\"error-code\" value=\"503\"/>\n\n","comments":"","outputs":1,"x":921,"y":324,"z":"c6a88251.aeda8","wires":[[]]},{"id":"c27c40a2.ae31","type":"set","name":"set deploy-error 503","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"failure to store artifact\" />\n\n","comments":"","outputs":1,"x":954,"y":373,"z":"c6a88251.aeda8","wires":[[]]},{"id":"568cd496.8a01fc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":981,"y":166,"z":"c6a88251.aeda8","wires":[["a514a19d.1922e","f8fdb850.32b458","d8e09650.bf1098"]]},{"id":"a514a19d.1922e","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=\"error-code\" value=\"502\"/>","comments":"","outputs":1,"x":1199,"y":140,"z":"c6a88251.aeda8","wires":[[]]},{"id":"f8fdb850.32b458","type":"set","name":"set: deploy-error-502","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"missing asdc_reference data for artifact-name\" />\n\n\n","comments":"","outputs":1,"x":1213,"y":195,"z":"c6a88251.aeda8","wires":[[]]},{"id":"de6d6715.fb9568","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":583,"y":440,"z":"c6a88251.aeda8","wires":[["cce5b362.94661"]]},{"id":"10cfc47.8fe793c","type":"configure","name":"configure: escapeSQL","xml":"<configure adaptor='org.openecomp.appc.ccadaptor.ConfigComponentAdaptor' key='escapeSql' >\n<parameter name=\"artifactContents\" value=\"`$configuration-document-request-input.document-parameters.artifact-contents`\"/>\n\n","comments":"","outputs":1,"x":379,"y":286,"z":"c6a88251.aeda8","wires":[[]]}]
+[{"id":"16b56aca.921305","type":"dgstart","name":"DGSTART","outputs":1,"x":164,"y":68,"z":"c6a88251.aeda8","wires":[["dafab93e.ef6db8"]]},{"id":"71efd50a.f24eec","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":209,"y":199,"z":"c6a88251.aeda8","wires":[["7ab86011.58b3d","51012c63.b2c994","10cfc47.8fe793c","9b276109.1a9f8"]]},{"id":"d686b8ea.8264f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":575,"y":381,"z":"c6a88251.aeda8","wires":[["cce5b362.94661"]]},{"id":"5cf21fe6.ee98e","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"503\"/>\n\t<parameter name=\"error-message\" value=\"Unable to save ASDC artifact\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":948,"y":439,"z":"c6a88251.aeda8","wires":[]},{"id":"6a8fcfe.ea99b3","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":280,"y":575,"z":"c6a88251.aeda8","wires":[["62a9108b.dca58"]]},{"id":"62a9108b.dca58","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":438,"y":611,"z":"c6a88251.aeda8","wires":[["9ca441f6.58cd1","995305a7.07ec28","9d8a547b.b434f8"]]},{"id":"9d8a547b.b434f8","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='200' />\n","comments":"","x":666,"y":733,"z":"c6a88251.aeda8","wires":[]},{"id":"dafab93e.ef6db8","type":"service-logic","name":"ASDC-MESSAGE 2.0.1","module":"ASDC-MESSAGE","version":"2.0.1","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='ASDC-MESSAGE' version='2.0.1'>","outputs":1,"x":386,"y":68,"z":"c6a88251.aeda8","wires":[["5cb3be39.2d283"]]},{"id":"5cb3be39.2d283","type":"method","name":"configuration-document-request","xml":"<method rpc='configuration-document-request' mode='sync'>\n","comments":"","outputs":1,"x":270,"y":129,"z":"c6a88251.aeda8","wires":[["71efd50a.f24eec"]]},{"id":"7ab86011.58b3d","type":"get-resource","name":"get-resource: asdc-reference SQLResource","xml":"<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT vnf_type, vnfc_type, file_category\n\t FROM ASDC_REFERENCE\n WHERE artifact_name = $configuration-document-request-input.document-parameters.artifact-name ;\"\n force='true'\n\tpfx='asdc-reference'>\n","comments":"","outputs":1,"x":492,"y":192,"z":"c6a88251.aeda8","wires":[["3e5e30f7.7b527","3ce6e169.a2dc8e"]]},{"id":"9b276109.1a9f8","type":"save","name":"save asdc-file SQLResource","xml":"<save \tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey='INSERT INTO CONFIGFILES\n\t SET data_source = \"ASDC\",\n\t vnf_type = $asdc-reference.vnf-type ,\n\t vnfc_type = $asdc-reference.vnfc-type ,\n\t file_category \t= $asdc-reference.file-category ,\n\t file_name = $configuration-document-request-input.document-parameters.artifact-name ,\n\t file_content = $escapedData ;'\n\t \tforce='true'\n\n \tpfx='tmp.config-files'>\n","comments":"","outputs":1,"x":342,"y":389,"z":"c6a88251.aeda8","wires":[["d686b8ea.8264f8","6a8fcfe.ea99b3","de6d6715.fb9568"]]},{"id":"51012c63.b2c994","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=\"vnf-type\" value=\"`$asdc-reference.vnf-type`\"/>\n<parameter name=\"vnfc-type\" value=\"`$asdc-reference.vnfc-type`\"/>\n<parameter name=\"file-category\" value=\"`$asdc-reference.file-category`\"/>\n\n\n\n","comments":"","outputs":1,"x":378,"y":235,"z":"c6a88251.aeda8","wires":[[]]},{"id":"3e5e30f7.7b527","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":750,"y":157,"z":"c6a88251.aeda8","wires":[["568cd496.8a01fc"]]},{"id":"3ce6e169.a2dc8e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":758,"y":223,"z":"c6a88251.aeda8","wires":[["568cd496.8a01fc"]]},{"id":"d8e09650.bf1098","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"502\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve asdc_resource\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":1226,"y":291,"z":"c6a88251.aeda8","wires":[]},{"id":"9ca441f6.58cd1","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=\"file-contents\" value=\"`$configuration-document-request-input.configuration-document-information.document-parameters[0].artifact-contents`\"/>\n\n","comments":"","outputs":1,"x":643,"y":634,"z":"c6a88251.aeda8","wires":[[]]},{"id":"995305a7.07ec28","type":"set","name":"set deploy-ok","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_OK\" />\n","comments":"","outputs":1,"x":665,"y":681,"z":"c6a88251.aeda8","wires":[[]]},{"id":"cce5b362.94661","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":725,"y":406,"z":"c6a88251.aeda8","wires":[["21e0bdf3.1ca732","c27c40a2.ae31","5cf21fe6.ee98e"]]},{"id":"21e0bdf3.1ca732","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=\"error-code\" value=\"503\"/>\n\n","comments":"","outputs":1,"x":921,"y":324,"z":"c6a88251.aeda8","wires":[[]]},{"id":"c27c40a2.ae31","type":"set","name":"set deploy-error 503","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"failure to store artifact\" />\n\n","comments":"","outputs":1,"x":954,"y":373,"z":"c6a88251.aeda8","wires":[[]]},{"id":"568cd496.8a01fc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":981,"y":166,"z":"c6a88251.aeda8","wires":[["a514a19d.1922e","f8fdb850.32b458","d8e09650.bf1098"]]},{"id":"a514a19d.1922e","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=\"error-code\" value=\"502\"/>","comments":"","outputs":1,"x":1199,"y":140,"z":"c6a88251.aeda8","wires":[[]]},{"id":"f8fdb850.32b458","type":"set","name":"set: deploy-error-502","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"missing asdc_reference data for artifact-name\" />\n\n\n","comments":"","outputs":1,"x":1213,"y":195,"z":"c6a88251.aeda8","wires":[[]]},{"id":"de6d6715.fb9568","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":583,"y":440,"z":"c6a88251.aeda8","wires":[["cce5b362.94661"]]},{"id":"10cfc47.8fe793c","type":"configure","name":"configure: escapeSQL","xml":"<configure adaptor='org.openecomp.appc.ccadaptor.ConfigComponentAdaptor' key='escapeSql' >\n<parameter name=\"artifactContents\" value=\"`$configuration-document-request-input.document-parameters.artifact-contents`\"/>\n\n","comments":"","outputs":1,"x":379,"y":286,"z":"c6a88251.aeda8","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_method_configuration-document-request_3.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_method_configuration-document-request_3.0.0.json
index f7906cf7d..05c8c00cf 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_method_configuration-document-request_3.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/ASDC-MESSAGE/ASDC-MESSAGE_method_configuration-document-request_3.0.0.json
@@ -1 +1 @@
-[{"id":"8f48883d.679f48","type":"dgstart","name":"DGSTART","outputs":1,"x":109,"y":43.99999713897705,"z":"28a80c95.6f39c4","wires":[["bd600a44.6c6cc8"]]},{"id":"24671a98.3cbfe6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":444.3333206176758,"y":121.88888263702393,"z":"28a80c95.6f39c4","wires":[["6952f2c1.c8768c"]]},{"id":"92cd7002.19f79","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":780.2222023010254,"y":449.11104583740234,"z":"28a80c95.6f39c4","wires":[["63034f6b.1ca7e"]]},{"id":"b2658f84.2d5dc","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"503\"/>\n\t<parameter name=\"error-message\" value=\"Unable to save ASDC artifact\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":1154.444320678711,"y":396.3332395553589,"z":"28a80c95.6f39c4","wires":[]},{"id":"369d3bdf.5c54a4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":752.4444885253906,"y":625.7776575088501,"z":"28a80c95.6f39c4","wires":[["ed2c0654.f52c48"]]},{"id":"ed2c0654.f52c48","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":955.1111526489258,"y":625.9999551773071,"z":"28a80c95.6f39c4","wires":[["8de31d68.7e5","7b65641b.dce5cc","4c10cb1c.481084"]]},{"id":"4c10cb1c.481084","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='200' />\n","comments":"","x":1158.000015258789,"y":665.8888864517212,"z":"28a80c95.6f39c4","wires":[]},{"id":"bd600a44.6c6cc8","type":"service-logic","name":"ASDC-MESSAGE 3.0.0","module":"ASDC-MESSAGE","version":"3.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='ASDC-MESSAGE' version='3.0.0'>","outputs":1,"x":368.1111297607422,"y":42,"z":"28a80c95.6f39c4","wires":[["86900238.26815"]]},{"id":"86900238.26815","type":"method","name":"configuration-document-request","xml":"<method rpc='configuration-document-request' mode='sync'>\n","comments":"","outputs":1,"x":179.77781677246094,"y":125.22222995758057,"z":"28a80c95.6f39c4","wires":[["24671a98.3cbfe6"]]},{"id":"6952f2c1.c8768c","type":"get-resource","name":"get-resource: asdc-reference SQLResource","xml":"<get-resource\n\tplugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT vnf_type, vnfc_type, file_category\n\t FROM ASDC_REFERENCE\n WHERE artifact_name = $configuration-document-request-input.document-parameters.artifact-name ;\"\n force='true'\n\tpfx='asdc-reference'>\n","comments":"","outputs":1,"x":697.7777709960938,"y":72.33334350585938,"z":"28a80c95.6f39c4","wires":[["d72a70bd.4c03c","c2dec095.61d77","793fb24.a89de4c"]]},{"id":"e03ec3d2.d8db","type":"save","name":"save asdc-file SQLResource","xml":"<save \tplugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey='INSERT INTO ASDC_ARTIFACTS\n\t SET service_uuid\t= $configuration-document-request-input.document-parameters.service-uuid ,\n\t distribution_id\t= $configuration-document-request-input.document-parameters.distribution-id ,\n\t service_name\t= $configuration-document-request-input.document-parameters.service-name ,\n\t\tservice_description\t= $configuration-document-request-input.document-parameters.service-description ,\n\t\tresource_uuid\t= $configuration-document-request-input.document-parameters.resource-uuid ,\n\t\tresource_instance_name\t= $configuration-document-request-input.document-parameters.resource-instance-name ,\n\t\tresource_name\t= $configuration-document-request-input.document-parameters.resource-name ,\n\t\tresource_version\t= $configuration-document-request-input.document-parameters.resource-version ,\n\t\tresource_type\t= $configuration-document-request-input.document-parameters.resource-type ,\n\t\tartifact_uuid\t= $configuration-document-request-input.document-parameters.artifact-uuid ,\n\t\tartifact_type\t= $configuration-document-request-input.document-parameters.artifact-type ,\n\t\tartifact_version\t= $configuration-document-request-input.document-parameters.artifact-version ,\n\t\tartifact_description\t= $configuration-document-request-input.document-parameters.artifact-description ,\n\t\tinternal_version\t= $asdc-artifacts.internalversion ,\n\t artifact_name = $configuration-document-request-input.document-parameters.artifact-name ,\n\t artifact_content = $convertconfig.escapeData ;'\n\t \tforce='true'\n\n \tpfx='tmp.asdc-artifacts'>\n","comments":"","outputs":1,"x":530.2777900695801,"y":516.6666259765625,"z":"28a80c95.6f39c4","wires":[["92cd7002.19f79","369d3bdf.5c54a4","65ec4b77.655924"]]},{"id":"d72a70bd.4c03c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":978.9999389648438,"y":63.888885498046875,"z":"28a80c95.6f39c4","wires":[["755c0ce1.265bd4"]]},{"id":"c2dec095.61d77","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1021.6666870117188,"y":133,"z":"28a80c95.6f39c4","wires":[["755c0ce1.265bd4"]]},{"id":"194d7eb0.2c5761","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"502\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve asdc_resource\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":1337,"y":140.33334350585938,"z":"28a80c95.6f39c4","wires":[]},{"id":"8de31d68.7e5","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=\"file-contents\" value=\"`$configuration-document-request-input.configuration-document-information.document-parameters[0].artifact-contents`\"/>\n\n","comments":"","outputs":1,"x":1125.8889656066895,"y":566.6665868759155,"z":"28a80c95.6f39c4","wires":[[]]},{"id":"7b65641b.dce5cc","type":"set","name":"set deploy-ok","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_OK\" />\n","comments":"","x":1150.2222366333008,"y":614.222170829773,"z":"28a80c95.6f39c4","wires":[]},{"id":"63034f6b.1ca7e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":926.9999694824219,"y":491.1109781265259,"z":"28a80c95.6f39c4","wires":[["d64e50ba.e5739","9b6e24b7.fdfe38","b2658f84.2d5dc"]]},{"id":"d64e50ba.e5739","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=\"error-code\" value=\"503\"/>\n\n","comments":"","outputs":1,"x":1147.4444198608398,"y":519.110951423645,"z":"28a80c95.6f39c4","wires":[[]]},{"id":"9b6e24b7.fdfe38","type":"set","name":"set deploy-error 503","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"failure to store artifact\" />\n\n","comments":"","x":1186.5553817749023,"y":459.22210597991943,"z":"28a80c95.6f39c4","wires":[]},{"id":"755c0ce1.265bd4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":1165.333251953125,"y":86.44444274902344,"z":"28a80c95.6f39c4","wires":[["1c294786.e44028","c0456dd5.b1e53","194d7eb0.2c5761"]]},{"id":"1c294786.e44028","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=\"error-code\" value=\"502\"/>","comments":"","outputs":1,"x":1316.2220458984375,"y":20.888885498046875,"z":"28a80c95.6f39c4","wires":[[]]},{"id":"c0456dd5.b1e53","type":"set","name":"set: deploy-error-502","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"missing asdc_reference data for artifact-name\" />\n\n\n","comments":"","x":1369.7779541015625,"y":84.22221374511719,"z":"28a80c95.6f39c4","wires":[]},{"id":"65ec4b77.655924","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":772.8888893127441,"y":541.9999313354492,"z":"28a80c95.6f39c4","wires":[["63034f6b.1ca7e"]]},{"id":"f952ccb7.2b199","type":"configure","name":"configure: escapeSQL","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"escapeData\">\n<parameter name=\"unEscapeData\" value=\"`$configuration-document-request-input.document-parameters.artifact-contents`\" />\n<parameter name=\"dataType\" value=\"SQL\" />\n<parameter name=\"responsePrefix\" value=\"convertconfig\" />\n\n","comments":"","outputs":1,"x":190.22225952148438,"y":426.55548095703125,"z":"28a80c95.6f39c4","wires":[["19da8879.6b1b48","bacd2a00.1e76f8"]]},{"id":"793fb24.a89de4c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":155.11114501953125,"y":200.44439697265625,"z":"28a80c95.6f39c4","wires":[["2de3157d.970b2a"]]},{"id":"980f749f.5434b8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":318.8888931274414,"y":336.33330821990967,"z":"28a80c95.6f39c4","wires":[["f952ccb7.2b199","1d3051dc.9282ce"]]},{"id":"c45cff68.8f337","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":318.88891220092773,"y":515.3332853317261,"z":"28a80c95.6f39c4","wires":[["e03ec3d2.d8db"]]},{"id":"1d3051dc.9282ce","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=\"error-code\" value=\"502\"/>","comments":"","outputs":1,"x":600.3333435058594,"y":284.99993896484375,"z":"28a80c95.6f39c4","wires":[[]]},{"id":"19da8879.6b1b48","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":150.66671752929688,"y":514.5554780960083,"z":"28a80c95.6f39c4","wires":[["c45cff68.8f337"]]},{"id":"d5fde229.a1b3d","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"503\"/>\n\t<parameter name=\"error-message\" value=\"`$convertconfig.error-message`\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":922.0000038146973,"y":310.2221803665161,"z":"28a80c95.6f39c4","wires":[]},{"id":"bacd2a00.1e76f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":505.4444885253906,"y":397.7777404785156,"z":"28a80c95.6f39c4","wires":[["fbad77e5.29f018"]]},{"id":"fbad77e5.29f018","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":667.4444808959961,"y":354.4443893432617,"z":"28a80c95.6f39c4","wires":[["d5fde229.a1b3d","fb6cdc78.ae031"]]},{"id":"fb6cdc78.ae031","type":"set","name":"set deploy-error 503","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"failure to store artifact\" />\n\n","comments":"","x":952.4444808959961,"y":377.55552768707275,"z":"28a80c95.6f39c4","wires":[]},{"id":"2de3157d.970b2a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":362,"y":209,"z":"28a80c95.6f39c4","wires":[["f924ea07.11f418"]]},{"id":"f924ea07.11f418","type":"get-resource","name":"get-resource: Internal version SQLResource","xml":"<get-resource\n\tplugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"select IF(max(INTERNAL_VERSION)>0,max(INTERNAL_VERSION)+1,1) as internalversion\n\t FROM ASDC_ARTIFACTS\n WHERE ARTIFACT_NAME = $configuration-document-request-input.document-parameters.artifact-name ;\"\n force='true'\n\tpfx='asdc-artifacts'>\n\n\n\n","comments":"","outputs":1,"x":648,"y":194,"z":"28a80c95.6f39c4","wires":[["20525a76.581316","26b20401.248fac"]]},{"id":"20525a76.581316","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":132,"y":323,"z":"28a80c95.6f39c4","wires":[["980f749f.5434b8"]]},{"id":"26b20401.248fac","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":983,"y":190,"z":"28a80c95.6f39c4","wires":[["755c0ce1.265bd4"]]}]
+[{"id":"8f48883d.679f48","type":"dgstart","name":"DGSTART","outputs":1,"x":109,"y":43.99999713897705,"z":"28a80c95.6f39c4","wires":[["bd600a44.6c6cc8"]]},{"id":"24671a98.3cbfe6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":444.3333206176758,"y":121.88888263702393,"z":"28a80c95.6f39c4","wires":[["6952f2c1.c8768c"]]},{"id":"92cd7002.19f79","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":780.2222023010254,"y":449.11104583740234,"z":"28a80c95.6f39c4","wires":[["63034f6b.1ca7e"]]},{"id":"b2658f84.2d5dc","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"503\"/>\n\t<parameter name=\"error-message\" value=\"Unable to save ASDC artifact\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":1154.444320678711,"y":396.3332395553589,"z":"28a80c95.6f39c4","wires":[]},{"id":"369d3bdf.5c54a4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":752.4444885253906,"y":625.7776575088501,"z":"28a80c95.6f39c4","wires":[["ed2c0654.f52c48"]]},{"id":"ed2c0654.f52c48","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":955.1111526489258,"y":625.9999551773071,"z":"28a80c95.6f39c4","wires":[["8de31d68.7e5","7b65641b.dce5cc","4c10cb1c.481084"]]},{"id":"4c10cb1c.481084","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='200' />\n","comments":"","x":1158.000015258789,"y":665.8888864517212,"z":"28a80c95.6f39c4","wires":[]},{"id":"bd600a44.6c6cc8","type":"service-logic","name":"ASDC-MESSAGE 3.0.0","module":"ASDC-MESSAGE","version":"3.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='ASDC-MESSAGE' version='3.0.0'>","outputs":1,"x":368.1111297607422,"y":42,"z":"28a80c95.6f39c4","wires":[["86900238.26815"]]},{"id":"86900238.26815","type":"method","name":"configuration-document-request","xml":"<method rpc='configuration-document-request' mode='sync'>\n","comments":"","outputs":1,"x":179.77781677246094,"y":125.22222995758057,"z":"28a80c95.6f39c4","wires":[["24671a98.3cbfe6"]]},{"id":"6952f2c1.c8768c","type":"get-resource","name":"get-resource: asdc-reference SQLResource","xml":"<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT vnf_type, vnfc_type, file_category\n\t FROM ASDC_REFERENCE\n WHERE artifact_name = $configuration-document-request-input.document-parameters.artifact-name ;\"\n force='true'\n\tpfx='asdc-reference'>\n","comments":"","outputs":1,"x":697.7777709960938,"y":72.33334350585938,"z":"28a80c95.6f39c4","wires":[["d72a70bd.4c03c","c2dec095.61d77","793fb24.a89de4c"]]},{"id":"e03ec3d2.d8db","type":"save","name":"save asdc-file SQLResource","xml":"<save \tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey='INSERT INTO ASDC_ARTIFACTS\n\t SET service_uuid\t= $configuration-document-request-input.document-parameters.service-uuid ,\n\t distribution_id\t= $configuration-document-request-input.document-parameters.distribution-id ,\n\t service_name\t= $configuration-document-request-input.document-parameters.service-name ,\n\t\tservice_description\t= $configuration-document-request-input.document-parameters.service-description ,\n\t\tresource_uuid\t= $configuration-document-request-input.document-parameters.resource-uuid ,\n\t\tresource_instance_name\t= $configuration-document-request-input.document-parameters.resource-instance-name ,\n\t\tresource_name\t= $configuration-document-request-input.document-parameters.resource-name ,\n\t\tresource_version\t= $configuration-document-request-input.document-parameters.resource-version ,\n\t\tresource_type\t= $configuration-document-request-input.document-parameters.resource-type ,\n\t\tartifact_uuid\t= $configuration-document-request-input.document-parameters.artifact-uuid ,\n\t\tartifact_type\t= $configuration-document-request-input.document-parameters.artifact-type ,\n\t\tartifact_version\t= $configuration-document-request-input.document-parameters.artifact-version ,\n\t\tartifact_description\t= $configuration-document-request-input.document-parameters.artifact-description ,\n\t\tinternal_version\t= $asdc-artifacts.internalversion ,\n\t artifact_name = $configuration-document-request-input.document-parameters.artifact-name ,\n\t artifact_content = $convertconfig.escapeData ;'\n\t \tforce='true'\n\n \tpfx='tmp.asdc-artifacts'>\n","comments":"","outputs":1,"x":530.2777900695801,"y":516.6666259765625,"z":"28a80c95.6f39c4","wires":[["92cd7002.19f79","369d3bdf.5c54a4","65ec4b77.655924"]]},{"id":"d72a70bd.4c03c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":978.9999389648438,"y":63.888885498046875,"z":"28a80c95.6f39c4","wires":[["755c0ce1.265bd4"]]},{"id":"c2dec095.61d77","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1021.6666870117188,"y":133,"z":"28a80c95.6f39c4","wires":[["755c0ce1.265bd4"]]},{"id":"194d7eb0.2c5761","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"502\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve asdc_resource\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":1337,"y":140.33334350585938,"z":"28a80c95.6f39c4","wires":[]},{"id":"8de31d68.7e5","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=\"file-contents\" value=\"`$configuration-document-request-input.configuration-document-information.document-parameters[0].artifact-contents`\"/>\n\n","comments":"","outputs":1,"x":1125.8889656066895,"y":566.6665868759155,"z":"28a80c95.6f39c4","wires":[[]]},{"id":"7b65641b.dce5cc","type":"set","name":"set deploy-ok","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_OK\" />\n","comments":"","x":1150.2222366333008,"y":614.222170829773,"z":"28a80c95.6f39c4","wires":[]},{"id":"63034f6b.1ca7e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":926.9999694824219,"y":491.1109781265259,"z":"28a80c95.6f39c4","wires":[["d64e50ba.e5739","9b6e24b7.fdfe38","b2658f84.2d5dc"]]},{"id":"d64e50ba.e5739","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=\"error-code\" value=\"503\"/>\n\n","comments":"","outputs":1,"x":1147.4444198608398,"y":519.110951423645,"z":"28a80c95.6f39c4","wires":[[]]},{"id":"9b6e24b7.fdfe38","type":"set","name":"set deploy-error 503","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"failure to store artifact\" />\n\n","comments":"","x":1186.5553817749023,"y":459.22210597991943,"z":"28a80c95.6f39c4","wires":[]},{"id":"755c0ce1.265bd4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":1165.333251953125,"y":86.44444274902344,"z":"28a80c95.6f39c4","wires":[["1c294786.e44028","c0456dd5.b1e53","194d7eb0.2c5761"]]},{"id":"1c294786.e44028","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=\"error-code\" value=\"502\"/>","comments":"","outputs":1,"x":1316.2220458984375,"y":20.888885498046875,"z":"28a80c95.6f39c4","wires":[[]]},{"id":"c0456dd5.b1e53","type":"set","name":"set: deploy-error-502","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"missing asdc_reference data for artifact-name\" />\n\n\n","comments":"","x":1369.7779541015625,"y":84.22221374511719,"z":"28a80c95.6f39c4","wires":[]},{"id":"65ec4b77.655924","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":772.8888893127441,"y":541.9999313354492,"z":"28a80c95.6f39c4","wires":[["63034f6b.1ca7e"]]},{"id":"f952ccb7.2b199","type":"configure","name":"configure: escapeSQL","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"escapeData\">\n<parameter name=\"unEscapeData\" value=\"`$configuration-document-request-input.document-parameters.artifact-contents`\" />\n<parameter name=\"dataType\" value=\"SQL\" />\n<parameter name=\"responsePrefix\" value=\"convertconfig\" />\n\n","comments":"","outputs":1,"x":190.22225952148438,"y":426.55548095703125,"z":"28a80c95.6f39c4","wires":[["19da8879.6b1b48","bacd2a00.1e76f8"]]},{"id":"793fb24.a89de4c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":155.11114501953125,"y":200.44439697265625,"z":"28a80c95.6f39c4","wires":[["2de3157d.970b2a"]]},{"id":"980f749f.5434b8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":318.8888931274414,"y":336.33330821990967,"z":"28a80c95.6f39c4","wires":[["f952ccb7.2b199","1d3051dc.9282ce"]]},{"id":"c45cff68.8f337","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":318.88891220092773,"y":515.3332853317261,"z":"28a80c95.6f39c4","wires":[["e03ec3d2.d8db"]]},{"id":"1d3051dc.9282ce","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=\"error-code\" value=\"502\"/>","comments":"","outputs":1,"x":600.3333435058594,"y":284.99993896484375,"z":"28a80c95.6f39c4","wires":[[]]},{"id":"19da8879.6b1b48","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":150.66671752929688,"y":514.5554780960083,"z":"28a80c95.6f39c4","wires":[["c45cff68.8f337"]]},{"id":"d5fde229.a1b3d","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"503\"/>\n\t<parameter name=\"error-message\" value=\"`$convertconfig.error-message`\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":922.0000038146973,"y":310.2221803665161,"z":"28a80c95.6f39c4","wires":[]},{"id":"bacd2a00.1e76f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":505.4444885253906,"y":397.7777404785156,"z":"28a80c95.6f39c4","wires":[["fbad77e5.29f018"]]},{"id":"fbad77e5.29f018","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":667.4444808959961,"y":354.4443893432617,"z":"28a80c95.6f39c4","wires":[["d5fde229.a1b3d","fb6cdc78.ae031"]]},{"id":"fb6cdc78.ae031","type":"set","name":"set deploy-error 503","xml":"<set>\n\t<parameter name=\"config-document-response.request-id\" value=\"`$configuration-document-request-input.request-information.request-id`\" />\n\t<parameter name=\"config-document-response.status\" value=\"DEPLOY_ERROR\" />\n\t<parameter name=\"config-document-response.error-reason\" value=\"failure to store artifact\" />\n\n","comments":"","x":952.4444808959961,"y":377.55552768707275,"z":"28a80c95.6f39c4","wires":[]},{"id":"2de3157d.970b2a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":362,"y":209,"z":"28a80c95.6f39c4","wires":[["f924ea07.11f418"]]},{"id":"f924ea07.11f418","type":"get-resource","name":"get-resource: Internal version SQLResource","xml":"<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"select IF(max(INTERNAL_VERSION)>0,max(INTERNAL_VERSION)+1,1) as internalversion\n\t FROM ASDC_ARTIFACTS\n WHERE ARTIFACT_NAME = $configuration-document-request-input.document-parameters.artifact-name ;\"\n force='true'\n\tpfx='asdc-artifacts'>\n\n\n\n","comments":"","outputs":1,"x":648,"y":194,"z":"28a80c95.6f39c4","wires":[["20525a76.581316","26b20401.248fac"]]},{"id":"20525a76.581316","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":132,"y":323,"z":"28a80c95.6f39c4","wires":[["980f749f.5434b8"]]},{"id":"26b20401.248fac","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":983,"y":190,"z":"28a80c95.6f39c4","wires":[["755c0ce1.265bd4"]]}]