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

   ## Summary
   - wire `/api/namespaces` through `MetadataService` and `MetadataProvider`
   - provide a default `default` namespace from the current metadata provider 
implementation
   - load namespace options from the API on the Topic page, with a default 
fallback when namespace loading fails
   - add backend controller/service tests and frontend API coverage
   
   ## Motivation
   This advances the Studio META-01 namespace baseline and avoids the current 
`UnsupportedOperationException` from `/api/namespaces`. Topic management can 
now use the backend namespace contract instead of a disabled hard-coded 
`default` selector.
   
   Related issue: #180
   
   ## Verification
   - 
`JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home
 mvn -B -ntp -Dtest=MetadataServiceTest,NamespaceControllerTest test`
   - 
`JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home
 mvn -B -ntp test`
   - `npm test -- metadata.test.ts`
   - `npm run build`
   - `npm run lint` (passes with existing Fast Refresh warnings in unrelated 
files)
   


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