server:
  port: 31096
---
database_type: oracle

spring:
  application:
    name: isc-remit
#  datasource:
#    driver-class-name: oracle.jdbc.OracleDriver
#    url: jdbc:oracle:thin:@127.0.0.1:1521:XE
#    username: ISCSL
#    password: ISCSL
  datasource:
    driver-class-name: dm.jdbc.driver.DmDriver
    url: jdbc:dm://192.168.0.114:5236
    username: ISCHLJ
    password: PWDISCHLJ
    hikari:
      schema: ISC31
  jackson:
    #实体类转json时字段为null不参与序列化
    default-property-inclusion: NON_EMPTY
  redis:
    host: 192.168.0.114
    port: 36379
    password: "ESFEdlc45^"
    database: 0 #设置数据库数量默认为0
    jedis:
      pool:
        max-active: 1024 #连接池最大数据库连接数,0表示无限制
        max-wait: -1 #最大建立连接等待时间
        min-idle: 0 # 最小空闲数
        max-idle: 1000 #最大空闲数
    timeout: 1000 #客户端超时时间默认是2000,单位是毫秒
    redisson:
      config:
        transportMode: "NIO"
    lettuce:
      pool:
        max-idle: 100
        min-idle: 0
        max-active: 100
        max-wait: 1000
  session:
    store-type: redis
---
jasypt:
  encryptor:
    password: EbfYkitulv73I2p0mXI50JMXoaxZTKJ7
    algorithm: PBEWithMD5AndDES
---
#区分系统的唯一标识,建议使用系统英文缩写
system.name: sstf

envConfig:
  rootPath: D:/rootPath
  dataPath: D:/rootPath/sstf/data
  zfqzRootPath: D:/rootPath/sstf/data/ips/Be_Dea_QZ/cfg/mnbw/data/rcvmsg/iss
  fileLocalFlag: false
  cache:
    #缓存类型(guava/redis)
    type: redis
    #缓存失效时间(秒)
    expireAfterAccess: 3600
    #序列化方式
    serializer: kryo

env:
  mapperPackage: com.brilliance.isc.mda.dao

global:
  ignoreUrls:
    - //health/info

#自增长序列生成配置
counter:
  name: mysqlSequence
  start: 1500
  setp: 1

logging:
  config: 'classpath:log4j2.xml'

mybatis-plus:
  mapperLocations: classpath*:mapper/**/*.xml
  type-handlers-package: com.brilliance.mda.support.mybatis.typehandler
  #mybatis数据库字段内容为空时,返回该字段
  configuration:
    logImpl: org.apache.ibatis.logging.stdout.StdOutImpl
    call-setters-on-nulls: true
    return-instance-for-empty-row: true
    database-id: oracle


# 调试新增 hulei
eureka:
  instance:
    #hostname: eurekaServer
    # true,将IP注册到eurekaServer上
    prefer-ip-address: true
    # eurekaClient发送给server心跳的频率
    lease-renewal-interval-in-seconds: 10
    # 等待下一次心跳的超时时间。如没收到,移除该实例。
    lease-expiration-duration-in-seconds: 30
  client:
    # 注册到eurekaServer的开关
    enabled: true
    register-with-eureka: true
    fetchRegistry: true
    serviceUrl:
      defaultZone: http://192.168.0.114:38761/eureka

feign:
  client:
    config:
      default:
        loggerLevel: FULL
        connectTimeout: 10000
        readTimeout: 600000
  okhttp:
    enabled: true
  httpclient:
    enabled: false
  hystrix:
    enabled: true
  circuitbreaker:
    enabled: true # 上面无效 使用下面 服务降级
  sentinel:
    enabled: true # 上面无效 使用下面 服务降级

hystrix:
  command:
    default:
      execution:
        timeout:
          enabled: true
        isolation:
          thread:
            timeoutInMilliseconds: 5000

pagehelper:
  helperDialect: ORACLE
  reasonable: true
  supportMethodsArguments: true
  params:
    count: countSql
  rowBoundsWithCount: true
  pageSizeZero: true

sstf:
  object:
    storekey: isc.objectstore.storemodule
    localkey: isc.objectstore.localmodule
    bucketName: isc-obs-dd
    accessKey: YUEDYIZZASXITMYUEGVP
    secretKey: hhEwrCQFbs9fi9h7h0RARD9XLOVMcfYepUtFl3IM
  esb:
    name: ISC-SUBNOA-MS-remit
    url: http://127.0.0.1:8090/webapi
    url2: http://192.168.0.110:8090/webapi


# 面函服务工程文件扫描路径
faceLetter:
  filePath: dsp\\src\\main\\resources\\file\\  # 下载文件路径 src/main/resources/file/
  templatesPath: dsp\\src\\main\\resources\\templates\\ # 模板文件路径


camel:
  springboot:
    main-run-controller: true