summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorandreer <andreer@verizonmedia.com>2019-09-20 13:32:50 +0200
committerandreer <andreer@verizonmedia.com>2019-09-20 13:32:50 +0200
commit124901534a695f56ade34c52ec0916914d1f89d7 (patch)
treedbcbe81910e1dcb94a749edb5dea7e470b5e78d8 /controller-api
parent68d13112bbb3922e2456281cf155b256c8139d40 (diff)
use internal ssl context for tester app
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/TesterCloud.java3
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockTesterCloud.java7
2 files changed, 9 insertions, 1 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 89d922db806..f0972643bd5 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
@@ -25,6 +25,9 @@ public interface TesterCloud {
/** Returns whether the container is ready to serve. */
boolean ready(URI endpointUrl);
+ /** Returns whether the test container is ready to serve */
+ boolean testerReady(URI endpointUrl);
+
/** Returns whether the given URL is registered in DNS. */
boolean exists(URI endpointUrl);
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 ce5cc128d78..ce4d44eadce 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
@@ -39,7 +39,12 @@ public class MockTesterCloud implements TesterCloud {
}
@Override
- public boolean ready(URI resterUrl) {
+ public boolean ready(URI testerUrl) {
+ return true;
+ }
+
+ @Override
+ public boolean testerReady(URI testerUrl) {
return true;
}