summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Aharoni <pa0916@att.com>2017-05-22 18:04:03 +0300
committerPavel Aharoni <pa0916@att.com>2017-05-22 18:04:03 +0300
commit67a7f1d57b6b1d7c07dc3da4db51a387f90fef28 (patch)
treefdec706909796813dfaeca1c81158f787d107d16
parent0334ca30e848fb2465e556d924675aec38f48c11 (diff)
[SDC-23] remove checksum validation DC
Change-Id: I8f0fd64bc2edefa38a5a7c2a198f5fabb07db915 Signed-off-by: Pavel Aharoni <pa0916@att.com>
-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 ");