diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-04-06 13:08:45 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-04-06 13:08:45 +0200 |
commit | ac18b7458fd30f81909a722ac878af5fde7fabe1 (patch) | |
tree | 4c257db30950536eeeb79ab234f76021f81e46cb /orchestrator | |
parent | 6dbb1d6cdc71a07881cdfd2bda7813400b7ee50c (diff) |
Nonfunctional changes
Diffstat (limited to 'orchestrator')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java | 1 | ||||
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/policy/HostedVespaPolicy.java | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java index dbc526bdf03..095a7da8322 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/OrchestratorImpl.java @@ -43,6 +43,7 @@ import java.util.stream.Collectors; * @author smorgrav */ public class OrchestratorImpl implements Orchestrator { + private static final Logger log = Logger.getLogger(OrchestratorImpl.class.getName()); private final Policy policy; diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/policy/HostedVespaPolicy.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/policy/HostedVespaPolicy.java index 1e9efa2e700..8e02f940127 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/policy/HostedVespaPolicy.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/policy/HostedVespaPolicy.java @@ -23,6 +23,7 @@ import java.util.logging.Logger; */ public class HostedVespaPolicy implements Policy { + public static final String APPLICATION_SUSPENDED_CONSTRAINT = "application-suspended"; public static final String ENOUGH_SERVICES_UP_CONSTRAINT = "enough-services-up"; public static final String SET_NODE_STATE_CONSTRAINT = "controller-set-node-state"; @@ -125,4 +126,5 @@ public class HostedVespaPolicy implements Policy { ApplicationApi applicationApi = new ApplicationApiImpl(nodeGroup, hostStatusService, clusterControllerClientFactory); releaseSuspensionGrant(applicationApi); } + } |