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 | 19 |
1 files changed, 8 insertions, 11 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 85657aadc33..4fa24a5e866 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 @@ -19,31 +19,28 @@ import java.util.Optional; */ public interface ZoneRegistry { - /** Returns whether the system of this registry contains the given zone. */ + /** Returns whether the system of this registry contains the given zone */ boolean hasZone(ZoneId zoneId); - /** Returns a list containing the id of all zones in this registry. */ + /** Returns a list containing the id of all zones in this registry */ ZoneFilter zones(); - /** Returns the default region for the given environment, if one is configured. */ + /** 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, with a secure connection URL. */ + /** Returns a list with all known config servers in the given zone, with a secure connection URL */ List<URI> getConfigServerUris(ZoneId zoneId); - /** Returns a URL with the logs for the given deployment, if logging is configured for its zone. */ + /** Returns a URL with the logs for the given deployment, if logging is configured for its zone */ Optional<URI> getLogServerUri(DeploymentId deploymentId); - /** Returns the time to live for deployments in the given zone, or empty if this is infinite. */ + /** Returns the time to live for deployments in the given zone, or empty if this is infinite */ Optional<Duration> getDeploymentTimeToLive(ZoneId zoneId); - /** Returns a URL pointing at monitoring resources for the given deployment. */ + /** Returns the monitoring system URL for the given deployment */ URI getMonitoringSystemUri(DeploymentId deploymentId); - /** Returns the URL of the dashboard for the system of this registry. */ - URI getDashboardUri(); - - /** Returns the system of this registry. */ + /** Returns the system of this registry */ SystemName system(); /** Return the configserver's Athenz service identity */ |