eventuate-examples / eventuate-examples-java-customers-and-orders

Java version of the Customers and Orders event sourcing example from my presentations
392 stars 204 forks source link

Deployment Issue #29

Closed NamrataAnand closed 5 years ago

NamrataAnand commented 5 years ago

I am adding/creating new API for fetching information of all customers and for that I have added new method getAllCustomers() in CustomerOrderHistoryController Class. Build is successful but after deployment the new API is giving 404. Is there any configuration I am missing out on?

command used to build -./gradlew assemble -P eventuateDriver=local Command used for docker - docker-compose -f docker-compose-eventuate-local-mysql.yml up

cer commented 5 years ago

Try adding a --build argument:

docker-compose -f docker-compose-eventuate-local-mysql.yml up --build
NamrataAnand commented 5 years ago

It worked. Thanks for Replying.