]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat API : return ResourceProperties as JSON
authorSteven Hardy <shardy@redhat.com>
Thu, 27 Sep 2012 13:43:34 +0000 (14:43 +0100)
committerSteven Hardy <shardy@redhat.com>
Thu, 27 Sep 2012 13:46:56 +0000 (14:46 +0100)
commit3c85e1941f95e30b2c592117b4b6b23cecb87bbd
treea35239a3fe557f085bdde824b09e16fe9192f601
parent715a62d2b4fd2fd9169254835234e7861027579e
heat API : return ResourceProperties as JSON

For boto to correctly parse the API DescribeStackEvents
action, the ResourceProperties key in the response
must be a string, as per the AWS spec, so we encode the
properties in a JSON blob

Fixes #245

Change-Id: Icd38984836a941ed4a012b06382933bb46f43c4f
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/api/cfn/v1/stacks.py
heat/tests/test_api_cfn_v1.py