OpenStack Context library
Go to file
Ronald Bradford f0de0c6291 Add oslo.context name attributes matching ids
Provide in the oslo.context base class _name attributes to match
the already defined id attributes (that are not yet called _id).

These attributes are made available for oslo.log to use in context
aware logging.

This will replace any projects that subclass RequestContext and
subsequently add these attributes to to_dict(). e.g.
http://git.openstack.org/cgit/openstack/nova/tree/nova/context.py#n176

See as discussed on ML at
http://lists.openstack.org/pipermail/openstack-dev/2016-April/091453.html

Change-Id: I1fbb613ded8dbcb99b2f43a4bc43f9046097c0ce
2016-05-19 17:07:53 -04:00
doc/source Improve Context docs with example syntax 2016-01-29 20:45:46 +00:00
oslo_context Add oslo.context name attributes matching ids 2016-05-19 17:07:53 -04:00
.coveragerc Fix coverage configuration and execution 2015-10-09 16:11:45 -04:00
.gitignore Improve Context docs with example syntax 2016-01-29 20:45:46 +00:00
.gitreview exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
.mailmap exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
.testr.conf Move out of the oslo namespace package 2014-11-14 13:52:32 -05:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:38 +00:00
HACKING.rst exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
LICENSE exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
README.rst Add shields.io version/downloads links/badges into README.rst 2015-09-24 12:38:28 -07:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-11-05 15:03:32 +01:00
requirements.txt Drop babel as requirement since its not used 2016-04-20 18:53:27 -07:00
setup.cfg Remove python 2.6 classifier 2015-11-17 14:12:34 +08:00
setup.py Updated from global requirements 2015-09-17 12:15:57 +00:00
test-requirements.txt Updated from global requirements 2016-01-16 03:31:07 +00:00
tox.ini Trivial: ignore openstack/common in flake8 exclude list 2016-05-11 19:26:50 +08:00

README.rst

Oslo Context Library

Latest Version

Downloads

The Oslo context library has helpers to maintain useful information about a request context. The request context is usually populated in the WSGI pipeline and used by various modules such as logging.