org.kiwiproject.registry.consul.config.ConsulConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-discovery-client Show documentation
Show all versions of service-discovery-client Show documentation
Abstract service discovery API for service registration and lookup
package org.kiwiproject.registry.consul.config;
import lombok.Getter;
import lombok.Setter;
import org.kiwiproject.registry.model.ServiceInstance;
import java.util.ArrayList;
import java.util.List;
/**
* Base configuration class for Consul registry usage
*/
@Getter
@Setter
public class ConsulConfig {
/**
* List of keys from the {@link ServiceInstance} metadata that should become tags, otherwise they will be in metadata
*/
private List metadataTags = new ArrayList<>();
/**
* If true, enables the addition of Consul specific data to ServiceInstance.
*/
private boolean includeNativeData;
}