Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 822 Bytes

File metadata and controls

30 lines (16 loc) · 822 Bytes

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