mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-03-11 11:16:52 +08:00
升级spring-cloud相关组件到最新版
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<!-- SpringCloud Gateway -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-gateway</artifactId>
|
||||
<artifactId>spring-cloud-starter-gateway-server-webflux</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
@@ -57,7 +57,7 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- SpringCloud Loadbalancer -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
|
||||
@@ -18,11 +18,6 @@ spring:
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 127.0.0.1:8848
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
sentinel:
|
||||
# 取消控制台懒加载
|
||||
eager: true
|
||||
@@ -38,3 +33,9 @@ spring:
|
||||
groupId: DEFAULT_GROUP
|
||||
data-type: json
|
||||
rule-type: gw-flow
|
||||
config:
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
import:
|
||||
- nacos:application-${spring.profiles.active}.${spring.config.file-extension}
|
||||
- nacos:${spring.application.name}-${spring.profiles.active}.${spring.config.file-extension}
|
||||
|
||||
Reference in New Issue
Block a user