Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ADMIN - Enum constant in enum class org.kiwiproject.registry.model.Port.PortType
 
adminPort(int) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
app(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
APPLICATION - Enum constant in enum class org.kiwiproject.registry.model.Port.PortType
 

B

build() - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery.InstanceQueryBuilder
 
build() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
build() - Method in class org.kiwiproject.registry.model.Port.PortBuilder
 
build() - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
build() - Method in class org.kiwiproject.registry.model.ServicePaths.ServicePathsBuilder
 
builder() - Static method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery
 
builder() - Static method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
builder() - Static method in class org.kiwiproject.registry.model.Port
 
builder() - Static method in class org.kiwiproject.registry.model.ServiceInstance
 
builder() - Static method in class org.kiwiproject.registry.model.ServicePaths
 

C

commitRef(String) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
ConsulConfig - Class in org.kiwiproject.registry.consul.config
Base configuration class for Consul registry usage
ConsulConfig() - Constructor for class org.kiwiproject.registry.consul.config.ConsulConfig
 
ConsulHelpers - Class in org.kiwiproject.registry.consul.server
Set of utilities that assist in populating a service registration.
ConsulRegistrationConfig - Class in org.kiwiproject.registry.consul.config
Configuration class to specify various Consul settings
ConsulRegistrationConfig() - Constructor for class org.kiwiproject.registry.consul.config.ConsulRegistrationConfig
 
ConsulRegistryClient - Class in org.kiwiproject.registry.consul.client
 
ConsulRegistryClient(Consul, ConsulConfig) - Constructor for class org.kiwiproject.registry.consul.client.ConsulRegistryClient
 
ConsulRegistryService - Class in org.kiwiproject.registry.consul.server
RegistryService implementation for Consul discovery servers
ConsulRegistryService(Consul, ConsulRegistrationConfig, KiwiEnvironment) - Constructor for class org.kiwiproject.registry.consul.server.ConsulRegistryService
 
createCandidateFrom(ServiceInfo) - Method in class org.kiwiproject.registry.consul.server.ConsulRegistryService
 
createCandidateFrom(ServiceInfo) - Method in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
 
createCandidateFrom(ServiceInfo) - Method in class org.kiwiproject.registry.server.NoopRegistryService
 
createCandidateFrom(ServiceInfo) - Method in interface org.kiwiproject.registry.server.RegistryService
Creates a new ServiceInstance instance from a ServiceInfo that can be registered with the registry server.

D

dataCenterInfo(Map<String, String>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
DEFAULT_DATA_CENTER_INFO_CLASS - Static variable in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
Funny story ...
DEFAULT_DATA_CENTER_NAME - Static variable in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
 
DEFAULT_HEALTHCHECK_PATH - Static variable in class org.kiwiproject.registry.model.ServicePaths
The default path to a health check page for the service.
DEFAULT_HOMEPAGE_PATH - Static variable in class org.kiwiproject.registry.model.ServicePaths
The default path to the main API of the service.
DEFAULT_LEASE_EXPIRATION_DURATION_SECONDS - Static variable in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
Default value for lease expiration (seconds).
DEFAULT_LEASE_RENEWAL_INTERVAL_SECONDS - Static variable in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
Default value for heartbeats (seconds).
DEFAULT_STATUS_PATH - Static variable in class org.kiwiproject.registry.model.ServicePaths
The default path to a status page for the service.
description(String) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
determineScheme(List<Port>, Port.PortType) - Static method in class org.kiwiproject.registry.util.Ports
Determines the HTTP scheme to use for a given type
DOWN - Enum constant in enum class org.kiwiproject.registry.model.ServiceInstance.Status
 

E

equals(Object) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
equals(Object) - Method in class org.kiwiproject.registry.model.Port
 
equals(Object) - Method in class org.kiwiproject.registry.model.ServiceInstance
 
equals(Object) - Method in class org.kiwiproject.registry.model.ServicePaths
 
EurekaConfig - Class in org.kiwiproject.registry.eureka.config
Base configuration class for Eureka registry client configuration.
EurekaConfig() - Constructor for class org.kiwiproject.registry.eureka.config.EurekaConfig
 
EurekaInstance - Class in org.kiwiproject.registry.eureka.common
This model matches the format of the data being sent to the Eureka server
EurekaInstance.EurekaInstanceBuilder - Class in org.kiwiproject.registry.eureka.common
 
EurekaRegistrationConfig - Class in org.kiwiproject.registry.eureka.config
Configuration model needed for registering a service with Eureka
EurekaRegistrationConfig() - Constructor for class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
 
EurekaRegistryClient - Class in org.kiwiproject.registry.eureka.client
RegistryClient implementation for looking up services from Eureka registry server.
EurekaRegistryClient(EurekaConfig, EurekaRestClient) - Constructor for class org.kiwiproject.registry.eureka.client.EurekaRegistryClient
 
EurekaRegistryService - Class in org.kiwiproject.registry.eureka.server
 
EurekaRegistryService(EurekaRegistrationConfig, EurekaRestClient, KiwiEnvironment) - Constructor for class org.kiwiproject.registry.eureka.server.EurekaRegistryService
 
EurekaRegistryService(EurekaRegistrationConfig, EurekaRestClient, KiwiEnvironment, SimpleRetryer, SimpleRetryer, SimpleRetryer, SimpleRetryer) - Constructor for class org.kiwiproject.registry.eureka.server.EurekaRegistryService
 
EurekaResponseParser - Class in org.kiwiproject.registry.eureka.common
 
EurekaRestClient - Class in org.kiwiproject.registry.eureka.common
 
EurekaRestClient() - Constructor for class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
EurekaRestClient(Client) - Constructor for class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
EurekaUrlProvider - Class in org.kiwiproject.registry.eureka.common
 
EurekaUrlProvider(String) - Constructor for class org.kiwiproject.registry.eureka.common.EurekaUrlProvider
 

F

filterInstancesByVersion(List<ServiceInstance>, RegistryClient.InstanceQuery) - Static method in class org.kiwiproject.registry.client.ServiceInstanceFilter
Filter the given service instances using the query, by minimum and/or preferred versions if specified.
findAllInstances(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
findAllServiceInstancesBy(String) - Method in interface org.kiwiproject.registry.client.RegistryClient
Attempts to find all service instances with the given service name.
findAllServiceInstancesBy(RegistryClient.InstanceQuery) - Method in class org.kiwiproject.registry.client.MultiRegistryClient
Attempts to find all service instances from the given RegistryClient.InstanceQuery.
findAllServiceInstancesBy(RegistryClient.InstanceQuery) - Method in class org.kiwiproject.registry.client.NoOpRegistryClient
Always returns an empty, unmodifiable list.
findAllServiceInstancesBy(RegistryClient.InstanceQuery) - Method in interface org.kiwiproject.registry.client.RegistryClient
Attempts to find all service instances from the given RegistryClient.InstanceQuery.
findAllServiceInstancesBy(RegistryClient.InstanceQuery) - Method in class org.kiwiproject.registry.consul.client.ConsulRegistryClient
 
findAllServiceInstancesBy(RegistryClient.InstanceQuery) - Method in class org.kiwiproject.registry.eureka.client.EurekaRegistryClient
 
findFirstPortPreferSecure(List<Port>, Port.PortType) - Static method in class org.kiwiproject.registry.util.Ports
Finds the first port of a given type (Application or Admin) from the list.
findInstance(String, String, String) - Method in class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
findInstancesByVipAddress(String, String) - Method in class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
findInstancesWithLatestVersion(List<ServiceInstance>) - Static method in class org.kiwiproject.registry.client.ServiceInstanceFilter
Finds the latest version in the given list of service instances, then returns a new list containing only instances having that latest version.
findPort(List<Port>, Port.PortType, Port.Security) - Static method in class org.kiwiproject.registry.util.Ports
Finds a desired port given a security and type criteria.
findServiceInstanceBy(String) - Method in interface org.kiwiproject.registry.client.RegistryClient
Attempts to find a service instance with the given service name.
findServiceInstanceBy(String, String) - Method in class org.kiwiproject.registry.client.MultiRegistryClient
Attempts to find a service instance with the given service name and the given instance id.
findServiceInstanceBy(String, String) - Method in class org.kiwiproject.registry.client.NoOpRegistryClient
Always returns an empty Optional.
findServiceInstanceBy(String, String) - Method in interface org.kiwiproject.registry.client.RegistryClient
Attempts to find a service instance with the given service name and the given instance id.
findServiceInstanceBy(String, String) - Method in class org.kiwiproject.registry.consul.client.ConsulRegistryClient
 
findServiceInstanceBy(String, String) - Method in class org.kiwiproject.registry.eureka.client.EurekaRegistryClient
 
findServiceInstanceBy(RegistryClient.InstanceQuery) - Method in interface org.kiwiproject.registry.client.RegistryClient
Attempts to find a service instance from the given RegistryClient.InstanceQuery.
fromScheme(String) - Static method in enum class org.kiwiproject.registry.model.Port.Security
Return Port.Security value for the given scheme, using a case-insensitive comparison.
fromServiceInfo(ServiceInfo) - Static method in class org.kiwiproject.registry.model.ServiceInstance
Returns a new ServiceInstanceBuilder built from a given ServiceInfo.
fromServiceInstance(ServiceInstance) - Static method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 

G

getAdminPort() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getAdminPort() - Method in class org.kiwiproject.registry.model.ServiceInstance
Returns the admin port of this instance, preferring the secure port (if both secure and insecure exist).
getApp() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getApplicationPort() - Method in class org.kiwiproject.registry.model.ServiceInstance
Returns the application port of this instance, preferring the secure port (if both secure and insecure exist).
getCheckIntervalInSeconds() - Method in class org.kiwiproject.registry.consul.config.ConsulRegistrationConfig
Number of seconds between Consul checking for health
getCommitRef() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the commit reference of the service.
getCommitRef() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getCurrentEurekaUrl() - Method in class org.kiwiproject.registry.eureka.common.EurekaUrlProvider
 
getDataCenterInfo() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getDeregisterIntervalInMinutes() - Method in class org.kiwiproject.registry.consul.config.ConsulRegistrationConfig
Number of seconds before Consul will deregister a service when unhealthy
getDescription() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the description of the service.
getDescription() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getDomainOverride() - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
Allows for adjusting registryUrls domain at runtime.
getExpirationIntervalInSeconds() - Method in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
The amount of time before a service will expire from Eureka (in seconds)
getHealthCheckPath() - Method in class org.kiwiproject.registry.model.ServicePaths
 
getHealthCheckUrl() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getHeartbeatIntervalInSeconds() - Method in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
The amount of time between each heartbeat to the Eureka server (in seconds)
getHomePagePath() - Method in class org.kiwiproject.registry.model.ServicePaths
 
getHomePageUrl() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getHostname() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the hostname that the service is running on.
getHostName() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getHostName() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getInstanceId() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getInstanceId() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getIp() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the IP Address that the service is running on.
getIp() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getIpAddr() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getLeaseInfo() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getMetadata() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns metadata for the service.
getMetadata() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getMetadata() - Method in class org.kiwiproject.registry.model.ServiceInstance
Used to store extra data in a discovery service for this instance
getMetadataTags() - Method in class org.kiwiproject.registry.consul.config.ConsulConfig
List of keys from the ServiceInstance metadata that should become tags, otherwise they will be in metadata
getMinimumVersion() - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery
 
getName() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns a name for the service.
getNativeRegistryData() - Method in class org.kiwiproject.registry.model.ServiceInstance
Used to store native registry data that includes data mapped into ServiceInstance as well as any additional information that is not mapped.
getNextEurekaUrl() - Method in class org.kiwiproject.registry.eureka.common.EurekaUrlProvider
 
getNumber() - Method in class org.kiwiproject.registry.model.Port
 
getPaths() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the various paths common paths needed for service management.
getPaths() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getPort() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getPorts() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns a list of port definitions that are being used by the service
getPorts() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getPreferredVersion() - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery
 
getRawResponse() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getRegistryUrls() - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
 
getRetryExceptionLogLevel() - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
The log level to use when logging HTTP call attempts that fail with an exception.
getRetryId() - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
A unique ID that will be used when logging HTTP call attempts to Eureka.
getRetryProcessingLogLevel() - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
The log level to use when logging HTTP call attempts.
getScheme() - Method in class org.kiwiproject.registry.model.Port
Return the scheme used by the Port.Security of this port.
getScheme() - Method in enum class org.kiwiproject.registry.model.Port.Security
 
getSecure() - Method in class org.kiwiproject.registry.model.Port
 
getSecurePort() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getSecureVipAddress() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getServiceInfo() - Method in class org.kiwiproject.registry.management.RegistrationManager
 
getServiceName() - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery
 
getServiceName() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getStatus() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getStatus() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getStatusPageUrl() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getStatusPath() - Method in class org.kiwiproject.registry.model.ServicePaths
 
getType() - Method in class org.kiwiproject.registry.model.Port
 
getUpSince() - Method in class org.kiwiproject.registry.model.ServiceInstance
Returns the Instant this service has been up since, or Instant.EPOCH if no value was provided when this instance was created.
getUpSinceMillis() - Method in class org.kiwiproject.registry.model.ServiceInstance
Returns the time since the epoch this service has been up since, or zero (the epoch), if no value was provided when this instance was created.
getVersion() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the version of the running service.
getVersion() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
getVipAddress() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 

H

hashCode() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
hashCode() - Method in class org.kiwiproject.registry.model.Port
 
hashCode() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
hashCode() - Method in class org.kiwiproject.registry.model.ServicePaths
 
hasNoMinimumVersion() - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery
 
hasNoPreferredVersion() - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery
 
hasNoVersionPredicates() - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery
 
healthCheckPath(String) - Method in class org.kiwiproject.registry.model.ServicePaths.ServicePathsBuilder
 
healthCheckUrl(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
homePagePath(String) - Method in class org.kiwiproject.registry.model.ServicePaths.ServicePathsBuilder
 
homePageUrl(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
hostName(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
hostName(String) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
humanReadableName() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns a human-readable version of the service name.

I

IGNORE_NATIVE_DATA - Enum constant in enum class org.kiwiproject.registry.model.NativeRegistryData
Do not include any data from the registry that isn't mapped into ServiceInstance.
INCLUDE_NATIVE_DATA - Enum constant in enum class org.kiwiproject.registry.model.NativeRegistryData
Include all data from the registry, regardless of whether it is mapped into ServiceInstance.
instanceId(String) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
ip(String) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
ipAddr(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
isAdmin() - Method in class org.kiwiproject.registry.model.Port
Is this an admin port?
isApplication() - Method in class org.kiwiproject.registry.model.Port
Is this an application port?
isIncludeNativeData() - Method in class org.kiwiproject.registry.consul.config.ConsulConfig
If true, enables the addition of Consul specific data to ServiceInstance.
isIncludeNativeData() - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
If true, enables the addition of Eureka specific data to ServiceInstance.
isSecure() - Method in class org.kiwiproject.registry.model.Port
Is this port secure?
isTrackHeartbeats() - Method in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
Whether the registry service should track the number of heartbeats sent.

L

LEASE_DURATION_IN_SECONDS - Static variable in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
Key for lease info representing lease duration in seconds.
LEASE_RENEWAL_INTERVAL_IN_SECONDS - Static variable in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
Key for lease info representing renewal interval in seconds.
leaseInfo(Map<String, Object>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
lifeCycleStopping(LifeCycle) - Method in class org.kiwiproject.registry.management.dropwizard.RegistrationLifecycleListener
 

M

MAX_AWAIT_REGISTRATION_CONFIRMATION_TRIES - Static variable in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
Maximum number of attempts we will make to await confirmation that we're registered with Eureka.
MAX_LEASE_EXPIRATION_DURATION_SECONDS - Static variable in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
Maximum allowable time before lease expiration can occur (seconds).
MAX_LEASE_RENEWAL_INTERVAL_SECONDS - Static variable in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
Maximum allowable time between heartbeats (seconds).
MAX_REGISTRATION_ATTEMPTS - Static variable in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
Maximum number of attempts we will make trying to register with Eureka (via POST)
metadata(Map<String, String>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
metadata(Map<String, String>) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
Used to store extra data in a discovery service for this instance
minimumVersion(String) - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery.InstanceQueryBuilder
 
MultiRegistryClient - Class in org.kiwiproject.registry.client
A RegistryClient that finds services in more than one registry.
MultiRegistryClient(List<RegistryClient>) - Constructor for class org.kiwiproject.registry.client.MultiRegistryClient
Construct a new instance with the specfied RegistryClients to use when performing service lookups.

N

nativeRegistryData(Map<String, Object>) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
Used to store native registry data that includes data mapped into ServiceInstance as well as any additional information that is not mapped.
NativeRegistryData - Enum Class in org.kiwiproject.registry.model
Enum that defines whether all data from the native service registry should be included in ServiceInstance objects returned by the registry, e.g.
newDefaultMetadata(ServiceInfo) - Static method in class org.kiwiproject.registry.consul.server.ConsulHelpers
Creates a map with default metadata items that the ConsulRegistryClient will be looking for when it converts a registered service back into a ServiceInstance.
newDefaultMetadata(ServiceInstance) - Static method in class org.kiwiproject.registry.consul.server.ConsulHelpers
Creates a map with default metadata items that the ConsulRegistryClient will be looking for when it converts a registered service back into a ServiceInstance.
NoOpRegistryClient - Class in org.kiwiproject.registry.client
A "no-op" implementation of RegistryClient.
NoOpRegistryClient() - Constructor for class org.kiwiproject.registry.client.NoOpRegistryClient
 
NoopRegistryService - Class in org.kiwiproject.registry.server
A No-op implementation of the RegistryService.
NoopRegistryService() - Constructor for class org.kiwiproject.registry.server.NoopRegistryService
 
NOT_SECURE - Enum constant in enum class org.kiwiproject.registry.model.Port.Security
Not secure; HTTP.
number(int) - Method in class org.kiwiproject.registry.model.Port.PortBuilder
 

O

of(int, Port.PortType, Port.Security) - Static method in class org.kiwiproject.registry.model.Port
Convenience factory method to create a new Port.
of(RegistryClient...) - Static method in class org.kiwiproject.registry.client.MultiRegistryClient
Factory method to create a new instance from the given RegistryClients.
org.kiwiproject.registry.client - package org.kiwiproject.registry.client
 
org.kiwiproject.registry.config - package org.kiwiproject.registry.config
 
org.kiwiproject.registry.consul.client - package org.kiwiproject.registry.consul.client
 
org.kiwiproject.registry.consul.config - package org.kiwiproject.registry.consul.config
 
org.kiwiproject.registry.consul.server - package org.kiwiproject.registry.consul.server
 
org.kiwiproject.registry.eureka.client - package org.kiwiproject.registry.eureka.client
 
org.kiwiproject.registry.eureka.common - package org.kiwiproject.registry.eureka.common
 
org.kiwiproject.registry.eureka.config - package org.kiwiproject.registry.eureka.config
 
org.kiwiproject.registry.eureka.server - package org.kiwiproject.registry.eureka.server
 
org.kiwiproject.registry.exception - package org.kiwiproject.registry.exception
 
org.kiwiproject.registry.management - package org.kiwiproject.registry.management
 
org.kiwiproject.registry.management.dropwizard - package org.kiwiproject.registry.management.dropwizard
 
org.kiwiproject.registry.model - package org.kiwiproject.registry.model
 
org.kiwiproject.registry.server - package org.kiwiproject.registry.server
 
org.kiwiproject.registry.util - package org.kiwiproject.registry.util
 

P

parseEurekaApplicationsResponse(Map<String, Object>) - Static method in class org.kiwiproject.registry.eureka.common.EurekaResponseParser
 
parseEurekaInstanceResponse(Map<String, Object>) - Static method in class org.kiwiproject.registry.eureka.common.EurekaResponseParser
 
paths(ServicePaths) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
port(Map<String, Object>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
Port - Class in org.kiwiproject.registry.model
Model that defines a port being used by a service, including the port number, the purpose of the port, and whether the port is secure or not.
Port.PortBuilder - Class in org.kiwiproject.registry.model
 
Port.PortType - Enum Class in org.kiwiproject.registry.model
Enum defining the type of connector the port is used for.
Port.Security - Enum Class in org.kiwiproject.registry.model
Enum defining whether the port is secure or not.
ports(List<Port>) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
Ports - Class in org.kiwiproject.registry.util
Utility methods for finding a desired port out of a list of port definitions
preferredVersion(String) - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery.InstanceQueryBuilder
 

R

rawResponse(Map<String, Object>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
register(String, String, EurekaInstance) - Method in class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
register(ServiceInstance) - Method in class org.kiwiproject.registry.consul.server.ConsulRegistryService
 
register(ServiceInstance) - Method in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
 
register(ServiceInstance) - Method in class org.kiwiproject.registry.server.NoopRegistryService
 
register(ServiceInstance) - Method in interface org.kiwiproject.registry.server.RegistryService
Registers a ServiceInstance with the registry server and returns a new instance containing information about the registered instance.
RegistrationException - Exception in org.kiwiproject.registry.exception
Exception used to indicate a failure to register with the service registry.
RegistrationException() - Constructor for exception org.kiwiproject.registry.exception.RegistrationException
 
RegistrationException(String) - Constructor for exception org.kiwiproject.registry.exception.RegistrationException
 
RegistrationException(String, Throwable) - Constructor for exception org.kiwiproject.registry.exception.RegistrationException
 
RegistrationException(Throwable) - Constructor for exception org.kiwiproject.registry.exception.RegistrationException
 
RegistrationLifecycleListener - Class in org.kiwiproject.registry.management.dropwizard
Listener that registers and de-registers the service based on server start up and shutdown events.
RegistrationLifecycleListener(ServiceInfo, RegistryService) - Constructor for class org.kiwiproject.registry.management.dropwizard.RegistrationLifecycleListener
Creates a new listener with a given ServiceInfo and RegistryService.
RegistrationLifecycleListener(RegistrationManager) - Constructor for class org.kiwiproject.registry.management.dropwizard.RegistrationLifecycleListener
Creates a new listener with a given RegistrationManager
RegistrationManager - Class in org.kiwiproject.registry.management
Manager to register and unregister a service.
RegistrationManager(ServiceInfo, RegistryService) - Constructor for class org.kiwiproject.registry.management.RegistrationManager
 
RegistryClient - Interface in org.kiwiproject.registry.client
Base of all registry client implementations in order to find running services
RegistryClient.InstanceQuery - Class in org.kiwiproject.registry.client
Encapsulates search parameters for finding service instances
RegistryClient.InstanceQuery.InstanceQueryBuilder - Class in org.kiwiproject.registry.client
 
RegistryService - Interface in org.kiwiproject.registry.server
Contract for implementations of a service registry.
retrieveAllRegisteredInstances() - Method in class org.kiwiproject.registry.client.MultiRegistryClient
Retrieves all registered service instances from the registry.
retrieveAllRegisteredInstances() - Method in class org.kiwiproject.registry.client.NoOpRegistryClient
Always returns an empty, unmodifiable list.
retrieveAllRegisteredInstances() - Method in interface org.kiwiproject.registry.client.RegistryClient
Retrieves all registered service instances from the registry.
retrieveAllRegisteredInstances() - Method in class org.kiwiproject.registry.consul.client.ConsulRegistryClient
Returns all registered services in Consul.
retrieveAllRegisteredInstances() - Method in class org.kiwiproject.registry.eureka.client.EurekaRegistryClient
 
retryId(Object) - Static method in class org.kiwiproject.registry.eureka.config.EurekaConfig
Generates a retryId by appending the String value of identifier to "EurekaRegistryClient-".

S

secure(Port.Security) - Method in class org.kiwiproject.registry.model.Port.PortBuilder
 
SECURE - Enum constant in enum class org.kiwiproject.registry.model.Port.Security
Secure; HTTPS.
securePort(Map<String, Object>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
secureVipAddress(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
sendHeartbeat(String, String, String) - Method in class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
serverStarted(Server) - Method in class org.kiwiproject.registry.management.dropwizard.RegistrationLifecycleListener
 
ServiceInfo - Interface in org.kiwiproject.registry.config
Interface to assist in providing information about a service for registering.
ServiceInstance - Class in org.kiwiproject.registry.model
Model containing information about a running service
ServiceInstance.ServiceInstanceBuilder - Class in org.kiwiproject.registry.model
 
ServiceInstance.Status - Enum Class in org.kiwiproject.registry.model
The status of a service
ServiceInstanceFilter - Class in org.kiwiproject.registry.client
Utility class that provides version filtering of lists of ServiceInstance objects.
ServiceInstancePaths - Class in org.kiwiproject.registry.util
Utility methods for generating URLs from the service information
serviceName(String) - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery.InstanceQueryBuilder
 
serviceName(String) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
ServicePaths - Class in org.kiwiproject.registry.model
Model defining various known paths used by services
ServicePaths.ServicePathsBuilder - Class in org.kiwiproject.registry.model
 
setCheckIntervalInSeconds(int) - Method in class org.kiwiproject.registry.consul.config.ConsulRegistrationConfig
Number of seconds between Consul checking for health
setDeregisterIntervalInMinutes(int) - Method in class org.kiwiproject.registry.consul.config.ConsulRegistrationConfig
Number of seconds before Consul will deregister a service when unhealthy
setDomainOverride(String) - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
Allows for adjusting registryUrls domain at runtime.
setExpirationIntervalInSeconds(int) - Method in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
The amount of time before a service will expire from Eureka (in seconds)
setHeartbeatIntervalInSeconds(int) - Method in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
The amount of time between each heartbeat to the Eureka server (in seconds)
setIncludeNativeData(boolean) - Method in class org.kiwiproject.registry.consul.config.ConsulConfig
If true, enables the addition of Consul specific data to ServiceInstance.
setIncludeNativeData(boolean) - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
If true, enables the addition of Eureka specific data to ServiceInstance.
setMetadataTags(List<String>) - Method in class org.kiwiproject.registry.consul.config.ConsulConfig
List of keys from the ServiceInstance metadata that should become tags, otherwise they will be in metadata
setRegistryUrls(String) - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
Set the comma-separate list of Eureka server URLs.
setRegistryUrls(List<String>) - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
Convenience method to set Eureka server URLS from a list of URLs rather than a CSV string.
setRetryExceptionLogLevel(Level) - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
The log level to use when logging HTTP call attempts that fail with an exception.
setRetryId(String) - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
Sets the retry ID to "EurekaRegistryClient-" + id.
setRetryProcessingLogLevel(Level) - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
The log level to use when logging HTTP call attempts.
setTrackHeartbeats(boolean) - Method in class org.kiwiproject.registry.eureka.config.EurekaRegistrationConfig
Whether the registry service should track the number of heartbeats sent.
start() - Method in class org.kiwiproject.registry.management.RegistrationManager
Creates a candidate instance for registration and sends a request to register the instance with the registry server.
STARTING - Enum constant in enum class org.kiwiproject.registry.model.ServiceInstance.Status
 
status(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
status(ServiceInstance.Status) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
statusPageUrl(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
statusPath(String) - Method in class org.kiwiproject.registry.model.ServicePaths.ServicePathsBuilder
 
stop() - Method in class org.kiwiproject.registry.management.RegistrationManager
Triggers the de-registration of the service from the registry server.

T

toBuilder() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
toServiceInstance() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
toServiceInstance(NativeRegistryData) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
toString() - Method in class org.kiwiproject.registry.client.RegistryClient.InstanceQuery.InstanceQueryBuilder
 
toString() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 
toString() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
toString() - Method in class org.kiwiproject.registry.model.Port.PortBuilder
 
toString() - Method in class org.kiwiproject.registry.model.Port
 
toString() - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
toString() - Method in class org.kiwiproject.registry.model.ServiceInstance
 
toString() - Method in class org.kiwiproject.registry.model.ServicePaths.ServicePathsBuilder
 
toString() - Method in class org.kiwiproject.registry.model.ServicePaths
 
type(Port.PortType) - Method in class org.kiwiproject.registry.model.Port.PortBuilder
 

U

unregister() - Method in class org.kiwiproject.registry.consul.server.ConsulRegistryService
 
unregister() - Method in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
 
unregister() - Method in class org.kiwiproject.registry.server.NoopRegistryService
 
unregister() - Method in interface org.kiwiproject.registry.server.RegistryService
Unregisters any registrations that were previously registered.
unregister(String, String, String) - Method in class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
UP - Enum constant in enum class org.kiwiproject.registry.model.ServiceInstance.Status
 
updateStatus(String, String, String, ServiceInstance.Status) - Method in class org.kiwiproject.registry.eureka.common.EurekaRestClient
 
updateStatus(ServiceInstance.Status) - Method in class org.kiwiproject.registry.consul.server.ConsulRegistryService
 
updateStatus(ServiceInstance.Status) - Method in class org.kiwiproject.registry.eureka.server.EurekaRegistryService
 
updateStatus(ServiceInstance.Status) - Method in class org.kiwiproject.registry.server.NoopRegistryService
 
updateStatus(ServiceInstance.Status) - Method in interface org.kiwiproject.registry.server.RegistryService
Sends an update to the registry server to inform of a service status change
upSince(Instant) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
urlCount() - Method in class org.kiwiproject.registry.eureka.common.EurekaUrlProvider
 
urlForPath(String, List<Port>, Port.PortType, String) - Static method in class org.kiwiproject.registry.util.ServiceInstancePaths
Generates a URL given service information.

V

valueOf(String) - Static method in enum class org.kiwiproject.registry.model.NativeRegistryData
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.kiwiproject.registry.model.Port.PortType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.kiwiproject.registry.model.Port.Security
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.kiwiproject.registry.model.ServiceInstance.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.kiwiproject.registry.model.NativeRegistryData
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.kiwiproject.registry.model.Port.PortType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.kiwiproject.registry.model.Port.Security
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.kiwiproject.registry.model.ServiceInstance.Status
Returns an array containing the constants of this enum class, in the order they are declared.
version(String) - Method in class org.kiwiproject.registry.model.ServiceInstance.ServiceInstanceBuilder
 
versionIsAtLeast(ServiceInstance, String) - Static method in class org.kiwiproject.registry.client.ServiceInstanceFilter
Is the version of the ServiceInstance the same or higher than version?
versionIsExactly(ServiceInstance, String) - Static method in class org.kiwiproject.registry.client.ServiceInstanceFilter
Is the version of the ServiceInstance the same as version?
vipAddress(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance.EurekaInstanceBuilder
 

W

withApp(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
withDataCenterInfo(Map<String, String>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
withHostName(String) - Method in class org.kiwiproject.registry.model.ServiceInstance
 
withInstanceId(String) - Method in class org.kiwiproject.registry.model.ServiceInstance
 
withLeaseInfo(Map<String, Object>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
withMetadata(Map<String, String>) - Method in class org.kiwiproject.registry.model.ServiceInstance
Used to store extra data in a discovery service for this instance
withNativeRegistryData(Map<String, Object>) - Method in class org.kiwiproject.registry.model.ServiceInstance
Used to store native registry data that includes data mapped into ServiceInstance as well as any additional information that is not mapped.
withRawResponse(Map<String, Object>) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
withStatus(String) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
withStatus(ServiceInstance.Status) - Method in class org.kiwiproject.registry.model.ServiceInstance
 
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form