]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : pass json snippet into resource handle_update
authorSteven Hardy <shardy@redhat.com>
Mon, 28 Jan 2013 14:45:24 +0000 (14:45 +0000)
committerSteven Hardy <shardy@redhat.com>
Thu, 31 Jan 2013 09:56:28 +0000 (09:56 +0000)
commitb3744f28af6c460f2c029a438e5680ad34d8704c
tree299d5c935a33046a1fc69e2522e12c5e5db1413d
parentac84fae5d3847a2fc10ca95d1ba2be28e7fab08f
heat engine : pass json snippet into resource handle_update

Change handle_update to accept the resource json_snippet,
needed to decide if a non-replacement update is possible
by comparing pre and post update resource definitions

ref blueprint instance-update-stack

Change-Id: I7eedce41eae232330f6fce4f098183cbd7fd6768
Signed-off-by: Steven Hardy <shardy@redhat.com>
27 files changed:
heat/engine/resource.py
heat/engine/resources/autoscaling.py
heat/engine/resources/cloud_watch.py
heat/engine/resources/dbinstance.py
heat/engine/resources/eip.py
heat/engine/resources/instance.py
heat/engine/resources/loadbalancer.py
heat/engine/resources/quantum/quantum.py
heat/engine/resources/s3.py
heat/engine/resources/security_group.py
heat/engine/resources/stack.py
heat/engine/resources/swift.py
heat/engine/resources/user.py
heat/engine/resources/volume.py
heat/engine/resources/vpc.py
heat/engine/resources/wait_condition.py
heat/tests/test_autoscaling.py
heat/tests/test_eip.py
heat/tests/test_instance_group.py
heat/tests/test_loadbalancer.py
heat/tests/test_quantum.py
heat/tests/test_s3.py
heat/tests/test_swift.py
heat/tests/test_user.py
heat/tests/test_volume.py
heat/tests/test_vpc.py
heat/tests/test_waitcondition.py