89799969 opened a new pull request, #4495:
URL: https://github.com/apache/rocketmq-dashboard/pull/4495
### Which Issue(s) This PR Fixes
- Fixes #3169
### Brief Description
Add an on-demand, read-only cloud credential usage inventory on the Settings
→ Cloud Credentials tab:
- load all credential metadata and current instances
- classify credentials as used, unused, or vendor-mismatched
- list orphan instance references that point at missing credentials
- export only the currently filtered rows
AccessKey and SecretKey values are never read or exported. This is
frontend-only and reuses the existing credential and instance list APIs. The
earlier draft in #4403 was withdrawn with the studio→master trunk move; this PR
re-applies the inventory cleanly against current `master`.
### How Did You Test This Change?
- `cd web && npm test -- --run
src/pages/settings/__tests__/cloudCredentialUsage.test.ts
src/pages/settings/__tests__/CloudCredentialUsageDrawer.test.tsx`
- Test Files: 2 passed
- Tests: 11 passed
### Checklist
- [x] One coherent change; unrelated modifications are not bundled in
- [x] Commit subject follows Conventional Commits (`feat:` / `fix:` /
`refactor:` / `chore:` / `docs:` / `perf:`)
- [x] Tests added or updated for non-trivial changes, test methods named
`...Test`
- [x] New UI text has both Chinese and English entries under `web/src/i18n/`
- [x] Architecture constraints stay green (`mvn test` runs the ArchUnit
checks)
- [x] New source files carry the ASF license header
- [x] Documentation touched where behaviour changed (README / `docs/` /
in-app help)
Notes: frontend-only read-only inventory. No backend API, schema, or
architecture changes.
--
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]