Files
spring-cloud-cloudfoundry/src/test/resources/application.yml
2014-09-01 08:17:23 +01:00

37 lines
839 B
YAML

debug: true
server:
port: 8080
spring:
application:
name: eureka
management:
context-path: /admin
eureka:
server:
enabled: false
oauth2:
sso:
tokenUri: http://localhost:8080/uaa/oauth/token
authorizationUri: http://localhost:8080/uaa/oauth/authorize
clientId: app
clientSecret: appclientsecret
logging:
level:
com.netflix.discovery: 'OFF'
org.springframework.security: DEBUG
---
spring:
profiles: github
oauth2:
sso:
tokenUri: https://github.com/login/oauth/access_token
authorizationUri: https://github.com/login/oauth/authorize
clientId: bd1c0a783ccdd1c9b9e4
clientSecret: 1a9030fbca47a5b2c28e92f19050bb77824b5ad1
authenticationScheme: form
resource:
clientId: ${oauth2.sso.clientId}
userInfoUri: https://api.github.com/user
preferTokenInfo: false