dashboard模块中不同规则的database.entity能否统一格式?
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
权限控制和热点参数限流的database实体放入rule对象里面了,而其他规则没有做这一层的封装,使用test目录下的zookeeper规则配置将规则写入zookeeper后,客户端使用demo中的方法配置数据源时,这两种类型的规则不能用相同的方式获取到,需要重写Converter方法,提取rule对象里面的内容进行赋值

Contributor guide
Research direction
Start with the rule configurations under the test directory, especially the ZooKeeper rule setup, then trace the demo data-source configuration path into the Converter methods. Compare how permission-control and hotspot-parameter-flow rules expose database.entity versus the other rules. Done means all rule types provide the same database.entity shape and can be read through the same client path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100