remove 重大改动 删除sentinel所有相关功能(为什么删除 查看文档详细说明 https://plus-doc.dromara.org/#/questions/sentinel_404)

This commit is contained in:
疯狂的狮子Li
2025-07-21 16:40:56 +08:00
parent 2c93bdc5dd
commit e0f68ef605
39 changed files with 1 additions and 1050 deletions

View File

@@ -83,19 +83,6 @@ spring:
# admin 监控账号密码
username: ruoyi
userpassword: 123456
# sentinel 配置
sentinel:
# sentinel 开关
enabled: false
transport:
# dashboard控制台服务名 用于服务发现
# 如无此配置将默认使用下方 dashboard 配置直接注册
server-name: ruoyi-sentinel-dashboard
# 客户端指定注册的ip 用于多网卡ip不稳点使用
# client-ip:
# 控制台地址 从1.3.0开始使用 server-name 注册
# dashboard: localhost:8718
bus:
id: ${spring.application.name}
base-packages: org.dromara.**.event
@@ -166,7 +153,6 @@ logging:
org.springframework: warn
org.apache.dubbo: warn
com.alibaba.nacos: warn
com.alibaba.cloud.sentinel: warn
org.mybatis.spring.mapper: error
org.apache.dubbo.config: error
org.apache.fury: warn

View File

@@ -81,20 +81,3 @@ spring:
- Path=/test-mq/**
filters:
- StripPrefix=1
# sentinel 配置
sentinel:
filter:
enabled: false
# nacos配置持久化
datasource:
ds1:
nacos:
server-addr: ${spring.cloud.nacos.server-addr}
dataId: sentinel-${spring.application.name}.json
groupId: ${spring.cloud.nacos.config.group}
username: ${spring.cloud.nacos.username}
password: ${spring.cloud.nacos.password}
namespace: ${spring.profiles.active}
data-type: json
rule-type: gw-flow

View File

@@ -1,27 +0,0 @@
spring:
mvc:
pathmatch:
# 修复 sentinel 控制台未适配 springboot 2.6 新路由方式
matching-strategy: ANT_PATH_MATCHER
server:
servlet:
encoding:
force: true
charset: UTF-8
enabled: true
session:
cookie:
name: sentinel_dashboard_cookie
logging:
level:
org.springframework.web: INFO
auth:
enabled: true
filter:
exclude-urls: /,/auth/login,/auth/logout,/registry/machine,/version,/actuator,/actuator/**
exclude-url-suffixes: htm,html,js,css,map,ico,ttf,woff,png
username: sentinel
password: sentinel

View File

@@ -1,26 +0,0 @@
[
{
"resource": "ruoyi-auth",
"count": 500,
"grade": 1,
"limitApp": "default",
"strategy": 0,
"controlBehavior": 0
},
{
"resource": "ruoyi-system",
"count": 1000,
"grade": 1,
"limitApp": "default",
"strategy": 0,
"controlBehavior": 0
},
{
"resource": "ruoyi-resource",
"count": 500,
"grade": 1,
"limitApp": "default",
"strategy": 0,
"controlBehavior": 0
}
]