2017-01-25 09:36:18 -05:00
|
|
|
spring.application.name=resource
|
2017-01-25 16:35:30 -05:00
|
|
|
#server.port=0
|
2017-01-25 09:36:18 -05:00
|
|
|
|
|
|
|
#### cloud
|
2017-01-22 09:23:07 -05:00
|
|
|
eureka.client.serviceUrl.defaultZone=${EUREKA_URI:http://system:systemPass@localhost:8761/eureka}
|
2017-01-18 17:09:47 -05:00
|
|
|
eureka.instance.preferIpAddress=true
|
|
|
|
|
2017-01-22 09:23:07 -05:00
|
|
|
#### persistence
|
2017-01-18 17:09:47 -05:00
|
|
|
spring.datasource.driver-class-name=org.h2.Driver
|
|
|
|
spring.datasource.url=jdbc:h2:mem:cloud_rest;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
|
|
|
spring.datasource.username=sa
|
2017-01-22 09:23:07 -05:00
|
|
|
spring.datasource.password=
|
|
|
|
|
|
|
|
#### security
|
|
|
|
security.basic.enabled=true
|
|
|
|
security.basic.path=/**
|
|
|
|
security.user.name=user
|
|
|
|
security.user.password=userPass
|
|
|
|
security.user.role=USER
|
|
|
|
security.sessions=always
|