You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 16:05:08 UTC

[PR] test: cover vendor parsing and VO mapping in CreateCloudCredentialDTO [rocketmq-dashboard]

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

   ### Summary
   
   `CreateCloudCredentialDTO.parseVendor` maps a vendor string to an `InstanceVendor` (trimmed, case-insensitive, locale-safe) and `toCloudCredentialVO` builds the persisted credential. Only the Turkish-locale case had a test.
   
   ### Changes
   
   - Whitespace-padded and mixed-case vendor strings map to the right enum
   - Blank and unknown vendor strings map to `null`
   - `toCloudCredentialVO` carries name, parsed vendor, access key, secret key and remark through
   
   ### Testing
   
   `mvn test -Dtest=CreateCloudCredentialDTOTest` passes: 4 tests, 0 failures (up from 1).


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: cover vendor parsing and VO mapping in CreateCloudCredentialDTO [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3447: test: cover vendor parsing and VO mapping in CreateCloudCredentialDTO
URL: https://github.com/apache/rocketmq-dashboard/pull/3447


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org