diff options
-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 f8f63df40a9..2311f8d2fe3 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; @@ -89,7 +90,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; } } |