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

   Closes #4305
   
   Reworks the catalog around the resource containment hierarchy (instanceId -> 
resource name -> sub-resource -> filters -> time window -> paging -> change 
control) and drops the namespace concept:
   
   - 50 -> 40 tools: `topic.update` and `group.update` become idempotent 
upserts so the create tools go away, `topic.send` moves to `message.send`, the 
three message lookups merge into `message.query` with positional priority msgId 
> uniqueKey > key, the dlq domain moves under `message` 
(`query_dlq`/`redelivery_dlq`), lite topics become `topic.list --type LITE`, 
`group.skip_accumulated` merges into `group.reset_offset`, 
`broker.runtime_info` merges into `broker.describe`, `broker.config_update` is 
dropped because configuration updates are not supported, and 
capabilities/metrics move under the instance domain
   - `topic.describe` and `topic.status` merge into `topic.detail`; adds 
`message.query_by_offset`, `acl.get`, `user.get`, `nameserver.config`, 
`proxy.config` and the instance domain
   - the seven infrastructure tools are addressed by physical `clusterName` and 
resolve back to the owning instance (`PlatformClusterResolver`); `ToolCatalog` 
validates that exactly those eleven platform-level tools are exempt from 
`instanceId`
   - drop the `x-target-mode` schema extension
   
   `namespace` is removed from every tool input and output. There is no 
`ns%topic` physical prefix on the open-source path, so it was a display-only 
field that tool callers could mistake for an isolation mechanism; the REST VOs 
and CSV export still carry it.
   
   The catalog sources under `server/src/main/resources/tool-catalog/tools/` 
are the input to `rmqctl`'s generator, so `catalog_gen.go` is regenerated here 
and the generator now treats a residual `x-target-mode` keyword as a hard 
failure. Generated docs (`docs/generated/rmq-tools.{md,json}`) are build 
artifacts and are not committed; `make catalog-generate` writes them locally.
   
   231 files, +7307/−6857. The bulk is the tool YAML shards, their handler 
classes and the matching handler tests, plus 
`PlatformClusterResolver`/`PlatformClusterResolverTest` and the `ToolCatalog` 
exemption validation.


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