config-map.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. kind: ConfigMap
  2. apiVersion: v1
  3. metadata:
  4. name: cloud-yysj-analysis-info
  5. data:
  6. application.yaml: |-
  7. spring:
  8. datasource:
  9. url: jdbc:mysql://10.8.17.119:32196/cloud-yysj?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
  10. username: root
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. type: com.zaxxer.hikari.HikariDataSource
  13. hikari:
  14. minimum-idle: 5
  15. maximum-pool-size: 15
  16. auto-commit: true
  17. idle-timeout: 30000
  18. pool-name: DatebookHikariCP
  19. max-lifetime: 1800000
  20. connection-timeout: 30000
  21. password: 123456
  22. mybatis-plus:
  23. configuration:
  24. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  25. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  26. # 驼峰下划线转换
  27. map-underscore-to-camel-case: false
  28. # 配置的缓存的全局开关
  29. cache-enabled: true
  30. # 延时加载的开关
  31. lazy-loading-enabled: true
  32. # 开启的话,延时加载一个属性时会加载该对象全部属性,否则按需加载属性
  33. multiple-result-sets-enabled: true
  34. use-generated-keys: true
  35. default-statement-timeout: 60
  36. default-fetch-size: 100
  37. elasticsearch:
  38. schema: http
  39. address: 10.8.17.118:9200
  40. #address: 192.168.16.41:30002,192.168.16.41:31821,192.168.16.41:30097
  41. connectTimeout: 5000
  42. socketTimeout: 5000
  43. connectionRequestTimeout: 5000
  44. maxConnectNum: 100
  45. maxConnectPerRoute: 100
  46. index:
  47. yysjFirst: access-yysj-gateway-first-log-cloud-yysj*
  48. yysjSecond: access-yysj-gateway-second-log-cloud-yysj*
  49. sjjh: iov_sjjh_access_test1*