heat/heat/tests/openstack
Rabi Mishra ab227b3213 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
(cherry picked from commit 9e80518b90)
2020-02-26 02:43:23 +00:00
..
aodh Add heat resource for creating Aodh loadbalancer_member_health alarm type[1] 2019-08-02 12:19:42 +12:00
barbican Replace assertRaisesRegexp with assertRaisesRegex 2017-05-19 18:13:59 +05:30
blazar Add a Blazar Host resource 2019-02-18 06:41:23 +00:00
cinder Fix multiple gate issues 2019-09-18 18:23:50 +05:30
designate Fix multiple gate issues 2019-09-18 18:23:50 +05:30
glance Handle unicode in constraints 2019-01-29 19:21:28 +13:00
heat Return None for attributes of sd with no actions 2019-05-29 22:24:54 +05:30
keystone Add project tags to heat orchestration 2018-01-09 16:33:13 +00:00
magnum Translate networks and subnet in cluster template 2017-12-01 12:27:13 +08:00
manila Handle unicode in constraints 2019-01-29 19:21:28 +13:00
mistral Handle OS::Mistral::Workflow resource replacement properly 2020-02-26 02:43:23 +00:00
monasca Revert "Remove unittests monasca until story/2002978 is released" 2018-07-18 02:27:21 +00:00
neutron Never pass 'value_specs' to Neutron 2019-07-26 10:43:31 -04:00
nova Don't use 'assert' keyword in unit tests 2019-06-12 13:06:38 -04:00
octavia Support tags for Octavia pool member 2019-03-21 20:11:48 +00:00
sahara Merge "Fix sahara job type validation issue" 2018-03-06 06:29:46 +00:00
senlin Merge "Fix Senlin policy resource" 2019-09-05 03:33:33 +00:00
swift Use StackDefinition in intrinsic functions for resolving data 2017-07-21 10:30:34 -04:00
trove Enable to specify network for Trove Cluster 2017-12-15 11:52:49 +00:00
zaqar remove mox usage from test_subscription 2018-04-01 23:40:25 +08:00
zun Zun: fix an issue on command property 2019-04-18 02:23:22 +00:00
__init__.py Enable some unit tests back 2015-02-03 10:20:16 +08:00