heat/heat_integrationtests/functional
Zane Bitter 633f4c9f00 Get dep_attrs from StackDefinition
Since function.dep_attrs() returns logical resource names (rather
than actual objects), we can just as easily use the StackDefinition to
calculate it instead of the Stack and Resource objects.

In the legacy path, we must ensure we use the StackDefinition from the
*new* stack to determine which attributes to include in the NodeData, since
that's what we're going to be using it for. In the convergence path the
current stack definition already contains the new template.

Also, update the *new* stack's definition with the NodeData obtained from
completed resources (in addition to the existing stack's), so that that
data may be used in calculating the dep_attrs for future resources. This is
required when get_attr functions are nested in the template.

Change-Id: I23efcc091eae53470f7f9cb3ca21e09f00f43808
Partially-Implements: blueprint stack-definition
2017-07-21 10:30:34 -04: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 m1.tiny is not always there 2016-11-08 05:19:10 +00:00
test_aws_stack.py Skip integration tests when Swift is not available 2017-03-23 11:20:14 +01:00
test_cancel_update.py Don't use hardcoded flavors in tests 2016-12-06 12:14:18 +05:30
test_conditional_exposure.py Encode exception message in tests 2017-02-28 09:47:05 +01:00
test_conditions.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08:00
test_create_update_neutron_port.py Skip test_update_with_mac_address without admin credentials 2017-02-20 07:25:00 +00:00
test_create_update_neutron_subnet.py Add few functional tests for translation 2017-04-12 12:02:48 +00:00
test_create_update.py Fix race in new condition test 2017-07-05 15:45:39 +02:00
test_default_parameters.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08:00
test_delete.py Increase the timeout for the stop_stack message 2016-09-22 09:45:08 -04:00
test_encrypted_parameter.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08:00
test_encryption_vol_type.py Add integration tests for admin actions 2016-06-14 22:39:33 +05:30
test_env_merge.py Modify use of assertTrue(A in B) 2016-09-02 08:30:00 +00:00
test_event_sinks.py Use project_name/admin_project_name config option 2017-04-11 10:29:26 +05:30
test_external_ref.py Add support for a resource level external_id 2016-08-12 15:59:14 +08:00
test_heat_autoscaling.py Wait for the policy to be done in tests 2017-04-10 23:44:26 +02: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 m1.tiny is not always there 2016-11-08 05:19:10 +00:00
test_lbaasv2.py Remove unused LOG to keep code clean 2016-07-10 11:11:00 +00:00
test_nested_get_attr.py Add a functional test for nested get_attr functions 2017-07-10 16:43:38 -04:00
test_notifications.py Fix calls to call_until_true 2017-04-10 17:00:57 +02:00
test_nova_server_networks.py Check for correct Neutron exceptions harder 2017-06-01 19:00:46 -04:00
test_os_wait_condition.py Bring back signal-related tests 2017-05-04 22:53:09 -04:00
test_preview_update.py Fix update preview to handle nested stacks 2016-02-03 12:34:33 +00:00
test_preview.py Update functional tests missing skip check 2017-06-28 07:46:57 +00:00
test_purge.py Remove additional purge test 2016-08-03 10:31:09 +02:00
test_reload_on_sighup.py Fix some functional tests for py3 2017-03-28 13:00:19 +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 Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_resource_group.py Improve StackValidationFailed exception 2017-06-29 09:40:54 +05:30
test_resources_list.py Don't load new copies of current resources 2017-07-13 15:07:50 -04:00
test_snapshot_restore.py Fix handle_restore for server and volume resources 2017-05-19 11:56:27 +05:30
test_software_config.py Fix remaining py3 tests 2017-03-29 23:39:41 +02:00
test_software_deployment_group.py Fix races in SoftwareDeploymentGroupTest 2017-06-14 16:31:54 -04:00
test_stack_events.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_stack_outputs.py Get dep_attrs from StackDefinition 2017-07-21 10:30:34 -04:00
test_stack_tags.py Make the stack tags template non-empty 2015-09-14 11:12:20 +10:00
test_swiftsignal_update.py Skip integration tests when Swift is not available 2017-03-23 11:20:14 +01:00
test_template_resource.py Update functional tests missing skip check 2017-06-28 07:46:57 +00:00
test_template_validate.py Allow nested validation for template-validate 2015-09-22 08:27:28 +01:00
test_templates.py Add new HOT version for Pike release 2017-03-14 15:34:31 -04:00
test_translation.py Add few functional tests for translation 2017-04-12 12:02:48 +00:00
test_unicode_template.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08: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