yyqdbngt opened a new pull request, #3893:
URL: https://github.com/apache/rocketmq-dashboard/pull/3893
### Motivation
The DLQ API tests covered group listing, resend-by-window, and both export
endpoints, but the per-group message paging endpoint and the selected-ids
resend were untested. This PR adds both.
### Changes
- `listDLQMessages` encodes the group name in the path
(`cg%2Forder%20consumer`) while keeping the raw name as a query param,
forwarding instance/time-window/paging filters.
- `resendDLQSelected` posts `{ instanceId, groupName, msgIds, targetTopic }`
to `/dlq/resend-selected` and unwraps the resend result.
### Verification
- `vitest run src/api/dlq.test.ts`: 9/9 passed
- `tsc --noEmit`: clean
- `eslint src/api/dlq.test.ts`: clean
--
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]