diff options
Diffstat (limited to 'controller-api/src')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java | 11 |
1 files changed, 4 insertions, 7 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..15ee3724b6c 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 @@ -27,16 +27,13 @@ public interface ConfigServer { PrepareResponse prepareResponse(); } - // 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); - } + PreparedApplication deploy(DeploymentId deployment, DeployOptions deployOptions, Set<String> rotationCnames, Set<String> rotationNames, byte[] content); - PreparedApplication deploy(DeploymentId applicationInstance, DeployOptions deployOptions, Set<String> rotationCnames, Set<String> rotationNames, byte[] content); + void restart(DeploymentId deployment, Optional<Hostname> hostname) throws NoInstanceException; - void restart(DeploymentId applicationInstance, Optional<Hostname> hostname) throws NoInstanceException; + void deactivate(DeploymentId deployment) throws NoInstanceException; - void deactivate(DeploymentId applicationInstance) throws NoInstanceException; + boolean isSuspended(DeploymentId deployment) throws NoInstanceException; ApplicationView getApplicationView(String tenantName, String applicationName, String instanceName, String environment, String region); |