Duansg opened a new pull request, #3629:
URL: https://github.com/apache/hertzbeat/pull/3629

   ## What's changed?
   
   Please refer to: [#3626](https://github.com/apache/hertzbeat/issues/3626)
   
   Springboot3 JEXL keyword issue fix and supplement, referenced keyword list: 
[jexl 
keyword](https://github.com/apache/commons-jexl/blob/master/src/main/java/org/apache/commons/jexl3/parser/Parser.jjt)
   
   For details:
   1. Fixed springboot3 jexl keyword issue.
   2. When adding new/updated/test monitoring, perform keyword verification on 
the template definitions corresponding to the current monitoring.
   3. When adding new/updated monitoring templates, check the keywords in the 
current template.
   4. Test cases have been added for the new changes.
   5. Added test cases for validating the jexl keywords in all YAML files in 
the `resources/define` directory.
   
   
   ## Checklist
   
   - [x]  I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
   - [x]  I have written the necessary doc or comment.
   - [x]  I have added the necessary unit tests and all cases have passed.
   
   ## Add or update API
   
   - [ ] I have added the necessary [e2e 
tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have 
passed.
   
   [Test the new monitoring containing keywords]
   <img width="1508" height="855" alt="Snipaste_2025-08-04_00-57-50" 
src="https://github.com/user-attachments/assets/1f106ca8-08fb-4ac6-965a-1099085d0c91";
 />
   
   [Test new template containing keywords]
   <img width="1510" height="857" alt="Snipaste_2025-08-04_00-58-53" 
src="https://github.com/user-attachments/assets/aa28576b-da37-46b8-a536-b283fbb29a88";
 />
   
   [Repair effect display]
   <img width="1510" height="857" alt="Snipaste_2025-08-04_01-49-58" 
src="https://github.com/user-attachments/assets/6e9c0104-1d8e-45f0-bc94-792239507bca";
 />
   
   <img width="1510" height="857" alt="Snipaste_2025-08-04_01-49-37" 
src="https://github.com/user-attachments/assets/aabf3598-6993-4d85-b191-09a5b061d512";
 />
   
   <img width="1511" height="853" alt="Snipaste_2025-08-04_01-49-23" 
src="https://github.com/user-attachments/assets/11a952cd-d3a2-48de-8fa0-824505141ecb";
 />
   
   
   


-- 
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: notifications-unsubscr...@hertzbeat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: notifications-h...@hertzbeat.apache.org

Reply via email to