bootstrap-test.yml 2.9 KB

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