不均衡报价分析-项目列表

This commit is contained in:
yss
2024-03-07 17:16:05 +08:00
parent 44096a790d
commit 6204b73d4d
8 changed files with 523 additions and 35 deletions

View File

@ -3,23 +3,10 @@ server:
servlet:
context-path: /
# 对应 apollo 配置中心的应用名
app:
id: biz-service-ebtp-project-dev
# Apollo 配置信息
apollo:
meta: http://10.242.37.148:6001/
bootstrap:
namespace: application
enabled: true
eagerLoad:
enabled: true
seata:
service:
vgroup-mapping:
biz-service-ebtp-project-dev-service-group: default
biz-service-ebtp-project-ceshi-service-group: seata-server-jl
grouplist:
default: 10.242.37.148:18035
@ -29,7 +16,7 @@ spring:
proxy-target-class: true
application:
name: biz-service-ebtp-project-dev
name: biz-service-ebtp-project
shardingsphere:
datasource:
@ -38,9 +25,9 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: mall
password: unicom
jdbc-url: jdbc:mysql://10.125.160.26:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
url: jdbc:mysql://10.125.160.26:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
password: Unicom160_30
jdbc-url: jdbc:mysql://10.125.160.30:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
url: jdbc:mysql://10.125.160.30:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
filters: stat,wall,log4j
maxActive: 20
initialSize: 1
@ -55,9 +42,9 @@ spring:
poolPreparedStatements: true
maxOpenPreparedStatements: 20
connection-properties: druid.stat.merggSql=ture;druid.stat.slowSqlMillis=5000
props:
sql:
show: true
props:
sql:
show: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
@ -90,23 +77,27 @@ spring:
# 天宫 redis 需要使用哨兵进行访问
redis:
database:
idempotent: 0
sentinel:
master: eshop-redis
nodes: 10.125.164.124:32718, 10.125.164.118:32716, 10.125.164.121:32716
password: Unicom#135
database:
idempotent: 0
sharding: 1
cache: 2
backup: 3
# 天宫Eureka配置
eureka:
client:
service-url:
defaultZone: http://10.242.37.148:5001/eureka
defaultZone: http://10.242.31.158:5002/eureka,http://10.242.31.158:5003/eureka
instance:
prefer-ip-address: true
ip-address: 125.32.114.204
hostname: 125.32.114.204
instance-ip: 125.32.114.204:${server.port}
instance-id: 125.32.114.204:${server.port}
mybatis-plus:
configuration:
@ -120,9 +111,9 @@ mybatis-plus:
# 逻辑删除配置
db-config:
# logic-delete-field: flag # 全局逻辑删除的实体字段名(since 3.3.0,配置后可以忽略不配置步骤2) @TableLogic
logic-not-delete-value: normal # 逻辑删除标记:正常数据
logic-delete-value: deleted # 逻辑删除标记:已删除的数据
type-aliases-package: com.chinaunicom.mall.ebtp.project
logic-delete-value: 0 # 逻辑删除
logic-not-delete-value: 1 # 逻辑未删除值
hystrix:
command:
@ -133,13 +124,13 @@ hystrix:
isolation:
strategy: SEMAPHORE
thread:
timeoutInMilliseconds: 200000 #熔断超时时间
timeoutInMilliseconds: 600000 #熔断超时时间
circuitBreaker:
sleepWindowInMilliseconds: 20000
forceClosed: true
ribbon:
ReadTimeout: 20000 #请求处理的超时时间
ReadTimeout: 60000 #请求处理的超时时间
ConnectTimeout: 20000 #请求连接超时时间
MaxAutoRetries: 0 #对当前实例的重试次数
MaxAutoRetriesNextServer: 1 #切换实例的重试次数 1
@ -148,8 +139,9 @@ mconfig:
swagger-ui-open: true
exception-handle-enabled: true
seata-open-enabled: false
work-id: 1 #终端ID
datacenter-id: 1 #数据中心ID
work-id: 1
datacenter-id: 5
host-name: http://10.242.37.148/
service-name-purp: mall-purp #采购系统委托项目微服务
service-name-wfap: mall-wfap #重新评审 流程微服务
@ -165,9 +157,13 @@ mconfig:
service-name-resps : biz-service-ebtp-resps #标段应答文件
service-name-rsms : biz-service-ebtp-rsms #评审微服务
service-name-tender : biz-service-ebtp-tender #标段投标微服务
service-name-evaluation : biz-service-ebtp-evaluation
service-name-open : biz-service-ebtp-opening
service-name-notification : core-service-notification-center
wfSectionNo: '080'
wfSectionName: 标段重新评审审批单
# 用户暴露给 prometheus 的健康数据
management:
endpoints:
@ -181,6 +177,10 @@ management:
mongo:
enabled: false
data:
mongodb:
uri: mongodb://admin:M2RXbt8Vog9e@10.242.29.19:10011/ebtp_mall_im?authSource=admin&authMechanism=SCRAM-SHA-1&maxIdleTimeMS=3000
client:
clientHttpUrl: http://10.242.31.158:8100/auth/oauth/token?grant_type=client_credentials&client_id=bVS46ElU&client_secret=58ea04ba02475c8da2321cc99849d2a10f15b749
allow:
apis:
- ^POST\./?v1/.*$
- ^GET\./?v1/.*$