summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2018-01-09 15:58:39 +0100
committerBjørn Christian Seime <bjorncs@oath.com>2018-01-09 15:58:39 +0100
commitfbeac35c72768e3899bde4ce86cfabfc4bcffc18 (patch)
tree153d1c0c2b3dfdb9583076dc175896bc2dac3aaf /controller-api
parentbafe8545e805a93439d7b313a6bde72ebece18ab (diff)
Remove getConfigServerUris from ZoneRegistry
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java10
1 files changed, 1 insertions, 9 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 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<RegionName> 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<URI> 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<URI> getConfigServerSecureUris(ZoneId zoneId);