| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- 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: com.edb.Driver
- test-on-borrow: true
- validation-query: SELECT 1
- hikari:
- maximumPoolSize: 5 # default 10; since microservice with more than 1 instance, we set this lower
- connectionTimeout: 10000 # 10s; default 30s
- idleTimeout: 300000 # 5m; default 10 mins
- maxLifetime: 900000 # 15m; default 30 mins
- redis:
- host: redis.marathon.l4lb.thisdcos.directory
- rabbitmq:
- host: rabbitmq.marathon.l4lb.thisdcos.directory
- security:
- oauth2:
- client:
- accessTokenUri: ${crss.security.url}/oauth/access_token
- userAuthorizationUri: ${crss.security.url}/oauth/authorize
- clientId: crss
- clientSecret: crsssecret
- authorized-grant-types: authorization_code,refresh_token,password
- scope: openid
- access-token-validity-seconds: 3600
- resource:
- filter-order: 3
- userInfoUri: ${crss.security.url}/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: INFO
- com.netflix: WARN
- org.springframework.cloud: WARN
- graylog:
- host: 10.176.11.123
- crss:
- api.gateway: http://crssapplication-main-ui.marathon.l4lb.thisdcos.directory:8080
- security.url: ${crss.api.gateway}/uaa
|