987b1a35cd
Fixes bug 1116137 Currently the format of error message returned by quota extension was different with quantum other resource. Other resource will return as json(eg, '{"QuantumError": "error message"}'). But quota extension only return messages without any format. 'quantum.api.v2.resource.Resource' provider error messages processing. So wrap quota controller with it. By the way, fix some small stuff: * Use specific exception 'QuotaTenantNotFound' instead of generic exception. * Correct error message. * Use attribute mapping checking the request body. Change-Id: I71261198aa79e9ed8e0ae672de32552abdbf45c1 |
||
---|---|---|
.. | ||
__init__.py | ||
config.py | ||
constants.py | ||
exceptions.py | ||
rpc.py | ||
test_lib.py | ||
topics.py | ||
utils.py |