diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-01-09 15:38:22 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-01-09 15:38:22 +0100 |
commit | bafe8545e805a93439d7b313a6bde72ebece18ab (patch) | |
tree | 34a5b0ec6e38c0ef18acd93995d658cb915ba715 /controller-api | |
parent | e8b197ceb9652cb85f3473675725e3c3d894c98f (diff) |
Provide secure configserver uris from application v4 api
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java | 4 |
1 files changed, 3 insertions, 1 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 e95c297b593..2945544d668 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 @@ -33,7 +33,9 @@ public interface ZoneRegistry { * @deprecated Use {@link #getConfigServerSecureUris(ZoneId)} instead (requires that client trusts Athenz CA) */ @Deprecated - List<URI> getConfigServerUris(ZoneId zoneId); + default List<URI> getConfigServerUris(ZoneId zoneId) { + throw new UnsupportedOperationException("Use getConfigServerSecureUris() instead"); + } /** Returns a list with all known config servers in the given zone, with a secure connection URL. */ List<URI> getConfigServerSecureUris(ZoneId zoneId); |