diff options
author | Jim Hahn <jrh3@att.com> | 2020-05-29 15:06:49 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-05-29 15:10:42 -0400 |
commit | 4dcc36142e51b389c5df97c227acc08608caa3b0 (patch) | |
tree | a10ed40bbc3e4b846e75888b569dfb796a16a798 /applications/common | |
parent | 9213cdfc854115fb427ca22c1d04f2b3051f806f (diff) |
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 <jrh3@att.com>
Diffstat (limited to 'applications/common')
-rw-r--r-- | applications/common/src/main/java/org/onap/policy/pdp/xacml/application/common/PolicyApiCaller.java | 2 |
1 files changed, 0 insertions, 2 deletions
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()); |