diff options
author | Jan Srnicek <jsrnicek@cisco.com> | 2017-07-13 20:21:01 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-07-14 12:20:49 +0000 |
commit | b65cd89989ead7082089bf6f333e56b03f619606 (patch) | |
tree | c80952fdaead46627ca861d1b3edb68dc4b87f47 /infra/it/memory-benchmark/src/main/java/io/fd/honeycomb/benchmark/memory/config/StaticHoneycombConfiguration.java | |
parent | 32771868ab8f9d2fdad236c049ec1c3fc3c76ba0 (diff) |
HONEYCOMB-360 - Restconf Northbound Intefaces provider separation
- Restconf configuration included under restconf.json
Change-Id: I45f503d3ef383bd6e3d356308d3212c7314b7a28
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'infra/it/memory-benchmark/src/main/java/io/fd/honeycomb/benchmark/memory/config/StaticHoneycombConfiguration.java')
-rw-r--r-- | infra/it/memory-benchmark/src/main/java/io/fd/honeycomb/benchmark/memory/config/StaticHoneycombConfiguration.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/infra/it/memory-benchmark/src/main/java/io/fd/honeycomb/benchmark/memory/config/StaticHoneycombConfiguration.java b/infra/it/memory-benchmark/src/main/java/io/fd/honeycomb/benchmark/memory/config/StaticHoneycombConfiguration.java index 6bcf7ef68..03aac84b5 100644 --- a/infra/it/memory-benchmark/src/main/java/io/fd/honeycomb/benchmark/memory/config/StaticHoneycombConfiguration.java +++ b/infra/it/memory-benchmark/src/main/java/io/fd/honeycomb/benchmark/memory/config/StaticHoneycombConfiguration.java @@ -22,7 +22,6 @@ import java.io.Closeable; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; -import java.util.Optional; /** * Static configuration to prevent injecting of properties from json fles @@ -33,15 +32,9 @@ public class StaticHoneycombConfiguration extends HoneycombConfiguration impleme this.peristConfigPath = persistConfigPath; this.peristContextPath = persistContextPath; - this.username = "admin"; - this.password = "admin"; this.notificationServiceQueueDepth = 1; - this.restconfBindingAddress = Optional.of("/restconf"); - this.restconfPort = Optional.of(8187); - this.restconfBindingAddress = Optional.of("127.0.0.1"); this.persistedConfigRestorationType = "Merge"; this.persistedContextRestorationType = "Merge"; - this.restconfWebsocketPort = Optional.of(7890); } @Override @@ -50,21 +43,6 @@ public class StaticHoneycombConfiguration extends HoneycombConfiguration impleme } @Override - public boolean isRestconfHttpsEnabled() { - return false; - } - - @Override - public boolean isRestconfHttpEnabled() { - return true; - } - - @Override - public boolean isRestconfEnabled() { - return true; - } - - @Override public boolean isNetconfTcpEnabled() { return false; } |