This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-argus-service/src/main/resources/nis.properties

219 lines
8.0 KiB
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#\u7ba1\u7406\u57fa\u7840\u8def\u5f84, \u9700\u540c\u6b65\u4fee\u6539\uff1aweb.xml
adminPath=/nis
#Restful\u670D\u52A1\u9ED8\u8BA4\u8DEF\u5F84<38>
servicePath=/service
#\u5206\u9875\u914d\u7f6e
page.pageSize=30
#\u5206\u9875\u914d\u7f6e
page.count=0
#\u7d22\u5f15\u9875\u8def\u5f84
web.view.index=/nis/index
#\u7f13\u5b58\u8bbe\u7f6e
ehcache.configFile=cache/ehcache-local.xml
#ehcache.configFile=cache/ehcache-rmi.xml
#\u4f1a\u8bdd\u8d85\u65f6\uff0c \u5355\u4f4d\uff1a\u6beb\u79d2\uff0c 20m=1200000ms, 30m=1800000ms, 60m=3600000ms
session.sessionTimeout=1800000
#\u4f1a\u8bdd\u6e05\u7406\u95f4\u9694\u65f6\u95f4\uff0c \u5355\u4f4d\uff1a\u6beb\u79d2\uff0c2m=120000ms\u3002
session.sessionTimeoutClean=120000
#\u9759\u6001\u6587\u4ef6\u540e\u7f00
web.staticFile=.css,.js,.png,.jpg,.gif,.jpeg,.bmp,.ico,.swf,.psd,.htc,.htm,.html,.crx,.xpi,.exe,.ipa,.apk
#\u7f51\u7ad9URL\u540e\u7f00
urlSuffix=.jsp
#\u89c6\u56fe\u6587\u4ef6\u5b58\u653e\u8def\u5f84
web.view.prefix=/WEB-INF/views/
web.view.suffix=.jsp
#\u662f\u5426\u4e0d\u5141\u8bb8\u5237\u65b0\u4e3b\u9875\uff0c\u4e0d\u5141\u8bb8\u60c5\u51b5\u4e0b\uff0c\u5237\u65b0\u4e3b\u9875\u4f1a\u5bfc\u81f4\u91cd\u65b0\u767b\u5f55
notAllowRefreshIndex=false
#\u524d\u7aef\u57fa\u7840\u8def\u5f84
frontPath=/f
#\u662F\u5426\u8FD0\u884C\u591A\u8D26\u6237\u540C\u65F6\u767B\u5F55?
user.multiAccountLogin=true
#\u7855\u6b63\u7ec4\u4ef6\u662f\u5426\u4f7f\u7528\u7f13\u5b58
supcan.useCache=false
#\u901a\u77e5\u95f4\u9694\u65f6\u95f4\u8bbe\u7f6e, \u5355\u4f4d\uff1a\u6beb\u79d2, 30s=30000ms, 60s=60000ms
work.notify.remind.interval=60000
#============================#
#===== System settings ======#
#============================#
#\u4ea7\u54c1\u4fe1\u606f\u8bbe\u7f6e
productName=galaxy
copyrightYear=2015
version=V1.0.0
#\u4e0a\u4f20\u6587\u4ef6\u7edd\u5bf9\u8def\u5f84, \u8def\u5f84\u4e2d\u4e0d\u5141\u8bb8\u5305\u542b\u201cuserfiles\u201d
userfiles.basedir=upload
# redis配置文件
#redis 各个分片的 IP端口
redis.cluster.host_port=10.0.6.32:6379,10.0.6.32:6380,10.0.6.32:6381,10.0.6.33:6379,10.0.6.33:6380,10.0.6.33:6381
#中心现场redis地址和端口
#redis.cluster.host_port=10.174.196.33:6379,10.174.196.33:6380,10.174.196.33:6381,10.174.196.34:6379,10.174.196.34:6380,10.174.196.34:6381,10.174.196.35:6379,10.174.196.35:6380,10.174.196.35:6381,10.174.196.36:6379,10.174.196.36:6380,10.174.196.36:6381,10.174.196.37:6379,10.174.196.37:6380,10.174.196.37:6381,10.174.196.38:6379,10.174.196.38:6380,10.174.196.38:6381,10.174.196.39:6379,10.174.196.39:6380,10.174.196.39:6381
redis.cluster.connectiontimeout=5000
redis.cluster.sotimeout=5000
redis.cluster.maxattempts=3
#redis连接池相关配置
redis.pool.maxtotal=500
redis.pool.maxidle=500
redis.pool.maxwaitmillis=-1
redis.pool.blockwhenexhausted=true
redis.pool.numtestsperevictionrun=60000
redis.pool.testonborrow=true
redis.pool.testonreturn=false
redis.pool.testwhileidle=true
redis.pool.timebetweenevictionrunsmillis=60000
redis.pool.minevictableidletimemillis=60000
#oracle数据redis存储时间(秒为单位 默认3分钟即180s)
oracleExpire=180
#hive数据中心数据redis存储时间(秒为单位 默认20分钟即1200s)
hiveExpire=300
#redis开关
isOpenRedis=false
#是否将数据中心的日志加入到redis中
dataCenterOpenRedis=true
#跨域问题允许 的url Access-Control-Allow-Origin *允许所有设置成其他url只允许该url.不能设置多个url
target_url=*
#跨域问题 3600表明在3600秒内不需要再发送预请求可以缓存该结果
ACCESS_CONTROL_MAX_AGE=3600
##########HTTPCLIENT POOL START###################
#从连接池中获取到连接的最长时间
http.request.connectionRequestTimeout=500
#5000
http.request.connectTimeout=5000
#数据传输的最长时间
http.request.socketTimeout=30000
#提交请求前测试连接是否可用
http.request.staleConnectionCheckEnabled=true
#设置连接总数
http.pool.maxTotal=200
#设置每个地址的并发数
http.pool.defaultMaxPerRoute=100
##########HTTPCLIENT POOL END###################
search.dateformat=yyyy-MM-dd HH:mm:ss
search.eshostandport_A=10.0.6.115:9200
search.eshostandport_B=10.0.6.115:9200
search.eshostandport_C=10.0.6.115:9200
#search.eshostandport=10.174.196.135:9200
#日志是否从hive中查询
selFromHive=false
#是否获取数据中心查询记录的总条数
isGetHiveCount=false
#每次获取数据中心多少条数据,咱们在对获取的数据进行分页处理
everyGetHiveDataNum=100000
#oracle数据库有问题不从oracle查询数据,所有日志数据均从数据中心查询
onlySelFromHive=false
#\u662F\u5426\u67E5\u8BE2\u795E\u901A\u6570\u636E\u5E93
isSelectCluster=true
#用户查询日志超过多少小时去数据中心查询
dataCenterTime=48
#\u65E5\u5FD7\u5B58\u50A8\u672C\u5730\u65F6\u95F4(\u5355\u4F4D\u5C0F\u65F6)
logLocalTime=48
#\u5B9E\u65F6\u7EDF\u8BA1\u9ED8\u8BA4\u67E5\u8BE2\u672C\u5730\u4E00\u4E2A\u5C0F\u65F6\u7684\u6570\u636E(\u5355\u4F4D\uFF1A\u5C0F\u65F6)
reportLocalTime=1
#\u795E\u901A\u6570\u636E\u5E93\u6700\u65E9\u65E5\u5FD7\u65F6\u95F4(A\u7248\u6BEB\u79D2)
#2017-08-13 10:07:25
clusterAStartTime=1503504000725
#\u795E\u901A\u6570\u636E\u5E93\u6700\u65E9\u7ED3\u675F\u65F6\u95F4(B\u7248\u6BEB\u79D2)
#2017-08-13 10:07:25
clusterBStartTime=1503504000725
############################################################################################################################################
#设置配置是否入库
############################################################################################################################################
isCommit=true
############################################################################################################################################
############################################################################################################################################
httpUrl=http://127.0.0.1:8080/galaxy/service/cfg/v1/configSources
#use elasticsearch or not#
isUseES=false
####galaxy 使用########################################################################################################################################
#是否开启基础验证
baseValidate=true
#是否开启业务验证
serviceValidate=true
maxPageSize=100000
#是否开启Debug模式
isDebug=false
#保存请求内容时最大的资源列表size
maxListSize=10
#实时报表统计时间,单位:分钟
pzReportTime=5
#文件摘要获取工具目录
digest.gen.tool.path=maat-redis/digest_gen
#redis中有多少个数据库(需要加1,代码中用的小于不是小于等于)
maxRedisDBIndex=16
##存放编译,分组,域配置id关系的redis数据库编号
idRelaRedisDBIndex=15
#存储分组复用域配置的redisdb
tmpStorageReuseRegionDB=15
##实时统计(编译配置)数据表达式
redisStatisticsReal=[COMPILE_ID];\t;[SERVICE];\t;[ACTION];\t;[CONT_TYPE];\t;[ATTR_TYPE];\t;[CONT_LABEL];\t;[TASK_ID];\t;[AFFAIR_ID];\t;[DO_BLACKLIST];\t;[DO_LOG];\t;[EFFECTIVE_RANGE];\t;[START_TIME];\t;[END_TIME];\t;[USER_REGION];\t;[IS_VALID];\t;[GROUP_NUM];\t;[FATHER_CFG_ID];\t;[OP_TIME]
##存储实时统计数据的redisdb
redisStatisticsRealDBIndex=14
#maat测试程序输出日志的文件目录
maatTestLogPath=c:/maat/mmat.log
#maatTestLogPath=/home/maat/mmat.log
#样例文件存放目录,{tableType}和{fileName}会替换成具体内容
mmSampleDstPath=/home/mesasoft/{tableType}/full/{fileName}
##定时将redis主从库的实时统计数据同步到redis集群中
syncRedisToClusterCron=0/10 * * * * ?
#文件服务器是否使用Minio
isUseMinio=true
##存储到redis中的文件类型(拼接的前缀)
fileProtocol=redis://
#是否开启日志查询count和last功能
isOpenLogCountAndLast=true
#redis分布式锁超时时间,默认五分钟,3000秒
redisLockTime=3000
#获取redis分布式锁失败后的尝试获取锁的次数,每次失败暂停一秒钟后再次尝试
redisRetryNum=5