commit | 89ac07106b09bf93a77c38ead57a319512f09854 | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@opennetworking.org> | Tue Nov 21 18:43:08 2017 +0000 |
committer | Gerrit Code Review <gerrit@opencord.org> | Tue Nov 21 18:43:08 2017 +0000 |
tree | 310ee9fe0370549fc04675745766ec6b2999952f | |
parent | 6e8b75fc250dd729dd9e3914cde7b16cb3beb599 [diff] | |
parent | 0b517fe0e47588efc321fe11354f22c69c6ad80a [diff] |
Merge "Remove useless port from global config"
diff --git a/global/config-samples/ecord-global-config.json b/global/config-samples/ecord-global-config.json index 5b9e72a..cd6b082 100644 --- a/global/config-samples/ecord-global-config.json +++ b/global/config-samples/ecord-global-config.json
@@ -10,7 +10,6 @@ }, "org.opencord.ce.global.channel.http" : { "endPoints" : { - "port" : "8182", "topics" : [ "ecord-domains-topic-one", "ecord-domains-topic-two",
diff --git a/global/http-channel/src/main/java/org/opencord/ce/global/channel/client/ConnectionConfig.java b/global/http-channel/src/main/java/org/opencord/ce/global/channel/client/ConnectionConfig.java index ca7388a..8fd025c 100644 --- a/global/http-channel/src/main/java/org/opencord/ce/global/channel/client/ConnectionConfig.java +++ b/global/http-channel/src/main/java/org/opencord/ce/global/channel/client/ConnectionConfig.java
@@ -46,14 +46,6 @@ private static final String TOPIC = "topic"; /** - * Gets listen port from configuration. - * @return port number - */ - public int listenPort() { - return object.path(PORT).asInt(); - } - - /** * List of topics to distribute network operations among ONOS instances. * @return list of topics */