cloudkitty/cloudkitty/api
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
..
v1 Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
v2 Update oslo.policy and oslo.context usage 2019-12-12 15:54:51 +00:00
__init__.py Added API service 2014-08-08 15:51:22 +02:00
app.py Replace ModuleNotFoundError with ImportError 2019-10-28 16:18:56 +01:00
app.wsgi Add WSGI support for `cloudkitty-api' 2017-07-18 12:55:11 +02:00
middleware.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
root.py Add a base resource for v2 API endpoints 2019-05-14 11:16:15 +00:00