A C D E F G H I L M N O P R S T U V 
All Classes All Packages

A

ADMIN - org.kiwiproject.registry.model.Port.PortType
 
APPLICATION - org.kiwiproject.registry.model.Port.PortType
 

C

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.
ConsulHelpers() - Constructor for class org.kiwiproject.registry.consul.server.ConsulHelpers
 
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

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.
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 - org.kiwiproject.registry.model.ServiceInstance.Status
 

E

EurekaConfig - Class in org.kiwiproject.registry.eureka.config
 
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() - Constructor for class org.kiwiproject.registry.eureka.common.EurekaInstance
 
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
 
EurekaRestClient - Class in org.kiwiproject.registry.eureka.common
 
EurekaRestClient() - 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 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 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 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.model.ServiceInstance
Returns the admin port of this instance, preferring the secure port (if both secure and insecure exist).
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).
getCommitRef() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the commit reference of the service.
getCurrentEurekaUrl() - Method in class org.kiwiproject.registry.eureka.common.EurekaUrlProvider
 
getDescription() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the description of the service.
getHostname() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the hostname that the service is running on.
getInstanceId() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
getIp() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the IP Address that the service is running on.
getMetadata() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns metadata for the service.
getName() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns a name for the service.
getNextEurekaUrl() - Method in class org.kiwiproject.registry.eureka.common.EurekaUrlProvider
 
getPaths() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns the various paths common paths needed for service management.
getPorts() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns a list of port definitions that are being used by the service
getRegistryUrls() - Method in class org.kiwiproject.registry.eureka.config.EurekaConfig
 
getScheme() - Method in class org.kiwiproject.registry.model.Port
Return the scheme used by the Port.Security of this 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.

H

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
 
humanReadableName() - Method in interface org.kiwiproject.registry.config.ServiceInfo
Returns a human readable version of the service name.

I

IGNORE_NATIVE_DATA - org.kiwiproject.registry.model.NativeRegistryData
Do not include any data from the registry that isn't mapped into ServiceInstance.
INCLUDE_NATIVE_DATA - org.kiwiproject.registry.model.NativeRegistryData
Include all data from the registry, regardless of whether it is mapped into ServiceInstance.
InstanceQuery() - Constructor for class org.kiwiproject.registry.client.RegistryClient.InstanceQuery
 
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?
isSecure() - Method in class org.kiwiproject.registry.model.Port
Is this port secure?

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.
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)

N

NativeRegistryData - Enum 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.
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 - org.kiwiproject.registry.model.Port.Security
Not secure; HTTP.

O

of(int, Port.PortType, Port.Security) - Static method in class org.kiwiproject.registry.model.Port
Convenience factory method to create a new Port.
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

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() - Constructor for class org.kiwiproject.registry.model.Port
 
Port.PortType - Enum in org.kiwiproject.registry.model
Enum defining the type of connector the port is used for.
Port.Security - Enum in org.kiwiproject.registry.model
Enum defining whether the port is secure or not.
Ports - Class in org.kiwiproject.registry.util
Utility methods for finding a desired port out of a list of port definitions
Ports() - Constructor for class org.kiwiproject.registry.util.Ports
 

R

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 deregisters 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
RegistryService - Interface in org.kiwiproject.registry.server
Contract for implementations of a service registry.
registryUrls - Variable in class org.kiwiproject.registry.eureka.config.EurekaConfig
A comma separated list of urls pointing to Eureka servers.
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
 

S

SECURE - org.kiwiproject.registry.model.Port.Security
Secure; HTTPS.
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() - Constructor for class org.kiwiproject.registry.model.ServiceInstance
 
ServiceInstance.Status - Enum 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.
ServiceInstanceFilter() - Constructor for class org.kiwiproject.registry.client.ServiceInstanceFilter
 
ServiceInstancePaths - Class in org.kiwiproject.registry.util
Utility methods for generating URLs from the service information
ServiceInstancePaths() - Constructor for class org.kiwiproject.registry.util.ServiceInstancePaths
 
ServicePaths - Class in org.kiwiproject.registry.model
Model defining various known paths used by services
ServicePaths() - Constructor for class org.kiwiproject.registry.model.ServicePaths
 
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.
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 - org.kiwiproject.registry.model.ServiceInstance.Status
 
stop() - Method in class org.kiwiproject.registry.management.RegistrationManager
Triggers the de-registration of the service from the registry server.

T

toServiceInstance() - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 
toServiceInstance(NativeRegistryData) - Method in class org.kiwiproject.registry.eureka.common.EurekaInstance
 

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 - 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
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 org.kiwiproject.registry.model.NativeRegistryData
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.registry.model.Port.PortType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.registry.model.Port.Security
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.kiwiproject.registry.model.ServiceInstance.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.kiwiproject.registry.model.NativeRegistryData
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.registry.model.Port.PortType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.registry.model.Port.Security
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.kiwiproject.registry.model.ServiceInstance.Status
Returns an array containing the constants of this enum type, in the order they are declared.
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?
A C D E F G H I L M N O P R S T U V 
All Classes All Packages