blazar/blazar/api
Tetsuro Nakamura 2bd5b65118 Expose placement exception code to end users
Attempting to create an existing host already in DB resulted in a 409
Conflict response status code in the Rocky release. However, on the
current master, using the placement API support has changed it to return
a 500 Internal Server Error.

This patch changes it back to 409 by bubbling up the exception code
occured in the placement resource provider creation.

Change-Id: I5c02a8fe9a83adf83358062fcc5470e38e643550
Closes-Bug: #1812642
2019-03-18 22:37:03 +00:00
..
v1 Expose placement exception code to end users 2019-03-18 22:37:03 +00:00
v2 Fix enabled log_exchange issue 2018-11-27 11:23:08 +00:00
__init__.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
app.py Return 401 error for invalid token instead of 204 2018-12-11 09:43:13 +00:00
context.py Fix map issues with Python3 2018-02-02 11:53:10 +00:00
root.py Fix JSON serialization issues with Python3 2018-01-22 14:00:26 +09:00
wsgi_app.py Enable uWSGI deployment of the blazar-api service 2017-12-13 12:30:17 +00:00