diff options
author | Frode Lundgren <frodelu@yahoo-inc.com> | 2018-09-25 23:44:57 -0700 |
---|---|---|
committer | Frode Lundgren <frodelu@yahoo-inc.com> | 2018-09-25 23:44:57 -0700 |
commit | 1e60423adf1372318529647ebfc6d37a9400ddb0 (patch) | |
tree | 744c8d1efb8effad6a36530e312fce6455061d3b /controller-api | |
parent | e249cea8da57c677d5aa9c41ec3ac5558ee64f98 (diff) |
Adding getConfigServerApiUris() to include both cfg servers and VIP [VESPA-12701]
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java | 3 |
1 files changed, 3 insertions, 0 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 e7ef3e52eb5..f35c5b1c310 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 @@ -34,6 +34,9 @@ public interface ZoneRegistry { /** Returns the URI for the config server VIP in the given zone, or Optional.empty() if no VIP exists */ default Optional<URI> getConfigServerVipUri(ZoneId zoneId) { return Optional.empty(); } + /** Returns all possible API endpoints of all known config servers and config server VIPs in the given zone */ + List<URI> getConfigServerApiUris(ZoneId zoneId); + /** Returns a URL with the logs for the given deployment, if logging is configured for its zone */ Optional<URI> getLogServerUri(DeploymentId deploymentId); |