Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compensation scenario #3

Open
jbcodeforce opened this issue Jan 26, 2022 · 0 comments
Open

Compensation scenario #3

jbcodeforce opened this issue Jan 26, 2022 · 0 comments

Comments

@jbcodeforce
Copy link
Contributor

Order C100 will have 1000 products which lead to get a voyage but not enough reefers
  - voyage V100 has orders: C01, C03 and C100
  - reefer   R01 has order C01
                R02 has order C02
                R03 has order C03

As the response to get a reefer is not-available, the order microservice put the order on-hold and compensate the voyage V100 to remove the order C100.

The Order life cycle should be created, pending, completed, cancelled, on-hold.

The UI will have 2 new pages:

 - voyage to list voyage ID -> list of order id
 - reefers to list reeferId - order ID

basically a table with two fields.

So we can demonstrate the fact that the voyage has the order and then no more. 

We can put a delay in the code of the orchestration to let the demonstration clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant