Test Replace Jackson with GSON
[holmes/common.git] / holmes-actions / src / main / java / org / onap / holmes / common / config / MicroServiceConfig.java
index 204f352..9a1b0ea 100644 (file)
@@ -21,7 +21,6 @@ import javax.ws.rs.core.Response;
 import lombok.extern.slf4j.Slf4j;\r
 import net.sf.json.JSONArray;\r
 import net.sf.json.JSONObject;\r
-import org.glassfish.jersey.client.ClientConfig;\r
 import org.onap.holmes.common.constant.AlarmConst;\r
 \r
 @Slf4j\r
@@ -63,7 +62,7 @@ public class MicroServiceConfig {
     }\r
 \r
     private static String execQuery(String queryString) {\r
-        Client client = ClientBuilder.newClient(new ClientConfig());\r
+        Client client = ClientBuilder.newBuilder().build();\r
         Response response = client.target(queryString).request().get();\r
         return response.readEntity(String.class);\r
     }\r