Simple example application for saga implementation using pure CQRS approach
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
invoice-service
order-service
query-service
service-model
shipment-service
.gitignore
LICENSE
README.adoc
build.gradle
docker-compose.yml
eventuate-service.iml
gradlew
gradlew.bat
settings.gradle

README.adoc

Eventuate-service

Example testing application using eventuate.io framework

Running

  1. build project

    • ./gradlew clean build

  2. run docker-compose

    • docker-compose up -d --build

Stopping

  • docker-compose down --remove-orphans

Testing

Valid order

Shipment failure

  • curl -X POST -H "Content-Type: application/json" -d '{"productId":"failShipment", "comment":"testComment", "price":"20"}' http://localhost:8080/api/order

Invoice failure