server:
  port: 9314

spring:
  application:
    name: @artifactId@
  profiles:
    active: test
  datasource:
    dynamic:
      primary: archive-mysql #设置默认的数据源，默认值为archive-mysql
      strict: false   #是否用严格模式，如果启用在味匹配到指定数据源时抛出异常
      datasource:
        archive-mysql:
          url: jdbc:log4jdbc:mysql://db.docus.cn:3306/docus_medicalrecord?autoReconnect=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
          username: docus
          password: docus702
          driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
          type: com.alibaba.druid.pool.DruidDataSource
          # 初始化配置
          initial-size: 3
          # 最小连接数
          min-idle: 3
          # 最大连接数
          max-active: 15
          # 获取连接超 时时间
          max-wait: 5000
          # 连接有效性检测时间
          time-between-eviction-runs-millis: 90000
          # 最大空闲时间
          min-evictable-idle-time-millis: 1800000
          test-while-idle: true
          test-on-borrow: false
          test-on-return: false
          validation-query: select 1
        zjfsjhemr:
          url: jdbc:oracle:thin:@10.6.0.150:1521:jhemr
          username: jswzh
          password: jswzh123
          driver-class-name: oracle.jdbc.driver.OracleDriver
          type: com.alibaba.druid.pool.DruidDataSource
          # 初始化配置
          initial-size: 3
          # 最小连接数
          min-idle: 3
          # 最大连接数
          max-active: 10
          # 获取连接超 时时间
          max-wait: 5000
          # 连接有效性检测时间
          time-between-eviction-runs-millis: 90000
          # 最大空闲时间
          min-evictable-idle-time-millis: 1800000
          test-while-idle: true
          test-on-borrow: false
          test-on-return: false
          validation-query: select 1 from dual
        archivesqlserver:
          url: jdbc:sqlserver://192.168.16.103\DOCUS;DatabaseName=hq_framework
          username: sa
          password: docus702
          driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
          type: com.alibaba.druid.pool.DruidDataSource
          # 初始化配置
          initial-size: 3
          # 最小连接数
          min-idle: 3
          # 最大连接数
          max-active: 15
          # 获取连接超 时时间
          max-wait: 5000
          # 连接有效性检测时间
          time-between-eviction-runs-millis: 90000
          # 最大空闲时间
          min-evictable-idle-time-millis: 1800000
          test-while-idle: true
          test-on-borrow: false
          test-on-return: false
          validation-query: select 1
        fssy-jhemr-oracle:
          url: jdbc:oracle:thin:@//10.100.23.128:31521/jhemr
          username: BAWZH
          password: BAWZH@123
          driver-class-name: oracle.jdbc.driver.OracleDriver
          type: com.alibaba.druid.pool.DruidDataSource
          # 初始化配置
          initial-size: 3
          # 最小连接数
          min-idle: 3
          # 最大连接数
          max-active: 5
          # 获取连接超 时时间
          max-wait: 5000
          # 连接有效性检测时间
          time-between-eviction-runs-millis: 90000
          # 最大空闲时间
          min-evictable-idle-time-millis: 1800000
          test-while-idle: true
          test-on-borrow: false
          test-on-return: false
          validation-query: select 1 from dual
  redis:
    host: redis.docus.cn
    password: JSdocus@702

docus:
  url:
    # 2.0视图采集服务地址
    viewtask-v2: http://localhost:9295/
    # 3.0视图采集服务地址
    viewtask-v3: http://localhost:9295/


  dbtype: mysql

mybatis-plus:
  configuration:
    map-underscore-to-camel-case: true
    call-setters-on-nulls: true
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  global-config:
    db-config:
      field-strategy: NOT_EMPTY
      db-type: MYSQL
