keystonemiddleware/keystonemiddleware/tests/unit/audit
Leehom Li (feli5) 82707e15a5 Make sure audit middleware use own context
Keystone audit middleware requires to iterate req.context as dict,
but Glance requires to access req.context.read_only.
When glance enabled audit, they are conflict with each other.
This patch fix this issue by store audit context in
req.environ['audit.context']

Change-Id: Ib9a62a4cd0b7b9ffb9fa2d6440e8072d45ee0fee
Closes-Bug: #1809101
Signed-off-by: Leehom Li <feli5@cisco.com>
2018-12-24 02:02:17 +00:00
..
__init__.py Move audit into its own folder 2016-06-24 13:47:47 +00:00
base.py Return and use an app wherever possible 2016-09-30 05:45:25 +00:00
test_audit_api.py Make sure audit middleware use own context 2018-12-24 02:02:17 +00:00
test_audit_middleware.py Make sure audit middleware use own context 2018-12-24 02:02:17 +00:00
test_audit_oslo_messaging.py Add option to disable using oslo_message notifier 2018-02-20 11:26:22 +01:00
test_logging_notifier.py Mock log only after app creation 2016-11-01 16:33:39 +03:00