An Action Plan specifies a flow of Actions that should be executed in order to satisfy a given Goal. It also contains an estimated global efficacy alongside a set of efficacy indicators.
An Action Plan is generated by Watcher when an Audit is successful which implies that the Strategy which was used has found a Solution to achieve the Goal of this Audit.
In the default implementation of Watcher, an action plan is composed of a list of successive Actions (i.e., a Workflow of Actions belonging to a unique branch).
However, Watcher provides abstract interfaces for many of its components, allowing other implementations to generate and handle more complex Action Plan(s) composed of two types of Action Item(s):
An Action Plan may be described using standard workflow model description formats such as Business Process Model and Notation 2.0 (BPMN 2.0) or Unified Modeling Language (UML).
To see the life-cycle and description of Action Plan states, visit the Action Plan state machine.
NoneBases: watcher.api.controllers.base.APIBase
API representation of a action plan.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of an action plan.
ActionPlan.convert_with_links(rpc_action_plan, expand=True)¶ActionPlan.sample(expand=True)¶NoneBases: watcher.api.controllers.v1.collection.Collection
API representation of a collection of action_plans.
ActionPlanCollection.convert_with_links(rpc_action_plans, limit, url=None, expand=False, **kwargs)¶ActionPlanCollection.sample()¶NoneBases: watcher.api.controllers.v1.types.JsonPatchType
ActionPlanPatchType.internal_attrs()¶Returns a list of internal attributes.
Internal attributes can’t be added, replaced or removed. This method may be overwritten by derived class.
ActionPlanPatchType.mandatory_attrs()¶Returns a list of mandatory attributes.
Mandatory attributes can’t be removed from the document. This method should be overwritten by derived class.
ActionPlanPatchType.validate(patch)¶NoneBases: pecan.rest.RestController
REST controller for Actions.
ActionPlansController.delete(action_plan_uuid)[source]¶Delete an action plan.
| Parameters: | action_plan_uuid – UUID of a action. |
|---|
ActionPlansController.detail(marker=None, limit=None, sort_key='id', sort_dir='asc', audit_uuid=None, strategy=None)[source]¶Retrieve a list of action_plans with detail.
| Parameters: |
|
|---|
ActionPlansController.get_all(marker=None, limit=None, sort_key='id', sort_dir='asc', audit_uuid=None, strategy=None)[source]¶Retrieve a list of action plans.
| Parameters: |
|
|---|
ActionPlansController.get_one(action_plan_uuid)[source]¶Retrieve information about the given action plan.
| Parameters: | action_plan_uuid – UUID of a action plan. |
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.