yyqdbngt opened a new pull request, #3520:
URL: https://github.com/apache/rocketmq-dashboard/pull/3520

   ### Summary
   
   `GeneralSettingsUpdateDTO` enforces required settings fields, bounds the 
session timeout and maps into a settings VO. It had no tests.
   
   ### Changes
   
   - A request missing the required settings fields reports violations for each
   - A session timeout outside 5–1440 is rejected
   - A complete request passes validation
   - `toSettings` carries the configured values through
   
   ### Testing
   
   `mvn test -Dtest=GeneralSettingsUpdateDTOTest` passes: 4 tests, 0 failures 
(first coverage for this DTO).


-- 
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]

Reply via email to