diff options
author | jitendra sharma <jitendra.sharma1@huawei.com> | 2020-02-19 14:55:49 +0000 |
---|---|---|
committer | jitendra sharma <jitendra.sharma1@huawei.com> | 2020-02-19 14:57:23 +0000 |
commit | 7343d9b5736148fc6d688d094b36903a5160c0e3 (patch) | |
tree | b8ae6d98f717d7d5bc42adbc16011a13e35a6b9d /framework | |
parent | d5155b512337ebb873c4c7a5072ef9524b770bc1 (diff) |
Change dependency version for commons-codec and spring-core
Issue-ID: CLI-246
Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com>
Change-Id: Ia0a07a417f64733e859ea7f1be6488b95d42cb52
Diffstat (limited to 'framework')
-rw-r--r-- | framework/pom.xml | 8 | ||||
-rw-r--r-- | framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/framework/pom.xml b/framework/pom.xml index 75d94ee7..7666c49e 100644 --- a/framework/pom.xml +++ b/framework/pom.xml @@ -54,20 +54,24 @@ <artifactId>commons-csv</artifactId> <version>1.3</version> </dependency> +<!-- Change version from 1.9 to 1.13 due to "sonatype-2012- + 0050" for commons-codec --> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> - <version>1.9</version> + <version>1.13</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-io</artifactId> <version>1.3.2</version> </dependency> +<!-- Change version from 3.2.9 to 5.1.2 due to "sonatype-2015- + 0327" for spring-core --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> - <version>3.2.9.RELEASE</version> + <version>5.1.2.RELEASE</version> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> diff --git a/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java b/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java index df94d594..e40dfdf4 100644 --- a/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java +++ b/framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java @@ -59,6 +59,7 @@ import static java.util.Collections.singletonList; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import static org.junit.Assert.assertNotNull; import static org.onap.cli.fw.conf.OnapCommandConstants.IS_INCLUDE; import static org.onap.cli.fw.input.OnapCommandParameterType.ARRAY; import static org.onap.cli.fw.input.OnapCommandParameterType.BOOL; @@ -513,4 +514,9 @@ public class OnapCommandUtilsTest { } }; } + + @Test + public void testMd5(){ + assertNotNull(OnapCommandUtils.md5("a")); + } } |