Test Replace Jackson with GSON
[holmes/common.git] / holmes-actions / src / main / java / org / onap / holmes / common / dmaap / Publisher.java
index 5c6965a..7201f36 100644 (file)
@@ -25,7 +25,6 @@ import javax.ws.rs.core.Response;
 import lombok.Getter;\r
 import lombok.Setter;\r
 import org.apache.http.HttpStatus;\r
-import org.glassfish.jersey.client.ClientConfig;\r
 import org.jvnet.hk2.annotations.Service;\r
 import org.onap.holmes.common.dmaap.entity.PolicyMsg;\r
 import org.onap.holmes.common.exception.CorrelationException;\r
@@ -41,7 +40,7 @@ public class Publisher {
     private String authExpDate;\r
 \r
     public boolean publish(PolicyMsg msg) throws CorrelationException {\r
-        Client client = ClientBuilder.newClient(new ClientConfig());\r
+        Client client = ClientBuilder.newClient();\r
         String content = JSON.toJSONString(msg);\r
         WebTarget webTarget = client.target(url);\r
         Response response = null;\r