]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat cfn api, format waitcondition error responses correctly
authorSteven Hardy <shardy@redhat.com>
Wed, 12 Dec 2012 15:01:54 +0000 (15:01 +0000)
committerSteven Hardy <shardy@redhat.com>
Wed, 12 Dec 2012 18:00:56 +0000 (18:00 +0000)
commit9ceadd6730d09707347b077385a36253a94ff258
treef07aeb78228577ebf5b3820cc1f54586379c3aaf
parent772818102cc815186ed44bfb2f78ca6c36266fbf
heat cfn api, format waitcondition error responses correctly

Return errors from the waitcondition part of the CFN API in a similar
format to other CFN API responses, by catching engine errors and mapping
the error to an appropriate HeatAPIException.

fixes bug 1089032

Signed-off-by: Steven Hardy <shardy@redhat.com>
Change-Id: I40486ed53fd4968519f623a3ea5a96f6c3374ea5
heat/api/cfn/v1/waitcondition.py
heat/engine/service.py
heat/tests/test_engine_service.py