techhero-business-inspection-local.yml 3.69 KB
Newer Older
Administrator committed
1 2
spring:
  redis:
3
    database: 10
4
    host: 119.96.99.9
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
    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: inspection
      datasource:
28 29 30 31 32 33 34 35
        # system:
        #   url: jdbc:mysql://dev-env:33060/inspection_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
        #   username: root
        #   password: techhero
        #   driver-class-name: com.mysql.cj.jdbc.Driver
        inspection:
          type: com.alibaba.druid.pool.DruidDataSource
          url: jdbc:oracle:thin:@119.96.87.17:1521:orcl
36 37
          #driver-class-name: com.mysql.cj.jdbc.Driver
          #url: jdbc:mysql://dev-env:33060/inspection_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
38 39
          username: WSXCV2_DEV 
          password: WSXCV2_DEV
Administrator committed
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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 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 128 129 130 131 132
  rabbitmq:
    host: dev-env
    port: 5672
    username: techhero
    password: techhero
    virtual-host: /framework
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    # 交换机
    exchanges:
    # 通配符订阅
    - name: topic.mode
      type: TOPIC
    # 广播
    - name: fanout.mode
      type: FANOUT
    # 消息头
    - name: headers.mode
      type: HEADERS
    # 队列
    queues:
    # 直连队列
    - name: queue.direct.one
      exchange-name: fanout.mode
    # 队列2
    - name: queue.two
      routing-key: queue.two.*
      exchange-name: fanout.mode,topic.mode
    - name: queue.three
      routing-key: queue.obj.*
      exchange-name: topic.mode

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

#全局相关
global:
  file:
    #本地测试配置,需根据实际情况调整#
    path: \temp\
    bucketName: jyksy-gjjybzh
    endpoint: ctyoss.chutianyun.gov.cn:8060
    akey: L3B7SA05OXT0V9WKD02N
    skey: D0O4yTDqBCteH0p5dAgRibxZ8rNSLg0PShFF94IL
    yjzhBucketName: yjzh
    endpointHttps: https://ctyoss.chutianyun.gov.cn:10443

#---本地环境
xyLink:
  #湖北考试院账号
  token: 585a41135abcd6fe679c76f1faba6268467e51e9785c4d4e6611509ce88a1b97
  enterpriseId: 9a7ad39f4a3c9f785807e664a031c6dc2272cd9f
  #广西考试院账号
  #token: 7d3bd4c67c3411d4ce09193bb72c1c154dd2b5131c3c09286517c16ab095300c
  #enterpriseId: 7d87e061c687fcb2b4ba6b8d17d3b09a7e365f81
  appId: BNPNNVVUNVVNT
  videoUrlHttps: https://www.hbjyks.cn:10406     #生产环境小鱼视频访问地址
  callbacksUrl: https://test.techhero.vip:10401/insp/rest/record/receivedMessage    #回调函数
  liveStatusUrl: https://test.techhero.vip:10401/insp/open/receivedMessage # 直播状态回调地址

fdfs:
  # 链接超时
  connect-timeout: 60
  # 读取时间
  so-timeout: 60
  # 生成缩略图参数
  thumb-image:
    width: 150
    height: 150
  tracker-list: 192.168.0.163:22122
  file:
    path: /data/file
    tempPath: /data/file/temp

file:
  extraFile:
    tempFilePath: \temp\

socket:
  host: 192.168.0.114
  port: 10089

# MAPPER Xml所在目录
mapper:
  location: classpath:mapper/mysql/**/*.xml