heat.engine.clients.os.mistral module

class heat.engine.clients.os.mistral.MistralClientPlugin(context)[source]

Bases: ClientPlugin

WORKFLOW_V2 = 'workflowv2'
get_workflow_by_identifier(workflow_identifier)[source]
is_conflict(ex)[source]

Returns True if the exception is a conflict.

is_not_found(ex)[source]

Returns True if the exception is a not-found.

is_over_limit(ex)[source]

Returns True if the exception is an over-limit.

service_types = ['workflowv2']
class heat.engine.clients.os.mistral.WorkflowConstraint[source]

Bases: BaseCustomConstraint

expected_exceptions = (<class 'heat.common.exception.EntityNotFound'>,)
resource_client_name = 'mistral'
resource_getter_name = 'get_workflow_by_identifier'