coder999o opened a new pull request, #2552: URL: https://github.com/apache/rocketmq-dashboard/pull/2552
## What is the purpose of the change Studio could update broker configuration across the discovered brokers, but operators had to submit the change before seeing the effective broker properties, target broker addresses, or field-level differences. This change adds a broker config preview path so users can inspect the effective update impact from the Studio console before applying it. ## Brief changelog - Added a Studio backend preview endpoint for cluster broker config updates. - Reused the backend broker-property mapping for both preview and apply paths. - Added a Broker config modal preview action showing target brokers, broker properties, and field-level changes. - Added backend controller/service tests plus frontend API/service/page interaction tests. ## Verifying this change - `mvn -q -Dtest=ClusterServiceTest,ClusterControllerTest test` - `mvn -q checkstyle:check -DskipTests` - `npm test -- --run src/api/cluster.test.ts src/services/clusterService.test.ts src/pages/cluster/__tests__/ClusterPage.test.tsx` - `npx eslint src/api/cluster.ts src/api/cluster.test.ts src/services/clusterService.ts src/services/clusterService.test.ts src/pages/cluster/index.tsx src/pages/cluster/__tests__/ClusterPage.test.tsx --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]
