techhero-coordination-command-natived.yml 11.5 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
spring:
  redis:
    database: 10
    host: 119.96.87.17
    port: 6379
    password: techhero
    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:
26
      primary: rds
Administrator committed
27
      datasource:
28
        rds:
29 30 31
          url: jdbc:oracle:thin:@119.96.87.17:30100:orcl
          username: emergencycommand_prod
          password: Y29tbWFuZF9wcm9k
32
          driver-class-name: oracle.jdbc.OracleDriver
33
        ztk:
34 35 36
          url: jdbc:oracle:thin:@119.96.99.9:30110:orcl
          username: yjzh_zt
          password: yjzh_zt
37 38
          driver-class-name: oracle.jdbc.OracleDriver
        jck:
39 40 41
          url: jdbc:oracle:thin:@119.96.99.9:30110:orcl
          username: jcsjv2
          password: jcsjv2
42 43
          driver-class-name: oracle.jdbc.OracleDriver
        zcpt:
44
          url: jdbc:oracle:thin:@119.96.99.9:30110:orcl
45 46
          username: zcpt_zt
          password: zcpt_zt123
47
          driver-class-name: oracle.jdbc.OracleDriver
48 49 50 51 52
        basic:
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
          username: ur_base_local001
          password: YmFzZV9sb2NhbA
          driver-class-name: oracle.jdbc.OracleDriver
53 54 55 56 57 58
        dict:
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
          username: ur_dict_local001
          password: ZGljdF9sb2NhbA
          driver-class-name: oracle.jdbc.OracleDriver

59 60 61 62 63
  influx:
    openurl: http://121.41.50.44:8086 # 链接地址
    password: ""   # 密码
    username: ""  # 用户名
    dataBaseName: telegraf  # 数据库名称
64

Administrator committed
65 66
    
  rabbitmq:
67
    host: dev-env
Administrator committed
68
    port: 5672
69 70 71 72
    username: techhero
    password: techhero
    virtual-host: /framework

73 74 75
    # listener:
    #   simple:
    #     acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
Administrator committed
76 77 78 79 80
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    
    # 交换机
    exchanges:
81 82 83 84 85
      - name: topicCzlsLogExchangeTest
        type: topic
      - name: alarm-message-test
        type: topic
      - name: topic-test-incident-reporting-exchange
Administrator committed
86
        type: topic
87 88
      - name: topic-test-incident-reporting-exchange-resource
        type: topic
89
      - name: socket.topic.callback.exchange
90
        type: topic
91 92 93 94 95 96
      # 人员流数据提交到本系统的队列交换机  
      - name: command.push.personnel.exchange
        type: topic 
      # 试卷流数据提交到本系统的队列交换机  
      - name: command.push.testpaper.exchange
        type: topic 
Administrator committed
97 98
    # 队列
    queues:
99 100 101 102 103 104 105 106 107
      - name: topic.czlsLog.test
        routing-key: topic.czlsLog.test
        exchange-name: topicCzlsLogExchangeTest
      - name: Alarm-Event-Msg-test
        routing-key: Alarm-Event-Msg-test
        exchange-name: alarm-message-test
      - name: topic.test.incidentReporting.queue
        routing-key: topic.test.incidentReporting.queue
        exchange-name: topic-test-incident-reporting-exchange
108 109 110
      - name: topic.test.incidentReporting.queue.resource
        routing-key: topic.test.incidentReporting.queue.resource
        exchange-name: topic-test-incident-reporting-exchange-resource
111
      - name: socket.topic.callback.queue
112
        routing-key: techhero-coordination-command.socket.topic.callback
113
        exchange-name: socket.topic.callback.exchange
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
      # 工作人员签到推送队列
      - name: command.push.personnel.worker-signin.queue
        routing-key: command.push.personnel.worker-signin.key
        exchange-name: command.push.personnel.exchange
      # 人员违纪信息推送队列
      - name: command.push.personnel.break-the-rule.queue
        routing-key: command.push.personnel.break-the-rule.key
        exchange-name: command.push.personnel.exchange
      # 考生已入场信息推送队列
      - name: command.push.personnel.examinee-entrance.queue
        routing-key: command.push.personnel.examinee-entrance.key
        exchange-name: command.push.personnel.exchange
      # 作答系统(考点端)考生状态推送队列
      - name: command.push.testpaper.answer-examinee-status.queue
        routing-key: command.push.testpaper.answer-examinee-status.key
        exchange-name: command.push.testpaper.exchange
      # 试题导入计划&导入时间队列
      - name: command.push.testpaper.import-plan.queue
        routing-key: command.push.testpaper.import-plan.key
        exchange-name: command.push.testpaper.exchange
      # 试题接收情况推送(国家端)队列
135
      - name: command.push.testpaper.accept-status-country.queue
136
        routing-key: command.push.testpaper.accept-status-country.key
137 138 139
        exchange-name: command.push.testpaper.exchange 
      # 试题按考点打包状态推送(国家端)队列
      - name: command.push.testpaper.site-pack-status.queue
140
        routing-key: command.push.testpaper.site-pack-status.key
141 142 143
        exchange-name: command.push.testpaper.exchange
      # 试题接收状态推送(考点端)队列
      - name: command.push.testpaper.accept-status-site.queue
144
        routing-key: command.push.testpaper.accept-status-site.key
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
        exchange-name: command.push.testpaper.exchange 
      # 作答系统(考点端)试题接收检验状态推送队列
      - name: command.push.testpaper.answer-accept-check-status.queue
        routing-key: command.push.testpaper.answer-accept-check-status.key
        exchange-name: command.push.testpaper.exchange
      # 作答系统(考点端)解密试题包状态推送队列
      - name: command.push.testpaper.answer-decode-status.queue
        routing-key: command.push.testpaper.answer-decode-status.key
        exchange-name: command.push.testpaper.exchange
      # 作答系统(考点端)答卷打包状态推送队列
      - name: command.push.testpaper.answer-pack-status.queue
        routing-key: command.push.testpaper.answer-pack-status.key
        exchange-name: command.push.testpaper.exchange
      # 回收系统(考点端)收到答卷包状态推送队列
      - name: command.push.testpaper.recycle-accept-pack-status-site.queue
        routing-key: command.push.testpaper.recycle-accept-pack-status-site.key
        exchange-name: command.push.testpaper.exchange
      # 回收系统(国家端)收到答卷包状态推送队列
      - name: command.push.testpaper.recycle-accept-pack-status-country.queue
        routing-key: command.push.testpaper.recycle-accept-pack-status-country.key
        exchange-name: command.push.testpaper.exchange      
166 167 168 169 170 171 172 173
        
rabbitmq:
  czlsLog:
    exchange: topicCzlsLogExchangeTest
    queue: topic.czlsLog.test
  incidentReporting:
    exchange: topic-test-incident-reporting-exchange
    queue: topic.test.incidentReporting.queue
174 175 176
  incidentReportingFromResource:
    exchange: topic-test-incident-reporting-exchange-resource
    queue: topic.test.incidentReporting.queue.resource
177 178 179
  alarmMessage:
    exchange: alarm-message-test
    queue: Alarm-Event-Msg-test
180 181 182 183
    
invitation:
  preUrl: https://test.techhero.vip:16801/emerycommand/open/zh/invitation/joinMeeting/ #到达入会页面连接前缀
  annoUrl: https://test.techhero.vip:16801/emerycommand/zh/invitation/anno/ #到达入会下载页面连接
184 185 186 187 188
  
msg:
  msgType: 1 # 1: 代表发送消息 2:代表发送短信 3: 消息和短信齐发
  msgRole: zhgz02,zhld01  #zhgz02 考区指挥人员对应支撑平台考区值班员  zhld01 考区负责人对应指挥领导
  msgBody: 这是发短信的模版
189
  
190 191 192 193
qr:
  basePath: /opt/qr/

  
194
# 全局相关
195 196 197 198 199 200 201 202 203 204
global:
  esms:
    soTimeout: 3000
    shortConnMode: false
    mtMaxConns: 1
    ip: sms.chutianyun.gov.cn
    sendPort: 8090
    receivePort: 8088
    name: jyksyzwpt
    password: TyHdc1ul
205 206 207
  swagger:
    import: true
  file:
208
    # 本地测试配置,需根据实际情况调整#
209 210 211 212 213 214 215
    path: \temp\
    bucketName: jyksy-gjjybzh
    endpoint: ctyoss.chutianyun.gov.cn:8060
    akey: L3B7SA05OXT0V9WKD02N
    skey: D0O4yTDqBCteH0p5dAgRibxZ8rNSLg0PShFF94IL
    yjzhBucketName: yjzh
    endpointHttps: https://ctyoss.chutianyun.gov.cn:10443
216 217 218 219 220
    
 # 发送待办到支撑平台
taskPath:
  taskInsertUrl: http://techhero-base-supportplatform/rest/homeapi/dbrw/insertDbRwxx
  taskUpdateUrl: http://techhero-base-supportplatform/rest/homeapi/dbrw/updateDbRwzt
221 222 223 224 225 226 227
  
  # 发送消息到支撑平台
messageSend:
  sendUrl: http://techhero-base-supportplatform/rest/homeapi/message/sendMessage/
  # 客户端修改密码
updatePwd:
  pwdUrl: http://techhero-base-supportplatform/rest/homeapi/user/changePassword
228 229 230 231
  

dbfhUrl:
  fhUrl: 'https://test.techhero.vip:16800/emergencycommand/#'
232 233 234 235 236
  
aliyun:
  accessKeyId: LTAI4FkmdGP1dhEMWs1Csnm5
  accessKeySecret: 66Kdty0k1aC9GUofUdHzLduoQxzS8p
  endpointUrl: http://1608795094315923.mns.cn-beijing.aliyuncs.com/
237 238 239 240 241 242 243
  
h5:
  web:
    url: 'https://test.techhero.vip:16800/emergencycommand/#'
  filldata:
    savePath: /data/filldata/template/
    
244 245 246
# 数据填报,为压缩文件,暂存目录
filldata:
    savePath: /data/filldata
247

248 249 250
patrol: 
 url: http://119.96.165.59:10313
 
251 252
xyLink:
  serverHost: https://sdk.xylink.com
253 254
  token: 0909d14617eb48fa1a03bc58bcef9435d0a533dc1d4a191d78dc853f7a2d50c1
  enterpriseId: babeb0d578fb9a2b1c3f8374109bbf718ed08199
255 256 257 258
  appId: BNPNNVVUNVVNT
  oldVideoUrlHttps: http://prdvoddownload.xylink.com  
  videoUrlHttps: https://test.techhero.vip:16800

259

260 261 262 263 264 265 266 267 268
### 注意:如果多服务集群,要注意执行器的ip和port,如果不想在配置里折腾,就取xxl-job调度中心的执行器配置手动ip和端口
xxl:
  job:
    admin:
      ### 调度中心部署根地址 [选填]:如调度中心集群部署存在多个地址则用逗号分隔。执行器将会使用该地址进行"执行器心跳注册"和"任务结果回调";为空则关闭自动注册;
      ### addresses: http://[fdff:1:1:1::20]:18801/xxl-job-admin    ### 开发环境的调度中心地址
      addresses:     ### 因为没有native环境的调度中心,现在先空着,如果后面有了native的调度中心,需要更换正确的地址
    ### 执行器通讯TOKEN [选填]:非空时启用;
    accessToken: default_token
269

270 271 272 273 274 275 276 277 278 279 280 281 282
    executor:
      ### 执行器AppName [选填]:执行器心跳注册分组依据;为空则关闭自动注册
      appname: techhero-coordination-command
      ### 执行器注册 [选填]:优先使用该配置作为注册地址,为空时使用内嵌服务 ”IP:PORT“ 作为注册地址。从而更灵活的支持容器类型执行器动态IP和动态映射端口问题。
      address:
      ### 执行器IP [选填]:默认为空表示自动获取IP,多网卡时可手动设置指定IP,该IP不会绑定Host仅作为通讯实用;地址信息用于 "执行器注册" 和 "调度中心请求并触发任务";
      ip: 127.0.0.1
      ### 执行器端口号 [选填]:小于等于0则自动获取;默认端口为9999,单机部署多个执行器时,注意要配置不同执行器端口;
      port: 18563
      ### 执行器运行日志文件存储磁盘路径 [选填] :需要对该路径拥有读写权限;为空则使用默认路径;
      logpath: /data/logs/xxl-job/jobhandler
      ### 执行器日志文件保存天数 [选填] : 过期日志自动清理, 限制值大于等于3时生效; 否则, 如-1, 关闭自动清理功能;
      logretentiondays: 30 
283

284

285
    
286
 
287
    
288

289

290

291 292


293

294

295

296

297

298