java-tutorials/spring-cloud/spring-cloud-rest/application-config/spring-cloud-rest-server.pr...

16 lines
460 B
Properties

spring.application.name=spring-cloud-rest-server
server.port=8761
#### cloud
eureka.instance.hostname=localhost
eureka.client.serviceUrl.defaultZone=${EUREKA_URI:http://system:systemPass@localhost:8761/eureka}
eureka.client.registerWithEureka=false
eureka.client.fetchRegistry=false
#### security
security.basic.enabled=true
security.basic.path=/**
security.user.name=system
security.user.password=systemPass
security.user.role=ADMIN
security.sessions=always