blob: f0024608b36a462212e3c6f9f8458b00fb1f712f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.service.duper;
import com.yahoo.config.provision.ClusterSpec;
import com.yahoo.vespa.applicationmodel.InfrastructureApplication;
import com.yahoo.vespa.applicationmodel.ServiceType;
/**
* @author hakonhall
*/
public abstract class HostAdminApplication extends InfraApplication {
public static final int HOST_ADMIN_HEALT_PORT = 8080;
protected HostAdminApplication(InfrastructureApplication application) {
super(application,
ClusterSpec.Type.container,
ClusterSpec.Id.from(application.applicationName()),
ServiceType.HOST_ADMIN,
HOST_ADMIN_HEALT_PORT);
}
}
|