No description, website, or topics provided.
Groovy Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea/modules
eurekaServerSpringBoot
gradle/wrapper
hystrixDashboardSpringBoot
productCatalog
recommendationEngine
zuulProxySpringBoot
GrailsMicroFederation.ipr
PostmanScripts.postman_collection
README.md
build.gradle
building-a-microservice-federation-with-grails-7-8.pdf
gradlew
gradlew.bat
settings.gradle

README.md

Building a Small Grails Microservice Federation

This is a tiny, two-service Grails 3 microservice federation supported by Eureka, Zuul and Hystrix from Spring Could / Netflix OSS.

See the PDF slide deck for the accompanying presentation.

To tun the demo

  1. Fork or download this repo. It includes five projects: a. eurekaServerSpringBoot b. hystrixDashboardSpringBoot c. productCatalog d. recommendationEngine e. zuulProxySpringBoot
  2. Use the Gradle wrapper in each to build the projects a. You can build them individually (each has its own build.gradle file) b. You can build them all from the root project
  3. Launch the projects in this order: a. Eureka server b. Product Catalog c. Recommendation Engine d. Zuul server e. Hystrix Dashboard
  4. Follow along in the slides to see each one in practice
  5. With Hystrix Dashboard up and monitoring the stream URL shown in the slides a. Issue an HTTP GET request to http://localhost:8765/product-catalog/productDetails/8 b. Be sure to set Accept: application/json header