Aias00 opened a new issue, #1297:
URL: https://github.com/apache/rocketmq-dashboard/issues/1297

   ## Problem
   
   The LiteTopic page and every /api/liteTopic endpoint are global: list, 
quota, session lookup, TTL extension, and capability detection do not accept an 
instance ID. Studio therefore cannot determine which managed 5.0 instance a 
LiteTopic request belongs to.
   
   The current LiteTopicService deliberately returns 501 because no live 
provider/Admin contract exists. Adding an ignored instanceId parameter would 
not provide a correct implementation.
   
   ## Proposed contract
   
   Define an instance-scoped LiteTopic provider API before wiring the UI:
   
   - capability(instanceId)
   - list(instanceId, pattern, namespace)
   - quota(instanceId, namespace)
   - session(instanceId, sessionId)
   - extendTtl(instanceId, topicPattern, newTtl)
   
   The provider must state supported instance types and use the selected 
instance endpoint or cloud provider path. The web API and page can then require 
the same instance context.
   
   ## Evidence
   
   - 
server/src/main/java/org/apache/rocketmq/studio/instance/topic/LiteTopicController.java
   - 
server/src/main/java/org/apache/rocketmq/studio/instance/topic/LiteTopicService.java
   - web/src/api/liteTopic.ts
   - web/src/pages/studio/LiteTopic.tsx


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