oslo.messaging/oslo_messaging/notify
Mehdi Abaakouk c49594a62f Remove usage of contentmanager for executors
The context manager in the executor fit only for the blocking executor.
Even the dispatcher needs to run code before and after the application
callback, eventlet and future executors have to run the pre/post code
into the main thread and can run the callback into an other thread,
and that force them to run __enter__ and __exit__ manually and deal
the exception path.

This change adds a helper object instead of the context manager.
It is designed to be explicit on what must be executed
before and after the callback and what can be done in a thread or not.

All the executor code is now in the impl_pooledexecutor.py
and use the futures "PoolExecutor" API.

This use futurist to provide a eventlet and aioeventlet futures friendly
object.

Change-Id: I8cd7640f36beeda47560e3c82671bad3530e38d1
2015-07-08 13:42:10 +02:00
..
__init__.py Implements notification-dispatcher-filter 2015-01-13 09:44:23 -05:00
_impl_log.py Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00
_impl_messaging.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
_impl_noop.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
_impl_routing.py Update Oslo imports to remove namespace package 2015-01-21 21:09:33 -05:00
_impl_test.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
dispatcher.py Remove usage of contentmanager for executors 2015-07-08 13:42:10 +02:00
filter.py Implements notification-dispatcher-filter 2015-01-13 09:44:23 -05:00
listener.py Merge "Implements notification-dispatcher-filter" 2015-02-04 02:40:06 +00:00
log_handler.py Make notify driver messaging play well with publish_errors 2015-03-28 11:32:24 +00:00
logger.py Make notify driver messaging play well with publish_errors 2015-03-28 11:32:24 +00:00
middleware.py Update to oslo.context 2015-03-11 10:09:51 +01:00
notifier.py Fix missing space in help text 2015-04-29 09:47:02 -05:00