]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Implement TODO for version listing
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 11 Aug 2015 10:37:46 +0000 (03:37 -0700)
committerKevin Benton <blak111@gmail.com>
Mon, 31 Aug 2015 17:17:33 +0000 (10:17 -0700)
commitae319ee3590ffeaac3a31f98894bfbf9a82926c0
tree3f15a2a25cbe388caa9b137d0c99ce5c2970f28d
parentbcf369b4d099c1cd3a39d47dc015e9ff280a8dfb
Implement TODO for version listing

Return a list of currently enabled API versions building
the response in the same way as it is done for the eventlet
WSGI API in order to ensure backward compatibility.

The only version listed is obviously 2.0, but the solution
devised in this patch allows version controller for self
declaring the version they implement.

This patch also replaces the use of _lookup when such method
is not strictly necessary.
To this aim, the minimum version of Pecan has been bumped to
1.0 as previouse releases did not support dots "." as valid
characters in URI path segments.

Change-Id: Ia748194b2c07a04a711d32ce8058a006e73621ef
neutron/newapi/controllers/root.py
neutron/tests/functional/newapi/test_functional.py
requirements.txt