Red Hat Bugzilla – Bug 1296576
Cannot create an Alert that sends a Management Event not defined in MiqEventDefinition
Last modified: 2016-04-13 14:40:34 EDT
New commit detected on cfme/5.5.z:
Merge: 8dae530 4658374
Author: Greg McCullough <email@example.com>
AuthorDate: Wed Feb 10 14:30:22 2016 -0500
Commit: Greg McCullough <firstname.lastname@example.org>
CommitDate: Wed Feb 10 14:30:22 2016 -0500
Merge branch '5.5.z-user_event_alert_1296248' into '5.5.z'
Fix Alert for Management Event.
Clean cherry-pick from [original](https://github.com/ManageIQ/manageiq/pull/6156).
See merge request !762
app/models/custom_event.rb | 2 +
app/models/miq_alert.rb | 19 +-
app/models/miq_event.rb | 2 +
.../Event/CustomEvent/Alert.class/__class__.yaml | 433 +++++++++++++++++++++
.../System/Event/CustomEvent/__namespace__.yaml | 11 +
.../service_models/miq_ae_service_custom_event.rb | 4 +
spec/models/miq_alert_spec.rb | 48 +++
7 files changed, 516 insertions(+), 3 deletions(-)
Verified in 220.127.116.11.20160318152106_92d2d67. The Management Event was successfully invoked.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.