Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 997 Bytes

File metadata and controls

24 lines (14 loc) · 997 Bytes

Event Driven Architecture

This page describes how to run the demo which uses events to send changed price information from the catalog service to the remaining monolith.

Follow the instructions how to set up the application either in Docker Desktop or on OpenShift.

Once everything has been started, you can open the web applications:

Add the item "Return of the Jedi" to the shopping cart via drag and drop.

Update the price of this item:

$ curl -X PUT "http://localhost/CustomerOrderServicesWeb/jaxrs/Product/1" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"id\":1, \"price\":50}"

Open the "Order History" tab to see the updated price. The new price has been updated in the catalog service and the remaining monolith.