This project demonstrates how to create a discovery server, discovery client and config management in a system comprising of multiple microservices. I have created 2 sample microservices named hello-service and goodbye-service. Both these services get themselves registered with a discovery server.
I have also added a configuration server and config-client-app to demonstrate how to do the configuration management using spring-cloud-config.
- Run the discovery server.
- It should be up and running at http://localhost:8761. Test it on the browser.
- Run the config server.
- It should be up and running at http://localhost:8888. Test it on the browser.
- Run the hello-service. It is configured to run at http://localhost:1111
- Run the goodbye-service. It is configured to run at http://localhost:2222
- Run the config-client-app. It is configured to run at port 80.