Skip to content

Commit 876710f

Browse files
committed
BAEL-315 adding some changes to properties files to allow for access to the discovery server.
1 parent 70c342d commit 876710f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎spring-cloud/spring-cloud-bootstrap/application-config/discovery.properties‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ server.port=8082
44
eureka.instance.hostname=localhost
55

66
eureka.client.serviceUrl.defaultZone=http://discUser:discPassword@localhost:8082/eureka/
7-
eureka.client.register-with-eureka=true
7+
eureka.client.register-with-eureka=false
88
eureka.client.fetch-registry=false
99

1010
spring.redis.host=localhost
11-
spring.redis.port=6379
11+
spring.redis.port=6379

‎spring-cloud/spring-cloud-bootstrap/application-config/gateway.properties‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ hystrix.command.resource.execution.isolation.thread.timeoutInMilliseconds=600000
1212

1313
zuul.routes.discovery.path=/discovery/**
1414
zuul.routes.discovery.sensitive-headers=Set-Cookie,Authorization
15+
zuul.routes.discovery.url=http://localhost:8082
1516
hystrix.command.discovery.execution.isolation.thread.timeoutInMilliseconds=600000
1617

1718
logging.level.org.springframework.web.=debug

0 commit comments

Comments
 (0)