修改代码,增加普罗米修斯配置文件
This commit is contained in:
@ -141,18 +141,6 @@ mybatis-plus:
|
||||
# logic-delete-field: flag # 全局逻辑删除的实体字段名(since 3.3.0,配置后可以忽略不配置步骤2) @TableLogic
|
||||
logic-delete-value: deleted # 逻辑已删除值
|
||||
logic-not-delete-value: normal # 逻辑未删除值
|
||||
|
||||
# --------------feign ------------
|
||||
feign:
|
||||
httpclient:
|
||||
enabled: false
|
||||
okhttp:
|
||||
enabled: true
|
||||
client:
|
||||
config:
|
||||
default:
|
||||
connect-timeout: 20000
|
||||
read-timeout: 20000
|
||||
|
||||
hystrix:
|
||||
command:
|
||||
@ -167,6 +155,7 @@ hystrix:
|
||||
circuitBreaker:
|
||||
sleepWindowInMilliseconds: 20000
|
||||
forceClosed: true
|
||||
|
||||
ribbon:
|
||||
ReadTimeout: 20000 #请求处理的超时时间
|
||||
ConnectTimeout: 20000 #请求连接超时时间
|
||||
@ -187,8 +176,18 @@ mconfig:
|
||||
file-wjpt-storage-path: http://111.198.162.67:8081/enr/api/base/file/cgDownload/ #测试地址
|
||||
#获取file地址
|
||||
file:
|
||||
address: http://125.32.114.204:8760/api/core-service-ebtp-updownload/v1/download/oid/
|
||||
address: http://10.242.31.158:8100/core-service-ebtp-updownload/v1/download/oid/
|
||||
#提交审批相关字段
|
||||
approve:
|
||||
wfSectionNo: 002
|
||||
wfSectionName: 采购审批
|
||||
|
||||
# 用户暴露给 prometheus 的健康数据
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "*"
|
||||
cors:
|
||||
allowed-origins: "*"
|
||||
allowed-methods: "*"
|
||||
|
Reference in New Issue
Block a user