]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Make DeletionPolicy a resource attribute instead of a property.
authorThomas Herve <therve@gmail.com>
Wed, 1 May 2013 14:54:57 +0000 (16:54 +0200)
committerThomas Herve <therve@gmail.com>
Thu, 2 May 2013 10:26:11 +0000 (12:26 +0200)
commit147e1e6afe28e24ef7b508ca7fed0bb0a926b6f0
tree1fb295a284ae0733f74003937f81d8066cbb25f3
parent7c708e7607caf164c8a27eb5a9deffd3116352f6
Make DeletionPolicy a resource attribute instead of a property.

This improves validation of the different values, and make the Retain
policy works for all resources.

Fixes: bug #1160779
Change-Id: Idb0d275c44661db341f693d9d80629661d66c7ac
heat/engine/resource.py
heat/engine/resources/s3.py
heat/engine/resources/swift.py
heat/engine/service.py
heat/tests/test_s3.py
heat/tests/test_swift.py
heat/tests/test_validate.py
templates/S3_Single_Instance.template
templates/Swift.template