Ajout Eureka

This commit is contained in:
TestAccountsUser 2018-03-19 23:25:34 +01:00
parent 0ba2b328aa
commit 3e38091c32
20 changed files with 547 additions and 3 deletions

View file

@ -48,6 +48,11 @@
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>

View file

@ -2,8 +2,10 @@ package com.mcommandes;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@EnableDiscoveryClient
public class McommandesApplication {
public static void main(String[] args) {