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

   ## Summary
   - share the Prometheus duration grammar between `AlertRuleRequestDTO` 
validation and `AlertService` export validation
   - preserve valid composite durations like `1h30m` in exported Prometheus 
YAML instead of falling back to `5m`
   - add backend regression coverage for DTO validation and YAML export
   
   Fixes #2604
   
   ## Tests
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn 
-Dtest=AlertRuleRequestDTOTest,AlertServiceTest test`
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn 
-Dtest='org.apache.rocketmq.studio.ops.alert.*Test' test`
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -DskipTests package`


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