You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2020/07/24 02:18:28 UTC

[servicecomb-pack] branch master updated: fix bug in tcc demo doc

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/servicecomb-pack.git


The following commit(s) were added to refs/heads/master by this push:
     new be68c91  fix bug in tcc demo doc
be68c91 is described below

commit be68c9152b1c565feb2bfc9bc60e7c7d3ee93081
Author: yjjnls <x-...@foxmail.com>
AuthorDate: Tue Jul 21 17:19:47 2020 +0800

    fix bug in tcc demo doc
---
 demo/tcc-spring-demo/README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/demo/tcc-spring-demo/README.md b/demo/tcc-spring-demo/README.md
index 8d139d4..3114fa2 100644
--- a/demo/tcc-spring-demo/README.md
+++ b/demo/tcc-spring-demo/README.md
@@ -88,7 +88,7 @@ You can run the demo using either docker compose or executable files.
 
    3. start ordering service. The executable jar file should be in `saga-demo/tcc-spring-demo/ordering/target/saga`.
    ```bash
-   java -Dserver.port=8083 -Dalpha.cluster.address=${alpha_address}:8080 -Dinventory.service.address=${host_address}:8082 -Dpayment.service.address=${host_address}:8081  -jar tcc-ordering-${saga_version}-exec.jar
+   java -Dserver.port=8083 -Dalpha.cluster.address=${alpha_address}:8080 -Dinventory.service.address=${host_address}:8081 -Dpayment.service.address=${host_address}:8082  -jar tcc-ordering-${saga_version}-exec.jar
    ```
 
 ## User Requests by command line tools
@@ -98,11 +98,11 @@ curl -X POST http://${host_address}:8083/ordering/order/UserA/ProductA/3/1
 ```
 Check the Inventory orders status with
 ```
-curl http://${host_address}:8082/orderings
+curl http://${host_address}:8081/orderings
 ```
 Check the Payment transaction status with
 ```
-curl http://${host_address}:8081/transactions
+curl http://${host_address}:8082/transactions
 
 ```