diff options
author | Idan Amit <ia096e@intl.att.com> | 2017-09-13 17:21:33 +0300 |
---|---|---|
committer | Idan Amit <ia096e@intl.att.com> | 2017-09-13 17:21:33 +0300 |
commit | 6cc9a11a09a9b650442bf301eb8fd1aa6cad66bc (patch) | |
tree | d7a891f71608fd32b1a5a61054530ce0244fe149 /common-app-api/src/main | |
parent | 45e38d57442499a535f2915aab95a057e106d79f (diff) |
ComponentBaseTest.java enhancement and
new onboarding class that test onboarding only
And merge release/1710 branch into master
Change-Id: I300d897b151010aa26f8732518fa2e3b7ed4291b
Issue-Id: SDC-331
Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'common-app-api/src/main')
-rw-r--r-- | common-app-api/src/main/java/org/openecomp/sdc/common/util/GeneralUtility.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/util/GeneralUtility.java b/common-app-api/src/main/java/org/openecomp/sdc/common/util/GeneralUtility.java index 0b55fd1845..8890b14dd1 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/common/util/GeneralUtility.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/common/util/GeneralUtility.java @@ -134,7 +134,7 @@ public class GeneralUtility { return res; } - public static String calculateMD5ByByteArray(byte[] payload) { + public static String calculateMD5Base64EncodedByByteArray(byte[] payload) { String decodedMd5 = org.apache.commons.codec.digest.DigestUtils.md5Hex(payload); byte[] encodeMd5 = Base64.encodeBase64(decodedMd5.getBytes()); return new String(encodeMd5); @@ -146,7 +146,7 @@ public class GeneralUtility { * @param data * @return */ - public static String calculateMD5ByString(String data) { + public static String calculateMD5Base64EncodedByString(String data) { String calculatedMd5 = org.apache.commons.codec.digest.DigestUtils.md5Hex(data); // encode base-64 result |