Blame view

docs/dubbo-dependency-report.md 4.91 KB
55f68655   王彪总   新项目
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
  # Dubbo 依赖对账(单 Jar 化前的必查项)
  
  > 生成:`tools/dubbo_dependency_scan.py`
  
  `<dubbo:reference>` 共 **895** 处(已剔除 XML 注释里的历史残留),去重后 **392** 个接口;
  提供方在并入清单内 **869** 处,**不在清单内 6 处**,
  **有实现类但没在 provider XML 声明 8 处**,完全找不到实现方 12 处。
  
  ## 1. ⚠️ 实现模块不在并入清单(必须处理,否则调用即 500)
  
  
  ### `zteits-wxcp-portal` —— 被引用 4 处
  
  | 消费方 | 接口 |
  |---|---|
  | `zteits-bill` | `com.zteits.clouds.api.service.wxcp.SendMessageService` |
  | `zteits-order` | `com.zteits.clouds.api.service.wxcp.SendMessageService` |
  | `zteits-park` | `com.zteits.clouds.api.service.wxcp.SendMessageService` |
  | `zteits-pay` | `com.zteits.clouds.api.service.wxcp.SendMessageService` |
  
  ### `zteits-glock-collection` —— 被引用 2 处
  
  | 消费方 | 接口 |
  |---|---|
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.datacollect.DfGroundLockMsgPushService` |
  | `zteits-order` | `com.zteits.clouds.api.service.datacollect.DfGroundLockMsgPushService` |
  
  ## 2. 提供方模块分布(清单内的)
  
  | 提供方模块 | 被引用的接口数 |
  |---|---:|
  | `zteits-park` | 251 |
  | `zteits-pay` | 191 |
  | `zteits-order` | 189 |
  | `zteits-bill` | 123 |
  | `zteits-sys` | 71 |
  | `zteits-business` | 32 |
  | `zteits-charge` | 12 |
  
  ## 3. 有实现类但没在 provider XML 声明(单体内会自动修好,但要验证)
  
  这些接口**在老的 Dubbo 世界里根本没人暴露**——`<dubbo:reference>` 指向一个不存在的
  provider。老系统靠 `check="false"` 起得来,真正调用时才失败,属于**存量潜伏缺陷**。
  合成单体后 `<dubbo:reference>` 变成 `@Resource` 按类型注入,实现类只要在同一个
  ApplicationContext 里就会被解析到 —— **合并顺手修好了它**,但必须逐个确认
  "实现类确实被扫进 Spring 容器",否则就是把原来的运行期失败换了个位置。
  
  | 消费方 | 接口 | 实现类所在模块 |
  |---|---|---|
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.clouds.CloudsParDurationService` | `zteits-pay` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.order.OrderParkBjxcService` | `zteits-order` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.park.carchargeaudit.oper.XcCarChargeAuditOperService` | `zteits-park` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.park.carchargeaudit.query.XcCarChargeAuditQueryService` | `zteits-park` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.pay.CustPersonCreditService` | `zteits-pay` |
  | `zteits-minipay-portal` | `com.zteits.clouds.api.service.pay.InvoiceHelperService` | `zteits-pay` |
  | `zteits-order` | `com.zteits.clouds.api.service.park.carchargeaudit.query.XcCarChargeAuditQueryService` | `zteits-park` |
  | `zteits-pay-portal` | `com.zteits.clouds.api.service.pay.CustPersonCreditService` | `zteits-pay` |
  
  ## 4. 找不到实现方的 reference(多是跨仓契约,需人工确认)
  
  | 消费方 | 接口 | 位置 |
  |---|---|---|
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.clouds.InOutParkStatisticService` | `zteits-bcp-portal/src/main/resources/dubbo/dubbo-bcp-consumer.xml` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.clouds.ParkDurationStatisticService` | `zteits-bcp-portal/src/main/resources/dubbo/dubbo-bcp-consumer.xml` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.clouds.ParkingReportService` | `zteits-bcp-portal/src/main/resources/dubbo/dubbo-bcp-consumer.xml` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.govclouds.ParkTransactionService` | `zteits-bcp-portal/src/main/resources/dubbo/dubbo-bcp-consumer.xml` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.order.orderexamine.OrderExamineService` | `zteits-bcp-portal/src/main/resources/dubbo/dubbo-bcp-consumer.xml` |
  | `zteits-bcp-portal` | `com.zteits.clouds.api.service.run.IParkService` | `zteits-bcp-portal/src/main/resources/dubbo/dubbo-bcp-consumer.xml` |
  | `zteits-business-portal` | `com.zteits.clouds.api.service.pay.custperson.query.TdCCustBusinessMsgQueryService` | `zteits-business-portal/src/main/resources/dubbo/dubbo-business-consumer.xml` |
  | `zteits-gcp-portal` | `com.zteits.clouds.api.service.clouds.InOutParkStatisticService` | `zteits-gcp-portal/src/main/resources/dubbo/dubbo-park-consumer.xml` |
  | `zteits-gcp-portal` | `com.zteits.clouds.api.service.govclouds.ParkTransactionService` | `zteits-gcp-portal/src/main/resources/dubbo/dubbo-park-consumer.xml` |
  | `zteits-gcp-portal` | `com.zteits.clouds.api.service.pay.ParkOrderService` | `zteits-gcp-portal/src/main/resources/dubbo/dubbo-park-consumer.xml` |
  | `zteits-gcp-portal` | `com.zteits.clouds.api.service.run.IParkService` | `zteits-gcp-portal/src/main/resources/dubbo/dubbo-park-consumer.xml` |
  | `zteits-pay-portal` | `com.zteits.clouds.api.service.order.third.ThirdPlatformApiService` | `zteits-pay-portal/src/main/resources/dubbo/dubbo-pay-consumer.xml` |