bootstrap-dev.yml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. server:
  2. port: 12004
  3. tomcat:
  4. uri-encoding: utf-8
  5. max-http-post-size: -1
  6. spring:
  7. jpa:
  8. open-in-view: true
  9. database: informix
  10. show-sql: false
  11. properties:
  12. hibernate:
  13. dialect: org.hibernate.dialect.Informix8sDialect
  14. application:
  15. name: transaction-service-${user.name}
  16. devtools:
  17. restart:
  18. enabled: false
  19. datasource:
  20. type: com.alibaba.druid.pool.DruidDataSource
  21. url: jdbc:gbasedbt-sqli://101.36.160.140:19089/db_utf8:INFORMIXSERVER=gbaseserver;DB_LOCALE=zh_cn.GB18030-2000;CLIENT_LOCALE=zh_cn.utf8;NEWCODESET=GB18030,GB18030-2000,5488;;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
  22. username: gbasedbt
  23. password: cDbK2S0go8
  24. driver-class-name: com.gbasedbt.jdbc.IfxDriver
  25. druid:
  26. #db-type: gbase8s
  27. initial-size: 5
  28. max-active: 30
  29. min-idle: 5
  30. max-wait: 60000
  31. pool-prepared-statements: true
  32. max-pool-prepared-statement-per-connection-size: 30
  33. validation-query: SELECT 1 FROM DUAL
  34. test-on-borrow: false
  35. test-on-return: false
  36. test-while-idle: true
  37. time-between-connect-error-millis: 60000
  38. min-evictable-idle-time-millis: 300000
  39. max-evictable-idle-time-millis: 3000000
  40. filters: stat,wall
  41. connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  42. use-global-data-source-stat: true
  43. web-stat-filter:
  44. url-pattern: /*
  45. exclusions: /druid/*,*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico
  46. enabled: true
  47. session-stat-enable: true
  48. session-stat-max-count: 10
  49. stat-view-servlet:
  50. url-pattern: /druid/*
  51. reset-enable: true
  52. login-username: druid
  53. login-password: druid
  54. #配置中心配置
  55. cloud:
  56. config:
  57. #使用discovery 时需要将eureka 写到该文件中,开发环境使用该方式,推荐使用。
  58. discovery:
  59. enabled: true
  60. service-id: config
  61. name: initdata,feign,redis,mq-producer-log,backlog-mq
  62. profile: dev
  63. username: configuser
  64. password: configpasd
  65. retry:
  66. max-attempts: 5
  67. max-interval: 2000
  68. #服务注册配置
  69. eureka:
  70. client:
  71. service-url:
  72. defaultZone: http://172.16.0.73:11000/eureka/
  73. eureka-server-connect-timeout-seconds: 20
  74. instance:
  75. prefer-ip-address: true
  76. status-page-url-path: /swagger-ui.html
  77. #日志配置
  78. logging:
  79. level:
  80. root: warn
  81. org:
  82. springframework:
  83. web: debug
  84. hibernate: error
  85. com:
  86. unis:
  87. cbl:
  88. server:
  89. controller: info
  90. service: info
  91. dao: debug
  92. netflix:
  93. discovery:
  94. shared:
  95. transport: OFF
  96. mybatis:
  97. configuration:
  98. map-underscore-to-camel-case: true
  99. type-aliases-package: com.unis.cbl.server.entity
  100. mapper-locations:
  101. - classpath:mybatis/mapper/*.xml