Skip to content

Instantly share code, notes, and snippets.

@OlgaMaciaszek
Created April 15, 2021 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OlgaMaciaszek/ca501419887c588edf97292138fefe7e to your computer and use it in GitHub Desktop.
Save OlgaMaciaszek/ca501419887c588edf97292138fefe7e to your computer and use it in GitHub Desktop.
spring:
application:
name: HelloClient
server:
port: 7211
eureka:
password: password
client:
serviceUrl:
defaultZone: http://user:${eureka.password}@localhost:8761/eureka/
instance:
leaseRenewalIntervalInSeconds: 10
metadataMap:
instanceId: ${vcap.application.instance_id:${spring.application.name}:${spring.application.instance_id:${server.port}}}
endpoints:
restart:
enabled: true
management:
endpoints:
web:
exposure:
include: refresh
feign:
client:
refresh-enabled: true
config:
HelloServer:
connectTimeout: 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment