From b196f93758edabf10174da160e8b74e7eec8ef72 Mon Sep 17 00:00:00 2001 From: wasala Date: Tue, 17 Apr 2018 12:25:54 +0200 Subject: Fixed the rest of the Security Issues *Introduce Gson Against Jackson library *Delete posix library with strong copyleft licenses Change-Id: I37ec6a359912481d1546293a8a8aeeedd6c907e2 Issue-ID: DCAEGEN2-426 Signed-off-by: wasala --- .../onap/dcaegen2/services/config/AAIHttpClientConfiguration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'prh-aai-client/src/main/java/org/onap/dcaegen2/services/config/AAIHttpClientConfiguration.java') diff --git a/prh-aai-client/src/main/java/org/onap/dcaegen2/services/config/AAIHttpClientConfiguration.java b/prh-aai-client/src/main/java/org/onap/dcaegen2/services/config/AAIHttpClientConfiguration.java index 4b17b4b6..f9cbeb19 100644 --- a/prh-aai-client/src/main/java/org/onap/dcaegen2/services/config/AAIHttpClientConfiguration.java +++ b/prh-aai-client/src/main/java/org/onap/dcaegen2/services/config/AAIHttpClientConfiguration.java @@ -20,16 +20,16 @@ package org.onap.dcaegen2.services.config; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.immutables.value.Value; import java.io.Serializable; +import org.immutables.gson.Gson; +import org.immutables.value.Value; import org.springframework.stereotype.Component; @Component @Value.Immutable(prehash = true) @Value.Style(builder = "new") -@JsonDeserialize(builder = ImmutableAAIHttpClientConfiguration.Builder.class) +@Gson.TypeAdapters public abstract class AAIHttpClientConfiguration implements Serializable { private static final long serialVersionUID = 1L; -- cgit 1.2.3-korg