Class ZoneEndpoint

java.lang.Object
com.yahoo.config.provision.ZoneEndpoint

public class ZoneEndpoint extends Object
Settings for a zone endpoint of a deployment.
Author:
jonmv
  • Field Details

    • generation

      public static final int generation
      Endpoint service generation.

      This is used to transition to a new set of endpoint services, with new domain names. The procedure is:

      1. Start using new endpoint names (in controller code), for all applications.
      2. Bump the generation counter here; this causes new services to be provisioned.
      3. Controller configures the new services with the new endpoint names.
      4. Let users migrate to the new endpoint names.
      5. Currently missing: clean up obsolete, unused endpoint services.
      See Also:
    • defaultEndpoint

      public static final ZoneEndpoint defaultEndpoint
    • privateEndpoint

      public static final ZoneEndpoint privateEndpoint
  • Constructor Details

  • Method Details

    • isPublicEndpoint

      public boolean isPublicEndpoint()
      Whether this has an endpoint which is visible from the public internet.
    • isPrivateEndpoint

      public boolean isPrivateEndpoint()
      Whether this has an endpoint which is visible through private DNS of the cloud.
    • allowedUrns

      public List<ZoneEndpoint.AllowedUrn> allowedUrns()
      List of allowed URNs, for specified private access types.
    • allowedUrnsWith

      public List<String> allowedUrnsWith(ZoneEndpoint.AccessType type)
      List of URNs for the given access type.
    • isDefault

      public boolean isDefault()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object