Class ConsulConfig
java.lang.Object
org.kiwiproject.registry.consul.config.ConsulConfig
- Direct Known Subclasses:
ConsulRegistrationConfig
Base configuration class for Consul registry usage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList of keys from theServiceInstance
metadata that should become tags, otherwise they will be in metadataboolean
If true, enables the addition of Consul specific data to ServiceInstance.void
setIncludeNativeData
(boolean includeNativeData) If true, enables the addition of Consul specific data to ServiceInstance.void
setMetadataTags
(List<String> metadataTags) List of keys from theServiceInstance
metadata that should become tags, otherwise they will be in metadata
-
Constructor Details
-
ConsulConfig
public ConsulConfig()
-
-
Method Details
-
getMetadataTags
List of keys from theServiceInstance
metadata 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. -
setMetadataTags
List of keys from theServiceInstance
metadata 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.
-