diff options
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java')
-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); |