diff options
author | Martin Polden <mpolden@mpolden.no> | 2021-12-02 12:48:08 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2021-12-02 12:48:08 +0100 |
commit | 67e6aba2d5591463d1d3bbe72944d36ab1a713b8 (patch) | |
tree | 89e51718cdd559ef1b48645d1d19a71e143609c6 /controller-api | |
parent | 6bdedea80c42b4feb9dfa9bf9f3da59271b850cf (diff) |
Change routing status for all known clusters
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java index 122f836c908..7f9b693f413 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java @@ -3,7 +3,6 @@ package com.yahoo.vespa.hosted.controller.api.integration.configserver; import com.yahoo.component.Version; import com.yahoo.config.provision.ApplicationId; -import com.yahoo.config.provision.TenantName; import com.yahoo.config.provision.zone.ZoneId; import com.yahoo.vespa.flags.json.FlagData; import com.yahoo.vespa.hosted.controller.api.application.v4.model.ClusterMetrics; @@ -85,12 +84,12 @@ public interface ConfigServer { /** * Set new status for a endpoint of a single deployment. * - * @param deployment The deployment to change - * @param upstreamName The upstream to modify. Upstream name is a unique identifier for the global route of a - * deployment in the shared routing layer - * @param status The new status + * @param deployment The deployment to change + * @param upstreamNames The upstream names to modify. Upstream name is a unique identifier for the routing status + * of a cluster in a deployment + * @param status The new status */ - void setGlobalRotationStatus(DeploymentId deployment, String upstreamName, EndpointStatus status); + void setGlobalRotationStatus(DeploymentId deployment, List<String> upstreamNames, EndpointStatus status); /** * Set the new status for an entire zone. |