yyqdbngt opened a new pull request, #3482:
URL: https://github.com/apache/rocketmq-dashboard/pull/3482

   ### Summary
   
   `POST /api/metrics/query/datasource` requires the `key` query parameter 
identifying the persisted data source. The suite covered the happy path and 
query-body validation but never the missing parameter.
   
   ### Changes
   
   - Omitting `key` returns a `400 Invalid request parameter` envelope without 
touching the metrics service
   
   ### Testing
   
   `mvn test -Dtest=MetricsControllerTest` passes: 9 tests, 0 failures (up from 
8).


-- 
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]

Reply via email to