From fbeac35c72768e3899bde4ce86cfabfc4bcffc18 Mon Sep 17 00:00:00 2001 From: Bjørn Christian Seime Date: Tue, 9 Jan 2018 15:58:39 +0100 Subject: Remove getConfigServerUris from ZoneRegistry --- .../hosted/controller/api/integration/zone/ZoneRegistry.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'controller-api') 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 2945544d668..09e6aa11490 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 @@ -28,15 +28,7 @@ public interface ZoneRegistry { /** Returns the default region for the given environment, if one is configured. */ Optional getDefaultRegion(Environment environment); - /** Returns a list with all known config servers in the given zone. - * - * @deprecated Use {@link #getConfigServerSecureUris(ZoneId)} instead (requires that client trusts Athenz CA) - */ - @Deprecated - default List getConfigServerUris(ZoneId zoneId) { - throw new UnsupportedOperationException("Use getConfigServerSecureUris() instead"); - } - + // TODO Rename to getConfigServerUris once port 4080 is removed from configservers /** Returns a list with all known config servers in the given zone, with a secure connection URL. */ List getConfigServerSecureUris(ZoneId zoneId); -- cgit v1.2.3