]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Check for service existance in capabilities API
authorIvan Kolodyazhny <e0ne@e0ne.info>
Sat, 23 Jan 2016 11:35:15 +0000 (13:35 +0200)
committerYuriy Nesenenko <ynesenenko@mirantis.com>
Fri, 26 Feb 2016 15:10:34 +0000 (17:10 +0200)
commit5cdc805b3ece20fe1de83730d40beb84f22c4062
tree06e6d48a7ff8b0f20b1a54cfa23e9a363ef82f00
parentc2f39b1ca3f3dca07bd9edcf800e938a6b3d138a
Check for service existance in capabilities API

We have to return 404 error code if requested backend
is not found and 502 if request failed with timeout.

APIImpact

Change-Id: Ia392973121800278751642f0a22ee817b3a69b74
Closes-Bug: #1520077
cinder/api/contrib/capabilities.py
cinder/exception.py
cinder/tests/unit/api/contrib/test_capabilities.py