diff options
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java | 12 |
1 files changed, 7 insertions, 5 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 4255c24c977..7deb7712b28 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 @@ -28,15 +28,17 @@ public interface ConfigServer { } // TODO: Deprecated, remove when implementations have been removed - default PreparedApplication prepare(DeploymentId applicationInstance, DeployOptions deployOptions, Set<String> rotationCnames, Set<String> rotationNames, byte[] content) { - return deploy(applicationInstance, deployOptions, rotationCnames, rotationNames, content); + default PreparedApplication prepare(DeploymentId deployment, DeployOptions deployOptions, Set<String> rotationCnames, Set<String> rotationNames, byte[] content) { + return deploy(deployment, deployOptions, rotationCnames, rotationNames, content); } - PreparedApplication deploy(DeploymentId applicationInstance, DeployOptions deployOptions, Set<String> rotationCnames, Set<String> rotationNames, byte[] content); + PreparedApplication deploy(DeploymentId deployment, DeployOptions deployOptions, Set<String> rotationCnames, Set<String> rotationNames, byte[] content); - void restart(DeploymentId applicationInstance, Optional<Hostname> hostname) throws NoInstanceException; + void restart(DeploymentId deployment, Optional<Hostname> hostname) throws NoInstanceException; - void deactivate(DeploymentId applicationInstance) throws NoInstanceException; + void deactivate(DeploymentId deployment) throws NoInstanceException; + + boolean isSuspended(DeploymentId deployment) throws NoInstanceException; ApplicationView getApplicationView(String tenantName, String applicationName, String instanceName, String environment, String region); |