You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can run the system in your IDE by running the three servers in order: RegistrationService, AccountsService and WebService.
As discussed in the Blog, open the Eureka dashboard https://localhost:1111 in your browser to see that the ACCOUNTS-SERVICE and WEB-SERVICE applications have registered. Next open the Demo Home Page https://localhost:3333 in and click one of the demo links.
The localhost:3333 web-site is being handled by a Spring MVC Controller in the WebService application, but you should also see logging output from AccountsService showing requests for Account data.
Command Line
You may find it easier to view the different applications by running them from a command line since you can place the three windows side-by-side and watch their log output
To do this, open three CMD windows (Windows) or three Terminal windows (MacOS, Linux) and arrange so you can view them conveniently.
In each window, change to the directory where you cloned the demo
In the first window, build the application using mvn clean package
In the same window run: java -jar target/microservice-demo-1.1.0.RELEASE.jar registration and wait for it to start up
Switch to the second window and run: java -jar target/microservice-demo-1.1.0.RELEASE.jar accounts and again wait for
it to start up
In the third window run: java -jar target/microservice-demo-1.1.0.RELEASE.jar web
You should see servers being registered in the log output of the first (registration) window.
As you interact with the web-application (https://localhost:3333) you should logging appear
in the second and third windows.
In a new window, run up a second account-server using HTTP port 2223: