| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- spring:
- jpa:
- properties:
- hibernate.integration.envers.enabled: true
- jadira.usertype.autoRegisterUserTypes: true
- show-sql: false
- hibernate:
- ddl-auto: none
- dialect: org.hibernate.dialect.PostgreSQLDialect
- hbm2ddl:
- import_files:
- datasource:
- platform : postgres
- driverClassName: org.postgresql.Driver
- connectionTimeout: 10000
- maxPoolSize: 20
- test-on-borrow: true
- validation-query: SELECT 1
- security:
- oauth2:
- client:
- accessTokenUri: ${security.server.url:http://localhost:8082}/oauth/access_token
- userAuthorizationUri: ${security.server.url:http://localhost:8082}/oauth/authorize
- clientId: crss
- clientSecret: crsssecret
- authorized-grant-types: authorization_code,refresh_token,password
- scope: openid
- access-token-validity-seconds: 3600
- resource:
- userInfoUri: ${security.server.url:http://localhost:8082}/user
- eureka:
- client:
- serviceUrl:
- defaultZone: http://localhost:8761/eureka/
- server:
- undertow:
- accesslog:
- dir: target
- enabled: true
- pattern: combined
- compression:
- enabled: true
- min-response-size: 1
- logging:
- pattern:
- level: 'username:%X{username:-system} %5p'
- level:
- com.pemc.crss: DEBUG
- com.netflix: WARN
- org.springframework.cloud: WARN
- # TODO: remove this 2 profiles below if done migrating to new environment
- ---
- spring:
- profiles: docker
- security.server.url: http://app:8080/admin
- ---
- spring:
- profiles: dcos
- rabbitmq:
- host: rabbitmq.marathon.l4lb.thisdcos.directory
- security.server.url: http://phase1app.marathon.l4lb.thisdcos.directory:8080/admin
- eureka:
- client:
- serviceUrl:
- defaultZone: http://phase1discovery.marathon.l4lb.thisdcos.directory:8080/eureka/
- instance:
- prefer-ip-address: false
- # HOST and PORT environment variable came from mesos as docker ENV
- hostname: ${HOST}
- noneSecurePort: ${PORT}
|