lizhimins opened a new pull request, #955: URL: https://github.com/apache/rocketmq-dashboard/pull/955
## Summary - Drop `InMemorySettingsRepository`, `InMemoryK8sCertRepository`, `InMemoryAlertRepository` and `InMemoryAuditRepository` now that every store is database-backed. - Add MyBatis-Plus repositories for alert rules and system alerts (new `rmq_alert_rule` / `rmq_system_alert` tables plus the idempotent `upgrade-demo-alert` migration), audit records (`rmq_operation_audit`) and K8s certificates (`rmq_k8s_certificate`, SAN stored as a JSON array). - Service tests that relied on the in-memory fakes now use Mockito stubs expressing the repository contracts (createdAt preserved on replace, stored credentials preserved on user update). ## Test plan - [x] Backend: all 533 tests pass, BUILD SUCCESS - [x] Deployed: /api/alert-rules, /api/system-alerts, /api/k8s-certs, /api/audit-logs all respond from MySQL -- 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]
