summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2018-06-28 16:37:30 +0200
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2018-07-02 13:43:50 +0200
commit02780c2eb0d2bc1d5962ee3c09f4ea63fb6388c3 (patch)
treef52a8119f61eb6fffe147e7b19ae335f174f1d36 /controller-api
parentce5876ae157f5ac56bb51cd8e2ad76ed3b4b1f35 (diff)
Some more wiring and stubs
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ArtifactRepository.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ArtifactRepository.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ArtifactRepository.java
index b77e085e733..b44e7f6f5e7 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ArtifactRepository.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ArtifactRepository.java
@@ -12,10 +12,19 @@ import com.yahoo.vespa.hosted.controller.api.integration.zone.ZoneId;
*/
public interface ArtifactRepository {
- /** Get tenant application package of given version */
+ /** Returns the tenant application package of the given version. */
byte[] getApplicationPackage(ApplicationId application, String applicationVersion);
- /** Get system application package of given version */
+ /** Stores the given tenant application package of the given version. */
+ void putApplicationPackage(ApplicationId application, String applicationVersion, byte[] applicationPackage);
+
+ /** Returns the system application package of the given version. */
byte[] getSystemApplicationPackage(ApplicationId application, ZoneId zone, Version version);
+ /** Stores the given tester application fat jar of the given version. */
+ void putTesterJar(ApplicationId tester, String applicationVersion, byte[] fatTestJar);
+
+ /** Returns the tester application fat jar of the given version. */
+ byte[] getTesterJar(ApplicationId tester, String applicationVersion);
+
}