Added notifications documentation page

In this changeset, I added a new Sphinx directive (from Nova) that
allows us to automatically display notification samples for of
all the upcoming notifications in Watcher.

Partially Implements: blueprint watcher-notifications-ovo

Change-Id: Id7d819ee21db6dc616c78faea483b883f77e3bd6
This commit is contained in:
Vincent Françoise
2016-10-17 17:21:57 +02:00
parent b27e5b91b9
commit cdee2719f7
5 changed files with 150 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ class ExceptionPayload(notificationbase.NotificationPayloadBase):
exception_message=six.text_type(fault))
@notificationbase.notification_sample('infra-optim-exception.json')
@base.WatcherObjectRegistry.register_notification
class ExceptionNotification(notificationbase.NotificationBase):
# Version 1.0: Initial version