yyqdbngt opened a new pull request, #3287: URL: https://github.com/apache/rocketmq-dashboard/pull/3287
## Summary Extends the existing `@WebMvcTest` `CloudCredentialControllerTest` (1 to 6 tests) to pin down the credential CRUD endpoints. Added cases: - `POST /create` converts the payload into the cloud credential view (normalized vendor, credentials, name) and delegates to the service; - `GET /` lists masked credentials with the default page window (1/20) when no paging params are supplied; - `POST /update` delegates with the parsed numeric id and the rotated secret; - `POST /delete` parses the string id at the boundary and deletes by `Long`; - a missing create body is rejected with HTTP 400. ## Why These endpoints manage cloud credentials (AK/SK pairs); the suite previously covered only the no-store reveal endpoint. ## Testing `mvn -B test -Dtest=CloudCredentialControllerTest` — 6/6 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]
