This repository was initially created to demonstrate how to split sample Spring application into microservices. To achieve that goal we use some technologies from the Spring Cloud Netflix technology stack. For detail, take a look at microservices tutorial of Java Brains.
Every microservice is a Spring Boot application and can be started locally using IDE or ../mvnw spring-boot:run
command. Please note that supporting services (Discovery Server) must be started before any other application (Movie Catalog, Movie Info, Ratings Data).
If everything goes well, you can access the following services at given location:
- Discovery Server - http://localhost:8761
- Movie Catalog - http://localhost:8081/catalog/{userId}
- Movie Info - http://localhost:8082/movies/{movieId}
- Ratings Data - http://localhost:8083/ratings/user/{userId}
- Hystrix Dashboard - Go to http://localhost:8081/hystrix. Then put 'https://localhost:8081/actuator/hystrix.stream' to the textbox.
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.