Interface FlagsTarget
-
public interface FlagsTargetRepresents either configservers in a zone or controllers in a system. Defines the location and precedence of the flags data files for the given target. Naming rules for flags data files:- zone specific:
<system>.<environment>.<region>.json - controller specific:
<system>.controller.json - environment specific:
<system>.<environment>.json - system specific:
<system>.json - global default:
default.json
- Author:
- bjorncs
- zone specific:
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description StringasString()Optional<com.yahoo.vespa.athenz.api.AthenzIdentity>athenzHttpsIdentity()static StringcontrollerFile(com.yahoo.config.provision.SystemName system)static StringdefaultFile()URIendpoint()static StringenvironmentFile(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.Environment environment)List<String>flagDataFilesPrioritized()static FlagsTargetforConfigServer(ZoneRegistry registry, com.yahoo.config.provision.zone.ZoneId zoneId)static FlagsTargetforController(com.yahoo.config.provision.SystemName systemName)static Set<FlagsTarget>getAllTargetsInSystem(ZoneRegistry registry, boolean reachableOnly)static StringsystemFile(com.yahoo.config.provision.SystemName system)static StringzoneFile(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.zone.ZoneId zone)
-
-
-
Method Detail
-
endpoint
URI endpoint()
-
athenzHttpsIdentity
Optional<com.yahoo.vespa.athenz.api.AthenzIdentity> athenzHttpsIdentity()
-
asString
String asString()
-
getAllTargetsInSystem
static Set<FlagsTarget> getAllTargetsInSystem(ZoneRegistry registry, boolean reachableOnly)
-
forController
static FlagsTarget forController(com.yahoo.config.provision.SystemName systemName)
-
forConfigServer
static FlagsTarget forConfigServer(ZoneRegistry registry, com.yahoo.config.provision.zone.ZoneId zoneId)
-
defaultFile
static String defaultFile()
-
systemFile
static String systemFile(com.yahoo.config.provision.SystemName system)
-
environmentFile
static String environmentFile(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.Environment environment)
-
zoneFile
static String zoneFile(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.zone.ZoneId zone)
-
controllerFile
static String controllerFile(com.yahoo.config.provision.SystemName system)
-
-