btlqql opened a new pull request, #2264: URL: https://github.com/apache/rocketmq-dashboard/pull/2264
## Problem Instance creation, login, and AI endpoints accept empty required fields and pass malformed requests into service logic. ## Root cause The request DTOs do not declare non-blank constraints, and the login and AI controller boundaries do not trigger Bean Validation. ## Changes - require non-blank instance names, login credentials, AI commands, and chat messages - enable `@Valid` processing on login, chat, and execute request bodies - add controller regression tests proving invalid requests return HTTP 400 without invoking the service layer This consolidates the related request-boundary fixes from closed PRs #2100, #2101, and #2102 into one cohesive PR, following the maintainer guidance in #2107. ## Impact Clients receive a deterministic validation error at the HTTP boundary, and downstream services are protected from incomplete requests. ## Validation - targeted controller suite: 27 tests passed - full server suite excluding the two local external-CLI tests: 1196 tests passed - Maven Checkstyle: 0 violations - `git diff --check` Closes #2075. Closes #2076. Closes #2077. -- 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]
