Interface FlagsTarget
public interface FlagsTarget
Represents 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
-
Method Summary
Modifier and TypeMethodDescriptionasString()Optional<com.yahoo.vespa.athenz.api.AthenzIdentity>static StringcontrollerFile(com.yahoo.config.provision.SystemName system) static Stringendpoint()static StringenvironmentFile(com.yahoo.config.provision.SystemName system, com.yahoo.config.provision.Environment environment) 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 Details
-
flagDataFilesPrioritized
-
endpoint
URI endpoint() -
athenzHttpsIdentity
Optional<com.yahoo.vespa.athenz.api.AthenzIdentity> athenzHttpsIdentity() -
asString
String asString() -
getAllTargetsInSystem
-
forController
-
forConfigServer
static FlagsTarget forConfigServer(ZoneRegistry registry, com.yahoo.config.provision.zone.ZoneId zoneId) -
defaultFile
-
systemFile
-
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
-