Closed ivargrimstad closed 9 years ago
You're right. The data-source element in the persistence.xml files does not need to be there. For some reason Wildfly complained when I did not have it there. Should not be needed. Just forgot to remove it from the commit.
The @EnableSnoopClient annotation can stay even if the server is not running. It will log that it tried to connect and failed though.
Can you amend the PR?
The log will look like this if the snoop-service is not running: 19:22:50,006 CONFIG [eu.agilejava.snoop](EJB default - 7) Sending message: {"applicationName":"order","applicationHome":"http://localhost:8080/order/resources","applicationServiceRoot":"order"} 19:22:50,015 WARNING [eu.agilejava.snoop](EJB default - 3) Connection refused
Can you add a Snoop container as well?
I pushed one to docker hub today called ivargrimstad/snoop-service https://registry.hub.docker.com/u/ivargrimstad/snoop-service/
The latest war is also available in my nexus (running on openshift of course :)) http://nexus.agilejava.eu/nexus/index.html#nexus-search;quick~snoop-service
Add the instructions to the doc here?
Thanks a lot @ivargrimstad, now merged!
Brilliant! Had great fun :)
Refactored the code as well, and I think its much cleaner now.
Looks great!
This fixes arungupta/microservices#21
Since I had to make small changes in the everest app to test the integration through snoop, I did this in a separate branch.