spring:
  redis:
    database: 15
    host: dev-env
    port: 6379
    password: techhero
    timeout: 0
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
  datasource:
    druid: #使用druid连接池
      stat-view-servlet:
        loginUsername: root
        loginPassword: root
      initial-size: 1
      max-active: 20
      min-idle: 3
      max-wait: 60000
      time-between-eviction-runs-millis: 60000
      validation-query: select 1 from dual
      filters: stat,slf4j
    dynamic:
      primary: exam #主数据源
      datasource:
#        exam:
#          url: jdbc:mysql://dev-env:33060/exam_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
#          username: root
#          password: techhero
#          driver-class-name: com.mysql.cj.jdbc.Driver
        exam:
          type: com.alibaba.druid.pool.DruidDataSource
          url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
          username: jcsjv2_dev
          password: jcsjv2_dev

  rabbitmq:
    host: dev-env
    port: 15672
    username: techhero
    password: techhero
    virtual-host: /product
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    # 交换机
    exchanges:
      - name: exam.dlx.dead.updateStandardOrgName.exchange
        type: TOPIC
      - name: exam.updateStandardOrgName.exchange
        type: TOPIC
      - name: exam.sync.examplan.exchange
        type: TOPIC
      - name: exam.sync.user.exchange
        type: TOPIC
      - name: exam.plan.exchange
        type: TOPIC
    # 队列
    queues:
      - name: exam.dlx.updateStandardOrgName.queue
        routing-key: exam.dlx.updateStandardOrgName.key
        exchange-name: exam.dlx.dead.updateStandardOrgName.exchange

      - name: exam.updateStandardOrgName.queue
        routing-key: exam.updateStandardOrgName.key
        exchange-name: exam.updateStandardOrgName.exchange

      - name: exam.sync.examplan.queue
        routing-key: exam.sync.examplan.key
        exchange-name: exam.sync.examplan.exchange

      - name: exam.sync.user.queue
        routing-key: exam.sync.user.key
        exchange-name: exam.sync.user.exchange

      - name: exam.plan.queue
        routing-key: exam.plan.key
        exchange-name: exam.plan.exchange


oss:
  bucketName: jyksy-gjjybzh
  httpEndpoint: ctyoss.chutianyun.gov.cn:8060
  httpsEndpoint: https://ctyoss.chutianyun.gov.cn:10443
  accessKey: L3B7SA05OXT0V9WKD02N
  secretKey: D0O4yTDqBCteH0p5dAgRibxZ8rNSLg0PShFF94IL

picture:
  path: https://test.techhero.vip:10001
  addr: https://test.techhero.vip:10001

ftp:
  enabled: true
  host: 119.96.178.242
  port: 21
  username: ftptest
  password: qazwsx
  saveFile: /data/sjb/
  directory: /
  zipPassword: hbsfyz
  ftpBasePath: /
sftp:
  client:
    protocol: sftp
    port: 22
    host: 119.96.169.121
    username: thsftp
    password: thsftp
    root: /upload
    privateKey:
    passphrase:
    sessionStrictHostKeyChecking: no
    sessionConnectTimeout: 30000
    channelConnectedTimeout: 30000

personTemplate:
  mngPersonPath: /Users/cnnoter/Desktop/template/mngPerson.xlsx
  examPointWorkPersonPath: /Users/cnnoter/Desktop/template/examPointWorkPerson.xlsx
  examPointWorkPersonExportPath: /Users/cnnoter/Desktop/template/examPointWorkPersonExport.xlsx
  secrecyRoomPersonPath: /Users/cnnoter/Desktop/template/secrecyRoomPersonTemplate.xlsx
  secrecyRoomPersonExportPath: /Users/cnnoter/Desktop/template/secrecyRoomPersonTemplateExport.xlsx
  pagerMngWorkPersonPath: /Users/cnnoter/Desktop/template/pagerMngWorkPersonTemplate.xlsx
  pagerMngWorkPersonExportPath: /Users/cnnoter/Desktop/template/pagerMngWorkPersonTemplateExport.xlsx
  secrecyRoomLayoutUserExportPath: /Users/cnnoter/Desktop/template/secrecyRoomLayoutUserExport.xlsx
  mngPersonExportPath: /Users/cnnoter/Desktop/template/mngPersonExport.xlsx
  examPointCameraPath: /Users/cnnoter/Desktop/template/examPointCamera.xlsx
  examPointOtherDevicePath: /Users/cnnoter/Desktop/template/examPointOtherDevice.xlsx
  examPointCameraExportPath: /Users/cnnoter/Desktop/template/examPointCameraExport.xlsx
  examPointOtherDeviceExportPath: /Users/cnnoter/Desktop/template/examPointOtherDeviceExport.xlsx