Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 662 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 662 Bytes

dbpack-samples

Simply, you can build the environment by running the make run command. then, you can test by

  • curl -XPOST http://localhost:8080/transfer-commit for transaction commit test, or
  • curl -XPOST http://localhost:8080/transfer-commit for transaction rollback test.

After executing curl -XPOST http://localhost:8080/transfer-commit, check log by docker logs dbpack1 or docker logs dbpack2, then, you will see confirm API been called automatically.

After executing curl -XPOST http://localhost:8080/transfer-cancel, check log by docker logs dbpack1 or docker logs dbpack2, then, you will see cancel API been called automatically.