├── .gitignore ├── Pipfile ├── Pipfile.lock ├── README.md ├── delivery ├── Dockerfile ├── __init__.py ├── cron.py ├── db.py ├── message_queue.py ├── model.py └── wait.sh ├── docker-compose.yml ├── dump.sql ├── order ├── Dockerfile ├── app │ ├── __init__.py │ ├── db.py │ ├── message_queue.py │ └── model.py ├── main.py └── wait.sh ├── stock ├── Dockerfile ├── __init__.py ├── cron.py ├── db.py ├── message_queue.py ├── model.py └── wait.sh └── success.png /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | __pycache__/ -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/Pipfile -------------------------------------------------------------------------------- /Pipfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/Pipfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/README.md -------------------------------------------------------------------------------- /delivery/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/delivery/Dockerfile -------------------------------------------------------------------------------- /delivery/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /delivery/cron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/delivery/cron.py -------------------------------------------------------------------------------- /delivery/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/delivery/db.py -------------------------------------------------------------------------------- /delivery/message_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/delivery/message_queue.py -------------------------------------------------------------------------------- /delivery/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/delivery/model.py -------------------------------------------------------------------------------- /delivery/wait.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/delivery/wait.sh -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /dump.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/dump.sql -------------------------------------------------------------------------------- /order/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/order/Dockerfile -------------------------------------------------------------------------------- /order/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/order/app/__init__.py -------------------------------------------------------------------------------- /order/app/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/order/app/db.py -------------------------------------------------------------------------------- /order/app/message_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/order/app/message_queue.py -------------------------------------------------------------------------------- /order/app/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/order/app/model.py -------------------------------------------------------------------------------- /order/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/order/main.py -------------------------------------------------------------------------------- /order/wait.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | sleep 5 -------------------------------------------------------------------------------- /stock/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/stock/Dockerfile -------------------------------------------------------------------------------- /stock/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stock/cron.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/stock/cron.py -------------------------------------------------------------------------------- /stock/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/stock/db.py -------------------------------------------------------------------------------- /stock/message_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/stock/message_queue.py -------------------------------------------------------------------------------- /stock/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/stock/model.py -------------------------------------------------------------------------------- /stock/wait.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/stock/wait.sh -------------------------------------------------------------------------------- /success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teamhide/python-saga-pattern-example/HEAD/success.png --------------------------------------------------------------------------------