package com.nepxion.discovery.common.constant;

/**
 * <p>Title: Nepxion Discovery</p>
 * <p>Description: Nepxion Discovery</p>
 * <p>Copyright: Copyright (c) 2017-2050</p>
 * <p>Company: Nepxion</p>
 * @author Haojun Ren
 * @version 1.0
 */

public class DiscoveryConstant {
    public static final String SPRING_APPLICATION_DISCOVERY_PLUGIN = "spring.application.discovery.plugin";
    public static final String SPRING_APPLICATION_REGISTER_CONTROL_ENABLED = "spring.application.register.control.enabled";
    public static final String SPRING_APPLICATION_DISCOVERY_CONTROL_ENABLED = "spring.application.discovery.control.enabled";
    public static final String SPRING_APPLICATION_CONFIG_REST_CONTROL_ENABLED = "spring.application.config.rest.control.enabled";
    public static final String SPRING_APPLICATION_CONFIG_FORMAT = "spring.application.config.format";
    public static final String SPRING_APPLICATION_CONFIG_PATH = "spring.application.config.path";
    public static final String SPRING_APPLICATION_GROUP_KEY = "spring.application.group.key";
    public static final String SPRING_APPLICATION_CONTEXT_PATH = "spring.application.context-path";

    public static final String SPRING_APPLICATION_NAME = "spring.application.name";
    public static final String GROUP = "group";
    public static final String REGION = "region";
    public static final String SERVICE_ID = "serviceId";
    public static final String HOST = "host";
    public static final String PORT = "port";
    public static final String METADATA = "metadata";
    public static final String VERSION = "version";
    public static final String DYNAMIC_VERSION = "dynamicVersion";
    public static final String RULE = "rule";
    public static final String DYNAMIC_RULE = "dynamicRule";
    public static final String REACH_MAX_LIMITED_COUNT = "reach max limited count";

    public static final String XML_FORMAT = "xml";
    public static final String JSON_FORMAT = "json";
    public static final String PREFIX_CLASSPATH = "classpath:";
    public static final String PREFIX_FILE = "file:";

    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss.SSS";
    public static final String ENCODING_UTF_8 = "UTF-8";
    public static final String SEPARATE = ";";
}