use local config options if available in audit middleware
Some services such as Swift does not use Oslo (global) config. In that
case, make sure we can pass the options via local config instead. This is
consistent with how auth_token middleware handle global and local
config options.
Reviewed: https:/ /review. openstack. org/321882 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=8859345f3be ca0c037ebd6d3a4 eaabe07c6bbd73
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8859345f3beca0c 037ebd6d3a4eaab e07c6bbd73
Author: guang-yee <email address hidden>
Date: Thu May 26 15:30:43 2016 -0700
use local config options if available in audit middleware
Some services such as Swift does not use Oslo (global) config. In that
case, make sure we can pass the options via local config instead. This is
consistent with how auth_token middleware handle global and local
config options.
Change-Id: Ica7f1a4de26765 49b2b65cca0181f 2a911156ee6
Closes-Bug: 1583702