com.nepxion.discovery.common.constant.DiscoveryConstant Maven / Gradle / Ivy
package com.nepxion.discovery.common.constant;
/**
* Title: Nepxion Discovery
* Description: Nepxion Discovery
* Copyright: Copyright (c) 2017-2050
* Company: Nepxion
* @author Haojun Ren
* @version 1.0
*/
public class DiscoveryConstant {
public static final String DISCOVERY_VERSION = "3.12.2";
public static final String SPRING_APPLICATION_DISCOVERY_PLUGIN = "spring.application.discovery.plugin";
public static final String SPRING_APPLICATION_DISCOVERY_VERSION = "spring.application.discovery.version";
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_SERVLET_WEB_SERVER_ENABLED = "spring.application.servlet.web.server.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_DEFAULT_PROPERTIES_PATH = "spring.application.default.properties.path";
public static final String SPRING_APPLICATION_DEFAULT_PROPERTIES_PATH_VALUE = "spring-application-default.properties";
public static final String SPRING_APPLICATION_NO_SERVERS_RETRY_ENABLED = "spring.application.no.servers.retry.enabled";
public static final String SPRING_APPLICATION_NO_SERVERS_RETRY_TIMES = "spring.application.no.servers.retry.times";
public static final String SPRING_APPLICATION_NO_SERVERS_RETRY_AWAIT_TIME = "spring.application.no.servers.retry.await.time";
public static final String SPRING_APPLICATION_NO_SERVERS_NOTIFY_ENABLED = "spring.application.no.servers.notify.enabled";
public static final String CONTEXT_PATH = "server.contextPath";
public static final String ANNOTATION_CONFIG_SERVLET_WEB_SERVER_APPLICATION_CONTEXT = "AnnotationConfigEmbeddedWebApplicationContext";
public static final String SPRING_APPLICATION_NAME = "spring.application.name";
public static final String SPRING_APPLICATION_TYPE = "spring.application.type";
public static final String GROUP = "group";
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 SERVICE_TYPE = "service";
public static final String GATEWAY_TYPE = "gateway";
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 REGISTER_ISOLATION = "register isolation";
public static final String VERSION = "version";
public static final String REGION = "region";
public static final String ADDRESS = "address";
public static final String VERSION_WEIGHT = "version-weight";
public static final String REGION_WEIGHT = "region-weight";
public static final String N_D_PREFIX = "n-d-";
public static final String N_D_SERVICE_PREFIX = "n-d-service";
public static final String N_D_SERVICE_GROUP = "n-d-service-group";
public static final String N_D_SERVICE_TYPE = "n-d-service-type";
public static final String N_D_SERVICE_ID = "n-d-service-id";
public static final String N_D_SERVICE_ADDRESS = "n-d-service-address";
public static final String N_D_SERVICE_VERSION = "n-d-service-version";
public static final String N_D_SERVICE_REGION = "n-d-service-region";
public static final String N_D_VERSION = "n-d-version";
public static final String N_D_REGION = "n-d-region";
public static final String N_D_ADDRESS = "n-d-address";
public static final String N_D_VERSION_WEIGHT = "n-d-version-weight";
public static final String N_D_REGION_WEIGHT = "n-d-region-weight";
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 ENCODING_GBK = "GBK";
public static final String ENCODING_ISO_8859_1 = "ISO-8859-1";
public static final String SEPARATE = ";";
public static final String EQUALS = "=";
public static final String DASH = "-";
public static final String ASYNC = "async";
public static final String SYNC = "sync";
public static final String GLOBAL = "global";
public static final String PARTIAL = "partial";
public static final String OK = "OK";
public static final String NO = "NO";
public static final String DEFAULT = "default";
public static final String UNKNOWN = "unknown";
public static final String DEFAULT_XML_RULE = "\r\n" +
"\r\n" +
" ";
public static final String DEFAULT_JSON_RULE = "{}";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy