Perform the following steps to build and test the microservices developed in this chapter:
- Build each of the projects using Maven. Ensure that the test flag is switched off. The test programs assume other dependent services are up and running. It fails if the dependent services are not available:
mvn -Dmaven.test.skip=true install
- Run the RabbitMQ server as follows:
rabbitmq_server-3.5.6/sbin$ ./rabbitmq-server
- Run the following commands in separate terminal windows:
java -jar target/fares-1.0.jar
java -jar target/search-1.0.jar
java -jar target/checkin-1.0.jar
java -jar target/book-1.0.jar
java -jar target/website-1.0.jar
- The website project has a CommandLineRunner, which will execute ...