commit
7bcc95e0d4
@ -1,119 +1,120 @@
|
|||||||
#=============================================================================================================
|
#=============================================================================================================
|
||||||
# MySQL
|
# MySQL
|
||||||
#=============================================================================================================
|
#=============================================================================================================
|
||||||
# 驱动程序
|
# 驱动程序
|
||||||
jdbc.mysql.driver=com.mysql.jdbc.Driver
|
jdbc.mysql.driver=com.mysql.jdbc.Driver
|
||||||
# 连接url
|
# 连接url
|
||||||
|
|
||||||
jdbc.mysql.url=jdbc:mysql://192.168.0.110:3306/ftpdata?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&autoReconnect=true&failOverReadOnly=false
|
jdbc.mysql.url=jdbc:mysql://192.168.0.110:3306/ftpdata?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&autoReconnect=true&failOverReadOnly=false
|
||||||
|
|
||||||
# 用户名
|
# 用户名
|
||||||
jdbc.mysql.username=root
|
jdbc.mysql.username=root
|
||||||
# 密码
|
# 密码
|
||||||
jdbc.mysql.password=root
|
jdbc.mysql.password=root
|
||||||
|
|
||||||
#=============================================================================================================
|
#=============================================================================================================
|
||||||
# Oracle 连接配置
|
# Oracle 连接配置
|
||||||
#=============================================================================================================
|
#=============================================================================================================
|
||||||
# hui用户名
|
# hui用户名
|
||||||
gather-user-name=system
|
gather-user-name=system
|
||||||
gather-standard-user-name=u_bzbjy
|
gather-standard-user-name=u_bzbjy
|
||||||
gather-standard-exec-table-name=kzxzb
|
gather-standard-exec-table-name=kzxzb
|
||||||
gather-standard-pay-table-name=zfxxb
|
gather-standard-pay-table-name=zfxxb
|
||||||
# 密码
|
# 密码
|
||||||
gather-user-password=oracle
|
gather-user-password=oracle
|
||||||
|
|
||||||
#
|
#
|
||||||
gather-port=1521
|
gather-port=1521
|
||||||
#
|
#
|
||||||
gather-service-name=orcl
|
gather-service-name=orcl
|
||||||
#=============================================================================================================
|
#=============================================================================================================
|
||||||
# 数据库公共配置
|
# 数据库公共配置
|
||||||
#=============================================================================================================
|
#=============================================================================================================
|
||||||
jdbc.initialSize=5
|
jdbc.initialSize=5
|
||||||
jdbc.minIdle=5
|
jdbc.minIdle=5
|
||||||
jdbc.maxIdle=20
|
jdbc.maxIdle=20
|
||||||
jdbc.maxActive=100
|
jdbc.maxActive=100
|
||||||
jdbc.maxWait=100000
|
jdbc.maxWait=100000
|
||||||
jdbc.defaultAutoCommit=false
|
jdbc.defaultAutoCommit=false
|
||||||
jdbc.removeAbandoned=true
|
jdbc.removeAbandoned=true
|
||||||
jdbc.removeAbandonedTimeout=600
|
jdbc.removeAbandonedTimeout=600
|
||||||
jdbc.testWhileIdle=true
|
jdbc.testWhileIdle=true
|
||||||
jdbc.timeBetweenEvictionRunsMillis=60000
|
jdbc.timeBetweenEvictionRunsMillis=60000
|
||||||
jdbc.numTestsPerEvictionRun=20
|
jdbc.numTestsPerEvictionRun=20
|
||||||
jdbc.minEvictableIdleTimeMillis=300000
|
jdbc.minEvictableIdleTimeMillis=300000
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
#
|
#
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
table-suffix=_20152016
|
table-suffix=_20152016
|
||||||
|
|
||||||
gather-tablespace-name=TS_TTSSS
|
gather-tablespace-name=TS_TTSSS
|
||||||
|
|
||||||
#dbf file's path must exist
|
#dbf file's path must exist
|
||||||
gather-tablespace-path=/opt/oracle/app/oradata/orcl/
|
gather-tablespace-path=/opt/oracle/app/oradata/orcl/
|
||||||
# user's password must exist
|
# user's password must exist
|
||||||
gather-table-user-password=user
|
gather-table-user-password=user
|
||||||
|
|
||||||
#kuber's url must exist
|
#kuber's url must exist
|
||||||
kubeMasterUrl=http://192.168.0.110:8080/
|
kubeMasterUrl=http://192.168.0.110:8080/
|
||||||
kubeMasterAddress=192.168.0.110:8080
|
|
||||||
|
kubeMasterAddress=192.168.0.110:8080
|
||||||
collect-user-name=system
|
|
||||||
collect-password=oracle
|
collect-user-name=system
|
||||||
collect-service-name=orcl
|
collect-password=oracle
|
||||||
# standard table :
|
collect-service-name=orcl
|
||||||
# eg:sql -> select count(*) from u_bzbjy.kzxzb; select count(*) from u_bzbjy.zfxxb;
|
# standard table :
|
||||||
collect-user-table=U_BZBJY
|
# eg:sql -> select count(*) from u_bzbjy.kzxzb; select count(*) from u_bzbjy.zfxxb;
|
||||||
collect-exec-table=KZXZB
|
collect-user-table=U_BZBJY
|
||||||
collect-pay-table=ZFXXB
|
collect-exec-table=KZXZB
|
||||||
#gfs web's IP
|
collect-pay-table=ZFXXB
|
||||||
gfs_control_ip=192.168.0.110
|
#gfs web's IP
|
||||||
#gfs web password of root
|
gfs_control_ip=192.168.0.110
|
||||||
gfs_control_rootPassWd=root
|
#gfs web password of root
|
||||||
#url of gfs web
|
gfs_control_rootPassWd=root
|
||||||
HttpClientConstant_URL_IP_PORT=http://192.168.0.110:9001/
|
#url of gfs web
|
||||||
#data between 6 month ago and now
|
HttpClientConstant_URL_IP_PORT=http://192.168.0.110:9001/
|
||||||
dataBefore=6
|
#data between 6 month ago and now
|
||||||
#move a data once
|
dataBefore=6
|
||||||
moveFileMaxNum=1
|
#move a data once
|
||||||
#import 5 rows of Excel once
|
moveFileMaxNum=1
|
||||||
numOneImportExcel=5
|
#import 5 rows of Excel once
|
||||||
oracle-orcl=orcl
|
numOneImportExcel=5
|
||||||
oracle-user=system
|
oracle-orcl=orcl
|
||||||
oracle-psw=oracle
|
oracle-user=system
|
||||||
|
oracle-psw=oracle
|
||||||
#=============================================================================================================
|
|
||||||
# windows path
|
#=============================================================================================================
|
||||||
#=============================================================================================================
|
# windows path
|
||||||
|
#=============================================================================================================
|
||||||
extract-log-localtion=D:\\test\\log\\
|
|
||||||
extract-standard-log-localtion=D:\\test\\log2\\
|
extract-log-localtion=D:\\test\\log\\
|
||||||
|
extract-standard-log-localtion=D:\\test\\log2\\
|
||||||
file_upload_path=D:\\test\\
|
|
||||||
file_download_path=D:\\test\\export.xlsx
|
file_upload_path=D:\\test\\
|
||||||
|
file_download_path=D:\\test\\export.xlsx
|
||||||
package_download_path=D:\\test\\
|
|
||||||
package_name=sql_script_standard
|
package_download_path=D:\\test\\
|
||||||
|
package_name=sql_script_standard
|
||||||
sql_script_path_last=D:\\test\\sql_script_last\\
|
|
||||||
sql_script_path_standard=D:\\test\\sql_script_standard\\
|
sql_script_path_last=D:\\test\\sql_script_last\\
|
||||||
|
sql_script_path_standard=D:\\test\\sql_script_standard\\
|
||||||
#=============================================================================================================
|
|
||||||
# linux path
|
#=============================================================================================================
|
||||||
#=============================================================================================================
|
# linux path
|
||||||
## extract's log file location
|
#=============================================================================================================
|
||||||
#extract-log-localtion=/home/web_manage/log/
|
## extract's log file location
|
||||||
## standard extract's log file location
|
#extract-log-localtion=/home/web_manage/log/
|
||||||
#extract-standard-log-localtion=/home/web_manage/log2/
|
## standard extract's log file location
|
||||||
##import excel file's location
|
#extract-standard-log-localtion=/home/web_manage/log2/
|
||||||
#file_upload_path=/excel_import_dir/
|
##import excel file's location
|
||||||
##export excel file's location
|
#file_upload_path=/excel_import_dir/
|
||||||
#file_download_path=/excel_export_dir/export.xlsx
|
##export excel file's location
|
||||||
##file package download's location
|
#file_download_path=/excel_export_dir/export.xlsx
|
||||||
#package_download_path=/
|
##file package download's location
|
||||||
##file package's name
|
#package_download_path=/
|
||||||
#package_name=DefaultDescription
|
##file package's name
|
||||||
##location of sql script lastest
|
#package_name=DefaultDescription
|
||||||
#sql_script_path_last=/DefaultDescription_last/
|
##location of sql script lastest
|
||||||
##location of sql script standard
|
#sql_script_path_last=/DefaultDescription_last/
|
||||||
#sql_script_path_standard=/DefaultDescription/
|
##location of sql script standard
|
||||||
|
#sql_script_path_standard=/DefaultDescription/
|
||||||
|
@ -1,129 +1,130 @@
|
|||||||
package com.platform.utils;
|
package com.platform.utils;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
/** 配置启动 变量
|
/** 配置启动 变量
|
||||||
* @author chen
|
* @author chen
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Configs {
|
public class Configs {
|
||||||
|
|
||||||
/** 全局自定义异常--编码 */
|
/** 全局自定义异常--编码 */
|
||||||
public static final String GLOBAL_EXP_CUSTOM = "3001001001";
|
public static final String GLOBAL_EXP_CUSTOM = "3001001001";
|
||||||
|
|
||||||
/** 全局非自定义异常--编码 */
|
/** 全局非自定义异常--编码 */
|
||||||
public static final String GLOBAL_EXP_NOT_CUSTOM = "3001001002";
|
public static final String GLOBAL_EXP_NOT_CUSTOM = "3001001002";
|
||||||
|
|
||||||
public static final String CONFIG_LOCALTION = "WebContent/WEB-INF/config/config.properties";
|
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 CONSOLE_LOGGER = Logger.getLogger("console");
|
||||||
|
|
||||||
public static final Logger DAILY_ROLLING_LOGGER = Logger
|
public static final Logger DAILY_ROLLING_LOGGER = Logger
|
||||||
.getLogger("dailyRollingFile");
|
.getLogger("dailyRollingFile");
|
||||||
|
|
||||||
public static final Logger DAILY_LOGGER = Logger.getLogger("railyFile");
|
public static final Logger DAILY_LOGGER = Logger.getLogger("railyFile");
|
||||||
|
|
||||||
public static final Logger LOGGER = Logger.getLogger(Configs.class);
|
public static final Logger LOGGER = Logger.getLogger(Configs.class);
|
||||||
|
|
||||||
public static String KUBE_MASTER_URL = "http://192.168.0.110:8080/"; // kubernetes集群的maser
|
public static String KUBE_MASTER_URL = "http://192.168.0.110:8080/"; // kubernetes集群的maser
|
||||||
// URl
|
// URl
|
||||||
|
|
||||||
public static String KUBE_MASTER_ADDRESS="127.0.0.1:8080";
|
public static String KUBE_MASTER_ADDRESS="127.0.0.1:8080";
|
||||||
|
|
||||||
public static int ORACLE_DEFAULT_PORT = 1521; // oracle的默认端口号
|
|
||||||
|
public static int ORACLE_DEFAULT_PORT = 1521; // oracle的默认端口号
|
||||||
public static String COLLECT_USER_NAME = "system"; //采集统一的登入用户名
|
|
||||||
|
public static String COLLECT_USER_NAME = "system"; //采集统一的登入用户名
|
||||||
public static String COLLECT_PASSWORD = "oracle"; //采集统一的登入密码
|
|
||||||
|
public static String COLLECT_PASSWORD = "oracle"; //采集统一的登入密码
|
||||||
public static String COLLECT_SERVICE_NAME = "orcl"; //采集库统一的服务名
|
|
||||||
|
public static String COLLECT_SERVICE_NAME = "orcl"; //采集库统一的服务名
|
||||||
public static String GATHER_PORT ="1521"; //汇总库的端口号
|
|
||||||
|
public static String GATHER_PORT ="1521"; //汇总库的端口号
|
||||||
public static String GATHER_USER_NAME = "system"; //汇总库的登入用户名
|
|
||||||
|
public static String GATHER_USER_NAME = "system"; //汇总库的登入用户名
|
||||||
public static String GATHER_USER_PASSWORD = "1"; //汇总库的登入密码
|
|
||||||
|
public static String GATHER_USER_PASSWORD = "1"; //汇总库的登入密码
|
||||||
/** 抽取标准表 的 标准表所在 用户 */
|
|
||||||
public static String GATHER_STANDARD_USER_NAME = "u_bzbjy";
|
/** 抽取标准表 的 标准表所在 用户 */
|
||||||
|
public static String GATHER_STANDARD_USER_NAME = "u_bzbjy";
|
||||||
/** 可执行表名 */
|
|
||||||
public static String GATHER_STANDARD_EXEC_TABLE_NAME = "kzxzb";
|
/** 可执行表名 */
|
||||||
|
public static String GATHER_STANDARD_EXEC_TABLE_NAME = "kzxzb";
|
||||||
/** 可支付表名 */
|
|
||||||
public static String GATHER_STANDARD_PAY_TABLE_NAME = "zfxxb";
|
/** 可支付表名 */
|
||||||
|
public static String GATHER_STANDARD_PAY_TABLE_NAME = "zfxxb";
|
||||||
public static String GATHER_SERVICE_NAME = "orcl"; //汇总库的服务名
|
|
||||||
|
public static String GATHER_SERVICE_NAME = "orcl"; //汇总库的服务名
|
||||||
public static String TABLE_SUFFIX = "_20152016"; //汇总库汇总表的后缀名
|
|
||||||
|
public static String TABLE_SUFFIX = "_20152016"; //汇总库汇总表的后缀名
|
||||||
public static String EXTRACT_LOG_LOCALTION = "D:\\log"; //数据汇总日志保存位置
|
|
||||||
|
public static String EXTRACT_LOG_LOCALTION = "D:\\log"; //数据汇总日志保存位置
|
||||||
public static String EXTRACT_STANDARD_LOG_LOCALTION = "D:\\log2"; //数据抽取日志保存位置
|
|
||||||
|
public static String EXTRACT_STANDARD_LOG_LOCALTION = "D:\\log2"; //数据抽取日志保存位置
|
||||||
public static String GATHER_TABLESPACE_NAME=""; //表空间名
|
|
||||||
|
public static String GATHER_TABLESPACE_NAME=""; //表空间名
|
||||||
public static String GATHER_TABLESPACE_PATH=""; //表空间路径
|
|
||||||
|
public static String GATHER_TABLESPACE_PATH=""; //表空间路径
|
||||||
public static String GATHER_TABLE_PASSWORD="1"; //登入密码
|
|
||||||
|
public static String GATHER_TABLE_PASSWORD="1"; //登入密码
|
||||||
/** excel上传路径 */
|
|
||||||
public static String FILE_UPLOAD_PATH="";
|
/** excel上传路径 */
|
||||||
|
public static String FILE_UPLOAD_PATH="";
|
||||||
/** excel下载路经 */
|
|
||||||
public static String FILE_DOWNLOAD_PATH="";
|
/** excel下载路经 */
|
||||||
|
public static String FILE_DOWNLOAD_PATH="";
|
||||||
/** 包下载路径 */
|
|
||||||
public static String PACKAGE_DOWNLOAD_PATH="";
|
/** 包下载路径 */
|
||||||
|
public static String PACKAGE_DOWNLOAD_PATH="";
|
||||||
/** 下载包名 */
|
|
||||||
public static String PACKAGE_NAME="";
|
/** 下载包名 */
|
||||||
|
public static String PACKAGE_NAME="";
|
||||||
/**
|
|
||||||
* 最新脚本的位置
|
/**
|
||||||
*/
|
* 最新脚本的位置
|
||||||
public static String SQL_SCRIPT_PATH_LAST="D:\\test\\sql_script_last\\";
|
*/
|
||||||
/** 归档脚本的位置 */
|
public static String SQL_SCRIPT_PATH_LAST="D:\\test\\sql_script_last\\";
|
||||||
public static String SQL_SCRIPT_PATH_STANDARD="D:\\test\\sql_script_standard\\";
|
/** 归档脚本的位置 */
|
||||||
|
public static String SQL_SCRIPT_PATH_STANDARD="D:\\test\\sql_script_standard\\";
|
||||||
/**
|
|
||||||
* 多少 个月前的数据
|
/**
|
||||||
*/
|
* 多少 个月前的数据
|
||||||
public static int dataBefore = 6;
|
*/
|
||||||
|
public static int dataBefore = 6;
|
||||||
/**
|
|
||||||
* excel导入一次批量导入5个
|
/**
|
||||||
*/
|
* excel导入一次批量导入5个
|
||||||
public static int NUM_ONE_IMPORT_EXCEL = 5;
|
*/
|
||||||
|
public static int NUM_ONE_IMPORT_EXCEL = 5;
|
||||||
/**
|
|
||||||
* docker启动的 oracle服务 的 实例名称
|
/**
|
||||||
*/
|
* docker启动的 oracle服务 的 实例名称
|
||||||
public static String ORACLE_ORCL = "orcl";
|
*/
|
||||||
|
public static String ORACLE_ORCL = "orcl";
|
||||||
/**
|
|
||||||
* docker启动的 oracle服务 的 实例登陆用户名
|
/**
|
||||||
*/
|
* docker启动的 oracle服务 的 实例登陆用户名
|
||||||
public static String ORACLE_USER = "system";
|
*/
|
||||||
|
public static String ORACLE_USER = "system";
|
||||||
/**
|
|
||||||
* docker启动的 oracle服务 的 实例登陆密码
|
/**
|
||||||
*/
|
* docker启动的 oracle服务 的 实例登陆密码
|
||||||
public static String ORACLE_PSW = "oracle";
|
*/
|
||||||
|
public static String ORACLE_PSW = "oracle";
|
||||||
/**
|
|
||||||
* 采集库中的 标准表所在 的 用户
|
/**
|
||||||
*/
|
* 采集库中的 标准表所在 的 用户
|
||||||
public static String COLLECT_STANDARD_TABLE_USER = "u_bzbjy";
|
*/
|
||||||
|
public static String COLLECT_STANDARD_TABLE_USER = "u_bzbjy";
|
||||||
/**
|
|
||||||
* 可执行的 标准表的 名
|
/**
|
||||||
*/
|
* 可执行的 标准表的 名
|
||||||
public static String COLLECT_EXEC_TABLE = "kzxzb";
|
*/
|
||||||
|
public static String COLLECT_EXEC_TABLE = "kzxzb";
|
||||||
/**
|
|
||||||
* 支付的 标准表的 名
|
/**
|
||||||
*/
|
* 支付的 标准表的 名
|
||||||
public static String COLLECT_PAY_TABLE = "zfxxb";
|
*/
|
||||||
|
public static String COLLECT_PAY_TABLE = "zfxxb";
|
||||||
}
|
|
||||||
|
}
|
||||||
|
Loading…
Reference in new issue