diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-09-11 16:33:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 16:33:45 +0200 |
commit | e081b9a0cf120903ee5ddaf852245c05ece3b0c2 (patch) | |
tree | 9ab5cdbc1e795daf17d2f296d303b3a70f4a2c79 /controller-api | |
parent | af22af58e848050c52480ee68142342f33bdf541 (diff) | |
parent | 31da06c1ae51ff6435972608d1a6034c390c1731 (diff) |
Merge pull request #6905 from vespa-engine/jvenstad/internal-step-runner-fixes
Jvenstad/internal step runner fixes
Diffstat (limited to 'controller-api')
2 files changed, 8 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java index f2dbcda54b6..cb6332420ed 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java @@ -21,6 +21,9 @@ public interface TesterCloud { /** Returns the current status of the tester. */ Status getStatus(URI testerUrl); + /** Returns whether the tester is ready to serve. */ + boolean ready(URI testerUrl); + enum Status { diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java index 176fa8ae683..2f2eff99a4f 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java @@ -37,6 +37,11 @@ public class MockTesterCloud implements TesterCloud { return status; } + @Override + public boolean ready(URI resterUrl) { + return true; + } + public void add(LogEntry entry) { log.add(entry); } |