yyqdbngt opened a new pull request, #3458: URL: https://github.com/apache/rocketmq-dashboard/pull/3458
### Summary `AlertRuleListToolHandler` lists alert rules through the alert service and projects rows into schema-safe maps. It had no tests. ### Changes - Delegation forwards search/enabled filters and paging (defaults 1/20 when absent) - A fully populated rule projects every field (id, name, metric, operator, threshold, channels, enabled) - Missing names and metrics are rejected with descriptive messages - Absent optional fields project as blank strings and empty channels - The handler registers under `rmq.alert.rule.list` ### Testing `mvn test -Dtest=AlertRuleListToolHandlerTest` passes: 5 tests, 0 failures (first test for this class). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
