neutron/neutron/pecan_wsgi/hooks
Salvatore Orlando 5fe6f8015a Pecan: fix quota management
This patch fixes quota management APIs in the Pecan framework.
To this aim:

1) an ad-hoc pair of collection/item controllers are introduced
   for the quota resource; as the new controllers have been added
   in a separate module, the neutron.pecan_wsgi.controllers.utils
   module has been added as well for helpers, routines and classes
   used by all pecan controllers;
2) the quota API extension is made pecan-aware, meaning that it
   simply returns a Pecan controller instance rather than deferring
   the task to the startup process that builds controllers using the
   home-grown WSGI framework ext manager;
3) the quota resource is now "almost" a standard neutron resource;
   unfortunately since it does not yet have its own service plugin a
   special provision is made in the attribute population hook in
   order to ensure the object is loaded for allowing correct
   policy enforcement.
4) Functional tests for the quota controller have been added.

Closes-Bug: #1505843

Change-Id: I44a1fd73f678e493d5b1163e5f183d9efdc678ac
2016-01-13 09:10:25 -08:00
..
__init__.py Pecan: Streamline request body processing 2016-01-11 04:07:34 -08:00
body_validation.py Pecan: Streamline request body processing 2016-01-11 04:07:34 -08:00
context.py Pull project out of request in addition to tenant 2015-12-07 22:16:47 -05:00
member_action.py Use pecan controllers for routing 2015-09-18 06:00:14 -07:00
notifier.py Rename 'newapi' to 'pecan_wsgi' 2015-09-02 15:53:34 +00:00
ownership_validation.py Pecan: Streamline request body processing 2016-01-11 04:07:34 -08:00
policy_enforcement.py Pecan: fix quota management 2016-01-13 09:10:25 -08:00
quota_enforcement.py Pecan: Streamline request body processing 2016-01-11 04:07:34 -08:00
translation.py Merge "HACKING: fix edge case with log hints" 2015-12-07 18:24:18 +00:00