diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2017-12-12 16:17:48 +0100 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2017-12-12 16:17:48 +0100 |
commit | 26b228622a21ab284a2649418a962908551a063f (patch) | |
tree | b431cea2ff7df4872bb671f917580d6bf4535093 /controller-api/src | |
parent | 62f194fdfc61c6326b98e7fae76657100ca2f029 (diff) |
Added new secure config server uri stuff
Diffstat (limited to 'controller-api/src')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java index b7ffd2c74e3..29cae307d1b 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java @@ -29,9 +29,16 @@ public interface ZoneRegistry { /** Returns the default region for the given environment, if one is configured. */ Optional<RegionName> getDefaultRegion(Environment environment); - /** Returns a list with all known config servers in the given zone. */ + /** Returns a list with all known config servers in the given zone. + * + * @deprecated See {@link ZoneRegistry#getConfigServerUris(ZoneId)} + */ + @Deprecated List<URI> getConfigServerUris(ZoneId zoneId); + /** Returns a list with all known config servers in the given zone, with a secure connection URL. */ + List<URI> getConfigServerSecureUris(ZoneId zoneId); + /** Returns a URL with the logs for the given deployment, if loggin is configured for its zone. */ Optional<URI> getLogServerUri(DeploymentId deploymentId); |