aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdc-distribution-client/src/main/java/org/openecomp/sdc/http/AsdcConnectorClient.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/sdc-distribution-client/src/main/java/org/openecomp/sdc/http/AsdcConnectorClient.java b/sdc-distribution-client/src/main/java/org/openecomp/sdc/http/AsdcConnectorClient.java
index 59a879c..0ef1711 100644
--- a/sdc-distribution-client/src/main/java/org/openecomp/sdc/http/AsdcConnectorClient.java
+++ b/sdc-distribution-client/src/main/java/org/openecomp/sdc/http/AsdcConnectorClient.java
@@ -381,14 +381,18 @@ public class AsdcConnectorClient {
return new DistributionClientDownloadResultImpl(DistributionActionResultEnum.DATA_INTEGRITY_PROBLEM, "failed to get artifact from ASDC. Empty checksum");
}
- if (validateChecksum(artifactInfo, payload)) {
+ DistributionClientDownloadResultImpl resResponse = new DistributionClientDownloadResultImpl(DistributionActionResultEnum.SUCCESS, "success", artifactName, payload);
+ return resResponse;
+
+ //Validate checksum removed as fix to bug 293657
+ /*if (validateChecksum(artifactInfo, payload)) {
DistributionClientDownloadResultImpl resResponse = new DistributionClientDownloadResultImpl(DistributionActionResultEnum.SUCCESS, "success", artifactName, payload);
return resResponse;
} else {
return new DistributionClientDownloadResultImpl(DistributionActionResultEnum.GENERAL_ERROR, "Invalid checksum. ArtifactInfo checksum ");
- }
+ }*/
} catch (UnsupportedOperationException | IOException e) {
log.error("failed to get artifact from response ");