ApiGateway With Eureka____EventDrivenCourse
Sun Oct 16 2022 12:51:38 GMT+0000 (Coordinated Universal Time)
Saved by
@DGSH
--configuration in main class
@EnableDiscoveryClient
--Configuration in application.properties
spring.application.name=api-gateway
server.port=8082
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka
spring.cloud.gateway.discovery.locator.enabled=true
spring.cloud.gateway.discovery.locator.lowerCaseServiceId=true
--Dependencies
Gateway
Spring Reactive Web
Eureka Discovery Client
--Add Environmnet Variable
From Environment Class
getProperties
content_copyCOPY
Comments