summaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authoramohamad <a.mohamad@queensu.ca>2020-07-19 22:17:57 -0400
committerSébastien Determe <sebastien.determe@intl.att.com>2020-09-04 13:21:08 +0000
commitc16117e08b97da93da61be841c22f5759cdadd37 (patch)
tree3dbbd4cc9a4f256f7a14516c4cb7fc8063215cbd /catalog-be
parentbf640a573e96f752c73f04ccd7e51f39916e131a (diff)
Upgrade Vulnerable Direct Dependencies [jackson]
Issue-ID: SDC-3051 Upgrade from jackson-databind 1.9 and 2.10 to 2.11 upgrade the respective pom.xml files Upgrade the 1.9 imports and required code changes Upgrade the beans-services.xml files Change-Id: I56b59e08d65a0a1888c8caeb5470bc0c6a028ddd Signed-off-by: amohamad <a.mohamad@queensu.ca>
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/pom.xml5
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/impl/ComponentsUtils.java2
2 files changed, 1 insertions, 6 deletions
diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml
index 4eb05e6d0a..4959e2212a 100644
--- a/catalog-be/pom.xml
+++ b/catalog-be/pom.xml
@@ -727,11 +727,6 @@
<version>${commons.collections.version}</version>
</dependency>
<dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>${jackson.mapper.version}</version>
- </dependency>
- <dependency>
<groupId>org.onap.sdc.sdc-be-common</groupId>
<artifactId>security-util-lib</artifactId>
<version>${security.util.lib.version}</version>
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/impl/ComponentsUtils.java b/catalog-be/src/main/java/org/openecomp/sdc/be/impl/ComponentsUtils.java
index c94f0d7a7c..d3a8644136 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/impl/ComponentsUtils.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/impl/ComponentsUtils.java
@@ -1765,7 +1765,7 @@ public class ComponentsUtils {
return Collections.emptyList();
}
- return uiConstraintsMaps.stream().map(dataMap -> new org.codehaus.jackson.map.ObjectMapper()
+ return uiConstraintsMaps.stream().map(dataMap -> new com.fasterxml.jackson.databind.ObjectMapper()
.convertValue(dataMap, UIConstraint.class)).collect(Collectors.toList());
}