From ceda3116851e86b5ab25d6e6674be6b6397d763f Mon Sep 17 00:00:00 2001
From: YiLi
Date: Mon, 12 Feb 2018 17:13:17 +0800
Subject: Test Replace Jackson with GSON
Change-Id: I02a9fa14239ff4ceb89c1bc3906788fe8225b4b4
Issue-ID: HOLMES-115
Signed-off-by: YiLi
---
.../src/main/java/org/onap/holmes/common/dmaap/Publisher.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
(limited to 'holmes-actions/src/main')
diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/dmaap/Publisher.java b/holmes-actions/src/main/java/org/onap/holmes/common/dmaap/Publisher.java
index 5c6965a..7201f36 100644
--- a/holmes-actions/src/main/java/org/onap/holmes/common/dmaap/Publisher.java
+++ b/holmes-actions/src/main/java/org/onap/holmes/common/dmaap/Publisher.java
@@ -25,7 +25,6 @@ import javax.ws.rs.core.Response;
import lombok.Getter;
import lombok.Setter;
import org.apache.http.HttpStatus;
-import org.glassfish.jersey.client.ClientConfig;
import org.jvnet.hk2.annotations.Service;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.exception.CorrelationException;
@@ -41,7 +40,7 @@ public class Publisher {
private String authExpDate;
public boolean publish(PolicyMsg msg) throws CorrelationException {
- Client client = ClientBuilder.newClient(new ClientConfig());
+ Client client = ClientBuilder.newClient();
String content = JSON.toJSONString(msg);
WebTarget webTarget = client.target(url);
Response response = null;
--
cgit 1.2.3-korg