aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/routing/RoutingGenerator.java
blob: 276e19da8f63139eae584cdc5b45aa89e3cad7ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2017 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.routing;

import com.yahoo.vespa.hosted.controller.api.identifiers.DeploymentId;

import java.util.List;

/**
 * @author bratseth
 * @author smorgrav
 */
public interface RoutingGenerator {

    /**
     * @param deploymentId Specifying an application in a zone
     * @return List of endpoints for that deploymentId
     */
    List<RoutingEndpoint> endpoints(DeploymentId deploymentId);
}