[
https://issues.apache.org/jira/browse/SCB-820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610140#comment-16610140
]
ASF GitHub Bot commented on SCB-820:
------------------------------------
WillemJiang closed pull request #290: SCB-820 Keep polish the TCC demo
URL: https://github.com/apache/incubator-servicecomb-saga/pull/290
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> The acceptance test of 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)