Class ConsulConfig
- java.lang.Object
-
- org.kiwiproject.registry.consul.config.ConsulConfig
-
- Direct Known Subclasses:
ConsulRegistrationConfig
public class ConsulConfig extends Object
Base configuration class for Consul registry usage
-
-
Constructor Summary
Constructors Constructor Description ConsulConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetDomainOverride()Deprecated.without replacement; to be removed in 2.0.0List<String>getMetadataTags()List of keys from theServiceInstancemetadata that should become tags, otherwise they will be in metadatabooleanisIncludeNativeData()If true, enables the addition of Consul specific data to ServiceInstance.voidsetDomainOverride(String domainOverride)Deprecated.without replacement; to be removed in 2.0.0voidsetIncludeNativeData(boolean includeNativeData)If true, enables the addition of Consul specific data to ServiceInstance.voidsetMetadataTags(List<String> metadataTags)List of keys from theServiceInstancemetadata that should become tags, otherwise they will be in metadata
-
-
-
Method Detail
-
getDomainOverride
@Deprecated public String getDomainOverride()
Deprecated.without replacement; to be removed in 2.0.0Specifies a domain to use for service addresses if needed
-
getMetadataTags
public List<String> getMetadataTags()
List of keys from theServiceInstancemetadata that should become tags, otherwise they will be in metadata
-
isIncludeNativeData
public boolean isIncludeNativeData()
If true, enables the addition of Consul specific data to ServiceInstance.
-
setDomainOverride
@Deprecated public void setDomainOverride(String domainOverride)
Deprecated.without replacement; to be removed in 2.0.0Specifies a domain to use for service addresses if needed
-
setMetadataTags
public void setMetadataTags(List<String> metadataTags)
List of keys from theServiceInstancemetadata that should become tags, otherwise they will be in metadata
-
setIncludeNativeData
public void setIncludeNativeData(boolean includeNativeData)
If true, enables the addition of Consul specific data to ServiceInstance.
-
-