techhero-platform-system-local.yml 2.49 KB
Newer Older
Administrator committed
1 2
spring:
  redis:
3 4
    database: 10
    host: test-env
Administrator committed
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
    port: 6379
    password: techhero
    timeout: 0
    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: system
      datasource:
#        system:
#          url: jdbc:mysql://dev-env:33060/system_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
#          username: root
#          password: techhero
#          driver-class-name: com.mysql.cj.jdbc.Driver
#        exam:
#          url: jdbc:mysql://dev-env:33060/exam_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
#          username: root
#          password: techhero
#          driver-class-name: com.mysql.cj.jdbc.Driver
        system:
          type: com.alibaba.druid.pool.DruidDataSource
          url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
          username: SYSTEM_DEV
          password: SYSTEM_DEV
  rabbitmq:
    host: dev-env
    port: 5672
    username: techhero
    password: techhero
48
    virtual-host: /framework
Administrator committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    # 交换机
    exchanges:
      # 用户操作日志
      - name: send-operation-success-log-exchange
        type: TOPIC

      # 用户操作后台异常日志
      - name: send-operation-error-log-exchange
        type: TOPIC
    # 队列
    queues:
      # 用户操作日志
      - name: send-operation-success-log-key
        routing-key: send-operation-success-log-key
        exchange-name: send-operation-success-log-exchange

      # 用户操作后台异常日志
      - name: send-operation-error-log-queue
        routing-key: send-operation-error-log-key
        exchange-name: send-operation-error-log-exchange

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