You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.8 KiB
53 lines
1.8 KiB
package com.platform.utils;
|
|
|
|
import org.apache.log4j.Logger;
|
|
|
|
public class Configs {
|
|
|
|
/** 全局自定义异常--编码 */
|
|
public static final String GLOBAL_EXP_CUSTOM = "3001001001";
|
|
|
|
/** 全局非自定义异常--编码 */
|
|
public static final String GLOBAL_EXP_NOT_CUSTOM = "3001001002";
|
|
|
|
public static final String CONFIG_LOCALTION = "WebContent/WEB-INF/config/config.properties";
|
|
|
|
public static final Logger CONSOLE_LOGGER = Logger.getLogger("console");
|
|
|
|
public static final Logger DAILY_ROLLING_LOGGER = Logger
|
|
.getLogger("dailyRollingFile");
|
|
|
|
public static final Logger DAILY_LOGGER = Logger.getLogger("railyFile");
|
|
|
|
public static final Logger LOGGER = Logger.getLogger(Configs.class);
|
|
|
|
public static String KUBE_MASTER_URL = "http://192.168.0.113:8080/"; // kubernetes集群的maser
|
|
// URl
|
|
|
|
public static int ORACLE_DEFAULT_PORT = 1521; // oracle的默认端口号
|
|
|
|
public static String COLLECT_USER_NAME = "system"; //采集统一的登入用户名
|
|
|
|
public static String COLLECT_PASSWORD = "oracle"; //采集统一的登入密码
|
|
|
|
public static String COLLECT_SERVICE_NAME = "orcl"; //采集库统一的服务名
|
|
|
|
public static String GATHER_PORT ="1521"; //汇总库的端口号
|
|
|
|
public static String GATHER_USER_NAME = "system"; //汇总库的登入用户名
|
|
|
|
public static String GATHER_USER_PASSWORD = "1"; //汇总库的登入密码
|
|
|
|
public static String GATHER_SERVICE_NAME = "orcl"; //汇总库的服务名
|
|
|
|
public static String TABLE_SUFFIX = "_20152016"; //汇总库汇总表的后缀名
|
|
|
|
public static String EXTRACT_LOG_LOCALTION = "/home/log"; //数据汇总日志保存位置
|
|
|
|
public static String GATHER_TABLESPACE_NAME=""; //表空间名
|
|
|
|
public static String GATHER_TABLESPACE_PATH=""; //表空间路径
|
|
|
|
public static String GATHER_TABLE_PASSWORD=""; //登入密码
|
|
}
|