summaryrefslogtreecommitdiffstats
path: root/service-monitor
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2018-10-03 10:46:54 +0200
committerMartin Polden <mpolden@mpolden.no>2018-10-03 10:46:54 +0200
commite0bfba1767eb5bf68b454dcb6b97b5f5709d317d (patch)
tree94868d10afa3b63eed1f4d66713967222793a226 /service-monitor
parent3d9bd3fb08ae4d3d6302aff0ebb9134f686d9be6 (diff)
Add controller-host application
Diffstat (limited to 'service-monitor')
-rw-r--r--service-monitor/src/main/java/com/yahoo/vespa/service/monitor/application/ControllerHostApplication.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/application/ControllerHostApplication.java b/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/application/ControllerHostApplication.java
new file mode 100644
index 00000000000..8311919d570
--- /dev/null
+++ b/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/application/ControllerHostApplication.java
@@ -0,0 +1,18 @@
+// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.vespa.service.monitor.application;
+
+import com.yahoo.config.provision.ClusterSpec;
+import com.yahoo.config.provision.NodeType;
+
+/**
+ * @author mpolden
+ */
+public class ControllerHostApplication extends HostedVespaApplication {
+
+ public static final ControllerHostApplication CONTROLLER_HOST_APPLICATION = new ControllerHostApplication();
+
+ protected ControllerHostApplication() {
+ super("controller-host", NodeType.controllerhost, ClusterSpec.Type.container, ClusterSpec.Id.from("controller-host"));
+ }
+
+}