libero / walking-skeleton

A walking skeleton of the scholarly publishing system
MIT License
7 stars 2 forks source link

Article store events publisher #31

Closed seanwiseman closed 6 years ago

seanwiseman commented 6 years ago

Add functionality to publish article events via the walking skeleton's internal event bus.

Should include the publishing of:

thewilkybarkid commented 6 years ago

For now we could have:

Ties to the API (in name), but this is the processing of the request...

Not sure about the last two though: ok for this purpose, but more generally we might want to consider modelling processes and sub-processes (ie start, step (...), result) in the event bus, rather than just standalone events?

seanwiseman commented 6 years ago

OK sounds good. Yes modelling them would also give a nicer context and would perhaps make it simpler to manage any side effects, such as a failure on step n.