HomeDevCentral

Reporting code
7189cfb2fd5cUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Reporting code

We want to provide feedback about what actions have been done
to process a specific payload.

We introduce a modular evenemential approach: any job having something
to report fill an object inheriting of Action, then fire a ReportEvent
event.

ActionsReports (with the facade Report) will collect these reports.

Finally, we're able to offer something like this, for logging purpose
or to send as a response to the API client (Report::render()):

{
  "actions": [
     ...,
     ...,
     ...
  ],
  "created": 1449409799,
  "gate": "GitHub",
  "door": "Nasqueron"
}

Details

Provenance
derecksonAuthored on
Parents
rNOTIF371744a04a2d: Cleanup SendMessageToBroker
Branches
Unknown
Tags
Unknown