Changed to unmaintained
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / ASDC-MESSAGE / ASDC-MESSAGE_method_configuration-document-request_3.0.0.json
index 05c8c00..bf0a160 100644 (file)
@@ -1 +1,568 @@
-[{"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"]]}]
+[\r
+    {\r
+        "id": "8f48883d.679f48",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 109,\r
+        "y": 43.99999713897705,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "bd600a44.6c6cc8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "24671a98.3cbfe6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 444.3333206176758,\r
+        "y": 121.88888263702393,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "6952f2c1.c8768c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "92cd7002.19f79",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 780.2222023010254,\r
+        "y": 449.11104583740234,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "63034f6b.1ca7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2658f84.2d5dc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"503\"/>\n\t<parameter name=\"error-message\" value=\"Unable to save SDC artifact\"/>\n\t<parameter name=\"ack-final\" value=\"Y\"/>",\r
+        "comments": "",\r
+        "x": 1154.444320678711,\r
+        "y": 396.3332395553589,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "369d3bdf.5c54a4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 752.4444885253906,\r
+        "y": 625.7776575088501,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "ed2c0654.f52c48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ed2c0654.f52c48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 955.1111526489258,\r
+        "y": 625.9999551773071,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "8de31d68.7e5",\r
+                "7b65641b.dce5cc",\r
+                "4c10cb1c.481084"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c10cb1c.481084",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='200' />\n",\r
+        "comments": "",\r
+        "x": 1158.000015258789,\r
+        "y": 665.8888864517212,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bd600a44.6c6cc8",\r
+        "type": "service-logic",\r
+        "name": "SDC-MESSAGE 3.0.0",\r
+        "module": "SDC-MESSAGE",\r
+        "version": "3.0.0",\r
+        "comments": "",\r
+        "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='SDC-MESSAGE' version='3.0.0'>",\r
+        "outputs": 1,\r
+        "x": 368.1111297607422,\r
+        "y": 42,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "86900238.26815"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "86900238.26815",\r
+        "type": "method",\r
+        "name": "configuration-document-request",\r
+        "xml": "<method rpc='configuration-document-request' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 179.77781677246094,\r
+        "y": 125.22222995758057,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "24671a98.3cbfe6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6952f2c1.c8768c",\r
+        "type": "get-resource",\r
+        "name": "get-resource: asdc-reference SQLResource",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 697.7777709960938,\r
+        "y": 72.33334350585938,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "d72a70bd.4c03c",\r
+                "c2dec095.61d77",\r
+                "793fb24.a89de4c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e03ec3d2.d8db",\r
+        "type": "save",\r
+        "name": "save asdc-file SQLResource",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 530.2777900695801,\r
+        "y": 516.6666259765625,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "92cd7002.19f79",\r
+                "369d3bdf.5c54a4",\r
+                "65ec4b77.655924"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d72a70bd.4c03c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 978.9999389648438,\r
+        "y": 63.888885498046875,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "755c0ce1.265bd4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2dec095.61d77",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1021.6666870117188,\r
+        "y": 133,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "755c0ce1.265bd4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "194d7eb0.2c5761",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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\"/>",\r
+        "comments": "",\r
+        "x": 1337,\r
+        "y": 140.33334350585938,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8de31d68.7e5",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"file-contents\" value=\"`$configuration-document-request-input.configuration-document-information.document-parameters[0].artifact-contents`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1125.8889656066895,\r
+        "y": 566.6665868759155,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b65641b.dce5cc",\r
+        "type": "set",\r
+        "name": "set deploy-ok",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1150.2222366333008,\r
+        "y": 614.222170829773,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63034f6b.1ca7e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 926.9999694824219,\r
+        "y": 491.1109781265259,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "d64e50ba.e5739",\r
+                "9b6e24b7.fdfe38",\r
+                "b2658f84.2d5dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d64e50ba.e5739",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"error-code\" value=\"503\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1147.4444198608398,\r
+        "y": 519.110951423645,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "9b6e24b7.fdfe38",\r
+        "type": "set",\r
+        "name": "set deploy-error 503",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1186.5553817749023,\r
+        "y": 459.22210597991943,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "755c0ce1.265bd4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1165.333251953125,\r
+        "y": 86.44444274902344,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "1c294786.e44028",\r
+                "c0456dd5.b1e53",\r
+                "194d7eb0.2c5761"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c294786.e44028",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"error-code\" value=\"502\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1316.2220458984375,\r
+        "y": 20.888885498046875,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c0456dd5.b1e53",\r
+        "type": "set",\r
+        "name": "set: deploy-error-502",\r
+        "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",\r
+        "comments": "",\r
+        "x": 1369.7779541015625,\r
+        "y": 84.22221374511719,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "65ec4b77.655924",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 772.8888893127441,\r
+        "y": 541.9999313354492,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "63034f6b.1ca7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f952ccb7.2b199",\r
+        "type": "configure",\r
+        "name": "configure: escapeSQL",\r
+        "xml": "<execute plugin=\"onap.onap.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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 190.22225952148438,\r
+        "y": 426.55548095703125,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "19da8879.6b1b48",\r
+                "bacd2a00.1e76f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "793fb24.a89de4c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 155.11114501953125,\r
+        "y": 200.44439697265625,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "2de3157d.970b2a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "980f749f.5434b8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 318.8888931274414,\r
+        "y": 336.33330821990967,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "f952ccb7.2b199",\r
+                "1d3051dc.9282ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c45cff68.8f337",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 318.88891220092773,\r
+        "y": 515.3332853317261,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "e03ec3d2.d8db"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d3051dc.9282ce",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"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=\"error-code\" value=\"502\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 600.3333435058594,\r
+        "y": 284.99993896484375,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "19da8879.6b1b48",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 150.66671752929688,\r
+        "y": 514.5554780960083,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "c45cff68.8f337"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5fde229.a1b3d",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "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\"/>",\r
+        "comments": "",\r
+        "x": 922.0000038146973,\r
+        "y": 310.2221803665161,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bacd2a00.1e76f8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 505.4444885253906,\r
+        "y": 397.7777404785156,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "fbad77e5.29f018"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fbad77e5.29f018",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 667.4444808959961,\r
+        "y": 354.4443893432617,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "d5fde229.a1b3d",\r
+                "fb6cdc78.ae031"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb6cdc78.ae031",\r
+        "type": "set",\r
+        "name": "set deploy-error 503",\r
+        "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",\r
+        "comments": "",\r
+        "x": 952.4444808959961,\r
+        "y": 377.55552768707275,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2de3157d.970b2a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 362,\r
+        "y": 209,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "f924ea07.11f418"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f924ea07.11f418",\r
+        "type": "get-resource",\r
+        "name": "get-resource: Internal version SQLResource",\r
+        "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",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 648,\r
+        "y": 194,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "20525a76.581316",\r
+                "26b20401.248fac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20525a76.581316",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 132,\r
+        "y": 323,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "980f749f.5434b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26b20401.248fac",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 983,\r
+        "y": 190,\r
+        "z": "28a80c95.6f39c4",\r
+        "wires": [\r
+            [\r
+                "755c0ce1.265bd4"\r
+            ]\r
+        ]\r
+    }\r
+]\r