Commit 69debbb1 authored by yannick legoc's avatar yannick legoc
Browse files

Added server endpoint access in ConfigManager necessary to distinguish

local cameo server from remote cameo server which owns the nomad server.
parent 2adb63d6
......@@ -541,6 +541,17 @@ public class ConfigManager {
return configurationExceptions;
}
public String getServerEndpoint() {
String serverEndpoint = getStringOrNothingAtAll("serverEndpoint");
if (serverEndpoint != null) {
return serverEndpoint;
}
return "tcp://localhost:7000";
}
public String getNomadServerEndpoint() {
String nomadServerEndpoint = getStringOrNothingAtAll("nomadServerEndpoint");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment