application-prod.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. spring:
  2. datasource:
  3. type: com.alibaba.druid.pool.DruidDataSource
  4. driverClassName: oracle.jdbc.OracleDriver
  5. username: YITOA_DATACENTER
  6. password: select!#%*(
  7. url: jdbc:oracle:thin:@10.1.81.208:11769:orcl
  8. initialSize: 10
  9. maxActive: 80
  10. minIdle: 10
  11. maxWait: 60000
  12. testOnBorrow: true
  13. testOnReturn: false
  14. testWhileIdle: true
  15. validationQuery: SELECT 1 FROM DUAL
  16. timeBetweenEvictionRunsMillis: 60000
  17. minEvictableIdleTimeMillis: 300000
  18. poolPreparedStatements: true
  19. maxPoolPreparedStatementPerConnectionSize: 80
  20. filters: stat
  21. removeAbandoned: true
  22. removeAbandonedTimeout: 1800
  23. http:
  24. encoding:
  25. force: true
  26. charset: UTF-8
  27. enabled: true
  28. message:
  29. encoding: UTF-8
  30. jpa:
  31. show-sql: false
  32. hibernate:
  33. ddl-auto: update
  34. database: oracle
  35. server:
  36. tomcat:
  37. uri_encoding: UTF-8
  38. port: 8088
  39. context-path: /uas_fbcustomer
  40. logging:
  41. level:
  42. org:
  43. hibernate:
  44. type: trace
  45. config: classpath:log/logback-prod.xml
  46. Task:
  47. Method: saveFbCustomer
  48. Cron: 0 50 02 * * ?