Description of problem: I a not able to create alert condition of 'Drift' type. Issue is very similar to Bug 967488 Version-Release number of selected component (if applicable): 4.8-master How reproducible: always Steps to Reproduce: do POST /alert/definitions?resourceId=xxx with body {"dampeningCategory": "NONE", "conditions": [{"category": "EVENT", "name": "INFO", "option": ".*"}], "conditionMode": "ALL", "enabled": true, "name": "rest-condition-event"} Actual results: Can not construct instance of org.rhq.core.domain.alert.AlertConditionOperator from String value 'INFO': value not one of declared Enum instance names\n at [Source: org.apache.catalina.connector.CoyoteInputStream@327cc96c; line: 1, column: 66] (through reference chain: org.rhq.enterprise.server.rest.domain.AlertDefinitionRest[\"conditions\"]->org.rhq.enterprise.server.rest.domain.AlertConditionRest[\"name\"]) Expected results: alert definition is created. When creating a definition of type "EVENT", "name" should be interpreted as "event severity" enum and "option" is a regular expression to match message.
master e718326
Bulk closing of old issues now that HRQ 4.9 is in front of the door. If you think the issue has not been solved, then please open a new bug and mention this one in the description.