yyqdbngt opened a new pull request, #3814: URL: https://github.com/apache/rocketmq-dashboard/pull/3814
### Motivation The existing `DataSourceDTOTest` covers instance-binding canonicalisation and validation but not the provider-type display names produced by `toDataSourceVO` nor the auth-mode trimming. ### Changes - `shouldCanonicalizeSupportedProviderTypesToDisplayNames`: raw `thanos`, `mimir`, `arms` and `cortex` types map to their canonical display names (`Thanos`, `Mimir`, `ARMS`, `Cortex`) through the shared backend-type resolver. - `shouldTrimAuthModeInOutput`: an auth mode with surrounding whitespace is trimmed in the produced `DataSourceVO`. ### Verification ``` mvn -B test -Dtest=DataSourceDTOTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 [INFO] 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]
