All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kiwiproject.registry.consul.config.ConsulConfig Maven / Gradle / Ivy

There is a newer version: 2.1.4
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy