server: port: 12004 tomcat: uri-encoding: utf-8 max-http-post-size: -1 spring: application: name: transaction-service devtools: restart: enabled: false # 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; # username: gbasedbt # password: 8sLSHJ # driver-class-name: com.gbasedbt.jdbc.IfxDriver # type: com.alibaba.druid.pool.DruidDataSource # druid: # db-type: gbasedbt-sqli # initial-size: 5 # max-active: 30 # min-idle: 5 # max-wait: 60000 # pool-prepared-statements: true # max-pool-prepared-statement-per-connection-size: 30 # validation-query: select 1 # test-on-borrow: false # test-on-return: false # test-while-idle: true # time-between-connect-error-millis: 60000 # min-evictable-idle-time-millis: 300000 # max-evictable-idle-time-millis: 3000000 # filters: stat # connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 # use-global-data-source-stat: true # web-stat-filter: # url-pattern: /* # exclusions: /druid/*,*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico # enabled: true # session-stat-enable: true # session-stat-max-count: 10 # stat-view-servlet: # url-pattern: /druid/* # reset-enable: true # login-username: druid # login-password: druid #配置中心配置 cloud: config: #使用discovery 时需要将eureka 写到该文件中,开发环境使用该方式,推荐使用。 discovery: enabled: true service-id: config name: gbase8s-lsyw,initdata,feign,redis,backlog-mq,mq-producer-log profile: dev username: configuser password: configpasd retry: max-attempts: 5 max-interval: 2000 #如果出现错误立刻停止服务。 #fail-fast: true #服务注册配置 eureka: client: service-url: defaultZone: http://eureka-server:11000/eureka/ # defaultZone: http://192.168.123.15:11000/eureka/ # defaultZone: http://localhost:11000/eureka/ #defaultZone: http://172.16.0.73:11000/eureka/ instance: prefer-ip-address: true status-page-url-path: /swagger-ui.html #日志配置 logging: level: root: warn org: springframework: web: debug hibernate: error com: unis: transaction: server: controller: info service: info dao: debug path: ./log/ file: max-history: 30 mybatis: configuration: map-underscore-to-camel-case: true type-aliases-package: com.unis.transaction.server.entity mapper-locations: - classpath:mybatis/mapper/*.xml