techhero-business-command-dev.yml 4.54 KB
Newer Older
Administrator committed
1 2 3 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 39 40 41 42 43 44
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:
      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: command
      datasource:
        #        command:
        #          url: jdbc:mysql://dev-env:33060/command_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
        #          username: root
        #          password: techhero
        #          driver-class-name: com.mysql.cj.jdbc.Driver
        #        command_zt:
        #          url: jdbc:mysql://dev-env:33060/command_zt_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_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
        #          username: root
        #          password: techhero
        #          driver-class-name: com.mysql.cj.jdbc.Driver
        command:
          type: com.alibaba.druid.pool.DruidDataSource
45 46 47
          url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
          username: yjzh_dev
          password: yjzh_dev
Administrator committed
48 49
        yjzh_zt:
          type: com.alibaba.druid.pool.DruidDataSource
50 51 52
          url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
          username: yjzh_zt_dev
          password: yjzh_zt_dev
Administrator committed
53 54 55 56 57 58 59
        zcpt_zt:
          type: com.alibaba.druid.pool.DruidDataSource
          url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
          username: zcpt_zt_dev
          password: zcpt_zt_dev
        exam:
          type: com.alibaba.druid.pool.DruidDataSource
60 61
          url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
          username: jcsjv2_dev
62
          password: jcsjv2_dev
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
        # command:
        #   type: com.alibaba.druid.pool.DruidDataSource
        #   url: jdbc:oracle:thin:@192.168.0.102:1521:orcl
        #   username: yjzh
        #   password: yjzh
        # yjzh_zt:
        #   type: com.alibaba.druid.pool.DruidDataSource
        #   url: jdbc:oracle:thin:@192.168.0.102:1521:orcl
        #   username: yjzh_zt
        #   password: yjzh_zt
        # zcpt_zt:
        #   type: com.alibaba.druid.pool.DruidDataSource
        #   url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
        #   username: zcpt_zt_dev
        #   password: zcpt_zt_dev
        # exam:
        #   type: com.alibaba.druid.pool.DruidDataSource
        #   url: jdbc:oracle:thin:@192.168.0.102:1521:orcl
        #   username: jcsjv2
        #   password: jcsjv2
Administrator committed
83 84
  rabbitmq:
    host: dev-env
85 86 87
    port: 5672
    username: rabbit
    password: rabbit-techhero
Administrator committed
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
    virtual-host: /product
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    # 交换机
    exchanges:
      # 事件上报队列
      - name: alarm-message-test
        type: TOPIC

      # 事件上报队列名
      - name: topic-test-incident-reporting-exchange
        type: TOPIC

      # 操作历史日志队列名
      - name: topicCzlsLogExchangeTest
        type: TOPIC
    # 队列
    queues:
      # 事件上报队列
      - name: Alarm-Event-Msg-test
        exchange-name: alarm-message-test

      # 事件上报队列名
      - name: topic.test.incidentReporting.queue
        exchange-name: topic-test-incident-reporting-exchange

      # 操作历史日志队列名
      - name: topic.czlsLog.test
        exchange-name: topicCzlsLogExchangeTest

oss:
  bucketName: jyksy-gjjybzh
  httpEndpoint: ctyoss.chutianyun.gov.cn:8060
  httpsEndpoint: https://ctyoss.chutianyun.gov.cn:10443
  accessKey: L3B7SA05OXT0V9WKD02N
  secretKey: D0O4yTDqBCteH0p5dAgRibxZ8rNSLg0PShFF94IL
  
128 129 130 131 132 133 134 135 136
fdfs:
  # 链接超时
  connect-timeout: 6000
  # 读取时间
  so-timeout: 6000
  # 生成缩略图参数
  thumb-image:
    width: 150
    height: 150
137
  tracker-list: 192.168.0.234:22122
138 139 140 141 142 143 144
  webServerUrl: http://119.96.87.17:10301
  groupName: group1
  file:
    path: /data/file
    tempPath: /data/file/temp

  
Administrator committed
145 146