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.
80 lines
2.1 KiB
80 lines
2.1 KiB
spring:
|
|
datasource:
|
|
url: jdbc:mysql://10.10.14.210:22066/yltcharge?useUnicode=true&useSSL=false&characterEncoding=UTF-8&useSSL=false
|
|
username: yltcharge
|
|
password: yltcharge
|
|
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:
|
|
host: 10.10.14.210
|
|
port: 27017
|
|
database: yltcharge
|
|
username: yltcharge
|
|
password: yltcharge
|
|
|
|
|
|
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: batteryServer-1.1
|
|
serverType: 1
|
|
trackPacket: false
|
|
maxClient: 20000
|
|
timeout: 60
|
|
decoder: com.charge.protocol.common.msg.kstar.decoder.KStarV1TransDecoder
|
|
initPlugin: com.charge.kstar.netty.v1.plug.KStarV1Plug
|
|
logger: BATTERY_LOG
|
|
focusLogger: focuson
|
|
port: 7077
|
|
filter:
|
|
UnsessionCommand: 0x02,0x01,0x20,0x14,0X06,0X07,0XA0,0X41,0X10
|
|
MostActiveCmd: 202,204,206
|
|
ExpiredCommand:
|
|
TrackedCommand:
|
|
FocusOn: false
|
|
FocusPiles:
|
|
- serverID: 2
|
|
serverName: batteryServer-2.1
|
|
serverType: 2
|
|
trackPacket: false
|
|
maxClient: 20000
|
|
timeout: 60
|
|
decoder: com.charge.protocol.common.msg.kstar.decoder.KStarV2TransDecoder
|
|
initPlugin: com.charge.kstar.netty.v2.plug.KStarV2Plug
|
|
logger: BATTERY_LOG
|
|
focusLogger: focuson
|
|
port: 7078
|
|
filter:
|
|
UnsessionCommand: 0x02,0x01,0x20,0x14,0X06,0X07,0XA0,0X41,0X10
|
|
MostActiveCmd: 202,204,206
|
|
ExpiredCommand:
|
|
TrackedCommand:
|
|
FocusOn: false
|
|
FocusPiles:
|