This PR adds an Event store which listens to nats events and stores the event in a database.
The store contains the current state of all the events. If the cluster fails and gets rebooted, all not-completed events can be replayed to continue their flows.
The rest api allows clients to get a list of events or just 1 event by its uuid or externalId.
This PR adds an Event store which listens to nats events and stores the event in a database. The store contains the current state of all the events. If the cluster fails and gets rebooted, all not-completed events can be replayed to continue their flows. The rest api allows clients to get a list of events or just 1 event by its uuid or externalId.