Commit Graph

179 Commits

Author SHA1 Message Date
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
wxq 069f6182ab
dashboard: Improve support for customizing auth-related implementations (#2059)
* refactor(dashboard): use AuthConfiguration to manage the bean of auth
* refactor(dashboard): change AuthorizationInterceptor to an interface
* refactor(dashboard): change LoginAuthenticationFilter to an interface
* refactor(dashboard): use AuthProperties to manage auth config
* test(dashboard): use NoAuthConfigurationTest to create no auth configuration for testing
2021-03-08 18:32:22 +08:00
wxq d67d842da4
dashboard: Use delimiter '@' only in maven-resources-plugin config of dashboard pom (#2046)
`${user.home}` should be resolve in dashboard runtime, not in maven package goal
2021-02-25 09:23:04 +08:00
Eric Zhao fca70646ad Bump version to 1.8.2-SNAPSHOT
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 16:45:40 +08:00
Eric Zhao ae214b5244 Bump version to 1.8.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 15:30:44 +08:00
Eric Zhao be2715d814 Update source/target JDK version to 1.8 and update documents
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2021-02-04 10:21:40 +08:00
samuelxw 1f4614c0d4
Improve MetricFetcher under concurrent conditions (#1918) 2021-01-28 22:56:27 +08:00