diff options
Diffstat (limited to 'controller-api')
2 files changed, 5 insertions, 10 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogStore.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogStore.java index 959ac2b8680..918047edca1 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogStore.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogStore.java @@ -21,10 +21,10 @@ public interface LogStore { void setConvergenceLog(RunId id, String convergenceLog); /** @return the result of prepare of the test application for the given deployment job. */ - PrepareResponse getPrepareResponse(RunId id); + String getDeploymentLog(RunId id); /** Stores the given result of prepare of the test application for the given deployment job. */ - void setPrepareResponse(RunId id, PrepareResponse prepareResponse); + void setDeploymentLog(RunId id, String deploymentLog); /** Deletes all data associated with test of a given deployment job */ void deleteTestData(RunId id); diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockLogStore.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockLogStore.java index c5dba3b8fa7..bc9f6247055 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockLogStore.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockLogStore.java @@ -35,17 +35,12 @@ public class MockLogStore implements LogStore { } @Override - public PrepareResponse getPrepareResponse(RunId id) { - PrepareResponse prepareResponse = new PrepareResponse(); - prepareResponse.message = "foo"; - prepareResponse.configChangeActions = new ConfigChangeActions(Collections.emptyList(), - Collections.emptyList()); - prepareResponse.tenant = new TenantId("tenant"); - return prepareResponse; + public String getDeploymentLog(RunId id) { + return "SUCCESS"; } @Override - public void setPrepareResponse(RunId id, PrepareResponse prepareResponse) { + public void setDeploymentLog(RunId id, String deploymentLog) { } |