19 lines
557 B
Python
19 lines
557 B
Python
from lemur.plugins.bases import NotificationPlugin
|
|
|
|
|
|
class TestNotificationPlugin(NotificationPlugin):
|
|
title = "Test"
|
|
slug = "test-notification"
|
|
description = "Enables testing"
|
|
|
|
author = "Kevin Glisson"
|
|
author_url = "https://github.com/netflix/lemur.git"
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
super(TestNotificationPlugin, self).__init__(*args, **kwargs)
|
|
|
|
@staticmethod
|
|
def send(notification_type, message, targets, options, **kwargs):
|
|
print("TODO REMOVE: sending email to {}".format(targets))
|
|
return
|