You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2018/09/11 06:19:00 UTC

[jira] [Updated] (SCB-820) TCC demo

     [ https://issues.apache.org/jira/browse/SCB-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated SCB-820:
-----------------------------
    Summary: TCC demo  (was: The acceptance test of TCC demo)

> TCC demo
> --------
>
>                 Key: SCB-820
>                 URL: https://issues.apache.org/jira/browse/SCB-820
>             Project: Apache ServiceComb
>          Issue Type: Sub-task
>          Components: Saga
>            Reporter: Willem Jiang
>            Priority: Major
>             Fix For: saga-0.3.0
>
>
> We need add more accept tests to go through the success and failed test with the TCC demo.
> Let's take the online shipping as an example: 
> There are three service , order service,  inventory service and payment service.  We don't introduce the delivery service in time to simplify the demo. 
> When customer place a order, the inventory data need to be updated, and do the payment, then the system ship the goods to customer.
> 1. Customer place a order, and the inventory was updated in the method.
>   2.1 If the payment service is called successful,  we need to confirm the inventory and create delivery order.
>   2.2 if the payment service is not called successful, we need to cancel the inventory release the goods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)