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:
      primary: rds
      datasource:
        rds:
          url: jdbc:oracle:thin:@119.96.87.17:30100:orcl
          username: emergencycommand_prod
          password: Y29tbWFuZF9wcm9k
          driver-class-name: oracle.jdbc.OracleDriver
        ztk:
          url: jdbc:oracle:thin:@119.96.99.9:30110:orcl
          username: yjzh_zt
          password: yjzh_zt
          driver-class-name: oracle.jdbc.OracleDriver
        jck:
          url: jdbc:oracle:thin:@119.96.99.9:30110:orcl
          username: jcsjv2
          password: jcsjv2
          driver-class-name: oracle.jdbc.OracleDriver
        zcpt:
          url: jdbc:oracle:thin:@119.96.99.9:30110:orcl
          username: zcpt_zt
          password: zcpt_zt123
          driver-class-name: oracle.jdbc.OracleDriver
        basic:
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
          username: ur_base_local001
          password: YmFzZV9sb2NhbA
          driver-class-name: oracle.jdbc.OracleDriver
        dict:
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
          username: ur_dict_local001
          password: ZGljdF9sb2NhbA
          driver-class-name: oracle.jdbc.OracleDriver

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

    
  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: topicCzlsLogExchangeTest
        type: topic
      - name: alarm-message-test
        type: topic
      - name: topic-test-incident-reporting-exchange
        type: topic
      - name: topic-test-incident-reporting-exchange-resource
        type: topic
      - name: socket.topic.callback.exchange
        type: topic
      # 人员流数据提交到本系统的队列交换机  
      - name: command.push.personnel.exchange
        type: topic 
      # 试卷流数据提交到本系统的队列交换机  
      - name: command.push.testpaper.exchange
        type: topic 
    # 队列
    queues:
      - 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
      - name: topic.test.incidentReporting.queue.resource
        routing-key: topic.test.incidentReporting.queue.resource
        exchange-name: topic-test-incident-reporting-exchange-resource
      - name: socket.topic.callback.queue
        routing-key: techhero-coordination-command.socket.topic.callback
        exchange-name: socket.topic.callback.exchange
      # 工作人员签到推送队列
      - 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
      # 试题接收情况推送(国家端)队列
      - name: command.push.testpaper.accept-status-country.queue
        routing-key: command.push.testpaper.accept-status-country.key
        exchange-name: command.push.testpaper.exchange 
      # 试题按考点打包状态推送(国家端)队列
      - name: command.push.testpaper.site-pack-status.queue
        routing-key: command.push.testpaper.site-pack-status.key
        exchange-name: command.push.testpaper.exchange
      # 试题接收状态推送(考点端)队列
      - name: command.push.testpaper.accept-status-site.queue
        routing-key: command.push.testpaper.accept-status-site.key
        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      
        
rabbitmq:
  czlsLog:
    exchange: topicCzlsLogExchangeTest
    queue: topic.czlsLog.test
  incidentReporting:
    exchange: topic-test-incident-reporting-exchange
    queue: topic.test.incidentReporting.queue
  incidentReportingFromResource:
    exchange: topic-test-incident-reporting-exchange-resource
    queue: topic.test.incidentReporting.queue.resource
  alarmMessage:
    exchange: alarm-message-test
    queue: Alarm-Event-Msg-test
    
invitation:
  preUrl: https://test.techhero.vip:16801/emerycommand/open/zh/invitation/joinMeeting/ #到达入会页面连接前缀
  annoUrl: https://test.techhero.vip:16801/emerycommand/zh/invitation/anno/ #到达入会下载页面连接
  
msg:
  msgType: 1 # 1: 代表发送消息 2:代表发送短信 3: 消息和短信齐发
  msgRole: zhgz02,zhld01  #zhgz02 考区指挥人员对应支撑平台考区值班员  zhld01 考区负责人对应指挥领导
  msgBody: 这是发短信的模版
  
qr:
  basePath: /opt/qr/

  
# 全局相关
global:
  esms:
    soTimeout: 3000
    shortConnMode: false
    mtMaxConns: 1
    ip: sms.chutianyun.gov.cn
    sendPort: 8090
    receivePort: 8088
    name: jyksyzwpt
    password: TyHdc1ul
  swagger:
    import: true
  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
    
 # 发送待办到支撑平台
taskPath:
  taskInsertUrl: http://techhero-base-supportplatform/rest/homeapi/dbrw/insertDbRwxx
  taskUpdateUrl: http://techhero-base-supportplatform/rest/homeapi/dbrw/updateDbRwzt
  
  # 发送消息到支撑平台
messageSend:
  sendUrl: http://techhero-base-supportplatform/rest/homeapi/message/sendMessage/
  # 客户端修改密码
updatePwd:
  pwdUrl: http://techhero-base-supportplatform/rest/homeapi/user/changePassword
  

dbfhUrl:
  fhUrl: 'https://test.techhero.vip:16800/emergencycommand/#'
  
aliyun:
  accessKeyId: LTAI4FkmdGP1dhEMWs1Csnm5
  accessKeySecret: 66Kdty0k1aC9GUofUdHzLduoQxzS8p
  endpointUrl: http://1608795094315923.mns.cn-beijing.aliyuncs.com/
  
h5:
  web:
    url: 'https://test.techhero.vip:16800/emergencycommand/#'
  filldata:
    savePath: /data/filldata/template/
    
# 数据填报,为压缩文件,暂存目录
filldata:
    savePath: /data/filldata

patrol: 
 url: http://119.96.165.59:10313
 
xyLink:
  serverHost: https://sdk.xylink.com
  token: 0909d14617eb48fa1a03bc58bcef9435d0a533dc1d4a191d78dc853f7a2d50c1
  enterpriseId: babeb0d578fb9a2b1c3f8374109bbf718ed08199
  appId: BNPNNVVUNVVNT
  oldVideoUrlHttps: http://prdvoddownload.xylink.com  
  videoUrlHttps: https://test.techhero.vip:16800


### 注意:如果多服务集群,要注意执行器的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

    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