barbican/barbican
Elvin Tubillara 83e7caa02c Fix roles attribute for barbican request context
The oslo_context.context.RequestContext was updated in oslo_context 2.2.0
to have a roles attribute. This caused the barbican request context to
have an empty roles attribute.
The 'inspect' library is used to make sure backwards compatibility since
the current requirements for oslo_context is >= 0.2.0.

Change-Id: Iafc67a6f42e46da998eaf2f5199c47f6beaf345e
2016-02-26 09:02:14 -06:00
..
api Merge "Using dict.items() is better than six.iteritems(dict)" 2016-02-05 13:01:12 +00:00
cmd Trivial Fix: Replace exit() with sys.exit() 2016-01-25 17:52:30 +08:00
common Add Name restrictions in ContainerValidator 2016-02-07 17:21:01 +00:00
locale Imported Translations from Zanata 2016-01-20 06:27:52 +00:00
model Fix typos in repositories.py 2016-02-24 12:12:40 -08:00
plugin Merge "Casts algorithm to lower case in KMIP plugin." 2016-02-24 20:40:58 +00:00
queue fix typo 2015-11-05 20:45:05 +09:00
tasks Enforce project ownership of subCAs 2015-10-01 15:53:40 -04:00
tests Merge "Add Name restrictions in ContainerValidator" 2016-02-24 19:09:14 +00:00
__init__.py Removing Cloudkeep from comments 2015-08-06 12:58:27 -04:00
context.py Fix roles attribute for barbican request context 2016-02-26 09:02:14 -06:00
i18n.py Drop old namespace for some oslo libraries 2015-02-02 22:10:45 +02:00
version.py Enable tag-based full version reporting via pbr 2014-01-22 18:01:30 -06:00