summaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2018-06-19 12:14:39 +0200
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2018-06-19 12:14:39 +0200
commitcef7d5365d63e4d3a18f219b4615ae883fd8c2d7 (patch)
treebf4a602774f4dbf48394ad372d4c334d7e60cb15 /controller-server
parent2979e7b1d18e2dfa262a815f22626e12f324e444 (diff)
Forget-me-not
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogStore.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogStore.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogStore.java
new file mode 100644
index 00000000000..608a6e6ae9f
--- /dev/null
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/LogStore.java
@@ -0,0 +1,17 @@
+package com.yahoo.vespa.hosted.controller.api.integration;
+
+import com.yahoo.config.provision.ApplicationId;
+import com.yahoo.vespa.hosted.controller.api.integration.zone.ZoneId;
+
+public interface LogStore {
+
+ /** Returns the log of the given deployment job. */
+ String getTestLog(ApplicationId applicationId, ZoneId zoneId, int buildId);
+
+ /** Stores the given log for the given deployment job. */
+ void setTestLog(ApplicationId applicationId, ZoneId zoneId, int buildId, String log);
+
+ /** Deletes the log for the given deployment job. */
+ void deleteTestLog(ApplicationId applicationId, ZoneId zoneId, int buildId);
+
+}