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

   ### Summary
   Add the first unit coverage for the LiteTopic provider-stub contract 
(`LiteTopicService`):
   
   - `getCapability` reports `supported=false` until a provider integration 
lands;
   - list/session/quota calls signal the 501 "not available" contract;
   - `extendTTL` validates `topicPattern` (null/blank) and `newTTL` 
(null/non-positive) with 400s before falling through to the 501 stub.
   
   ### Why
   This stub is the placeholder surface for future LiteTopic provider 
integrations; locking its validation and error contract down now prevents drift 
once a real implementation arrives.
   
   ### Testing
   - `mvn -f server/pom.xml -Dtest=LiteTopicServiceTest 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