]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
bp/api-error-codes
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Tue, 17 Jan 2012 01:23:00 +0000 (01:23 +0000)
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Wed, 25 Jan 2012 01:28:30 +0000 (01:28 +0000)
commitcc832e5d5865cc94f226d1d88f10b431f221f1f1
tree942f0c3da25f98a35b147ad8815cbb75d9e8d840
parent1dd7766dcadcd52ee0e9cd6c6e44362368167611
bp/api-error-codes
Restructured API error codes for Quantum API v1.1
This changeset provides the following changes:
- Only standard HTTP errors for Quantum API v1.1
- Customized fault response body formatting according to API version
- Changes to unit tests to deal with version specific status codes

NOTE: Client side changes are not in this branch.
They should be implemented within bp/quantum-client-1.1.
NOTE-2: Fixing references to QuantumHTTPErrors in extensions framework

Change-Id: I56f50b5c59d73fd6f02905106f0c2a3c8341a741
quantum/api/api_common.py
quantum/api/faults.py
quantum/api/networks.py
quantum/tests/unit/_test_api.py
quantum/tests/unit/test_api.py
quantum/tests/unit/test_extensions.py
quantum/wsgi.py