masakari/doc/notification_samples/update-segment-end.json
Kengo Takahara 0616b4bd99 Send notifications for all API changes
This patch send notifications for all API changes.
1. Segment: create, update, delete
2. Host: create, update, delete
3. Notifications: create, update

Co-Authored-By: Shilpa Devharakar <Shilpa.Devharakar@nttdata.com>

Change-Id: I02411db0b3563f6a24e164dbaf50bb30744c2fda
Implements: bp notifications-in-masakari
2019-03-05 10:46:23 +05:30

21 lines
678 B
JSON

{
"event_type": "segment.update.end",
"timestamp": "2018-11-27 14:32:20.417745",
"payload": {
"masakari_object.name": "SegmentApiPayload",
"masakari_object.data": {
"description": null,
"fault": null,
"recovery_method": "auto",
"name": "test2",
"service_type": "compute",
"id": 877,
"uuid": "89597691-bebd-4860-a93e-1b6e9de34b9e"
},
"masakari_object.version": "1.0",
"masakari_object.namespace": "masakari"
},
"priority": "INFO",
"publisher_id": "masakari-api:fake-mini",
"message_id": "3fbe50a5-9175-4161-85f0-e502f9024657"
}