mshe
93e2273b58
feat(dashboard): 添加启动日志输出功能
...
- 引入AuthorityRuleController类
- 添加SLF4J日志框架支持
- 在main方法中增加启动成功日志输出
- 添加中文和英文启动完成提示信息
2025-11-21 09:48:24 +08:00
mshe
ae485fa9f5
chore(config): 调整日志路径和Nacos配置地址
...
- 修改日志文件路径为用户主目录下
- 更新Nacos服务器地址为生产环境地址
- 调整数据ID生成规则,移除中间连字符
2025-11-21 08:54:27 +08:00
mshe
ff999c6703
feat(dashboard): 调整日志路径并优化Nacos配置
...
- 修改日志文件存储路径为相对路径 ./logs/csp/sentinel-dashboard.log
- 默认启用认证登录功能,注释掉 auth.enabled=false 配置
- 更新 Nacos 配置,将默认地址指向本地并新增 groupId 配置项
- 动态读取 groupId 并注入到 NacosConfigUtil 中
- FlowControllerV2 使用新的 FlowRuleApiProvider 和 FlowRuleApiPublisher 替代原有实现
- 注释旧的动态规则提供器和发布器引用
2025-11-21 08:07:52 +08:00
mshe
b14de1ea5f
refactor(rule): 重构规则发布与配置逻辑
...
- 将规则发布类统一移至 publisher 包下,优化包结构
- 更新 Nacos 配置项命名及分组策略,增强可读性与一致性
- 重写规则转换逻辑,确保推送数据结构准确无误
- 添加推送结果日志记录,提升调试与监控能力
- 修复控制器中规则类型描述不准确的问题
- 补充 API 定义相关 Provider 和 Publisher 实现
- 清理冗余代码与注释,提高代码整洁度
- 调整格式与导入顺序,符合编码规范
- 移除不必要的 converter bean 定义,简化配置类
- 修改应用配置文件中的 Nacos 用户名密码为空,适应新部署需求
2025-11-21 07:53:04 +08:00
mshe
04d1e82b8c
refactor(rule): 重构规则发布与配置逻辑
...
- 将规则发布类统一移至 publisher 包下,优化包结构
- 更新 Nacos 配置项命名及分组策略,增强可读性与一致性
- 重写规则转换逻辑,确保推送数据结构准确无误
- 添加推送结果日志记录,提升调试与监控能力
- 修复控制器中规则类型描述不准确的问题
- 补充 API 定义相关 Provider 和 Publisher 实现
- 清理冗余代码与注释,提高代码整洁度
- 调整格式与导入顺序,符合编码规范
- 移除不必要的 converter bean 定义,简化配置类
- 修改应用配置文件中的 Nacos 用户名密码为空,适应新部署需求
2025-11-21 07:43:24 +08:00
mshe
c48e742041
refactor(nacos): 重构Nacos配置管理并更新默认设置
...
- 使用@Autowired注入Nacos配置信息,替换原有@Value方式
- 新增NacosServerConfig类统一管理Nacos服务器配置
- 更新application.properties中的默认用户名和密码为admin/admin
- 修改Nacos命名空间配置为namespace-sentinel
- 调整Nacos配置工具类中的数据ID前缀和组ID常量
- 添加API分组和网关流控规则相关的数据ID生成方法
- 统一Nacos配置服务创建逻辑,使用新的配置注入方式
2025-11-21 02:50:01 +08:00
mshe
35dbe68c4d
feat(sentinel): 实现Nacos规则推送功能并优化包结构
...
- 新增AuthorityRule、DegradeRule、ParamFlowRule和SystemRule的Nacos推送实现
- 重构FlowRule相关类到独立的flow包下
- 统一Nacos配置工具类,支持多种规则类型的dataId生成
- 移除对nacos-api的直接依赖声明
- 为各类规则增加Nacos配置的编解码器
- 在控制器中集成Nacos推送逻辑,增强规则发布的可靠性
2025-11-20 23:07:05 +08:00
mshe
bbe93b0bf3
feat(sentinel): 配置nacos地址并优化流控规则推送逻辑
...
- 修改nacos配置中心地址为172.16.8.70:8848
- 注入FlowRuleNacosPublisher实现流控规则发布功能
- 重构publishRules方法增加异常处理和日志记录
- 调整流控规则dataId格式从后缀改为前缀方式
- 更新Nacos配置发布方法参数支持JSON类型
- 修复代码缩进和格式问题提升可读性
2025-11-20 20:24:50 +08:00
mshe
01e806b87b
feat(dashboard): 集成Nacos配置中心支持
...
- 添加Nacos配置属性以连接配置中心
- 引入sentinel-datasource-nacos依赖用于规则持久化
- 实现FlowRuleNacosProvider从Nacos获取流控规则
- 实现FlowRuleNacosPublisher向Nacos发布流控规则
- 创建NacosConfig配置类管理Nacos连接和服务实例
- 定义NacosConfigUtil常量类统一配置标识符
- 配置文件中增加默认Nacos服务器地址和认证信息
2025-11-20 09:29:42 +08:00
ylnxwlp
a08dc695ba
fix: fix the bugs about http-method-specify in spring-webmvc-v6x and incorrect time unit in dashboard ( #3569 )
...
* Fix the bugs mentioned in issue #3562 and #3563 .
Fix the issue in the spring-webmvc-v6x-adapter where, after configuring http-method-specify:true, the prefixes for different request methods were not concatenated.
Fix incorrect time unit in the tooltip when adding a new circuit breaker rule with statistical window duration.
* Fix the bugs mentioned in issue #3562 and #3563 .
Fix the issue in the spring-webmvc-v6x-adapter where, after configuring http-method-specify:true, the prefixes for different request methods were not concatenated.
Fix incorrect time unit in the tooltip when adding a new circuit breaker rule with statistical window duration.
* Fixed the issue where the original test class was affected by the concatenation of resource names after adding the logic for the HTTP prefix concatenation.
* remove mseHttpMethodSpecify field and update the unit test as suggested.
* retrigger CI
2025-11-03 18:01:05 +08:00
LearningGp
d75a6687b8
chore: update release configuration
...
Change-Id: Ic0556103ed65c4c760bb9b21132b72cd22770b68
2025-10-17 14:14:18 +08:00
LearningGp
eb3a9b099a
Bump version to 1.8.9 ( #3566 )
...
* chore: update release configuration
* Bump version to 1.8.9
2025-10-16 20:26:58 +08:00
XenoAmess
7e17ae7c0d
chore: refine pom ( #3560 )
2025-09-30 15:08:50 +08:00
LearningGp
3892514c53
Bump version to 1.8.8
2024-06-04 16:05:34 +08:00
Robert Lu
ae6ebb49d0
Move document-lint from circleci to github-actions ( #3345 )
...
Move document-lint from circleci to github-actions.
Adjust document according to markdownlint-cli rules.
2024-02-21 17:05:29 +08:00
LearningGp
f3fd4e6187
Bump version to 1.8.7
2023-12-28 19:32:10 +08:00
LearningGp
665fb541a7
Bump version to 1.8.7-SNAPSHOT
2023-12-28 17:48:44 +08:00
Robert Lu
069034cb64
doc: Update sentinel-dashboard/README.md ( #3108 )
2023-12-27 20:40:27 +08:00
Eric Zhao
4bd333f1de
dashboard: Add MSE Sentinel guide in page nav-bar
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2023-12-27 20:40:27 +08:00
Wilson Wu
30ec6b103f
dashboard: Add Dockerfile for dashboard and update doc ( #2970 )
...
* Add dockerfile for dashboard with doc update
2023-12-27 20:40:26 +08:00
Eric Zhao
dd1ba2725e
Bump version to 1.8.6
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-10-25 16:57:18 +08:00
Eric Zhao
e13d20ce55
dashboard: Improve IP validation in SentinelApiClient and rule controllers
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-09-26 19:16:04 +08:00
Eric Zhao
84df19b2c5
Bump version to 1.8.6-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-09-15 09:50:36 +08:00
Eric Zhao
24ac1be442
Bump version to 1.8.5 and update README.md
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-08-08 21:29:40 +08:00
Eric Zhao
9b7786259e
Bump version to 1.8.5-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-08-08 09:52:51 +08:00
李海峰
9f08a6a49c
docs: Update dashboard frontend Node.js version restriction ( #2760 )
2022-07-09 13:17:06 +08:00
一个不知名的Java靓仔
d358b1d7ca
dashboard: Fix deprecated Spring config key in application.properties ( #2713 )
2022-05-10 09:55:54 +08:00
一个不知名的Java靓仔
2e173753ff
dashboard: Refactor IP verify logic in MachineRegistryController to support JDK 17 ( #2694 )
2022-04-25 11:27:36 +08:00
Eric Zhao
16e1bb8fe8
Bump version to 1.8.4
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-04-12 10:14:53 +08:00
Eric Zhao
e93f72232f
dashboard: Update Spring Boot starter to 2.5.12
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-04-02 14:52:57 +08:00
Eric Zhao
d706ce5767
dashboard: Update Spring Boot starter to 2.2.13.RELEASE
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-03-29 14:10:56 +08:00
David Huang
2cb9747e56
doc: Improve javadoc for DegradeRule and dashboard ApiPredicateItemVo ( #2614 )
2022-03-23 21:15:36 +08:00
一个不知名的Java靓仔
42878a29e0
dashboard: Fix the bug that removing token servers may fail when there are servers with the same IP ( #2591 )
2022-03-15 10:57:46 +08:00
Reagan lee
2920efc33b
dashboard: Fix incorrect alert message for intervalMs validation in circuit breaker rule dialog ( #2483 )
...
* fix the degrade_service.js alert message on line 77, changed "统计窗口市场不能超过 120 分钟" to "统计窗口时长最大 120s"
2022-01-19 09:46:58 +08:00
程露
2df682dad2
build(deps): Upgrade nacos-client to 1.4.2 for sentinel-datasource-nacos ( #2477 )
...
* [ISSUE #2425 ] upgrade the Nacos client version to 1.4.2.
* [ISSUE #2425 ] remove the unused code and import.
2022-01-10 20:34:14 +08:00
Eric Zhao
8724a7c0a1
Bump version to 1.8.4-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2022-01-01 11:00:04 +08:00
Eric Zhao
6135ff290a
Bump version to 1.8.3
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-12-31 14:46:52 +08:00
Eric Zhao
51b21921f5
Bump version to 1.8.3-SNAPSHOT
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-12-22 14:48:43 +08:00
Luca
31c0ac5525
doc: Fix javadoc typo in isSupportEnhancedContentType method of dashboard SentinelApiClient ( #2480 )
2021-12-06 09:44:52 +08:00
Eric Zhao
d4ea89e978
dashboard: Add IP validation in MachineRegistryController
...
* Fixes #2451
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-11-19 16:41:56 +08:00
brotherlu-xcq
0a34fc4d11
dashboard: Fix the logo problem when customizing the context-path of the backend ( #2253 )
2021-09-15 10:13:36 +08:00
brotherlu-xcq
20a0e4d7f0
feat: Fix typos in MetricFetcher of sentinel-dashboard ( #2324 )
2021-08-14 12:19:40 +08:00
Eric Zhao
4498de480f
Bump version to 1.8.2
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-07-05 19:59:44 +08:00
Eric Zhao
270eab47fe
dashboard: Update text of rule pages
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-07-05 19:45:13 +08:00
dependabot[bot]
3dc0fce8ef
build(deps): Upgrade Apache HttpClient from 4.5.3 to 4.5.13 in sentinel-dashboard ( #2226 )
...
Bumps httpclient from 4.5.3 to 4.5.13.
---
updated-dependencies:
- dependency-name: org.apache.httpcomponents:httpclient
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 14:15:16 +08:00
wutingjia
9a612508ff
Make all backend thread pools daemon ( #2181 )
...
* feat:make command center thread daemon
* feat:make all NamedThreadFactory thread daemon
2021-06-04 13:33:46 +08:00
jiajiangnan
2c12b07534
dashboard: Fix the incorrect function name in ParamFlowRuleEntity ( #2173 )
2021-04-29 09:47:40 +08:00
brothelul
e936d9d379
dashboard: Change favicon.ico to Sentinel logo ( #2127 )
2021-04-27 19:27:10 +08:00
drgnchan
5ac112efaa
dashboard: Remove unused code in dashboard MetricFetcher ( #2104 )
2021-04-01 09:46:08 +08:00
Eric Zhao
744be07a57
dashboard: Improve param validation in MachineRegistryController
...
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-03-23 10:46:01 +08:00