techhero-resources-examination-natived.yml 3.38 KB
Newer Older
Administrator committed
1
spring:
2
  rabbitmq:
3
    host: 119.96.87.17
4
    port: 5672
5 6 7
    username: techhero
    password: techhero
    virtual-host: /framework
8 9 10 11 12
    listener:
      simple:
        acknowledge-mode: manual  # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto
    publisher-confirms: true #确认消息已发送到交换机(Exchange)
    publisher-returns: true #确认消息已发送到队列(Queue)
13
    # # 交换机
14 15
    exchanges:
        #在籍考生导入,实时单笔验证队列配置
16
      - name: import_verification_registered_candidates_exchange
17 18
        type: topic
        # 在籍考生照片导入
19
      - name: import_verification_registered_candidates_photo_exchange
20
        type: topic 
21
        # 报考考生照片导入
22
      - name: import_bkks_photo_exchange
23
        type: topic 
24 25 26
        # 考生成绩解析队列
      - name: analysis_kscj_data_exchange
        type: topic 
27 28 29
    # 队列
    queues:
        # 在籍考生导入,实时单笔验证队列
30 31 32
      - name: import_verification_registered_candidates_queue
        routing-key: import_verification_registered_candidates_key
        exchange-name: import_verification_registered_candidates_exchange
33
        # 在籍考生照片导入验证队列
34 35 36
      - name: import_verification_registered_candidates_photo_queue
        routing-key: import_verification_registered_candidates_photo_key
        exchange-name: import_verification_registered_candidates_photo_exchange
37
        # 报考考生照片导入验证队列
38
      - name: import_bkks_photo_queue
39
        routing-key: import_bkks_photo_key
40
        exchange-name: import_bkks_photo_exchange
41 42 43 44 45
        # 考生成绩解析队列
      - name: analysis_kscj_data_queue
        routing-key: analysis_kscj_data_key
        exchange-name: analysis_kscj_data_exchange

46
        
47 48 49 50 51
  datasource:
    druid:
      stat-view-servlet:
        loginUsername: root
        loginPassword: root
52
      initial-size: 3
53
      max-active: 20
54
      min-idle: 8
55
      max-wait: 60000
56
      test-while-idle: true
57 58 59 60 61 62 63
      time-between-eviction-runs-millis: 60000
      validation-query: select 1 from dual
      filters: stat,slf4j
    dynamic:
      primary: examination
      datasource:
        examination:
64 65 66
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
          username: ur_base_local001
          password: YmFzZV9sb2NhbA
67 68 69 70 71 72
          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
73
        exchange:
74
          url: jdbc:oracle:thin:@databaseServer:30100:orcl
75 76 77
          username: ur_exchange
          password: shujujiaohuan
          driver-class-name: oracle.jdbc.OracleDriver
78
   
79

80 81 82 83 84 85 86
minio:
  accessKey: Tj3lmVW59Zjq4gDQ
  secretKey: De2SOr1MCflzUM8YwA9UKVBj3suuc8ci
  bucket: unionresource
  endpoint: http://119.96.87.17:30107
  readPath: http://119.96.87.17:30107
  enable: true #开启使用Minio 对应LeadNewsAutoConfig中的@ConditionalOnProperty注解属性  
87
  
88
photoVisitPath:
89 90
  oldPath: https://zkjk.sceea.cn:14307/unionresource/
  newPath: http://[fdff:1:1:1::2]:9000/unionresource/
91

92
exchange:
93
  notify-url: http://[fdff:1:1:1::24]:14306/gatekeeper/open/notify/publish
94 95 96
  
KSZP:
  uploadPath: /Users/wwq/Desktop/kszp/
97 98
  
JKKSZP:
99
  uploadPath: /Users/mac/Desktop/jkkszp/
100

101