summaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/deployment/ArtifactRepository.java
blob: 2beb19536b61c0e9bebfeacea320bd9f07c6162d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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.config.provision.zone.ZoneId;

/**
 * A repository of application build artifacts.
 *
 * @author mpolden
 */
public interface ArtifactRepository {

    // TODO unused, remove
    /** 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);

}