heat/heat/tests/openstack
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
..
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 Check task_state of instance before volume actions 2019-12-26 15:29:05 +00:00
designate Improve handle_delete/check_delete_complete for resources 2019-12-23 10:46:15 -05:00
glance Handle unicode in constraints 2019-01-29 19:21:28 +13:00
heat Merge "Don't use duplicate stack names in DB unit tests" 2019-10-08 08:48:23 +00:00
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-25 08:37:16 +05:30
monasca Revert "Remove unittests monasca until story/2002978 is released" 2018-07-18 02:27:21 +00:00
neutron Merge "Make properties updatable for IKE policy of VPNaaS" 2020-02-19 23:40:22 +00:00
nova Check task_state of instance before volume actions 2019-12-26 15:29:05 +00:00
octavia Merge "Add support for Octavia's Flavor and FlavorProfile resources" 2020-01-21 11:42:58 +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: add 'tty' property to container 2019-12-19 02:38:40 +00:00
__init__.py Enable some unit tests back 2015-02-03 10:20:16 +08:00