Remove reference to verbose API fetch mechsnism
Bug #1040568 reported by
Salvatore Orlando
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Salvatore Orlando |
Bug Description
Quantum API made provisions for a "verbose" loading mechanism, which allowed to load a resource together with all its subresource, similar to the 'detail' action in Quantum v1 API.
However, the base plugin and plugins deriving from it never implemented this mechanism, so it might be worth removing references to 'verbose' and avoiding possible confusion.
We will implement this mechanism in the next version of the API. It will not break backward-
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | folsom-rc1 → 2012.2 |
To post a comment you must log in.
The verbose feature has been actually implemented as concerns fetching data from the db, and passing the verbose parameter from the API.
However returned 'verbose' data are then destroyed by the make_<resource> _dict methods. Even if these methods are adapted to deal with nested resources, we will have then the same problems with views in the API layer.
At this stage of the development process, I would not take the risk of fixing the response behaviour. So I'd just remove support for it, with a promise of having appropriate 'verbose' behaviour in the next release of the API.