Use the default threshold definition as a template when adding TriggeredUEI/RearmedUEI on thresholds through the WebUI

Description

Currently, the format of the event is hardcoded on org.opennms.web.controller.admin.thresholds.ThresholdController, and almost all the time, if a user sets the Triggered/Rearmed UEI from the WebUI, it should also edit the generated event definition manually.

It will be nice if the current default definitions are used, that way we could eliminate the need to edit the generated event.

Also, it will be nice to add a validation to avoid creating rearm events for absoluteChange and relativeChange because it doesn't make sense.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Alejandro Galue March 19, 2015 at 12:30 PM
Edited

Fixed on revision f67eabdfaad3a0b364e09f12c320617b1b4f0038 for foundation.

Merged into develop on revision 8141ba5c373b262071beb1eed2c3488cad3c3560

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created March 5, 2015 at 12:08 PM
Updated March 19, 2015 at 12:31 PM
Resolved March 19, 2015 at 12:30 PM