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.

338 lines
8.1 KiB

12 months ago
# JWT 用于鉴权,目前我用不上
1 year ago
jwt:
secret: ZXZnZWVr5b+r5LmQ5L2g55qE5Ye66KGM
filter:
12 months ago
should_not_filter: # 不需要过滤的url
1 year ago
- /mgrApi/saasUser/login
- /mgrApi/saasUser/mobileLogin
- /orderbkapi/export
- /userapi/export
- /deviceapi/geomagnetic/updateGeomagneticRealState
- /orderbkapi/activityNew/test
12 months ago
# 网关配置
1 year ago
zuul:
#路径配置
routes:
#新管理模块
mgrApi:
12 months ago
stripPrefix: false # 前缀配置
1 year ago
path: /mgrApi/**
sensitiveHeaders:
#充电用户管理模块
userapi:
stripPrefix: false
path: /userapi/**
sensitiveHeaders:
#saas运营商管理模块
operatorapi:
stripPrefix: false
path: /operatorapi/**
sensitiveHeaders:
#财务管理模块
financeapi:
stripPrefix: true
path: /financeapi/**
sensitiveHeaders:
#运营商账户模块
operatorBill:
stripPrefix: true
path: /operatorBill/**
sensitiveHeaders:
#数据分析(充值)模块
recManager:
stripPrefix: false
path: /recManager/**
sensitiveHeaders:
#订单管理模块
orderapi:
stripPrefix: false
path: /orderapi/**
sensitiveHeaders:
#订单后台模块
orderbkapi:
stripPrefix: false
path: /orderbkapi/**
sensitiveHeaders:
#导出模块
exportapi:
stripPrefix: false
path: /exportapi/**
sensitiveHeaders:
#充电站活动管理模块
stationActivity:
stripPrefix: false
path: /stationActivity/**
sensitiveHeaders:
#旧充电站活动管理模块
oldStationActivity:
stripPrefix: false
path: /oldStationActivity/**
sensitiveHeaders:
#活动通知管理模块
activityNotice:
stripPrefix: false
path: /activityNotice/**
sensitiveHeaders:
#代理商管理模块
agent:
stripPrefix: false
path: /agent/**
sensitiveHeaders:
#充电站管理模块
station:
stripPrefix: false
path: /station/**
sensitiveHeaders:
#充电桩管理模块
equipment:
stripPrefix: false
path: /equipment/**
sensitiveHeaders:
#充电枪管理模块
connector:
stripPrefix: false
path: /connector/**
sensitiveHeaders:
#saas充电站管理模块
saasstation:
stripPrefix: false
path: /saasstation/**
sensitiveHeaders:
#saas充电桩管理模块
saasequipment:
stripPrefix: false
path: /saasequipment/**
sensitiveHeaders:
#saas充电枪管理模块
saasconnector:
stripPrefix: false
path: /saasconnector/**
sensitiveHeaders:
#企业管理模块
company:
stripPrefix: false
path: /company/**
sensitiveHeaders:
#运营商管理模块
operator:
stripPrefix: false
path: /operator/**
sensitiveHeaders:
#旧运营商管理模块
platform:
stripPrefix: false
path: /platform/**
sensitiveHeaders:
#监控中心管理模块
monitoring:
stripPrefix: false
path: /monitoring/**
sensitiveHeaders:
#计费规则模块
equipmentPricingRule:
stripPrefix: false
path: /equipmentPricingRule/**
sensitiveHeaders:
#region查询省市模块
region:
stripPrefix: false
path: /region/**
sensitiveHeaders:
#协议模块
protocolapi:
stripPrefix: false
path: /protocolapi/**
sensitiveHeaders:
#首页桩待办模块(建雄)
distribute:
stripPrefix: false
path: /distribute/**
sensitiveHeaders:
saas:
stripPrefix: false
path: /saas/**
sensitiveHeaders:
#外接监控接口
# openapi:
# stripPrefix: false
# path: /openapi/**
# sensitiveHeaders:
# api:
# stripPrefix: false
# path: /api/**
# sensitiveHeaders:
#测试模块
testapi:
stripPrefix: false
path: /testapi/**
sensitiveHeaders:
#手机助手
mobileapi:
stripPrefix: false
path: /mobileapi/**
sensitiveHeaders:
#第三方设备
deviceapi:
stripPrefix: false
path: /deviceapi/**
sensitiveHeaders:
#监控平台(G端)
monitorapi:
stripPrefix: false
path: /monitor/api/**
sensitiveHeaders:
#互联互通模块
openapi:
stripPrefix: true
path: /openapi/**
sensitiveHeaders:
12 months ago
# 服务主机注册配置
orderbkapi:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7011
exportapi:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7011
1 year ago
operatorBill:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7011
distribute:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7011
protocolapi:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7012
recManager:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7014
openapi:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7014
1 year ago
stationActivity:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
oldStationActivity:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
activityNotice:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
agent:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
station:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
equipment:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
connector:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
saasstation:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
saasequipment:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
saasconnector:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
company:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
operator:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
platform:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
monitoring:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
equipmentPricingRule:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
1 year ago
region:
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
saas:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
mgrApi:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7020
orderapi:
ribbon:
listOfServers: http://10.10.21.20:7021
userapi:
ribbon:
listOfServers: http://10.10.21.20:7022
operatorapi:
ribbon:
listOfServers: http://10.10.21.20:7022
financeapi:
1 year ago
ribbon:
12 months ago
listOfServers: http://10.10.21.20:7025
# 未找到此项目
1 year ago
monitorapi:
ribbon:
listOfServers: http://i100c.3322.org:30731
12 months ago
12 months ago
# 负载均衡
1 year ago
ribbon:
eureka:
enabled: false #禁用eureka不依赖 eureka
NFLoadBalancerRuleClassName: com.netflix.loadbalancer.AvailabilityFilteringRule #为所有服务配置统一规则,先过滤掉故障实例,再选择并发较小的实例
ReadTimeout: 100000 #请求处理的超时时间 默认1秒单位ms
ConnectTimeout: 100000 #请求连接的超时时间 默认1秒单位ms
MaxAutoRetries: 1 #对当前实例的重试次数 默认0
MaxAutoRetriesNextServer: 3 #切换实例的重试次数 默认1
12 months ago
# 熔断配置
1 year ago
hystrix:
command:
default:
execution:
timeout:
enabled: true #配置HystrixCommand的执行是否启用超时时间
isolation:
thread:
timeoutInMilliseconds: 8000 #配置HystrixCommand执行的超时时间执行超过该时间会进行服务降级处理 8s
12 months ago
# 数据库
1 year ago
spring:
data:
mongodb:
12 months ago
host: 10.10.14.210
1 year ago
port: 27017
12 months ago
database: yltcharge
username: yltcharge
password: yltcharge
1 year ago
dinger:
project-id: ${spring.application.name}-${spring.profiles.active}
dingers:
# 使用钉钉机器人, 请根据自己机器人配置信息进行修改
dingtalk:
# tokenId是创建机器人的webhook
tokenId: ad3700d79705ea1502e57c5fa170fda23d5c6502f3d0410a66dbc2a8e1d06986
# secret是创建机器人的加签
secret: SEC167efa8be3412d3b9dbf87286d9b837836aabd79cf20f9966001333a287a39a5