25789c9c5a
This patch set adds the following action notifications: - action.create - action.update - action.delete - action.execution.start - action.execution.end - action.execution.error Partially Implements: blueprint action-versioned-notifications-api Change-Id: If0bc25bfb7cb1bff3bfa2c5d5fb9ad48b0794168
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"priority": "ERROR",
|
|
"payload": {
|
|
"watcher_object.namespace": "watcher",
|
|
"watcher_object.version": "1.0",
|
|
"watcher_object.name": "ActionExecutionPayload",
|
|
"watcher_object.data": {
|
|
"uuid": "10a47dd1-4874-4298-91cf-eff046dbdb8d",
|
|
"input_parameters": {
|
|
"param2": 2,
|
|
"param1": 1
|
|
},
|
|
"fault": {
|
|
"watcher_object.namespace": "watcher",
|
|
"watcher_object.version": "1.0",
|
|
"watcher_object.name": "ExceptionPayload",
|
|
"watcher_object.data": {
|
|
"module_name": "watcher.tests.notifications.test_action_notification",
|
|
"exception": "WatcherException",
|
|
"exception_message": "TEST",
|
|
"function_name": "test_send_action_execution_with_error"
|
|
}
|
|
},
|
|
"created_at": "2016-10-18T09:52:05Z",
|
|
"updated_at": null,
|
|
"state": "FAILED",
|
|
"action_plan": {
|
|
"watcher_object.namespace": "watcher",
|
|
"watcher_object.version": "1.0",
|
|
"watcher_object.name": "TerseActionPlanPayload",
|
|
"watcher_object.data": {
|
|
"uuid": "76be87bd-3422-43f9-93a0-e85a577e3061",
|
|
"global_efficacy": {},
|
|
"created_at": "2016-10-18T09:52:05Z",
|
|
"updated_at": null,
|
|
"state": "ONGOING",
|
|
"audit_uuid": "10a47dd1-4874-4298-91cf-eff046dbdb8d",
|
|
"strategy_uuid": "cb3d0b58-4415-4d90-b75b-1e96878730e3",
|
|
"deleted_at": null
|
|
}
|
|
},
|
|
"parents": [],
|
|
"action_type": "nop",
|
|
"deleted_at": null
|
|
}
|
|
},
|
|
"event_type": "action.execution.error",
|
|
"publisher_id": "infra-optim:node0",
|
|
"timestamp": "2017-01-01 00:00:00.000000",
|
|
"message_id": "530b409c-9b6b-459b-8f08-f93dbfeb4d41"
|
|
}
|