commit | a9e89bf5c68f384fd78fb4aa05f38b160650d3df | [log] [tgz] |
---|---|---|
author | fran <francesco.lucrezia@gmail.com> | Thu Nov 02 22:55:54 2017 +0100 |
committer | Marc De Leenheer <marc@opennetworking.org> | Tue Nov 21 18:42:26 2017 +0000 |
tree | 06c8199eb15aba62021ec06f697eac08851521c7 | |
parent | 0f7fb85c13d6fd12be806c848065d2d2eee5b907 [diff] |
Remove useless port from global config Change-Id: If5f2ba8499346efc009710fc84adcddd019b297d
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 */