- Awesome Task Exchange System (aTES)
- Services
- Deploy
- Changes in events and migration process
- Shame/TODO list
Asynchronous architecture studying project for: https://education.borshev.com/architecture.
Initial structure: LucidChart, PDF
Business Processes: LucidChart, PDF
Domain and models: LucidChart, PDF
System events: LucidChart, PDF
- SSO: http://localhost:4000/auth
- Task tracker: http://localhost:4100/main
- Accounting: http://localhost:4200/main
- Analytics: http://localhost:4300/main
Credentials:
| pass | |
|---|---|
| admin@popug.inc | admin |
| manager@popug.inc | manager |
| accountant@popug.inc | accountant |
| worker0@popug.inc | worker0 |
| worker1@popug.inc | worker1 |
| worker2@popug.inc | worker2 |
- You probably should try to increase
dockermemory allocation to6GBor more (with less memory you may get problem withkafkadeployment) - To monitor all 21 containers that will be deployed might be useful https://github.com/bcicen/ctop
- Deploy
kafka$ docker-compose -f services/kafka/docker-compose.yml up
brokermight crashed on first launch (especially if you don't increasedockermemory allocation), so better to:- check that
brokerworking (after ~1 min after deployingkafka):$ docker ps
- restart
broker, if needed:$ docker-compose -f services/kafka/docker-compose.yml restart broker
- check that
- Deploy services
$ ./deploy_services
Popugs creates titles that looks like: [jira-id] - Title
title must be divided on two fields: title and jira-id
- In
event_schema_registrymust be created new version ofTask.Createdevent - Consumers of
Task.Createdevent must be updated to be able to consume new version and deployed simultaneously with old version - Producer of
Task.Createdevent must be updated to be able to produce new version and deployed (without old version) - Shut down old consumer
- ...
- profit?
Popugs can't figure out what open/closed tasks status mean
open/closed must be change to birdie in a cage/millet in a bowl
- Code in
Task trackermust be changed (values in status enum) - Migration must be prepared for database, that will map
open/closedtobirdie in a cage/millet in a bowl - Shut down old version of
Task tracker - Make migration
- Deploy new version
- ...
- profit?
- Little rework of tasks streaming (prices setting must be a cud event)
- Add version check (so consumers process only 1 version of event)
- Little rework of business events
- Remove transactions streaming (transaction is a business event, because it is a result of business command)
- Add fabulous documentation
- Beautify code