blob: 13b16fc4cd10c9b52e981ed66af0e17aabe1c9b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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.component.Version;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.vespa.hosted.controller.api.integration.zone.ZoneId;
/**
* A repository of application build artifacts.
*
* @author mpolden
*/
public interface ArtifactRepository {
/** Returns the tenant application package of the given version. */
byte[] getApplicationPackage(ApplicationId application, String applicationVersion);
/** Returns the system application package of the given version. */
byte[] getSystemApplicationPackage(ApplicationId application, ZoneId zone, Version version);
}
|