0616b4bd99
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
39 lines
1.5 KiB
JSON
39 lines
1.5 KiB
JSON
{
|
|
"event_type": "host.update.start",
|
|
"timestamp": "2018-11-27 13:13:25.298007",
|
|
"payload": {
|
|
"masakari_object.name": "HostApiPayload",
|
|
"masakari_object.data": {
|
|
"reserved": false,
|
|
"uuid": "d6a2d900-1977-48fd-aa52-ad7a41fc068b",
|
|
"on_maintenance": false,
|
|
"control_attributes": "TEST",
|
|
"name": "fake-mini",
|
|
"failover_segment": {
|
|
"masakari_object.name": "FailoverSegment",
|
|
"masakari_object.data": {
|
|
"uuid": "89597691-bebd-4860-a93e-1b6e9de34b9e",
|
|
"deleted": false,
|
|
"created_at": "2018-11-27T09:26:30Z",
|
|
"recovery_method": "auto",
|
|
"updated_at": "2018-11-27T09:54:50Z",
|
|
"name": "test",
|
|
"service_type": "compute",
|
|
"deleted_at": null,
|
|
"id": 877, "description": null
|
|
},
|
|
"masakari_object.version": "1.0",
|
|
"masakari_object.namespace": "masakari"
|
|
},
|
|
"fault": null,
|
|
"type": "COMPUTE",
|
|
"id": 70,
|
|
"failover_segment_id": "89597691-bebd-4860-a93e-1b6e9de34b9e"
|
|
},
|
|
"masakari_object.version": "1.0",
|
|
"masakari_object.namespace": "masakari"
|
|
},
|
|
"priority": "INFO",
|
|
"publisher_id": "masakari-api:fake-mini",
|
|
"message_id": "d1a3ae84-7f41-4884-bc3f-fa34c7cd1424"
|
|
} |