Aias00 opened a new pull request, #4142: URL: https://github.com/apache/rocketmq-dashboard/pull/4142
## Summary - align mock Topic identity with the persisted `(cluster_id, instance_id, name)` model - allow the same Topic name and cluster in different mock instances - scope mock update and delete operations to the supplied `instanceId` - add regression coverage for cross-instance create, update, and delete behavior ## Scope This changes only the frontend mock service and its focused tests. The real backend API and database schema are unchanged. Calls that omit `instanceId` keep the previous fallback behavior. ## Verification - `npm test -- --run src/services/topicService.test.ts src/services/topicService.batchDelete.test.ts src/pages/instance/__tests__/TopicPage.test.tsx` — 34 tests passed - `npm run lint` — 0 errors, 10 existing warnings - `npm run build` - `git diff --check` Closes #4141 -- 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]
