yyqdbngt opened a new pull request, #3277: URL: https://github.com/apache/rocketmq-dashboard/pull/3277
## Summary Extends the existing `CreateCloudCredentialDTOTest` (1 to 4 tests) to pin down the cloud credential creation payload contract. Added cases: - `parseVendor` normalizes vendor names (trimmed, case-insensitive) for known vendors and returns null for missing, blank, or unknown values; - `toCloudCredentialVO` maps name, normalized vendor, credentials, and remark onto the view; - `toString` redacts both credential field names and their values. ## Why The DTO is the create boundary for cloud credentials; vendor normalization drives instance provider routing and had only locale coverage before. ## Testing `mvn -B test -Dtest=CreateCloudCredentialDTOTest` — 4/4 pass; checkstyle (validate) clean. -- 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]
