diff options
author | Morten Tokle <mortent@verizonmedia.com> | 2020-01-24 08:13:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 08:13:24 +0100 |
commit | 6cfd02c6d774a6469dcd2c8b92421b0828090b49 (patch) | |
tree | 4f7688ab3f8c7fc81cf5a55094810fd12d60cc95 /controller-api/src | |
parent | f484a3a339992f07ee54be7d3d128b48ffbb6a98 (diff) | |
parent | 6bfa316283e4c3c7ef702c8c5821700787fe5470 (diff) |
Merge pull request #11906 from vespa-engine/hmusum/extend-interface-with-new-tester-methods
Extend interface with more tester methods
Diffstat (limited to 'controller-api/src')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java | 14 |
1 files changed, 13 insertions, 1 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 600a5cebc62..0a656687538 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 @@ -10,6 +10,7 @@ import com.yahoo.vespa.hosted.controller.api.application.v4.model.DeployOptions; 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.LogEntry; import com.yahoo.vespa.hosted.controller.api.integration.certificates.EndpointCertificateMetadata; import com.yahoo.vespa.hosted.controller.api.integration.deployment.TesterCloud; import com.yahoo.vespa.serviceview.bindings.ApplicationView; @@ -90,7 +91,18 @@ public interface ConfigServer { List<FlagData> listFlagData(ZoneId zone); /** Gets status for tester application */ + TesterCloud.Status getTesterStatus(DeploymentId deployment); + + /** Starts tests on tester node */ + // TODO: Remove default implementation when implemented in internal repo + default void startTests(DeploymentId deployment, TesterCloud.Suite suite, byte[] config) { } + + /** Gets log from tester node */ + // TODO: Remove default implementation when implemented in internal repo + default List<LogEntry> getTesterLog(DeploymentId deployment, long after) { return List.of(); } + + /** Is tester node ready */ // TODO: Remove default implementation when implemented in internal repo - default TesterCloud.Status getTesterStatus(DeploymentId deployment) { return TesterCloud.Status.SUCCESS; } + default boolean isTesterReady(DeploymentId deployment) { return false; } } |