907cc2df16
upgrade notifications Change-Id: Ia8b7f36a8a2965bc8ec2243a10556592926297b2 Implements:blueprint add-name-for-audit
84 lines
2.6 KiB
JSON
84 lines
2.6 KiB
JSON
{
|
|
"priority": "ERROR",
|
|
"payload": {
|
|
"watcher_object.data": {
|
|
"name": "my_audit",
|
|
"audit_type": "ONESHOT",
|
|
"parameters": {
|
|
"para2": "hello",
|
|
"para1": 3.2
|
|
},
|
|
"state": "ONGOING",
|
|
"updated_at": null,
|
|
"deleted_at": null,
|
|
"fault": {
|
|
"watcher_object.data": {
|
|
"exception": "WatcherException",
|
|
"exception_message": "TEST",
|
|
"function_name": "test_send_audit_action_with_error",
|
|
"module_name": "watcher.tests.notifications.test_audit_notification"
|
|
},
|
|
"watcher_object.name": "ExceptionPayload",
|
|
"watcher_object.namespace": "watcher",
|
|
"watcher_object.version": "1.0"
|
|
},
|
|
"goal_uuid": "bc830f84-8ae3-4fc6-8bc6-e3dd15e8b49a",
|
|
"goal": {
|
|
"watcher_object.data": {
|
|
"uuid": "bc830f84-8ae3-4fc6-8bc6-e3dd15e8b49a",
|
|
"name": "dummy",
|
|
"updated_at": null,
|
|
"deleted_at": null,
|
|
"efficacy_specification": [],
|
|
"created_at": "2016-11-04T16:25:35Z",
|
|
"display_name": "Dummy goal"
|
|
},
|
|
"watcher_object.name": "GoalPayload",
|
|
"watcher_object.version": "1.0",
|
|
"watcher_object.namespace": "watcher"
|
|
},
|
|
"interval": null,
|
|
"scope": [],
|
|
"strategy_uuid": "75234dfe-87e3-4f11-a0e0-3c3305d86a39",
|
|
"strategy": {
|
|
"watcher_object.data": {
|
|
"parameters_spec": {
|
|
"properties": {
|
|
"para2": {
|
|
"type": "string",
|
|
"default": "hello",
|
|
"description": "string parameter example"
|
|
},
|
|
"para1": {
|
|
"description": "number parameter example",
|
|
"maximum": 10.2,
|
|
"type": "number",
|
|
"default": 3.2,
|
|
"minimum": 1.0
|
|
}
|
|
}
|
|
},
|
|
"name": "dummy",
|
|
"uuid": "75234dfe-87e3-4f11-a0e0-3c3305d86a39",
|
|
"updated_at": null,
|
|
"deleted_at": null,
|
|
"created_at": "2016-11-04T16:25:35Z",
|
|
"display_name": "Dummy strategy"
|
|
},
|
|
"watcher_object.name": "StrategyPayload",
|
|
"watcher_object.version": "1.0",
|
|
"watcher_object.namespace": "watcher"
|
|
},
|
|
"created_at": "2016-11-04T16:29:20Z",
|
|
"uuid": "4a97b9dd-2023-43dc-b713-815bdd94d4d6"
|
|
},
|
|
"watcher_object.name": "AuditActionPayload",
|
|
"watcher_object.version": "1.0",
|
|
"watcher_object.namespace": "watcher"
|
|
},
|
|
"publisher_id": "infra-optim:localhost",
|
|
"timestamp": "2016-11-04 16:31:36.264673 ",
|
|
"event_type": "audit.strategy.error",
|
|
"message_id": "cbcf9f2c-7c53-4b4d-91ec-db49cca024b6"
|
|
}
|