aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/music/main/PropertiesLoader.java
diff options
context:
space:
mode:
authorTschaen, Brendan <ctschaen@att.com>2019-03-07 16:43:47 -0500
committerTschaen, Brendan <ctschaen@att.com>2019-03-07 16:57:02 -0500
commit3135f7122bc7de7845c4b60e457245c9cc9ff511 (patch)
tree54d0ddf40cd7649820ff2540894f9a43d4686555 /src/main/java/org/onap/music/main/PropertiesLoader.java
parent4d6e2a982cc0ee48aca9d8531424d795e44842c9 (diff)
Remove straggling zookeper references
Issue-ID: MUSIC-361 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I4faac78bc898b07902ce97ac6112f0dcd4a3729a
Diffstat (limited to 'src/main/java/org/onap/music/main/PropertiesLoader.java')
-rw-r--r--src/main/java/org/onap/music/main/PropertiesLoader.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/org/onap/music/main/PropertiesLoader.java b/src/main/java/org/onap/music/main/PropertiesLoader.java
index ee10db42..db04ff4b 100644
--- a/src/main/java/org/onap/music/main/PropertiesLoader.java
+++ b/src/main/java/org/onap/music/main/PropertiesLoader.java
@@ -37,9 +37,6 @@ import org.springframework.stereotype.Component;
@Component
public class PropertiesLoader implements InitializingBean {
- @Value("${zookeeper.host}")
- private String zookeeperHost;
-
@Value("${cassandra.host}")
public String cassandraHost;
@@ -168,8 +165,6 @@ public class PropertiesLoader implements InitializingBean {
logger.info("#### Cassandra Host: " + MusicUtil.getMyCassaHost());
if(myId != null && !myId.equals("${my.id}"))
MusicUtil.setMyId(Integer.parseInt(myId));
- if(zookeeperHost != null && !zookeeperHost.equals("${zookeeper.host}"))
- MusicUtil.setMyZkHost(zookeeperHost);
if(notifyInterval != null && !notifyInterval.equals("${notify.interval}"))
MusicUtil.setNotifyInterval(Integer.parseInt(notifyInterval));
if(notifyTimeout != null && !notifyTimeout.equals("${notify.timeout}"))