Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 2.66 KB

README.md

File metadata and controls

45 lines (28 loc) · 2.66 KB

Проектирование архитектуры

Event Storming

event-storming.png

Link to the origin


Data Model

data-model.png

Link to the origin


Services and communications

services-and-communications.png

Link to the origin

Business events

Name Description Producer Consumer
User role changed User role was changed Task service Account service
Task added Task was added in the system Task service Account service
Task completed User marked task as completed Task service Account service
Task shuffling started Admin or Manager click on 'Shuffle Task' button (I made this event to have an ability to control clinking on this button) Task service Task service
Money debited Money received to the account balance of User that completed task Accounting service Analytics service
Money received Money debited from the account balance of User that created task Accounting service Analytics service
Balance gone negative Balance of some User gone negative Accounting service Analytics service

Cud operations

  • CUD operation that Account or Task was updated, created or deleted from the Auth service to sync data managed by other services

Sync communication

  • We will use sync communication to get/send data from/to services
  • To check authorization token