From 4dcc36142e51b389c5df97c227acc08608caa3b0 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 29 May 2020 15:06:49 -0400 Subject: Use default serialization provider The default provider has been changed to gson, so the provider property no longer has to be set. Issue-ID: POLICY-1527 Change-Id: I21f5a3af2bc1d7fc10dc41f58e6e62a04f4bda77 Signed-off-by: Jim Hahn --- .../org/onap/policy/pdp/xacml/application/common/PolicyApiCaller.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'applications') diff --git a/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/PolicyApiCaller.java b/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/PolicyApiCaller.java index 632bdcb2..44593e1b 100644 --- a/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/PolicyApiCaller.java +++ b/applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/PolicyApiCaller.java @@ -27,7 +27,6 @@ import org.onap.policy.common.endpoints.http.client.HttpClient; import org.onap.policy.common.endpoints.http.client.HttpClientConfigException; import org.onap.policy.common.endpoints.http.client.HttpClientFactoryInstance; import org.onap.policy.common.endpoints.parameters.RestServerParameters; -import org.onap.policy.common.gson.GsonMessageBodyHandler; import org.onap.policy.models.tosca.authorative.concepts.ToscaPolicyTypeIdentifier; import org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate; import org.slf4j.Logger; @@ -57,7 +56,6 @@ public class PolicyApiCaller { busParams.setManaged(false); busParams.setPassword(params.getPassword()); busParams.setPort(params.getPort()); - busParams.setSerializationProvider(GsonMessageBodyHandler.class.getName()); busParams.setUseHttps(params.isHttps()); busParams.setUserName(params.getUserName()); -- cgit 1.2.3-korg