heat/heat_integrationtests/functional
ricolin 3aeaefc29f Non-destructive upgrade for deprecated resources
If you attempt to update a stack containing
OS::Heat::SoftwareDeployments resources, so it uses the new
non-deprecated OS::Heat::SoftwareDeploymentGroup type instead, it
deletes the group, and all of the deployments.

This means that any deployment "actions" property will be
misinterpreted, e.g if you have actions: CREATE, all the deployments
will re-run on the update, even though it's an update, not a create.

This issue exists on all deprecated resoruces, when we trying to upgrade
to new version of it by update.

This patch fix above update issue by check if resoruce was deprecated
and been update by replacing resource (which is the parent class of
existing resource).

Change-Id: Ib7880120a90c4497a7ceea53eee55c220a28d14e
Closes-Bug: #1528958
2016-09-02 13:09:11 +08:00
..
__init__.py Functional test UpdateStackTest 2014-10-20 16:31:09 +13:00
functional_base.py Add integration tests for admin actions 2016-06-14 22:39:33 +05:30
test_admin_actions.py Add integration tests for admin actions 2016-06-14 22:39:33 +05:30
test_autoscaling.py Wait for stack status instead of group status 2016-06-24 16:35:45 +05:30
test_aws_stack.py Remove unused LOG to keep code clean 2016-07-10 11:11:00 +00:00
test_conditional_exposure.py Adds default policy rule for resources limited to administrator 2016-05-18 09:52:14 +08:00
test_conditions.py Provides 'if' intrinsic function 2016-08-25 01:14:14 +00:00
test_create_update.py Add wait_sec for test_stack_update_from_failed 2016-06-15 08:58:41 +05:30
test_create_update_neutron_port.py Fix tests on Neutron port behavior 2016-06-10 22:35:24 +02:00
test_create_update_neutron_subnet.py Improve gateway_ip updation for subnet 2016-01-06 16:01:26 +08:00
test_default_parameters.py Use yaml.safe_dump instead of yaml.dump 2016-02-20 07:45:32 +05:30
test_encrypted_parameter.py Update encrypted param template 2015-08-20 18:23:56 +00:00
test_encryption_vol_type.py Add integration tests for admin actions 2016-06-14 22:39:33 +05:30
test_env_merge.py Hook into environment merging on server 2016-02-12 10:48:54 -05:00
test_event_sinks.py Make ZaqarEventSinkTest more lenient 2016-02-24 13:08:06 +01:00
test_external_ref.py Add support for a resource level external_id 2016-08-12 15:59:14 +08:00
test_heat_autoscaling.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_hooks.py Use yaml.safe_dump instead of yaml.dump 2016-02-20 07:45:32 +05:30
test_immutable_parameters.py Return HTTPBadRequest error from API for immutable parameters 2016-03-01 21:00:16 -06:00
test_instance_group.py Fix [H405] pep rule in heat_integrationtests 2015-10-08 15:13:52 +03:00
test_lbaasv2.py Remove unused LOG to keep code clean 2016-07-10 11:11:00 +00:00
test_notifications.py Heat integration tests failing against https endpoints 2016-03-07 22:16:00 +05:30
test_nova_server_networks.py Add an integration for server using neutron 2016-07-28 13:55:16 +02:00
test_os_wait_condition.py Increase timeout of WaitCondition due to ConcurrentTransactions 2016-03-29 09:01:38 +00:00
test_preview.py Fix stack preview 2016-03-10 18:47:40 +02:00
test_preview_update.py Fix update preview to handle nested stacks 2016-02-03 12:34:33 +00:00
test_purge.py Remove additional purge test 2016-08-03 10:31:09 +02:00
test_reload_on_sighup.py Fix race condition in reload_on_sighup functional 2016-03-15 17:58:31 +00:00
test_remote_stack.py Use region from config in functional tests 2016-03-23 18:33:56 +05:30
test_replace_deprecated.py Non-destructive upgrade for deprecated resources 2016-09-02 13:09:11 +08:00
test_resource_chain.py Fix properties usage in ResourceChain update 2016-04-19 17:15:58 +02:00
test_resource_group.py Fix some spelling mistakes in heat as follows: 2016-06-23 12:39:48 +08:00
test_resources_list.py Fix resource loading in resource filtering 2016-05-26 13:48:13 +02:00
test_software_config.py Heat integration tests failing against https endpoints 2016-03-07 22:16:00 +05:30
test_stack_events.py Adding basic test to exercise the heat event APIs. 2015-09-18 16:21:00 +00:00
test_stack_outputs.py Add test for stack outputs 2016-01-27 12:34:49 +00:00
test_stack_tags.py Make the stack tags template non-empty 2015-09-14 11:12:20 +10:00
test_swiftsignal_update.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_template_resource.py Remove unknown parameters in patched update 2016-03-17 16:26:40 +01:00
test_template_validate.py Allow nested validation for template-validate 2015-09-22 08:27:28 +01:00
test_templates.py Supplement:use assertEqual() instead of assertDictEqual() 2016-07-27 15:42:23 +08:00
test_unicode_template.py Fix problems in unicode template support 2016-03-04 01:59:40 +00:00
test_update_restricted.py Fix another test race in test_update_restricted 2016-06-30 13:51:01 +02:00
test_validation.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_waitcondition.py Add test for zaqar-based wait conditions 2016-02-09 10:19:36 +01:00