Notification Engine Plugin System
Add a plugin system to the notification engine to enable new notification plugins to be developed and added. For example, PagerDuty and SMS using Twilio.
Blueprint information
- Status:
- Complete
- Approver:
- Roland Hochmuth
- Priority:
- High
- Drafter:
- Roland Hochmuth
- Direction:
- Approved
- Assignee:
- Haneef Ali
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Roland Hochmuth
- Completed by
- Roland Hochmuth
Whiteboard
Monasca supports 3 notification types. They are "EMAIL", "WEBHOOK" and "PAGERDUTY". They are hardcoded as enum in the code. This makes it difficult to add any new notification types. The purpose of this blueprint is to remove those hardcoded enums from the code and drive the supported notification types via config entries.
Monasca-api
- Remove hard coded enum from monasca-api
- Add a new API to retrieve the supported notification types. GET //v2.0/
Monasca-client
- Add the client support for the new API
Monasca-
- Add new notification types for HipChat, Slack, Jira ( Jira will be a new blueprint as it has some worflow issues to discuss)
- Support for formatting the notification payload. e.g operators can format the payload using Jinj2 template to suit their needs
- Add support for dynamically loading notification types
Gerrit topic: https:/
Addressed by: https:/
Add support for notification-
Addressed by: https:/
Add new REST api for notification method types
Addressed by: https:/
Add HipChat and Slack Notification types
Gerrit topic: https:/
Addressed by: https:/
Add entity for notification_
Addressed by: https:/
Remove hardcoded monasca notification types
Addressed by: https:/
Add support for new rest api notification-
Addressed by: https:/
Fix race condition in notification type inserts
Addressed by: https:/
Add custom formatting options for HipChat
Addressed by: https:/
Avoid compilation error in monasca-common AlarmNotificati
Addressed by: https:/
Add Jira Plugin
Addressed by: https:/
Add https proxy support for a hipchat/slack plugin
Addressed by: https:/
Add support for new rest api notification-