From 79ae3f7f229db52b8ab18c405c5109f8d18db1b6 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 24 Jul 2018 14:23:37 +0100 Subject: Fix bug in APEX parameter service The parameter calss name was not initialized in the constructor of the parameter service The web socket connections() method is depricated and replaced by getConnections() Fixed order of build in main pom to put packages module last fixed some comments that were incorrect Change-Id: I6340655100655e181e2d97fe39def4874873dff5 Issue-ID: POLICY-954 Signed-off-by: liamfallon --- .../infrastructure/messaging/impl/ws/server/MessageServerImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/core-infrastructure') diff --git a/core/core-infrastructure/src/main/java/org/onap/policy/apex/core/infrastructure/messaging/impl/ws/server/MessageServerImpl.java b/core/core-infrastructure/src/main/java/org/onap/policy/apex/core/infrastructure/messaging/impl/ws/server/MessageServerImpl.java index ee6e1a329..389d04dcc 100644 --- a/core/core-infrastructure/src/main/java/org/onap/policy/apex/core/infrastructure/messaging/impl/ws/server/MessageServerImpl.java +++ b/core/core-infrastructure/src/main/java/org/onap/policy/apex/core/infrastructure/messaging/impl/ws/server/MessageServerImpl.java @@ -91,7 +91,7 @@ public class MessageServerImpl extends InternalMessageBusServer extends InternalMessageBusServer message) { // Send the incoming message to all clients connected to this web socket - final Collection connections = connections(); + final Collection connections = getConnections(); for (final WebSocket webSocket : connections) { webSocket.send(MessagingUtils.serializeObject(message)); } @@ -142,7 +142,7 @@ public class MessageServerImpl extends InternalMessageBusServer connections = connections(); + final Collection connections = getConnections(); for (final WebSocket webSocket : connections) { webSocket.send(messageString); } -- cgit 1.2.3-korg