heat/heat/tests
Rabi Mishra 9e80518b90 Handle OS::Mistral::Workflow resource replacement properly
OS::Mistral::Workflow resource creates a mistral workflow with
a unique name (resource_id). We replace FAILED resources by
default and replace wont work in this case as it will try to
use the same workflow name for the replacement resouce, if the
'name' property is provided.

If the workflow does not exist/deleted using mistral api directly,
it would create a replacement resource, but it would delete the
workflow when cleaning up the old resource. So we would endup
with a replacement resource without any backing workflow.

This adds a new resource attribute ``always_replace_on_check_failed``
and overrides needs_replace_failed() for OS::Mistral::Workflow.

Task: 38855
Change-Id: Ia0812b88cae363dfa25ccd907ecbe8b86f5b1a23
2020-02-25 08:37:16 +05:30
..
api Fix the misspelling of "except" 2019-12-23 13:53:23 -05:00
autoscaling Merge "Eliminate nested stack loading in InstanceGroup/ASG scaling" 2018-04-02 04:35:47 +00:00
aws Unit tests: Fix mock errors with too few side effects 2018-08-10 17:25:13 -04:00
clients Merge "Check task_state of instance before volume actions" 2020-02-20 04:42:20 +00:00
cmd Add heat-status upgrade check command framework 2018-10-22 14:19:36 +00:00
constraints Fix allowed address pair validation 2019-05-15 13:06:36 +02:00
convergence Unit tests: Avoid deprecation warning for getargspec() 2018-10-08 11:41:36 -04:00
db Remove unrequired migrate check in test 2019-12-23 18:37:20 +00:00
engine Add unit test for creating structured SW Config 2019-12-23 18:30:16 +00:00
openstack Handle OS::Mistral::Workflow resource replacement properly 2020-02-25 08:37:16 +05:30
policy Remove CloudWatch API 2018-01-28 09:11:17 +05:30
templates
__init__.py Destroy mox forever 2018-07-05 14:46:21 -04:00
common.py Destroy mox forever 2018-07-05 14:46:21 -04:00
fakes.py Don't use 'assert' keyword in unit tests 2019-06-12 13:06:38 -04:00
generic_resource.py Rename mox_resource_id to mock_resource_id 2018-08-27 17:50:19 +02:00
test_attributes.py Revert "Support attributes with dynamic scheme" 2017-06-26 14:39:11 -04:00
test_auth_password.py Don't use 'assert' keyword in unit tests 2019-06-12 13:06:38 -04:00
test_auth_url.py Fall back to www_authenthicate_uri 2018-11-28 15:34:09 +01:00
test_common_auth_plugin.py Add tools to get keystone auth plugin 2019-03-12 18:15:07 +08:00
test_common_context.py Fix lower-constraints tox env to use proper constraints 2019-04-10 09:11:56 +05:30
test_common_env_util.py Handle zero values when merging environments 2017-03-02 22:03:20 +01:00
test_common_exception.py
test_common_param_utils.py
test_common_policy.py Remove mox from test_common_policy 2018-03-01 17:14:41 +01:00
test_common_serializers.py
test_common_service_utils.py Show an engine as down if service record is not updated twice 2019-07-24 03:16:57 +00:00
test_constraints.py Handle unicode in constraints 2019-01-29 19:21:28 +13:00
test_convg_stack.py Improve best existing resource selection 2019-01-29 16:47:33 +13:00
test_crypt.py Fix error for invalid auth_encryption_key 2017-08-16 14:30:47 +05:30
test_dbinstance.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08:00
test_empty_stack.py
test_engine_api_utils.py Eager load resource_properties_data in resource 2017-07-31 21:13:49 -04:00
test_engine_service.py Merge "Try deleting stack if not soft deleted yet" 2018-11-21 17:20:45 +00:00
test_environment.py Use correct raw string format 2017-11-16 18:23:58 -05:00
test_environment_format.py Add new environment section for merge strategies 2016-08-19 08:54:30 +05:30
test_event.py Remove mox from test_event 2018-04-03 08:07:31 +05:30
test_exception.py Improve StackValidationFailed exception 2017-06-29 09:40:54 +05:30
test_fault_middleware.py Use correct raw string format 2017-11-16 18:23:58 -05:00
test_function.py Allow paths as lists in function.validate() 2017-11-16 14:18:11 -05:00
test_grouputils.py Eliminate nested stack loading in InstanceGroup/ASG scaling 2018-01-19 15:40:37 -05:00
test_hacking.py Correct mistaken parameters of test_hacking.py in tests 2016-08-19 10:07:22 +08:00
test_hot.py Remove mox from test_hot 2018-04-03 08:07:31 +05:30
test_identifier.py Revert "Revert "Enable heat to use uwsgi with devstack"" 2017-07-07 11:00:04 +05:30
test_lifecycle_plugin_utils.py Remove mox from test_lifecycle_plugin_utils 2018-04-03 08:07:31 +05:30
test_loguserdata.py
test_metadata_refresh.py Remove stack watch service 2018-01-28 09:35:05 +05:30
test_nested_stack.py Don't use duplicate stack names in DB unit tests 2019-03-06 20:08:51 -05:00
test_noauth.py Don't use 'assert' keyword in unit tests 2019-06-12 13:06:38 -04:00
test_nokey.py Change NovaClientPlugin to use MicroversionMixin 2018-06-29 09:37:44 +05:30
test_notifications.py Restore timezone information in API response 2016-09-07 23:29:50 +02:00
test_parameters.py Catch type errors when casting to int 2017-06-16 14:39:56 +02:00
test_plugin_loader.py
test_properties.py Use resource description as default description property 2019-01-04 21:51:56 +13:00
test_properties_group.py Initial PropertiesGroup implementation 2016-11-07 14:29:17 +03:00
test_provider_template.py Replace git.openstack.org URLs with opendev.org URLs 2019-12-23 19:04:56 +00:00
test_resource.py Merge "Unit tests: Fix mock errors with too few side effects" 2018-09-04 17:18:27 +00:00
test_resource_properties_data.py Store resource attributes in the DB 2017-06-21 20:18:46 -04:00
test_rpc_client.py Option for retrieving child templates and env files from swift 2018-07-26 09:50:51 +05:30
test_rpc_listener_client.py
test_rpc_worker_client.py Convergence: Cancel message 2016-07-05 07:52:03 +00:00
test_rsrc_defn.py Cache names of required resources in ResourceDefinition 2017-07-21 10:44:51 -04:00
test_server_tags.py Change NovaClientPlugin to use MicroversionMixin 2018-06-29 09:37:44 +05:30
test_short_id.py Less unicode weirdness in short_id 2017-05-01 16:44:59 -04:00
test_signal.py Remove stack watch service 2018-01-28 09:35:05 +05:30
test_stack.py Don't use duplicate stack names in DB unit tests 2019-03-06 20:08:51 -05:00
test_stack_collect_attributes.py Cache dep_attrs for all resources in definitions 2017-07-21 10:44:51 -04:00
test_stack_delete.py delete_trust failure will not block a stack delete 2018-07-02 17:54:55 +00:00
test_stack_lock.py Don't always eagerly load the raw_template for a stack 2016-10-04 08:25:01 -04:00
test_stack_resource.py Remove mox from test_stack_resource 2018-03-06 17:18:36 -05:00
test_stack_update.py Rename mox_resource_id to mock_resource_id 2018-08-27 17:50:19 +02:00
test_stack_user.py Remove mox from test_stack_user 2018-04-03 08:07:31 +05:30
test_support.py
test_template.py Change NovaClientPlugin to use MicroversionMixin 2018-06-29 09:37:44 +05:30
test_template_files.py del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
test_template_format.py Use correct raw string format 2017-11-16 18:23:58 -05:00
test_timeutils.py Get rid of timeutils.round_to_seconds() 2017-05-04 20:41:34 -04:00
test_translation_rule.py Ignore RESOLVE translation errors when translating before_props 2018-07-30 14:15:52 +05:30
test_urlfetch.py Remove mox from test_urlfetch 2018-04-03 08:07:31 +05:30
test_validate.py Handle unicode in constraints 2019-01-29 19:21:28 +13:00
test_version.py
test_vpc.py Unit tests: Fix mock errors with too few side effects 2018-08-10 17:25:13 -04:00
testing-overview.txt Trivial: Update pypi url to new url 2018-08-31 04:07:35 +00:00
utils.py Remove mox usage from test_heat_client 2018-07-05 17:16:04 +08:00