123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- server:
- port: 12004
- tomcat:
- uri-encoding: utf-8
- max-http-post-size: -1
- spring:
- jpa:
- open-in-view: true
- database: informix
- show-sql: false
- properties:
- hibernate:
- dialect: org.hibernate.dialect.Informix8sDialect
- application:
- name: transaction-service-${user.name}
- devtools:
- restart:
- enabled: false
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- 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;
- username: gbasedbt
- password: cDbK2S0go8
- driver-class-name: com.gbasedbt.jdbc.IfxDriver
- druid:
- #db-type: gbase8s
- 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 FROM DUAL
- 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,wall
- 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: initdata,feign,redis,mq-producer-log,backlog-mq
- profile: dev
- username: configuser
- password: configpasd
- retry:
- max-attempts: 5
- max-interval: 2000
- #服务注册配置
- eureka:
- client:
- service-url:
- defaultZone: http://172.16.0.73:11000/eureka/
- eureka-server-connect-timeout-seconds: 20
- instance:
- prefer-ip-address: true
- status-page-url-path: /swagger-ui.html
- #日志配置
- logging:
- level:
- root: warn
- org:
- springframework:
- web: debug
- hibernate: error
- com:
- unis:
- cbl:
- server:
- controller: info
- service: info
- dao: debug
- netflix:
- discovery:
- shared:
- transport: OFF
- mybatis:
- configuration:
- map-underscore-to-camel-case: true
- type-aliases-package: com.unis.cbl.server.entity
- mapper-locations:
- - classpath:mybatis/mapper/*.xml
|