yyqdbngt opened a new pull request, #3285: URL: https://github.com/apache/rocketmq-dashboard/pull/3285
## Summary Adds `AliyunCatalogControllerTest`, a first unit test for the Aliyun cloud-catalog REST endpoints. The catalog service is mocked. Coverage: - `GET /regions` delegates with the credential id and returns the service payload; - `GET /instances` delegates with the credential, region, and search term intact; - a missing (null) search term is passed through as null rather than being dropped or replaced. ## Why These endpoints drive the cloud instance picker for the Aliyun vendor type; the delegation contract had no direct test (only the Tencent web API module was covered). ## Testing `mvn -B test -Dtest=AliyunCatalogControllerTest` — 3/3 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]
