summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-11-09 14:15:07 +0100
committerMartin Polden <mpolden@mpolden.no>2021-11-10 12:43:27 +0100
commit3a1553ef7d10c71c825683bcaca5dd39bc0dc7e8 (patch)
treea0f7be9a38b56a8b01b5b8b5bdaadba699f5b3d4 /controller-api
parent824f20dada6eb4bbfeb96d3ca400586081e95a4f (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.java3
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);