Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

janpfeil/poc-registration-discovery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Cloud Services

Official documentation Service Registration and Discovery

In diesem Proof of Concept (POC) soll:

  1. mit Eureka ein Registry angelegt werden.
  2. mind. zwei Services (Spring Boot) erzeugt werden, die sich in Eureka registrieren und den gleichen Namen besitzen.
  3. ein Client angelegt werden, der die Services über die Registry anfragt. Und die Services an Hand der Informationen, die von der Eureka Registry geliefert werden aufruft.

Artikel zum Thema Service Registry

How to run:

  1. to start Eureka: Go to the folder /server/ and enter: mvn spring-boot:run View Eureka in your browser.: http://localhost:8761/

  2. to start the two service that registry in Eureka: go to the folder /service1 or /service2 and enter: mvn spring-boot:run

  3. last but not least, start the Client /InquirerClient: mvn spring-boot:run after the client has started, a request can now be made in Eureka via browser. http://localhost:8090/client/service-instances/service1-8081 or http://localhost:8090/client/service-instances/service2-8082

Eureka System Status

Grafische Darstellung:

Komponenten-Diagramm

OpenApi Dokumentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%