Do not hardcode websocket parameters in RestconfConfiguration 84/9784/1
authorMarek Gradzki <mgradzki@cisco.com>
Mon, 11 Dec 2017 07:42:24 +0000 (08:42 +0100)
committerMarek Gradzki <mgradzki@cisco.com>
Mon, 11 Dec 2017 07:42:24 +0000 (08:42 +0100)
Change-Id: I3891eae1aac45fcd6e8adf4384c48d657998ed27
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfConfiguration.java

index 21307a3..b61287d 100644 (file)
@@ -56,9 +56,9 @@ public class RestconfConfiguration {
     @InjectConfig("restconf-truststore-password")
     public Optional<String> truststorePassword;
     @InjectConfig("restconf-websocket-address")
-    public Optional<String> restconfWebsocketAddress = Optional.of("0.0.0.0");
+    public Optional<String> restconfWebsocketAddress;
     @InjectConfig("restconf-websocket-port")
-    public Optional<Integer> restconfWebsocketPort = Optional.of(7779);
+    public Optional<Integer> restconfWebsocketPort;
     @InjectConfig("restconf-root-path")
     public Optional<String> restconfRootPath = Optional.of("/restconf");
     @InjectConfig("restconf-pool-max-size")