neutron/neutron/api
Ihar Hrachyshka 527468be33 api: work around Routes cutting off suffix from resource id
Routes allows for auxiliary format suffix. Sadly it doesn't distinguish
between an actual format suffix (.json) and any other suffix that may be
part of the id. (like for first.second resource tag). To work this
behavior around, we will reattach the 'format' suffix if it is not of a
supported format (json only at the time of writing).

This of course leaves a corner case where there is a tag where .json is
a part of its id. This seems to be a reasonable balance to leave it
unfixed, because an alternative would probably be not backwards
compatible.

Closes-Bug: #1694897
Change-Id: I271107150166f0ee680faaa2e3ca6044cf4e8d4f
2017-06-01 14:13:39 -07:00
..
rpc use is_port_trusted from neutron-lib 2017-05-24 09:02:39 -06:00
v2 api: work around Routes cutting off suffix from resource id 2017-06-01 14:13:39 -07:00
views Add a new configuration variable for api links. 2017-04-18 15:16:41 +00:00
__init__.py Added API extensions to detect sorting/pagination features 2016-08-01 22:57:15 +02:00
api_common.py Add a new configuration variable for api links. 2017-04-18 15:16:41 +00:00
extensions.py Replace six.iteritems with dict.items(Part-2) 2017-04-18 18:56:46 +08:00
versions.py Pecan: Get loaded by paste deploy 2017-02-17 14:54:27 -06:00