diff options
author | Martin Polden <mpolden@mpolden.no> | 2018-03-14 10:45:10 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2018-03-14 10:59:20 +0100 |
commit | cfd386e9bca93bd49f21454ecff143f9323381b4 (patch) | |
tree | a9f6e8806dd0e69ed39004c3056d18d45f4c253a | |
parent | ca7b5e5421f6734879314bd2a67fc8f178d2645a (diff) |
Remove unused method
2 files changed, 8 insertions, 16 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 */ diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ZoneRegistryMock.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ZoneRegistryMock.java index 4978fa77b26..113ee3d6737 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ZoneRegistryMock.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/ZoneRegistryMock.java @@ -125,9 +125,4 @@ public class ZoneRegistryMock extends AbstractComponent implements ZoneRegistry + deploymentId.zoneId().region().value() + "&application=" + deploymentId.applicationId().toShortString()); } - @Override - public URI getDashboardUri() { - return URI.create("http://dashboard.test"); - } - } |