summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/pom.xml8
-rw-r--r--framework/src/test/java/org/onap/cli/fw/utils/OnapCommandUtilsTest.java6
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"));
+ }
}