Skip to content

yichunzhao/guest-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guest-service

1st micro-service

Register service with Eureka

Adding a new dependency

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
        </dependency>

Go to application main class and enable the service discoverable. @EnableDiscoveryClient

Refreshing the Eureka

image

The service is registered with the Eureka.

Releases

No releases published

Packages

No packages published

Languages