Closed seanwiseman closed 6 years ago
For now we could have:
article.version.[delete|post|put].started
article.version.[delete|post|put].completed
article.version.[delete|post|put].failed
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?
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
.
Add functionality to publish article events via the walking skeleton's internal event bus.
Should include the publishing of:
started/succeeded/failed
eventsstarted/succeeded/failed
eventssucceeded/failed
events