diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-01-20 13:08:57 +0100 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2020-01-20 13:09:25 +0100 |
commit | 6668323fe09e42ec9c8aa848da4dd723c882971f (patch) | |
tree | a77fbf7fc2acd2a0522bd368a3d0a3db7d96f5b2 /controller-api/src | |
parent | 0c6b28ef310bb5714b8c2ba10651ae87068e9b59 (diff) |
Route tester API calls based on feature flag
Diffstat (limited to 'controller-api/src')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java index 74e4ac9d404..a009f002954 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java @@ -11,6 +11,7 @@ import com.yahoo.vespa.hosted.controller.api.application.v4.model.EndpointStatus import com.yahoo.vespa.hosted.controller.api.identifiers.DeploymentId; import com.yahoo.vespa.hosted.controller.api.identifiers.Hostname; import com.yahoo.vespa.hosted.controller.api.integration.certificates.ApplicationCertificate; +import com.yahoo.vespa.hosted.controller.api.integration.deployment.TesterCloud; import com.yahoo.vespa.serviceview.bindings.ApplicationView; import java.io.InputStream; @@ -87,4 +88,8 @@ public interface ConfigServer { /** List all flag data for the given zone */ List<FlagData> listFlagData(ZoneId zone); + /** Gets status for tester application */ + // TODO: Remove default implementation when implemented in internal repo + default TesterCloud.Status getTesterStatus(DeploymentId deployment) { return TesterCloud.Status.SUCCESS; } + } |