OpenStack Context library
059f9ba16e
There are times, such as in oslo.messaging notifications, when we'd like a context object to be stripped of any secrets. This adds a method to RequestContext, redacted_copy(), which returns a copy of that context, carrying over an allowlist of fields only, leaving secrets behind. Related-bug: 2030976 Change-Id: Ie4a8eb784c505c41ec5fcd4cba091cc555146763 |
||
---|---|---|
doc | ||
oslo_context | ||
releasenotes | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pre-commit-config.yaml | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Oslo Context Library
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.
- License: Apache License, Version 2.0
- Documentation: https://docs.openstack.org/oslo.context/latest/
- Source: https://opendev.org/openstack/oslo.context
- Bugs: https://bugs.launchpad.net/oslo.context
- Release notes: https://docs.openstack.org/releasenotes/oslo.context/