Bug 536210 (RHQ-585) - Alert notification should take a more Factory/plugin-like approach
Summary: Alert notification should take a more Factory/plugin-like approach
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-585
Product: RHQ Project
Classification: Other
Component: Alerts
Version: 1.0.1
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Sunil Kondkar
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-1623 RHQ-797
TreeView+ depends on / blocked
 
Reported: 2008-06-17 14:24 UTC by Heiko W. Rupp
Modified: 2010-08-12 16:57 UTC (History)
1 user (show)

Fixed In Version: 2.4
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-12 16:57:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2008-06-17 14:24:00 UTC
Ways of notification are currently relatively hard coded in the Alert Mangers and GUI. So it is not easy for customers to add their own ways of notification

We should take a more factory/plugin-like approach, where users supply a child class of AlertNotification which defines their way of delivering alerts.

The class would host two things
- methods to describe the ui requirements
- methods that do the alert sending (and some persistence of that)

So users would just need to write that class, compile it, put it "somewhere" in the server, restart the server and use their new way of sending alerts.

Comment 1 Joseph Marques 2008-07-19 20:14:45 UTC
agreed, this is a fairly important feature so that we can integrate our alerting information with all of the other sys mgmt products out there.  we need to think carefully about how to implement this correctly, specifically an API that is going to be good for customers but flexible for us in terms of backward compatibility.  as new versions of the server come out, the interface may chance slightly, and we don't want to require customers that have written these integration points to have to update all of their code.  

Comment 2 Red Hat Bugzilla 2009-11-10 21:12:26 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-585
This bug incorporates RHQ-797


Comment 3 Heiko W. Rupp 2010-02-24 13:11:57 UTC
This has been implemented as pluggable alert senders.

Comment 4 Corey Welton 2010-03-24 03:02:07 UTC
qa -> skondkar

Comment 5 Sudhir D 2010-05-25 10:36:59 UTC
This _newFeature_ has been tested as part of testcases for pluggable alert senders.

Marking this bug as verified.

Comment 6 Corey Welton 2010-08-12 16:57:21 UTC
Mass-closure of verified bugs against JON.


Note You need to log in before you can comment on or make changes to this bug.