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 2018/09/19 09:02:14 UTC

[incubator-servicecomb-saga] branch master updated: Update the method of simulating a failed scenario for tcc-spring-demo. (#304)

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


The following commit(s) were added to refs/heads/master by this push:
     new 105dcea  Update the method of simulating a failed scenario for tcc-spring-demo. (#304)
105dcea is described below

commit 105dcea1787b4203775af9bb56141d4fa86af495
Author: Chenhaoqing <ch...@foxmail.com>
AuthorDate: Wed Sep 19 17:02:10 2018 +0800

    Update the method of simulating a failed scenario for tcc-spring-demo. (#304)
    
    * Update the method of simulating a failed scenario.
    
    * Update the method of simulating a failed scenario.
---
 saga-demo/tcc-spring-demo/README.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/saga-demo/tcc-spring-demo/README.md b/saga-demo/tcc-spring-demo/README.md
index dbd3526..946ebab 100644
--- a/saga-demo/tcc-spring-demo/README.md
+++ b/saga-demo/tcc-spring-demo/README.md
@@ -106,19 +106,19 @@ curl http://${host_address}:8081/transactions
 
 ```
 
-2. Ordering 2 units of ProductA with the unit price 2 from UserB account , this ordering will cause the payment failed and trigger the cancel operation with inventory ordering.
+2. Since the initial value of the payment of UserC is 1. Ordering 2 units of ProductA with the unit price 2 from UserC account , this ordering will cause the payment failed and trigger the cancel operation with inventory ordering.
 ```
-curl -X POST http://${host_address}:8083/ordering/order/UserB/ProductA/3/1
+curl -X POST http://${host_address}:8083/ordering/order/UserC/ProductA/2/2
 ```
-Check the hotel booking status with
+Check the Inventory orders status with
 ```
 curl http://${host_address}:8082/orderings
 ```
-Check the car booking status with
+Check the Payment transaction status with
 ```
 curl http://${host_address}:8081/transactions
 ```
-The second car booking will be marked with **cancel:true**
+The second order will be marked with **cancel:true**
 
 ## Debugging