4 Commits

Author SHA1 Message Date
Sylvain Bauza
53059527c1 Update requirements, fix oslo imports and correct tests
Since Blazar was in Winter, lots of tech debt was added.

This big change is actually trying to provide a +1 from Jenkins voting jobs.
ie.

 - fix calls to oslo_config
 - correct unittests failing due to removed assert_called()
 - remove pep8 check for verifying blazar.conf (can be readded later)
 - fix oslo_messaging imports

Not sure it's fully functional, Tempest needs to be fixed too but I
hope the gate will allow that change to pass.

Change-Id: Ib70b5b48b47626fc2613ee894d1162219417994f
2015-09-04 13:17:25 +02:00
Nikolay Starodubtsev
ffe65876e8 Fix style errors close to new hacking update
This patch fix a bunch of errors which will arrive after we
will start use new hacking version.

Change-Id: I49721f1ba9f3f017da00212a9fdc5b87d5afaedf
Closes-Bug: #1330536
2014-06-18 13:51:54 -07:00
Jay Lau
822e568921 Adjust import order according to PEP8 imports rule
This patch just adjust import order to follow PEP8 imports rule.
See http://www.python.org/dev/peps/pep-0008/#imports

Imports should be grouped in the following order:
1) Standard library imports
2) Related third party imports
3) Local application/library specific imports

Change-Id: Ifb56bbe6ba1ed7682c3326d6429fb34d268e7ea4
2014-04-25 20:12:25 +08: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