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

   ### Summary
   
   `AlertRuleAssetController` lists bundled alert-rule YAML assets, returns 
their raw content and exports them as attachments. The suite verified the happy 
paths but not unknown names or the exact response payloads.
   
   ### Changes
   
   - An unknown asset returns a `404` envelope for both the raw-YAML and export 
endpoints
   - List assertions now cover `group`, `ruleCount` and severity tags on every 
row
   - `getAsset` asserts the exact YAML payload and the export asserts its exact 
bytes as the response body
   
   ### Testing
   
   `mvn test -Dtest=AlertRuleAssetControllerTest` passes: 4 tests, 0 failures 
(up from 3).


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