Bug 1076135

Summary: Extend plugin validator to validate canned expressions
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: PluginsAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10CC: hrupp, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1069544    
Bug Blocks:    

Description Libor Zoubek 2014-03-13 15:55:51 UTC
Description of problem:

As we introduced canned dynaGroup expressions, be it part of plugin, we need to extend plugin validator, to make sure plugin developer created "correct" expressions.


Version-Release number of selected component (if applicable):
RHQ 4.10.0


Additional info:

This may be very hard task do do proper validation. Validating dynaGroup expression without running server is not possible, but we may still do simple validation
 - can we successfuly parse canned dynagroup descriptor?
 - are the definitions correct? (data types, missing properties)
 - hopefully we can at least validate syntax of dyna-group expression