neutron/neutron/pecan_wsgi
salvatore 80426cf620 Pecan: tell the plugin about field selection
Neutron plugin are able to do field selection on responses (for
instance only returning id & name for a resource). However,
Pecan does not leverage this capability and always tells the
plugin to fetch all fields, doing field selection while
processing the response.

This patch ensures that pecan send the field list down to the
plugin.

As a part of this patch TestRequestProcessing has been update
to inherit from TestRootController rather than
TestResourceController. Inheriting from the latter was causing
tests to be executed twice for no reason, beyong using
TestResourceController's 'port' attribute, which was however
unnecessary as this change proves.

Closes-Bug: #1570259

Change-Id: Iac930cd3bb14dfdda78e6a94d2c8bef2b5c4b9a5
2016-05-24 12:13:21 -05:00
..
controllers Pecan: tell the plugin about field selection 2016-05-24 12:13:21 -05:00
hooks Pecan: tell the plugin about field selection 2016-05-24 12:13:21 -05:00
__init__.py Rename 'newapi' to 'pecan_wsgi' 2015-09-02 15:53:34 +00:00
app.py Add OSprofiler support 2016-05-20 11:35:59 -05:00
constants.py Pecan: implement DHCP notifications in NotifierHook 2016-02-15 10:50:28 +00:00
startup.py Pecan: Backwards compatible/cleaner init 2016-05-20 03:58:02 -05:00