Aias00 opened a new pull request, #1953:
URL: https://github.com/apache/rocketmq-dashboard/pull/1953
### Track
RocketMQ Studio Track 1: unified control plane.
### Summary
- add a stable provider-owned `InstanceCapability` contract
- expose `GET /api/instances/{instanceId}/capabilities` with instance,
vendor, access type, and deterministic capabilities
- declare implemented capability sets for Apache, Aliyun, and Tencent
providers
- filter instance-scoped navigation by the selected instance while
preserving existing navigation if discovery fails
- keep the SPI source-compatible for providers that have not declared
capabilities yet
### Behavior
The contract advertises only implemented control-plane operations. It does
not infer runtime protocol support or expose future LiteTopic / Proxy Admin
capabilities. Apache instances include DLQ management; cloud providers do not.
ACL remains available for all current providers because Studio has an explicit
local ACL state fallback for cloud instances.
### Verification
- `mvn
-Dtest=InstanceCapabilityServiceTest,InstanceControllerTest,ApacheInstanceProviderTest,AliyunInstanceProviderTest,TencentInstanceProviderTest,InstanceProviderRegistryTest,AuthCorsIntegrationTest
test` (64 tests)
- `npm test -- --run src/api/instance.test.ts
src/layouts/MainLayout.test.tsx src/services/instanceService.test.ts` (13 tests)
- `npm run build`
- targeted ESLint for changed frontend files
- `mvn -DskipTests package`
Closes #1951
--
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]