Skip to content

bogdansolga/spring-cloud-intro

Repository files navigation

spring-cloud-intro

An intro into the Spring Cloud ecosystem

The project contains six projects:

Running the applications

In order to easily run all the projects from a single run config:

  1. Install the Multirun IntelliJ IDEA plugin (Plugins -> Install JetBrains plugin -> Search for Multirun)
  2. Create a run configuration and add the projects in the following order:
    • ConfigServerApplication
    • DiscoveryServerApplication
    • GatewayApplication
    • ProductServiceApplication
    • OrderServiceApplication
  3. Set a delay of 5 seconds between their launch, to make sure that the depending services have been started

Accessing the Eureka dashboard and the services endpoints