public abstract class DefaultEndpointLocatorConfigurationTest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultEndpointLocatorConfigurationTest.ConfigurationWithCustomLocator |
static class |
DefaultEndpointLocatorConfigurationTest.ConfigurationWithRegistration |
static class |
DefaultEndpointLocatorConfigurationTest.EmptyConfiguration |
| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
ADDRESS1234 |
| Constructor and Description |
|---|
DefaultEndpointLocatorConfigurationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
appNameFromProperties() |
void |
endpointLocatorShouldAcceptServiceNameOverride() |
void |
endpointLocatorShouldDefaultToServerPropertiesEndpointLocator() |
void |
endpointLocatorShouldDefaultToServerPropertiesEndpointLocatorEvenWhenDiscoveryClientPresent() |
void |
endpointLocatorShouldRespectExistingEndpointLocator() |
void |
endpointLocatorShouldRespectExistingEndpointLocatorEvenWhenAskedToBeDiscovery() |
void |
endpointLocatorShouldSetServiceNameToServiceId() |
void |
hostFromServerPropertiesIp() |
void |
negativePortFromServerProperties() |
void |
portDefaultsTo8080() |
void |
portDefaultsToLocalhost() |
void |
portFromServerProperties() |
public DefaultEndpointLocatorConfigurationTest()
@Test public void endpointLocatorShouldDefaultToServerPropertiesEndpointLocator()
@Test public void endpointLocatorShouldDefaultToServerPropertiesEndpointLocatorEvenWhenDiscoveryClientPresent()
@Test public void endpointLocatorShouldRespectExistingEndpointLocator()
@Test public void endpointLocatorShouldSetServiceNameToServiceId()
@Test public void endpointLocatorShouldAcceptServiceNameOverride()
@Test public void endpointLocatorShouldRespectExistingEndpointLocatorEvenWhenAskedToBeDiscovery()
@Test
public void portDefaultsTo8080()
throws UnknownHostException
UnknownHostException@Test
public void portFromServerProperties()
throws UnknownHostException
UnknownHostException@Test
public void portDefaultsToLocalhost()
throws UnknownHostException
UnknownHostException@Test
public void hostFromServerPropertiesIp()
throws UnknownHostException
UnknownHostException@Test
public void appNameFromProperties()
throws UnknownHostException
UnknownHostException@Test
public void negativePortFromServerProperties()
throws UnknownHostException
UnknownHostExceptionCopyright © 2023 Pivotal Software, Inc.. All rights reserved.