keystonemiddleware/keystonemiddleware
Stefan Nica 7ef56ff2a9 Add option to disable using oslo_message notifier
Add a configuration option, 'use_oslo_messaging', to indicate whether
to use oslo_messaging notifier. It is set to true for backwards
compatibility.
We can't use audit middleware with services like Swift, which have no
dependency on Oslo and does not work well with oslo_log. Swift uses rsyslog.
Currently, audit middleware indiscriminately chooses oslo_messaging if the
package is installed. This is problematic if Swift proxy is on the same
controller as any service which consumes oslo_messaging. With this new option,
Swift can now safely consume audit middleware by electing to use local
log notifier instead of oslo_messaging.

Change-Id: I87bf857c20e4b78e97d40dcc51a1b4ff0014abb2
Closes-Bug: #1695038
(cherry picked from commit e83bd0bc3c)
2019-04-16 22:31:51 +00:00
..
_common Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
audit Add option to disable using oslo_message notifier 2019-04-16 22:31:51 +00:00
auth_token Update URLs in documentation 2017-07-20 16:38:16 +08:00
echo Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
locale/ko_KR/LC_MESSAGES Imported Translations from Zanata 2017-01-24 08:44:20 +00:00
tests Add option to disable using oslo_message notifier 2019-04-16 22:31:51 +00:00
__init__.py Moving middleware to new location 2014-06-19 15:50:41 -07:00
ec2_token.py use oslo.log instead of logging 2017-01-13 03:24:18 +00:00
exceptions.py Create a Config object 2016-06-10 18:21:56 +00:00
fixture.py use oslo.log instead of logging 2017-01-13 03:24:18 +00:00
i18n.py Update URLs in documentation 2017-07-20 16:38:16 +08:00
opts.py Move auth token opts calculation into auth_token 2016-06-13 14:03:23 -03:00
s3_token.py Remove log translations 2017-05-02 09:58:02 +08:00