Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sofa-rpc integration for context propagation. #1043

Merged
merged 4 commits into from
May 15, 2019

Conversation

ujjboy
Copy link
Contributor

@ujjboy ujjboy commented May 15, 2019

Ⅰ. Describe what this PR did

  • Add integration/sofa-rpc module.
  • Add auto active filter for sofa-rpc.
  • Add the test case for this.

Ⅱ. Does this pull request fix one issue?

Fix #1042

@codecov-io
Copy link

codecov-io commented May 15, 2019

Codecov Report

Merging #1043 into develop will decrease coverage by 0.01%.
The diff coverage is 36.53%.

Impacted file tree graph

@@             Coverage Diff              @@
##             develop   #1043      +/-   ##
============================================
- Coverage      38.51%   38.5%   -0.02%     
- Complexity      1067    1076       +9     
============================================
  Files            218     220       +2     
  Lines           8722    8774      +52     
  Branches        1088    1108      +20     
============================================
+ Hits            3359    3378      +19     
- Misses          4941    4966      +25     
- Partials         422     430       +8
Impacted Files Coverage Δ Complexity Δ
...ion/sofa/rpc/TransactionContextConsumerFilter.java 30.76% <30.76%> (ø) 4 <4> (?)
...ion/sofa/rpc/TransactionContextProviderFilter.java 42.3% <42.3%> (ø) 5 <5> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df41c30...300251a. Read the comment docs.

@ujjboy ujjboy requested a review from zhangthen May 15, 2019 10:05
Copy link
Contributor

@zhangthen zhangthen left a comment

Choose a reason for hiding this comment

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

Add 'integration/sofa-rpc' into seata-all.pom , so that it can be packed to the all-in-one jar ?

Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

please mark @author

* TransactionContext on provider side.
*/
@Extension(value = "transactionContextProvider")
@AutoActive(providerSide = true)
Copy link
Member

Choose a reason for hiding this comment

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

Why are consumerSide and providerSide not combined?
@AutoActive(providerSide = true,consumerSide = true)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are some different logic.

@ujjboy
Copy link
Contributor Author

ujjboy commented May 15, 2019

@zhangthen @slievrly done.

Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

LGTM

@zhangthen zhangthen merged commit 545111c into apache:develop May 15, 2019
@ujjboy ujjboy deleted the add_sofa_rpc branch May 15, 2019 13:30
nick-tan pushed a commit to nick-tan/seata that referenced this pull request Jul 12, 2019
@wangliang181230 wangliang181230 added this to the 0.5.* milestone Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add sofa-rpc integration for context propagation.
5 participants