From c16117e08b97da93da61be841c22f5759cdadd37 Mon Sep 17 00:00:00 2001 From: amohamad Date: Sun, 19 Jul 2020 22:17:57 -0400 Subject: 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 --- catalog-be/src/main/java/org/openecomp/sdc/be/impl/ComponentsUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-be/src') 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()); } -- cgit 1.2.3-korg