Deduplicate service status notification samples

This patch refactors the sample files of service-create, service-delete
and service-update notifications to use a common ServiceStatusPayload
sample data.

Change-Id: I708ce5423806d2913e77abbe338aec970a5009dc
This commit is contained in:
Lajos Katona
2018-01-05 15:23:07 +01:00
committed by Balazs Gibizer
parent 90a92d33ed
commit 39f9ef719e
4 changed files with 22 additions and 45 deletions
+1 -16
View File
@@ -1,22 +1,7 @@
{
"priority": "INFO",
"payload": {
"nova_object.namespace": "nova",
"nova_object.name": "ServiceStatusPayload",
"nova_object.version": "1.1",
"nova_object.data": {
"host": "host2",
"disabled": false,
"last_seen_up": null,
"binary": "nova-compute",
"topic": "compute",
"disabled_reason": null,
"report_count": 0,
"forced_down": false,
"version": 23,
"availability_zone": null,
"uuid": "32887c0a-5063-4d39-826f-4903c241c376"
}
"$ref": "common_payloads/ServiceStatusPayload.json#"
},
"event_type": "service.delete",
"publisher_id": "nova-compute:host2"