application.yml 1.5 KB
Newer Older
苗卫卫 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
server:
  port: 9051
  tomcat:
    uri-encoding: UTF-8
spring:
  http:
    encoding:
      charset: UTF-8
      force: true
      enabled: true
  profiles:
    active: dev
  application:
    name: wios
  main:
    allow-bean-definition-overriding: true
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    url: ${mysql.url}
    username: ${mysql.username}
    password: ${mysql.password}
    initialSize: 5
    minIdle: 5
    maxActive: 20
    maxWait: 60000
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 300000
    validationQuery: SELECT 'x'
    queryTimeout: 5
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    # filters: stat,wall 
    poolPreparedStatements: true
    maxPoolPreparedStatementPerConnectionSize: 20
    logSlowSql: true
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
    proxyFilters: '#{@catDataSourceFilter}'
mybatis:
  mapper-locations: classpath*:com/**/mappers/**/*.xml
  plugins: '#{@maybatisPlugin}'
  configuration:
    map-underscore-to-camel-case: true
support:
  limit:
    pageSize: 10
filestore:
  enable:
    suffix: true
auth:
  token:
    validSeconds: 900
    minaValidSeconds: 86400
  ignoreUrls: /account/login,/account/logout,/mts/*,/enum/get,/export.do,/import.do,/api/account/sendCaptcha,/api/account/updatePasswodByCaptcha,/api/sap/materials/add
  ignoreUrlPath: /ignore
api:
  v2:
    compatible: true
    log: false
womc:
苗卫卫 committed
61 62
  flowUrl: http://cams-wios-test-v2.camsnetec.com
  orderUrl: http://cams-wios-test-v2.camsnetec.com