diff --git a/pom.xml b/pom.xml index f6631ce..5514160 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,19 @@ t3t-front 11 + 2021.0.8 + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + org.springframework.boot @@ -88,7 +100,10 @@ io.lettuce lettuce-core - + + org.springframework.cloud + spring-cloud-starter-netflix-eureka-client + diff --git a/src/main/java/com/t3t/authenticationapi/AuthenticationApiApplication.java b/src/main/java/com/t3t/authenticationapi/AuthenticationApiApplication.java index 87870f7..cfcaebf 100644 --- a/src/main/java/com/t3t/authenticationapi/AuthenticationApiApplication.java +++ b/src/main/java/com/t3t/authenticationapi/AuthenticationApiApplication.java @@ -2,9 +2,11 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; + @SpringBootApplication -//@EnableRedisHttpSession +@EnableDiscoveryClient public class AuthenticationApiApplication { public static void main(String[] args) {