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: command
      datasource:
        command:
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
          username: COMMAND_DEV
          password: Y29tbWFuZF9kZXY=
          driver-class-name: oracle.jdbc.OracleDriver
        exchange:
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
          username: ur_base_local
          password: YmFzZV9sb2NhbA==
          driver-class-name: oracle.jdbc.OracleDriver

    
  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: socket.topic.callback.exchange
        tyoe: 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: socket.topic.callback.queue
        routing-key: techhero-coordination-command.socket.topic.callback
        exchange-name: socket.topic.callback.exchange
        
rabbitmq:
  czlsLog:
    exchange: topicCzlsLogExchangeTest
    queue: topic.czlsLog.test
  incidentReporting:
    exchange: topic-test-incident-reporting-exchange
    queue: topic.test.incidentReporting.queue
  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: 这是发短信的模版
  
#全局相关
global:
  esms:
    soTimeout: 3000
    shortConnMode: false
    mtMaxConns: 1
    ip: sms.chutianyun.gov.cn
    sendPort: 8090
    receivePort: 8088
    name: jyksyzwpt
    password: TyHdc1ul