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

   ## Summary
   
   Extends the existing `DataSourceTestDTOTest` (1 to 3 tests) to pin down the 
data-source connectivity-test request contract.
   
   Added cases:
   - `toString` omits the credential field names entirely (`password`, 
`bearerToken`), not just their values;
   - `@Data` equality/hashCode cover every field including the credentials, so 
a different password breaks equality while identical payloads are equal with 
the same hash.
   
   ## Why
   
   The DTO is the boundary for ad-hoc data source connectivity tests; log 
redaction and equality semantics are client-visible contracts.
   
   ## Testing
   
   `mvn -B test -Dtest=DataSourceTestDTOTest` — 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]

Reply via email to