Bug 536210 (RHQ-585)

Summary: Alert notification should take a more Factory/plugin-like approach
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: AlertsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Sunil Kondkar <skondkar>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.1CC: sdharane
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-585
Whiteboard:
Fixed In Version: 2.4 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:57:21 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:
Bug Depends On:    
Bug Blocks: 534869, 536449    

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.