oslo.messaging/oslo_messaging/notify
Jay Faulkner 800c58826e Utilize the new RequestContext redacted_copy method
We now expect context objects to support returning a redacted copy of
themselves.

As a related cleanup, removed the practice entirely of using
dictionaries to represent contexts in unit tests and the logging driver.

As part of developing this change, I discovered code in Glance (and
potentially other services) which explicitly pass {} in lieu of a
context when notifying; so we now properly handle dictionaries as
contexts.

To ensure we have the method required; require oslo.context 5.3.0 or
newer.

Change-Id: I894f38cc83c98d3e8d48b59864c0c7c2d27e7dcd
2024-01-16 12:08:20 -08:00
..
__init__.py batch notification listener 2015-12-08 09:14:20 +01:00
_impl_log.py Revert "Ensure the json result type is bytes on Python 3" 2016-03-11 09:00:08 +00:00
_impl_noop.py Allow custom notification drivers 2015-09-25 10:07:05 -04:00
_impl_routing.py Remove the oslo_utils.fnmatch 2021-05-11 01:02:11 +00:00
_impl_test.py Allow custom notification drivers 2015-09-25 10:07:05 -04:00
dispatcher.py Remove six usage 2020-05-11 10:21:58 +02:00
filter.py Remove six usage 2020-05-11 10:21:58 +02:00
listener.py Update hacking for Python3 2020-03-30 13:49:29 +00:00
log_handler.py Option group for notifications 2015-11-30 19:30:05 +00:00
logger.py Utilize the new RequestContext redacted_copy method 2024-01-16 12:08:20 -08:00
messaging.py [rabbit] use retry parameters during notification sending 2022-01-12 12:22:55 +01:00
middleware.py Remove log translation and i18n 2019-04-24 11:55:38 +02:00
notifier.py Utilize the new RequestContext redacted_copy method 2024-01-16 12:08:20 -08:00