Package com.yahoo.config.provision
Class ZoneEndpoint
java.lang.Object
com.yahoo.config.provision.ZoneEndpoint
Settings for a zone endpoint of a deployment.
- Author:
- jonmv
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
A URN allowed to access this (private) endpoint, through aZoneEndpoint.AccessType
method. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ZoneEndpoint
static final int
Endpoint service generation.static final ZoneEndpoint
-
Constructor Summary
ConstructorDescriptionZoneEndpoint
(boolean isPublicEndpoint, boolean isPrivateEndpoint, List<ZoneEndpoint.AllowedUrn> allowedUrns) -
Method Summary
Modifier and TypeMethodDescriptionList of allowed URNs, for specified private access types.List of URNs for the given access type.boolean
int
hashCode()
boolean
boolean
Whether this has an endpoint which is visible through private DNS of the cloud.boolean
Whether this has an endpoint which is visible from the public internet.toString()
-
Field Details
-
generation
public static final int generationEndpoint service generation.This is used to transition to a new set of endpoint services, with new domain names. The procedure is:
- Start using new endpoint names (in controller code), for all applications.
- Bump the generation counter here; this causes new services to be provisioned.
- Controller configures the new services with the new endpoint names.
- Let users migrate to the new endpoint names.
- Currently missing: clean up obsolete, unused endpoint services.
- See Also:
-
defaultEndpoint
-
privateEndpoint
-
-
Constructor Details
-
ZoneEndpoint
public ZoneEndpoint(boolean isPublicEndpoint, boolean isPrivateEndpoint, List<ZoneEndpoint.AllowedUrn> allowedUrns)
-
-
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
List of allowed URNs, for specified private access types. -
allowedUrnsWith
List of URNs for the given access type. -
isDefault
public boolean isDefault() -
equals
-
hashCode
public int hashCode() -
toString
-