yyqdbngt opened a new pull request, #3973: URL: https://github.com/apache/rocketmq-dashboard/pull/3973
### Motivation `MetricsDataSourceQueryRequest` had no unit coverage for its nested query validation or credential redaction. This PR adds first coverage. ### Changes - A missing query is rejected. - Nested MetricQueryDTO validation propagates. - A valid request passes validation. - toString never exposes the password or bearer token. ### Verification - `mvn -B test -Dtest=MetricsDataSourceQueryRequestTest`: 4/4 passed, BUILD SUCCESS -- 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]
