Bug 668607

Summary: CoreGUI: alert def unit parsing and conversion needs some work
Product: [Other] RHQ Project Reporter: Jay Shaughnessy <jshaughn>
Component: AlertsAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED DUPLICATE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: high    
Version: 4.0.0.B02   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
All
Last Closed: 2011-08-12 16:34:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jay Shaughnessy 2011-01-10 21:25:21 UTC
We need parity with portal war when it comes to parsing and converting units in alert defs (and maybe other areas).

For example, currently if I want the alert condition on platform:

  SystemLoad > 90%

I must type in "0.9" for the value.

If I add the unit, like "0.9%", I get an exception.

If I type "90" it gets converted to 9000%.


Hopefully we can pirate some existing portal war code for all of this...

Comment 1 Charles Crouch 2011-08-12 16:34:38 UTC

*** This bug has been marked as a duplicate of bug 698600 ***