techhero-resources-basic-dev.yml 2 KB
Newer Older
1 2
spring:
  redis:
3
    database: 5
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
    host: fdff:1:1:1::1
    port: 6379
    password: techhero123
    timeout: 5000
    pool:
      max-active: 8
      max-wait: -1
      max-idle: 8
      min-idle: 0
  datasource:
    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: basic
      datasource:
        basic:
          url: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=[fdff:1:1:1::1])(PORT=1521))(CONNECT_DATA=(SID=orcl)))
          username: nr_base_dev
          password: bnJfYmFzZV9kZXY=
          driver-class-name: oracle.jdbc.OracleDriver
    
  rabbitmq:
    host: '[fdff:1:1:1::1]'
    port: 5672
    username: nr
    password: nr
39
    virtual-host: /nr-dev
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    
    # 交换机
    exchanges:
      - name: basic.person.update.exchange
        type: topic
    # 队列
    queues:
      - name: basic.person.update.queue
        routing-key: basic.person.update.key
        exchange-name: basic.person.update.exchange
        

pdftemplate:
  defaultImg: F:/test/pdf/templete/default.jpeg
  collegeProfessorPdf: F:/test/pdf/templete/高校专家申报信息表1110.pdf
  noCollegeProfessorPdf : F:/test/pdf/templete/非高校专家申报信息表1110.pdf
  
minio:
  accessKey: Tj3lmVW59Zjq4gDQ
  secretKey: De2SOr1MCflzUM8YwA9UKVBj3suuc8ci
  bucket: unionresource
  endpoint: http://119.96.87.17:30107
  readPath: http://119.96.87.17:30107
  enable: true #开启使用Minio 对应LeadNewsAutoConfig中的@ConditionalOnProperty注解属性