@ConfigurationProperties(value="registration") @Requires(property="micronaut.application.name") public static class EurekaConfiguration.EurekaRegistrationConfiguration extends RegistrationConfiguration
| Modifier and Type | Field and Description | 
|---|---|
static String | 
APPNAME
Configuration property name for Eureka instance app name (value: "eureka.client.registration.appname"). 
 | 
static String | 
HOSTNAME
Configuration property name for Eureka instance hostname (value: "eureka.client.registration.hostname"). 
 | 
static String | 
INSTANCE_ID
Configuration property name for Eureka instance id (value: "eureka.client.registration.instance-id"). 
 | 
static String | 
IP_ADDRESS
Configuration property name for Eureka instance IP address. 
 | 
static String | 
PORT
Configuration property name for Eureka instance port (value: "eureka.client.registration.port"). 
 | 
static String | 
PREFER_IP_ADDRESS
Configuration property name for preferring Eureka instance IP address registration. 
 | 
static String | 
PREFIX
Prefix for Eureka registration client. 
 | 
DEFAULT_DEREGISTER, DEFAULT_ENABLED, DEFAULT_FAILFAST, DEFAULT_RETRY_COUNT, DEFAULT_RETRYDELAY_SECONDS| Constructor and Description | 
|---|
EurekaRegistrationConfiguration(EmbeddedServer embeddedServer,
                               ApplicationConfiguration applicationConfiguration,
                               DataCenterInfo dataCenterInfo,
                               String appName,
                               String hostname,
                               Integer port,
                               String ipAddr,
                               String instanceId,
                               Boolean preferIpAddress)  | 
EurekaRegistrationConfiguration(EmbeddedServer embeddedServer,
                               ApplicationConfiguration applicationConfiguration,
                               String ipAddress,
                               DataCenterInfo dataCenterInfo)
Deprecated. 
 
Use  
#EurekaRegistrationConfiguration(EmbeddedServer, ApplicationConfiguration, DataCenterInfo, String, String, Integer, String, String, Boolean) instead | 
| Modifier and Type | Method and Description | 
|---|---|
InstanceInfo | 
getInstanceInfo()  | 
boolean | 
isExplicitInstanceId()  | 
getHealthPath, getIpAddr, getRetryCount, getRetryDelay, getTimeout, isDeregister, isEnabled, isFailFast, isPreferIpAddress, setDeregister, setEnabled, setFailFast, setHealthPath, setIpAddr, setPreferIpAddress, setRetryCount, setRetryDelay, setTimeoutpublic static final String PREFIX
public static final String IP_ADDRESS
public static final String PREFER_IP_ADDRESS
public static final String APPNAME
public static final String INSTANCE_ID
public static final String HOSTNAME
public static final String PORT
@Deprecated public EurekaRegistrationConfiguration(EmbeddedServer embeddedServer, ApplicationConfiguration applicationConfiguration, @Property(name="eureka.client.registration.ip-addr") @Nullable String ipAddress, @Nullable DataCenterInfo dataCenterInfo)
#EurekaRegistrationConfiguration(EmbeddedServer, ApplicationConfiguration, DataCenterInfo, String, String, Integer, String, String, Boolean) insteadembeddedServer - The embedded serverapplicationConfiguration - The application configurationipAddress - The IP addressdataCenterInfo - The data center info@Inject public EurekaRegistrationConfiguration(EmbeddedServer embeddedServer, ApplicationConfiguration applicationConfiguration, @Nullable DataCenterInfo dataCenterInfo, @Property(name="eureka.client.registration.appname") @Nullable String appName, @Property(name="eureka.client.registration.hostname") @Nullable String hostname, @Property(name="eureka.client.registration.port") @Nullable Integer port, @Property(name="eureka.client.registration.ip-addr") @Nullable String ipAddr, @Property(name="eureka.client.registration.instance-id") @Nullable String instanceId, @Property(name="eureka.client.registration.prefer-ip-address") @Nullable Boolean preferIpAddress)
embeddedServer - The embedded serverapplicationConfiguration - The application configurationdataCenterInfo - The data center infoappName - The application namehostname - The hostnameport - The portipAddr - The IP addressinstanceId - The instance IDpreferIpAddress - Whether the IP address is preferedpublic boolean isExplicitInstanceId()
public InstanceInfo getInstanceInfo()