package com.nepxion.discovery.plugin.framework.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 PluginConstant {
    public static final String SPRING_APPLICATION_REGISTER_CONTROL_ENABLED = "spring.application.register.control.enabled";
    public static final String SPRING_APPLICATION_REGISTER_FAILURE_EVENT_ENABLED = "spring.application.register.failure.event.enabled";
    public static final String SPRING_APPLICATION_DISCOVERY_CONTROL_ENABLED = "spring.application.discovery.control.enabled";
    public static final String SPRING_APPLICATION_DISCOVERY_REMOTE_CONFIG_ENABLED = "spring.application.discovery.remote.config.enabled";

    public static final String SPRING_APPLICATION_NAME = "spring.application.name";
    public static final String SERVICE_ID = "serviceId";
    public static final String VERSION = "version";
    public static final String DYNAMIC_VERSION = "dynamicVersion";
    public static final String METADATA = "metadata";
    public static final String HOST = "host";
    public static final String PORT = "port";
    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 DATE_FORMAT = "yyyy-MM-dd HH:mm:ss.SSS";
    public static final String ENCODING_UTF_8 = "UTF-8";
    public static final String SEPARATE = ";";
}