Files
masakari/releasenotes/notes/progress-details-recovery-workflows-5b14b7b3f87374f4.yaml
shilpa.devharakar 7321ee32fd Add progress details for recovery workflows
This patch uses taskflow's persistence feature to store recovery
workflows details into database.

Added a new microversion to return progress_details of the
notification in `GET /notifications/<notification_uuid>` API.

APIImpact:
GET /notifications/<notification_uuid> API includes details
of recovery workflow

Change-Id: I93c1b7d88823e02d9a02855cabb8b22c9e40a7d5
Implements: bp progress-details-recovery-workflows
2019-03-08 10:52:51 +05:30

30 lines
1.2 KiB
YAML

---
features:
- |
Added support to record the recovery workflow details of the notification
which will be returned in a new microversion 1.1 in
`GET /notifications/{notification_id}` API.
For example, GET /notifications/<notification_uuid> response will contain
`recovery_workflow_details` parameter as shown here `notification_details`_
Added a new config section in Masakari conf file for configuring the back
end to be used by taskflow driver::
[taskflow]
# The back end for storing recovery_workflow details of the notification.
# (string value)
connection = mysql+pymysql://root:admin@127.0.0.1/<db name>?charset=utf8
# Where db_name, can be a new database or you can also specify masakari
# database.
Operator should run `masakari-manage db sync` command to add new db tables
required for storing recovery_workflow_details.
Note: When you run `masakari-manage db sync`, make sure you have
`notification_driver=taskflow_driver` set in masakari.conf.
.. _`notification_details`: https://developer.openstack.org/api-ref/instance-ha/?expanded=show-notification-details-detail#show-notification-details