This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git
commit c9d70456d32a5945b8781cffbe0c1de6f4c569cc Author: longchun <longc...@gmail.com> AuthorDate: Tue May 29 21:58:13 2018 +0800 SCB-568 Provide web page for pack Demo, modified README accordingly --- saga-demo/booking/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/saga-demo/booking/README.md b/saga-demo/booking/README.md index 161f886..b72c62e 100644 --- a/saga-demo/booking/README.md +++ b/saga-demo/booking/README.md @@ -91,7 +91,7 @@ You can run the demo using either docker compose or executable files. java -Dserver.port=8083 -Dalpha.cluster.address=${alpha_address}:8080 -Dcar.service.address=${host_address}:8082 -Dhotel.service.address=${host_address}:8081 -jar pack-booking-${saga_version}-exec.jar ``` -## User Requests +## User Requests by command line tools 1. Booking 2 rooms and 2 cars, this booking will be OK. ``` curl -X POST http://${host_address}:8083/booking/test/2/2 @@ -120,5 +120,8 @@ curl http://${host_address}:8082/bookings ``` The second car booking will be marked with **cancel:true** +## User Requests by html page + +Open a browser with URL http://127.0.0.1:8083, You will get a html page. You can use this page to invoke test cases, and then get results. **Note** transactions and compensations implemented by services must be idempotent. -- To stop receiving notification emails like this one, please contact ningji...@apache.org.