Remove sysout from junit and disable assert.
[policy/engine.git] / PolicyEngineAPI / src / main / java / org / onap / policy / std / AutoClientEnd.java
index 00c8c5f..aabda96 100644 (file)
@@ -148,6 +148,7 @@ public class AutoClientEnd extends WebSocketClient {
         try {
             logger.info("Starting Auto Notification with the PDP server : " + url);
             client = new AutoClientEnd(new URI(url + "notifications"));
+            client.setConnectionLostTimeout(0);
             client.connect();
             status = true;
             restartExecutorService = Executors.newSingleThreadScheduledExecutor();
@@ -212,6 +213,7 @@ public class AutoClientEnd extends WebSocketClient {
     }
 
     private static void callHandler() {
+        logger.info("AutoClientEnd: In callHandler");
         if (handler == null || scheme == null) {
             return;
         }
@@ -245,4 +247,4 @@ public class AutoClientEnd extends WebSocketClient {
             }
         }
     }
-}
+}
\ No newline at end of file