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 Details

    • flagDataFilesPrioritized

      List<String> flagDataFilesPrioritized()
    • 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)