Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Conversation

@yuanyuancin
Copy link
Collaborator

  1. add samples for spring cross-context calls
  2. add docs for spring cross-context calls
  3. optimize spring cross-context calls with interface

@yuanyuancin yuanyuancin linked an issue Oct 17, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (43a4e94) 25.24% compared to head (6e39578) 25.12%.
Report is 412 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #175      +/-   ##
============================================
- Coverage     25.24%   25.12%   -0.13%     
  Complexity      102      102              
============================================
  Files            72       72              
  Lines          1632     1640       +8     
  Branches        102      103       +1     
============================================
  Hits            412      412              
- Misses         1189     1197       +8     
  Partials         31       31              
Files Coverage Δ
...ofa/serverless/common/api/SpringServiceFinder.java 92.30% <100.00%> (ø)
...y/sofa/serverless/common/exception/ErrorCodes.java 0.00% <ø> (ø)
...erverless/common/service/SpringServiceInvoker.java 41.17% <ø> (ø)
...re/command/builtin/handler/QueryAllBizHandler.java 11.76% <0.00%> (-1.57%) ⬇️
.../common/service/ArkAutowiredBeanPostProcessor.java 0.00% <0.00%> (ø)
...serverless/common/service/ServiceProxyFactory.java 66.19% <57.14%> (-2.38%) ⬇️
...ore/command/builtin/handler/InstallBizHandler.java 5.88% <0.00%> (-1.02%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# Spring 环境

## 基座调用模块

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

补充几句说明

if (targetClass.isInterface()) {
factory.addInterface(targetClass);
if (serviceType.isInterface()) {
factory.addInterface(serviceType);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

单测需要覆盖

Copy link
Collaborator

@lvjing2 lvjing2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lvjing2 lvjing2 merged commit 235bf17 into master Oct 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

模块间通信优化

5 participants