OpenStack library for messaging
Go to file
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
doc/source Add drivers to the documentation 2015-06-03 11:40:57 +00:00
etc Routing notifier 2014-01-15 04:08:18 +00:00
oslo Expose _impl_test for designate 2015-01-26 21:55:20 +00:00
oslo.messaging/locale Imported Translations from Transifex 2015-07-06 06:13:34 +00:00
oslo_messaging Remove usage of contentmanager for executors 2015-07-08 13:42:10 +02:00
tests Remove usage of contentmanager for executors 2015-07-08 13:42:10 +02:00
tools Don't use devstack to setup our functional env 2015-06-11 12:01:01 +02:00
.coveragerc Fix coverage report generation 2015-03-12 16:38:51 -07:00
.gitignore Ignore any egg and egg-info directories 2014-02-05 09:32:25 -08:00
.gitreview Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
.testr.conf Allows to overriding oslotest environ var 2014-11-19 11:28:02 +01:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:39 +00:00
LICENSE Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
MANIFEST.in Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
README.rst Switch badges from 'pypip.in' to 'shields.io' 2015-06-11 20:38:19 -07:00
amqp1-requirements.txt Enable amqp's protocol unit tests everywhere 2015-06-15 20:52:24 +02:00
babel.cfg Setup for translation 2014-06-05 22:48:44 +02:00
requirements.txt Remove usage of contentmanager for executors 2015-07-08 13:42:10 +02:00
setup-test-env-qpid.sh Remove qpid-config call 2015-07-01 11:46:34 +00:00
setup-test-env-rabbit.sh Don't use devstack to setup our functional env 2015-06-11 12:01:01 +02:00
setup-test-env-zmq.sh Don't use devstack to setup our functional env 2015-06-11 12:01:01 +02:00
setup.cfg Remove 2.6 classifier 2015-07-06 12:02:54 +03:00
setup.py Manual update the requirements 2015-07-02 16:51:42 +03:00
test-requirements.txt Manual update the requirements 2015-07-02 16:51:42 +03:00
tox.ini Remove py26 artefacts from oslo.messaging code 2015-07-06 12:04:02 +03:00

README.rst

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.