| 1 |
--- |
| 2 |
features: |
| 3 |
- | |
| 4 |
Added support to record the recovery workflow details of the notification |
| 5 |
which will be returned in a new microversion 1.1 in |
| 6 |
`GET /notifications/{notification_id}` API. |
| 7 |
|
| 8 |
For example, GET /notifications/<notification_uuid> response will contain |
| 9 |
`recovery_workflow_details` parameter as shown here `notification_details`_ |
| 10 |
|
| 11 |
Added a new config section in Masakari conf file for configuring the back |
| 12 |
end to be used by taskflow driver:: |
| 13 |
|
| 14 |
[taskflow] |
| 15 |
# The back end for storing recovery_workflow details of the notification. |
| 16 |
# (string value) |
| 17 |
|
| 18 |
connection = mysql+pymysql://root:[email protected]/<db name>?charset=utf8 |
| 19 |
|
| 20 |
# Where db_name, can be a new database or you can also specify masakari |
| 21 |
# database. |
| 22 |
|
| 23 |
Operator should run `masakari-manage db sync` command to add new db tables |
| 24 |
required for storing recovery_workflow_details. |
| 25 |
|
| 26 |
Note: When you run `masakari-manage db sync`, make sure you have |
| 27 |
`notification_driver=taskflow_driver` set in masakari.conf. |
| 28 |
|
| 29 |
.. _`notification_details`: https://developer.openstack.org/api-ref/instance-ha/?expanded=show-notification-details-detail#show-notification-details |