1234567891011121314151617181920212223242526272829303132333435363738 |
- spring:
- cache:
- guava:
- spec: expireAfterWrite=30s
- datasource:
- driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
- username: mooctest
- password: secr3t!
- # Keep the connection alive if idle for a long time (needed in production)
- testWhileIdle: true
- validationQuery: SELECT 1
- # Show or not log for each sql query
- jpa:
- show-sql: true
- # Hibernate ddl auto (create, create-drop, update)
- hibernate:
- ddl-auto: validate
- #hbm2ddl.auto: update
- # Naming strategy
- naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
- # The SQL dialect makes Hibernate generate better SQL for the chosen database
- properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
- redis:
- host: 114.55.91.27
- pool: 6379
- password: '#03#05@ise@mooctest'
- jedis:
- pool:
- max-active: 8
- max-idle: 8
- max-wait: -1
- min-idle: 0
- database: 3
- feature-switch:
- default:
- role: generalUser
|