Skip to content

Accounts service user stories

David Wood requested to merge accounts_service_user_stories into master

Closes (#26 (closed)).

First draft of Cucumber (https://github.com/cucumber/cucumber/wiki/Gherkin) feature file format User Story Scenarios.

Note: I've gone with PendingTransaction events rather than separate PendingDebit and PendingCredit events, as I've thought of a possible race condition in the handling of events on the Accounts service that would make this unviable. Instead, only ConfirmedDebit and ConfirmedCredit are split, as these form the basic audit log that is the account statement.

the accounts service listens only for PendingTransaction events, and either emits an AcceptedTransaction event or a RejectedTransaction event based on current account balance and state.

Merge request reports