Skip to content
Snippets Groups Projects
Commit 24bf0a6c authored by Abdellatif Kebraoui's avatar Abdellatif Kebraoui
Browse files

[FEAT] update Eureka client configuration in application-cloud.yml to enable...

[FEAT] update Eureka client configuration in application-cloud.yml to enable registration and registry fetching
parent 558b5faf
No related branches found
No related tags found
No related merge requests found
...@@ -22,15 +22,10 @@ eureka: ...@@ -22,15 +22,10 @@ eureka:
client: client:
serviceUrl: serviceUrl:
defaultZone: http://eureka-service-682610574114.europe-west1.run.app/ defaultZone: http://eureka-service-682610574114.europe-west1.run.app/
register-with-eureka: true
fetch-registry: true
instance: instance:
hostname: usermanagement-service-682610574114.europe-west1.run.app hostname: usermanagement-service-682610574114.europe-west1.run.app
securePortEnabled: true
nonSecurePortEnabled: false
securePort: 443
statusPageUrl: http://${eureka.instance.hostname}/actuator/info
healthCheckUrl: http://${eureka.instance.hostname}/actuator/health
homePageUrl: http://${eureka.instance.hostname}/
preferIpAddress: false
instanceId: ${eureka.instance.hostname}:${spring.application.name}:${random.value} instanceId: ${eureka.instance.hostname}:${spring.application.name}:${random.value}
leaseRenewalIntervalInSeconds: 30 leaseRenewalIntervalInSeconds: 30
leaseExpirationDurationInSeconds: 90 leaseExpirationDurationInSeconds: 90
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment