From c0b35fcde6bd4dfda88eb8ee507bf20c77644aa3 Mon Sep 17 00:00:00 2001 From: Jan Hajnar Date: Tue, 2 Jun 2015 11:01:21 +0200 Subject: [PATCH] Bug 568 - Websockets: Test & fix data change notifications * changed WebSocketClient input parameter to accept "ws" protocol instead of "http" Change-Id: I2e1673707ca5231552195049024ebcb5e4964908 Signed-off-by: Jan Hajnar --- .../sal/restconf/impl/websockets/client/WebSocketClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/websockets/client/WebSocketClient.java b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/websockets/client/WebSocketClient.java index 664aad6578..bc915d0c86 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/websockets/client/WebSocketClient.java +++ b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/websockets/client/WebSocketClient.java @@ -54,7 +54,7 @@ public class WebSocketClient { private void initialize() { String protocol = uri.getScheme(); - if (!"http".equals(protocol)) { + if (!"ws".equals(protocol)) { throw new IllegalArgumentException("Unsupported protocol: " + protocol); } -- 2.36.6