diff options
author | Martin Polden <mpolden@mpolden.no> | 2021-11-09 14:15:07 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2021-11-09 14:20:27 +0100 |
commit | 62b3e47e63dc0e2e36446f44ea22b493c5160581 (patch) | |
tree | 402ea32c57b0d6bbecaa0d33c71df4334774e512 /controller-api | |
parent | 27259653f8d7f4be55c10b6453985a8a3544694c (diff) |
Include application-level endpoints and scope in deploy
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 852570b9ed4..893b7a1b1dc 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 @@ -42,6 +42,9 @@ public interface ZoneRegistry { /** Returns the URI for the config server VIP in the given zone */ URI getConfigServerVipUri(ZoneId zoneId); + /** Returns the VIP hostname for the shared routing layer in given zone, if any */ + Optional<String> getVipHostname(ZoneId zoneId); + /** Returns the time to live for deployments in the given zone, or empty if this is infinite */ Optional<Duration> getDeploymentTimeToLive(ZoneId zoneId); |