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

   ### Summary
   
   `ToolCatalog` exposes a content SHA-256 digest used by clients to detect 
catalog drift, and wraps unreadable resources in an `IllegalStateException`. 
Neither behavior was tested.
   
   ### Changes
   
   - An unreadable catalog resource fails fast with `Unable to load RocketMQ 
tool catalog` and an `IOException` cause
   - The digest equals the SHA-256 of the exact catalog bytes read from disk
   - Editing the catalog description changes the digest, so clients can detect 
content changes
   
   ### Testing
   
   `mvn test -Dtest=ToolCatalogTest` passes: 9 tests, 0 failures (up from 6).


-- 
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