yyqdbngt opened a new pull request, #3911: URL: https://github.com/apache/rocketmq-dashboard/pull/3911
### Motivation The `CreateCloudCredentialDTO` test only covered Turkish-locale vendor parsing. Vendor edge cases, bean validation, VO conversion, and credential redaction in `toString` were untested. This PR grows the suite from 1 to 6 cases. ### Changes - `parseVendor` trims and ignores case, and returns null for blank or unknown values. - Missing name/vendor/accessKey/secretKey each produce their required-field validation message. - `toCloudCredentialVO` carries the stored credentials into the VO. - `toString` never exposes the access key or secret key. ### Verification - `mvn -B test -Dtest=CreateCloudCredentialDTOTest`: 6/6 passed, BUILD SUCCESS -- 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]
