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.

76 lines
2.1 KiB

spring:
datasource:
url: jdbc:mysql://rm-2vchv2m4c8dn72884.mysql.cn-chengdu.rds.aliyuncs.com:3306/ycharge?useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: ycharge
password: Ycharge666
driver-class-name: com.mysql.jdbc.Driver
druid:
stat-view-servlet:
allow: true
type: com.alibaba.druid.pool.DruidDataSource
filters: stat
maxActive: 20
data:
mongodb:
uri: mongodb://ycharge:ycharge@dds-2vc0a87af9cfc5841.mongodb.cn-chengdu.rds.aliyuncs.com:3717,dds-2vc0a87af9cfc5842.mongodb.cn-chengdu.rds.aliyuncs.com:3717/ycharge
stationapi:
ribbon:
listOfServers: http://ms-station:7020
orderapi:
ribbon:
listOfServers: http://ms-order:7017
userapi:
ribbon:
listOfServers: http://ms-user:7022
financeapi:
ribbon:
listOfServers: http://ms-finance:7014
#protocol_servers: [{serverid: 1,servername: company1,price: 200W},{id: 2,name: company2,price: 500W}]
protocol_servers:
name: server
list:
- serverID: 1
serverName: shengHongServer-4.5
serverType: 1
trackPacket: false
maxClient: 20000
timeout: 60
decoder: com.charge.protocol.netty.decoder.TransDecoder
initPlugin: com.charge.protocol.netty.v45.plug.PlugV45
logger: shenghongcommunicate
focusLogger: focuson
port: 7040
filter:
UnsessionCommand: 102,106,204,206
MostActiveCmd: 202,204,206
ExpiredCommand:
TrackedCommand:
FocusOn: false
FocusPiles:
- serverID: 2
serverName: shengHongServer-4.9
serverType: 2
trackPacket: false
maxClient: 20000
timeout: 60
decoder: com.charge.protocol.netty.decoder.TransDecoder
initPlugin: com.charge.protocol.netty.v49.plug.PlugV49
logger: shenghongcommunicate
focusLogger: focuson
port: 7041
filter:
UnsessionCommand: 102,106,204,206
MostActiveCmd: 202,204,206
ExpiredCommand:
TrackedCommand:
FocusOn: false
FocusPiles: