org.zodiac.sentinel.base.constants.SentinelBaseConstants Maven / Gradle / Ivy
package org.zodiac.sentinel.base.constants;
public interface SentinelBaseConstants {
String GENERAL_PREFIX = "PLATFORM.SENTINEL";
String CONFIGCENTER_INFRA_NAMESPACE = GENERAL_PREFIX.toLowerCase();
String FLOW_DATA_ID = "sentinel-flow-rules";
String PARAM_FLOW_DATA_ID = "sentinel-param-flow-rules";
String TOKEN_SERVER_CLUSTER_MAP_DATA_ID = "token-server-cluster-map";
String TOKEN_SERVER_NAMESPACE_DATA_ID = "token-server-namespace-set";
String TOKEN_SERVER_NAMESPACE_NAME = String.format("%s.token-server", GENERAL_PREFIX);
String NS_PREFIX = String.format("%s.", GENERAL_PREFIX);
String DEFAULT_SENTINEL_DASHBOARD_URL = "http://localhost:8088";
int DEFAULT_API_PORT = 8719;
int DEFAULT_COLD_FACTOR = 3;
String BLOCK_PAGE_URL_CONF_KEY = "csp.sentinel.web.servlet.block.page";
}