techhero-coordination-command-natived.yml 3.21 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: command
Administrator committed
27
      datasource:
28
        command:
29
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
30 31
          username: COMMAND_DEV
          password: Y29tbWFuZF9kZXY=
32
          driver-class-name: oracle.jdbc.OracleDriver
33 34 35 36 37
        exchange:
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
          username: ur_base_local
          password: YmFzZV9sb2NhbA==
          driver-class-name: oracle.jdbc.OracleDriver
38

Administrator committed
39 40 41 42 43 44 45
    
  rabbitmq:
    host: dev-env
    port: 5672
    username: techhero
    password: techhero
    virtual-host: /framework
46 47 48
    # listener:
    #   simple:
    #     acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
Administrator committed
49 50 51 52 53
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
    
    # 交换机
    exchanges:
54 55 56 57 58
      - name: topicCzlsLogExchangeTest
        type: topic
      - name: alarm-message-test
        type: topic
      - name: topic-test-incident-reporting-exchange
Administrator committed
59
        type: topic
60 61
      - name: socket.topic.callback.exchange
        tyoe: topic
Administrator committed
62 63
    # 队列
    queues:
64 65 66 67 68 69 70 71 72
      - 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
73 74 75
      - name: socket.topic.callback.queue
        routing-key: command.socket.topic.callback
        exchange-name: socket.topic.callback.exchange
76 77 78 79 80 81 82 83 84 85 86
        
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
87 88 89 90
    
invitation:
  preUrl: https://test.techhero.vip:16801/emerycommand/open/zh/invitation/joinMeeting/ #到达入会页面连接前缀
  annoUrl: https://test.techhero.vip:16801/emerycommand/zh/invitation/anno/ #到达入会下载页面连接
91 92 93 94 95
  
msg:
  msgType: 1 # 1: 代表发送消息 2:代表发送短信 3: 消息和短信齐发
  msgRole: zhgz02,zhld01  #zhgz02 考区指挥人员对应支撑平台考区值班员  zhld01 考区负责人对应指挥领导
  msgBody: 这是发短信的模版
96 97 98 99 100 101 102 103 104 105 106 107 108
  
#全局相关
global:
  esms:
    soTimeout: 3000
    shortConnMode: false
    mtMaxConns: 1
    ip: sms.chutianyun.gov.cn
    sendPort: 8090
    receivePort: 8088
    name: jyksyzwpt
    password: TyHdc1ul

109

110