122 lines
5.0 KiB
YAML
122 lines
5.0 KiB
YAML
|
server:
|
|||
|
ipPort: 192.168.16.17:19527
|
|||
|
port: 9527
|
|||
|
servlet:
|
|||
|
session:
|
|||
|
timeout: 10
|
|||
|
tomcat:
|
|||
|
max-threads: 800
|
|||
|
uri-encoding: UTF-8
|
|||
|
spring:
|
|||
|
mvc:
|
|||
|
static-path-pattern: /static/**
|
|||
|
date-format: yyyy-MM-dd HH:mm:ss
|
|||
|
banner:
|
|||
|
charset: UTF-8
|
|||
|
devtools:
|
|||
|
restart:
|
|||
|
enabled: true
|
|||
|
additional-paths: src/main/java
|
|||
|
freemarker:
|
|||
|
check-template-location: false
|
|||
|
datasource:
|
|||
|
type: com.alibaba.druid.pool.DruidDataSource
|
|||
|
db1:
|
|||
|
driver-class-name: com.mysql.jdbc.Driver
|
|||
|
username: root
|
|||
|
password: yzcxzsa@1234567
|
|||
|
url: jdbc:mysql://192.168.16.17:3316/lepu_test_platform?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
|
|||
|
# password: root
|
|||
|
# url: jdbc:mysql://localhost:3306/lepu_test_platform?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
|
|||
|
initialSize: 5
|
|||
|
minIdle: 10
|
|||
|
maxActive: 1000
|
|||
|
maxWait: 60000 # 配置获取连接等待超时的时间
|
|||
|
timeBetweenEvictionRunsMillis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|||
|
minEvictableIdleTimeMillis: 300000 # 配置一个连接在池中最小生存的时间,单位是毫秒
|
|||
|
validationQuery: SELECT 1 # 验证连接是否有效。此参数必须设置为非空字符串,下面三项设置成true才能生效
|
|||
|
testWhileIdle: true # 指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
|
|||
|
testOnBorrow: false # 指明是否在从池中取出连接前进行检验,如果检验失败,则从池中去除连接并尝试取出另一个
|
|||
|
testOnReturn: false # 指明是否在归还到池中前进行检验
|
|||
|
poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
|
|||
|
maxPoolPreparedStatementPerConnectionSize: 20
|
|||
|
db2:
|
|||
|
driver-class-name: com.mysql.jdbc.Driver
|
|||
|
username: jira_read
|
|||
|
password: 5Fl6IuXq0jf73PV3wm-
|
|||
|
url: jdbc:mysql://10.0.14.5:3316/jira?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
|
|||
|
initialSize: 5
|
|||
|
minIdle: 10
|
|||
|
maxActive: 1000
|
|||
|
maxWait: 60000 # 配置获取连接等待超时的时间
|
|||
|
timeBetweenEvictionRunsMillis: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|||
|
minEvictableIdleTimeMillis: 300000 # 配置一个连接在池中最小生存的时间,单位是毫秒
|
|||
|
validationQuery: SELECT 1 # 验证连接是否有效。此参数必须设置为非空字符串,下面三项设置成true才能生效
|
|||
|
testWhileIdle: true # 指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
|
|||
|
testOnBorrow: false # 指明是否在从池中取出连接前进行检验,如果检验失败,则从池中去除连接并尝试取出另一个
|
|||
|
testOnReturn: false # 指明是否在归还到池中前进行检验
|
|||
|
poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
|
|||
|
maxPoolPreparedStatementPerConnectionSize: 20
|
|||
|
jackson:
|
|||
|
time-zone: GMT+08:00
|
|||
|
date-format: yyyy-MM-dd HH:mm:ss
|
|||
|
serialization: false
|
|||
|
servlet:
|
|||
|
multipart:
|
|||
|
enabled: true
|
|||
|
file-size-threshold: 2KB
|
|||
|
max-file-size: 200MB
|
|||
|
max-request-size: 215MB
|
|||
|
http:
|
|||
|
multipart:
|
|||
|
max-file-size: 100Mb
|
|||
|
max-request-size: 200Mb
|
|||
|
|
|||
|
org:
|
|||
|
quartz:
|
|||
|
threadPool:
|
|||
|
class: org.quartz.simpl.SimpleThreadPool # 线程池类
|
|||
|
threadCount: 10 # 线程个数
|
|||
|
threadPriority: 5 # 线程优先级
|
|||
|
threadsInheritContextClassLoaderOfInitializingThread: true
|
|||
|
wrapJobExecutionInUserTransaction: true
|
|||
|
jobStore:
|
|||
|
misfireThreshold: 60000
|
|||
|
class: org.quartz.simpl.RAMJobStore # 配置任务调度现场数据保存机制,默认保存在内存
|
|||
|
acquireTriggersWithinLock: true
|
|||
|
|
|||
|
file:
|
|||
|
upload-dir: files/uploads/
|
|||
|
|
|||
|
wechat:
|
|||
|
corpid: ww4af34787f94608da
|
|||
|
corpsecret: KTEx2sfK6cpHwwpk7gblQSgreuFvBaV8gSzKj6BVbRY
|
|||
|
agentid: 1000002
|
|||
|
contentKey: content
|
|||
|
touser: SunJian|ChenYun # 多个人时 | 分割(如:zhangSan|liSi|wangWu)
|
|||
|
chatid: wrJbKgCQAAsJnC6eZzf9ZjPufMbIBQMQ # lepuTestOne
|
|||
|
group_hook_key: 33994525-f80a-4166-bcab-1814d159030b # 5408a3b3-ff60-4fb1-a0e5-935fc6cb8477(lepuTestOne) cba30bb5-4174-4760-b08f-91259030f295(乐普主体&&&研发一部测试组)
|
|||
|
sendMessage: true # false 不发送WeChat消息
|
|||
|
onlySendFailedTableData: true # true测试报告列表中仅包含失败的 false测试报告列表中包含成功+失败的
|
|||
|
|
|||
|
jwt:
|
|||
|
secret: A0B1C2D3E4F5G6H7I8J9KALBMCNDOEPFQ0R1S2T3U4V5W6X7Y8Z9
|
|||
|
authorised-urls: /**
|
|||
|
expire: 100 # token 过期时间 (分)
|
|||
|
|
|||
|
#分页配置
|
|||
|
pagehelper:
|
|||
|
helperDialect: mysql
|
|||
|
reasonable: true
|
|||
|
supportMethodsArguments: false
|
|||
|
params: count=countSql
|
|||
|
|
|||
|
mybatis:
|
|||
|
configuration:
|
|||
|
map-underscore-to-camel-case: true
|
|||
|
|
|||
|
# 配置日志打印等级
|
|||
|
logging:
|
|||
|
level:
|
|||
|
com.lepu.testplatform: debug
|