2 Commits

Author SHA1 Message Date
Cristian A Sanchez
2d4c06a44a Fixes the problem of tenant_id key error
Before sending a notification, Climate creates a payload
using tenant_id, which is no longer available after this
patch set: https://review.openstack.org/#/c/82192/

Change-Id: I380d7ce8088fe25ab603ad822c048f09c39c05d3
Closes-Bug: #1311806
2014-04-23 15:07:39 -03:00
Cristian A Sanchez
1d1ad49da0 Sends notifications at lease events
Climate now uses oslo.notify to send notifications when
CRUD lease operations are executed and when relevant lease
events happen (start_lease, before_end_lease, end_lease).
This implementation also adds one new event type called
before_end_lease to be sent when a lease is close to be ended.
Moreover, a new oslo.notify wrapper class was also added.

Change-Id: I861540e5ec5d1309ded2de56b2135bae5b59dad9
Implements: blueprint notifications
2014-04-21 12:11:13 -03:00