zhaohai666 opened a new pull request, #658: URL: https://github.com/apache/rocketmq-dashboard/pull/658
## Summary - Add complete CRUD subsystem for branch-compensate alert rules monitoring HA replication lag - Add `BranchCompensateAlertRuleController` with REST API for create/read/update/delete operations - Add `BranchCompensateAlertRuleService` with threshold validation logic - Add `BranchCompensateAlertRuleRepository` interface with in-memory ConcurrentHashMap implementation - Add `BranchCompensateAlertRuleVO` defining rule structure (thresholds, enabled flag, etc.) - Monitor master-slave replication lag with configurable alert thresholds - Include comprehensive test coverage (controller + service) ## Test plan - [ ] Verify CRUD operations via BranchCompensateAlertRuleController - [ ] Verify threshold validation rejects invalid configurations - [ ] Verify InMemoryRepository correctly persists and retrieves rules - [ ] Verify enable/disable toggle works correctly - [ ] Run BranchCompensateAlertRuleControllerTest and BranchCompensateAlertRuleServiceTest -- 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]
