Skip to content

orchestration saga example with docker, golang and dtm

License

Notifications You must be signed in to change notification settings

Bogdaan/saga-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saga-example

Example of system with orchestrated saga:

How to run

# run system
docker compose up --build

# open transaction manager UI
open http://localhost:36789

# create new customer
curl -X POST http://127.0.0.1:8090/create

# create new order
# response example {"gid":"GVLr2EBtAfUbfvANGybpdL"}
curl -X POST http://127.0.0.1:8091/create -H 'Content-Type: application/json' -d '{  
  "idCustomer": 1,
  "amount": 10,
  "currency": "BTC"
}'

# see GVLr2EBtAfUbfvANGybpdL in transaction manager

Links

About

orchestration saga example with docker, golang and dtm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published