![Balazs Gibizer](/assets/img/avatar_default.png)
This patch adds infrastructure to store and verify json samples about versioned notifications. Also it adds sample for the service.update notification as that is the only existing versioned notification. A new notification_sample_tests subtree added to the functional test tree to verify that the emitted notifications match with the stored sample. Partially-Implements: bp versioned-notification-api Change-Id: I3a70b7b5d6d427611a9d2c1610e0d55aff88f0e8
22 lines
609 B
JSON
22 lines
609 B
JSON
{
|
|
"priority": "INFO",
|
|
"payload": {
|
|
"nova_object.namespace": "nova",
|
|
"nova_object.name": "ServiceStatusPayload",
|
|
"nova_object.version": "1.0",
|
|
"nova_object.data": {
|
|
"host": "host1",
|
|
"disabled": false,
|
|
"last_seen_up": "2012-10-29T13:42:05Z",
|
|
"binary": "nova-compute",
|
|
"topic": "compute",
|
|
"disabled_reason": null,
|
|
"report_count": 1,
|
|
"forced_down": false,
|
|
"version": 5
|
|
}
|
|
},
|
|
"event_type": "service.update",
|
|
"publisher_id": "nova-compute:host1"
|
|
}
|