summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-10-22 13:00:59 +0200
committerJon Bratseth <bratseth@oath.com>2018-10-22 13:00:59 +0200
commite2670e779298ac8683aca7333e32bbf860c68033 (patch)
tree3bad508716965a99a86595f569b0ac1f63915800 /controller-api
parent23afd5993ba3e22334c42e1a4af7d146cf5da801 (diff)
Add suspended to application/v4
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java12
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);