cloudkitty/cloudkitty/common
Luka Peschke a80d0e977d Update oslo.policy and oslo.context usage
This changes the way oslo.policy and oslo.context are used. This aims at
delegating as much work as possible to these libraries in order to ease
maintainability.

Work items:

* Use oslo_context.RequestContext's from_environ() method instead of building
  the context manually.

* Replace "tenant_id" with "project_id" in policy rule definition/enforcement.

* Introduce a cloudkitty.context module allowing to easily tweak request
  context creation.

Change-Id: I91f38b9aded2dc6453507edaa55cfd9ddf7e995b
2019-12-12 15:54:51 +00:00
..
db Removing author identification in all files 2019-07-22 12:21:54 +00:00
policies Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
__init__.py Added alembic support for database migrations 2014-08-08 15:02:12 +02:00
config.py Merge "Register keystone auth options with keystoneauth1 helper functions" 2019-09-24 15:17:42 +00:00
context.py Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
defaults.py Bootstrap the v2 API 2019-04-01 13:52:04 +02:00
policy.py Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
prometheus_client.py Implement Prometheus fetcher 2019-04-17 12:18:51 +00:00