heat/heat/engine/resources/openstack/monasca
Peter Razumovsky e3cc29c4e2 Improve validation in OS::Monasca::Notification
Current validation is weak, need to add more validation to
resource for webhook and email types.

Besides validation improvements incorrect period property behaviour
has been fixed: since [1] it has default value equals 60 to conform
to autoscaling behaviour, but it means, that even if no period
defined in template, it's value will be set to 60, including case
when type equals to "email", which doesn't pass validation. Revert
changes to Sirushti original solution and add him as author of
comment.

[1] https://review.openstack.org/#/c/325147/2

Change-Id: I0b6d22cf7c352379ba4a15aa9688963f6bc26660
Closes-bug: #1558469
2016-08-26 14:12:41 +03:00
..
__init__.py Monasca Notification resource plugin 2015-08-13 11:53:36 +05:30
alarm_definition.py Monasca: Don't pass keyword arguments of value None 2016-06-10 14:57:35 +05:30
notification.py Improve validation in OS::Monasca::Notification 2016-08-26 14:12:41 +03:00