neutron/neutron/pecan_wsgi
Brandon Logan 6019b163d6 Pecan: move fields and filters logic to hooks
The logic for massaging the fields and filters data was being done in
the controllers.  This change pulls that logic out of the controllers
and puts it in a generic hook so that it's done for all controllers.
This will later be used for pagination, but thats not the main
motivation of this patch.

Ideally, the filters and fields would be passed into the controller
methods themselves as kwargs, but that is not easily done due to pecan
not easily allowing overriding the args and kwargs passed to the
controller methods. For now, the fields and filters will have to be
pulled out of the request context.

Change-Id: Ibea9087c7036faa064b87acb52e09c9a3c74148a
2016-06-24 00:38:04 -05:00
..
controllers Pecan: move fields and filters logic to hooks 2016-06-24 00:38:04 -05:00
hooks Pecan: move fields and filters logic to hooks 2016-06-24 00:38:04 -05:00
__init__.py Rename 'newapi' to 'pecan_wsgi' 2015-09-02 15:53:34 +00:00
app.py Pecan: move fields and filters logic to hooks 2016-06-24 00:38:04 -05:00
constants.py Pecan: implement DHCP notifications in NotifierHook 2016-02-15 10:50:28 +00:00
startup.py Pecan: bind attribute map to controllers 2016-05-26 06:13:53 +00:00