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

#143: Handling order complition event #144

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

jurabek
Copy link
Member

@jurabek jurabek commented Jan 28, 2024

- order-api: sending OrderCompleted event using quarkus EventEmitter
- cart-api: consuming OrderCompleted using IBM/Sarama and update cart status
- cart-api: filter out completed carts, return 404 when cart is completed
- web-app: revalidating cart cache, recreate new cart afert checkout
@jurabek
Copy link
Member Author

jurabek commented Jan 29, 2024

Screenshot 2024-01-29 at 01 07 58 Now `cart-api` handling `order-completed` event from `orders` topic

@jurabek jurabek merged commit c43a6fc into develop Jan 29, 2024
3 checks passed
@jurabek jurabek deleted the #143_order_complete_event_handling branch January 29, 2024 00:16
jurabek added a commit that referenced this pull request Apr 6, 2024
* Order completed event handling

- order-api: sending OrderCompleted event using quarkus EventEmitter
- cart-api: consuming OrderCompleted using IBM/Sarama and update cart status
- cart-api: filter out completed carts, return 404 when cart is completed
- web-app: revalidating cart cache, recreate new cart afert checkout
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

Successfully merging this pull request may close these issues.

Mark cart completed when Order is finished and filter out carts when retrieving
1 participant