OpenStack library for messaging
Go to file
Mark McLoughlin f1612f2895 Add thread-local store of request context
Oslo's logging code has some useful support for including bits of the
request context in log messages. While this isn't exclusively about the
request context in a dispatching RPC method, it seems useful for
oslo.messaging to support the concept for at least this use case simply
by recording the context in a thread local store before dispatching an
endpoint method and immediately clearing it when the method returns.

Note, we don't need to store weak refs in our store because we will
clear the reference in all cases rather than ever leaving a stale
reference around in the store.

Change-Id: I70ac06ed3a2a891a7a7b388b1823a0f3b08f2dd1
2013-08-09 11:21:27 +01:00
doc/source Add thread-local store of request context 2013-08-09 11:21:27 +01:00
oslo Add thread-local store of request context 2013-08-09 11:21:27 +01:00
tests Add a per-transport allow_remote_exmods API 2013-08-07 13:11:46 +01:00
.gitignore Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
.gitreview Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
.testr.conf Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
CONTRIBUTING.rst Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01: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
openstack-common.conf Add missing gettextutils 2013-07-27 15:49:48 +01:00
README.rst Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
requirements.txt Temporarily add eventlet to requirements 2013-07-27 15:54:03 +01:00
setup.cfg Fix notify drivers namespace 2013-06-24 12:52:41 +01:00
setup.py Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
test-requirements.txt Add simple rabbit driver unit test 2013-07-27 15:54:06 +01:00
tox.ini Simplify public symbol exports 2013-06-24 12:52:30 +01:00

Oslo Messaging Library

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