
# //TODO 如果只启用1个，把两边数据源，配置成一样就行，避免启动报错

# //TODO 转运配置
mysql1.spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
mysql1.spring.datasource.driver-class-name=com.mysql.jdbc.Driver
# 南京
#mysql1.spring.datasource.url=jdbc:mysql://192.144.201.19:3306/hsms2_0622?autoReconnect=true&useUnicode=true&characterEncoding=utf8
#mysql1.spring.datasource.url=jdbc:mysql://192.168.3.108:3306/hsms2_0622?autoReconnect=true&useUnicode=true&characterEncoding=utf8
#白求恩
mysql1.spring.datasource.url=jdbc:mysql://172.17.1.150:3306/hsms?autoReconnect=true&useUnicode=true&characterEncoding=utf8
mysql1.spring.datasource.username=root
#白求恩
mysql1.spring.datasource.password=DStech@123
# 南京
#mysql1.spring.datasource.password=100100

# 下面为连接池的补充设置，应用到上面所有数据源中
# 初始化大小，最小，最大
mysql1.spring.datasource.initialSize=3
mysql1.spring.datasource.minIdle=1
mysql1.spring.datasource.maxActive=150
# 配置获取连接等待超时的时间
mysql1.spring.datasource.maxWait=60000
# 配置间隔多久才进行一次检测，检测需要关闭的空闲连接，单位是毫秒
mysql1.spring.datasource.timeBetweenEvictionRunsMillis=60000
# 配置一个连接在池中最小生存的时间，单位是毫秒
mysql1.spring.datasource.minEvictableIdleTimeMillis=300000
# Oracle请使用select 1 from dual
mysql1.spring.datasource.validationQuery=SELECT 'x'
mysql1.spring.datasource.testWhileIdle=true
mysql1.spring.datasource.testOnBorrow=true
mysql1.spring.datasource.testOnReturn=true


# //TODO ITSM配置
mysql2.spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
mysql2.spring.datasource.driver-class-name=com.mysql.jdbc.Driver
# 南京
#mysql2.spring.datasource.url=jdbc:mysql://192.144.201.19:3306/md2?autoReconnect=true&useUnicode=true&characterEncoding=utf8
#mysql2.spring.datasource.url=jdbc:mysql://192.168.3.111:3306/md2?autoReconnect=true&useUnicode=true&characterEncoding=utf8
#白求恩
mysql2.spring.datasource.url=jdbc:mysql://172.17.1.150:3306/mdv2?autoReconnect=true&useUnicode=true&characterEncoding=utf8
mysql2.spring.datasource.username=root
#白求恩
mysql2.spring.datasource.password=DStech@123
# 南京
#mysql2.spring.datasource.password=100100

mysql2.spring.datasource.initialSize=3
mysql2.spring.datasource.minIdle=1
mysql2.spring.datasource.maxActive=150
mysql2.spring.datasource.maxWait=60000
mysql2.spring.datasource.timeBetweenEvictionRunsMillis=60000
mysql2.spring.datasource.minEvictableIdleTimeMillis=300000
mysql2.spring.datasource.validationQuery=SELECT 'x'
mysql2.spring.datasource.testWhileIdle=true
mysql2.spring.datasource.testOnBorrow=true
mysql2.spring.datasource.testOnReturn=true

#project=HSMS
#project=ITSM
#project=ALL
#ALL就是一站式，两个项目都部署了
project=HSMS
#配置呼叫中心以哪个项目为主，ITSM或者HSMS。单项目与project一致即可
project.main=HSMS
# 常规
db.hjzx.record.nginx=/hjzxRecord
# 南京
#db.hjzx.record.nginx=/record/192.144.21.171
db.hjzx.record.path.regex=voice


#白求恩
spring.redis.host=172.17.1.149
#spring.redis.host=192.168.245.108
#spring.redis.host=localhost
spring.redis.port=6379
spring.redis.password=Redis@#6379pwD
spring.redis.pool.max-total=100
spring.redis.pool.max-idle=20
spring.redis.pool.max-wait-millis=10000
spring.profiles.active=custom

server.port=29999
spring.jps.showsql=true
server.tomcat.compression=on

spring.jackson.parser.allow-numeric-leading-zeros=true