// 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 java.util.Map;

/**
 * A global routing service.
 *
 * @author mpolden
 */
// TODO: Remove once DeploymentMetricsMaintainer starts providing rotation status
public interface GlobalRoutingService {

    /** Returns the health status for each endpoint behind the given rotation name */
    Map<String, RotationStatus> getHealthStatus(String rotationName);

}

// Copyright 2019 Oath Inc. 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 java.util.Map;

/**
 * A service containing the health status of global rotations.
 *
 * @author mpolden
 */
public interface GlobalRoutingService {

    /** Returns the health status for each endpoint behind the given rotation name */
    Map<String, RotationStatus> getHealthStatus(String rotationName);

}

Update javadoc