Fixes Spring Cloud Gateway configuration
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
<!-- Spring Cloud -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-eureka</artifactId>
|
||||
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
server:
|
||||
contextPath: /api
|
||||
port: 8089
|
||||
servlet:
|
||||
context-path: /api
|
||||
|
||||
management:
|
||||
security:
|
||||
enabled: false
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: gtd-es-command-side
|
||||
kafka:
|
||||
bootstrapServers: localhost:9092
|
||||
consumer:
|
||||
@@ -29,6 +32,7 @@ eureka:
|
||||
enabled: true
|
||||
serviceUrl:
|
||||
defaultZone: ${EUREKA_CLIENT_SERVICEURL_DEFAULTZONE:http://localhost:8761/eureka/}
|
||||
register-with-eureka: true
|
||||
instance:
|
||||
appname: gtd-es-command-side
|
||||
preferIpAddress: true
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
spring:
|
||||
application:
|
||||
name: gtd-es-command-side
|
||||
cloud:
|
||||
discovery:
|
||||
enabled: true
|
||||
client:
|
||||
health-indicator:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user