From b40e5c19b2662204e7ffafa34b229e0f7d716d9a Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 10 Jan 2022 15:02:13 +0800
Subject: [PATCH] 升级Spring Cloud相关组件到最新版本
---
ruoyi-gateway/src/main/resources/bootstrap.yml | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/ruoyi-gateway/src/main/resources/bootstrap.yml b/ruoyi-gateway/src/main/resources/bootstrap.yml
index a8c5370..51502b5 100644
--- a/ruoyi-gateway/src/main/resources/bootstrap.yml
+++ b/ruoyi-gateway/src/main/resources/bootstrap.yml
@@ -10,6 +10,9 @@
profiles:
# 环境配置
active: dev
+ main:
+ allow-circular-references: true
+ allow-bean-definition-overriding: true
cloud:
nacos:
discovery:
@@ -21,4 +24,20 @@
# 配置文件格式
file-extension: yml
# 共享配置
- shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+ shared-configs:
+ - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+ sentinel:
+ # 取消控制台懒加载
+ eager: true
+ transport:
+ # 控制台地址
+ dashboard: 127.0.0.1:8718
+ # nacos配置持久化
+ datasource:
+ ds1:
+ nacos:
+ server-addr: 127.0.0.1:8848
+ dataId: sentinel-ruoyi-gateway
+ groupId: DEFAULT_GROUP
+ data-type: json
+ rule-type: flow
--
Gitblit v1.9.3