yyqdbngt opened a new pull request, #3521: URL: https://github.com/apache/rocketmq-dashboard/pull/3521
### Summary `MetricQueryDTO` enforces the raw-vs-semantic selection contract plus positive range bounds and a step. It had no direct tests (only controller-level coverage). ### Changes - Raw metric queries and complete profile/semantic pairs pass validation - A semantic metric or profile without its counterpart is rejected - A query without any selection is rejected - Mixing a raw metric with a semantic selection is rejected - Non-positive start/end and a blank step are rejected ### Testing `mvn test -Dtest=MetricQueryDTOTest` passes: 5 tests, 0 failures (first coverage for this DTO). -- 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]
