coder999o opened a new pull request, #4196: URL: https://github.com/apache/rocketmq-dashboard/pull/4196
## What is the purpose of the change Add batch Proxy address management to RocketMQ Studio so operators can paste multiple Proxy endpoints at once and review row-level outcomes instead of adding each address one by one. The batch flow validates address format, skips existing addresses, detects duplicates inside the same request, appends only valid new addresses, and refreshes the Proxy node list with the updated address state. ## Brief changelog - Add `POST /api/proxies/addresses/batch` for batch Proxy address additions. - Add row-level batch result models with `ADDED`, `EXISTING`, `DUPLICATE`, and `INVALID` statuses. - Add a Proxy page batch-add modal with parsed-count feedback, summary counters, and a result table. - Add frontend API bindings, i18n text, and focused backend/frontend tests. - Apply `tableScrollX(columns)` to the Proxy node table and batch result table. ## Verifying this change - `npm test -- --run src/api/proxy.test.ts src/pages/studio/__tests__/Proxy.test.tsx` - `mvn -q -Dtest=ProxyAddressServiceTest,ProxyControllerTest test` - `npm run build` - `npm run lint -- src/api/proxy.ts src/api/proxy.test.ts src/pages/studio/Proxy.tsx src/pages/studio/__tests__/Proxy.test.tsx src/i18n/translations.ts` - `git diff --check` -- 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]
