coder999o opened a new pull request, #2551: URL: https://github.com/apache/rocketmq-dashboard/pull/2551
## What is the purpose of the change The Studio Proxy page could only display discovered Proxy addresses and reload a selected Proxy, while the backend already had Proxy address add/remove support through compatibility endpoints. Operators still had no first-class Studio REST/UI path to register or remove Proxy addresses from the console. This change exposes Studio endpoints for Proxy address mutations and wires them into the Proxy page so the address list can be managed directly from the Studio console. ## Brief changelog - Added Studio REST endpoints to add and remove Proxy addresses and return the refreshed Proxy home state. - Added web API wrappers and Proxy page controls for adding addresses, deleting with confirmation, and applying the updated address list. - Added backend controller tests, frontend API tests, page interaction tests, and i18n strings. ## Verifying this change - `mvn -q -Dtest=ProxyControllerTest,ProxyAddressServiceTest,ProxyCompatControllerTest test` - `mvn -q checkstyle:check -DskipTests` - `npm test -- --run src/pages/studio/__tests__/Proxy.test.tsx src/api/proxy.test.ts` - `npx eslint src/pages/studio/Proxy.tsx src/pages/studio/__tests__/Proxy.test.tsx src/api/proxy.ts src/api/proxy.test.ts --max-warnings=0` - `npm run build` - `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]
