cloudkitty/cloudkitty/api/v2
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
..
dataframes Merge "Fix 500 errors in the API when request context bears no project_id" 2019-12-02 14:20:13 +00:00
scope Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
summary Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
__init__.py Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
base.py Load drivers only once in the v2 API 2019-11-18 13:54:21 +00:00
utils.py Introduce cloudkitty.utils 2019-11-25 16:55:02 +01:00