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

   ### Summary
   Cover the DLQ service scope guards (`DLQService`):
   
   - cloud instances (non-Apache vendor) are rejected with the existing 501 
"not supported" for DLQ operations;
   - Apache or unknown instances proceed to the provider;
   - list pagination is validated (`page < 1`, `pageSize > 100`) before any 
provider call.
   
   ### Why
   The Apache-only scope check and pagination guard sit at the DLQ entry points 
and had no direct coverage on their own.
   
   ### Testing
   - `mvn -f server/pom.xml -Dtest=DLQServiceScopeTest test` passes: 3/3.
   


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