diff options
author | Martin Polden <mpolden@mpolden.no> | 2018-01-17 09:47:33 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2018-01-17 09:48:09 +0100 |
commit | cf75d61771423f8c8f74fc3375b1930e5111597c (patch) | |
tree | a81539c76225674ebe16352ccd83f9272f1040ee /controller-api/src/main/java | |
parent | 84a0c62b15d33089ba4b9fd77754ef44c1a3cf35 (diff) |
Add artifact repository interface
Diffstat (limited to 'controller-api/src/main/java')
2 files changed, 20 insertions, 0 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 new file mode 100644 index 00000000000..6409298b3a5 --- /dev/null +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ArtifactRepository.java @@ -0,0 +1,15 @@ +// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.vespa.hosted.controller.api.integration.deployment; + +import com.yahoo.config.provision.ApplicationId; + +/** + * A repository of application build artifacts. + * + * @author mpolden + */ +public interface ArtifactRepository { + + byte[] getApplicationPackage(ApplicationId application, String applicationVersion); + +} diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/package-info.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/package-info.java new file mode 100644 index 00000000000..609568f6fc9 --- /dev/null +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/package-info.java @@ -0,0 +1,5 @@ +// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +@ExportPackage +package com.yahoo.vespa.hosted.controller.api.integration.deployment; + +import com.yahoo.osgi.annotation.ExportPackage; |