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

feature: support send authentication msg #2825

Merged
merged 8 commits into from
Oct 22, 2020
Merged

feature: support send authentication msg #2825

merged 8 commits into from
Oct 22, 2020

Conversation

slievrly
Copy link
Member

Signed-off-by: slievrly slievrly@163.com

Ⅰ. Describe what this PR did

feature: support send authentication msg

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: slievrly <slievrly@163.com>
@codecov-commenter
Copy link

codecov-commenter commented Jun 23, 2020

Codecov Report

Merging #2825 into develop will decrease coverage by 0.02%.
The diff coverage is 36.84%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #2825      +/-   ##
=============================================
- Coverage      50.45%   50.42%   -0.03%     
- Complexity      3108     3115       +7     
=============================================
  Files            593      594       +1     
  Lines          19571    19613      +42     
  Branches        2427     2431       +4     
=============================================
+ Hits            9874     9890      +16     
- Misses          8702     8724      +22     
- Partials         995      999       +4     
Impacted Files Coverage Δ Complexity Δ
...ava/io/seata/core/constants/ConfigurationKeys.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
tm/src/main/java/io/seata/tm/TMClient.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...ta/spring/annotation/GlobalTransactionScanner.java 49.51% <20.00%> (-2.01%) 17.00 <0.00> (ø)
...java/io/seata/core/protocol/RegisterTMRequest.java 47.36% <25.00%> (-15.14%) 4.00 <1.00> (+1.00) ⬇️
...io/seata/core/rpc/netty/TmNettyRemotingClient.java 55.95% <44.11%> (-10.15%) 13.00 <5.00> (+3.00) ⬇️
...ain/java/io/seata/core/auth/DefaultAuthSigner.java 50.00% <50.00%> (ø) 1.00 <1.00> (?)
...o/seata/core/protocol/AbstractIdentifyRequest.java 70.00% <100.00%> (+20.00%) 5.00 <1.00> (+2.00)

@slievrly slievrly added the module/core core module label Jun 23, 2020
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
@slievrly slievrly added this to the 1.4.0 milestone Jul 20, 2020
Copy link
Contributor

@l81893521 l81893521 left a comment

Choose a reason for hiding this comment

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

Please solve the conflict.

Signed-off-by: slievrly <slievrly@163.com>

# Conflicts:
#	core/src/main/java/io/seata/core/rpc/netty/TmNettyRemotingClient.java
Signed-off-by: slievrly <slievrly@163.com>
@codecov-io
Copy link

codecov-io commented Oct 20, 2020

Codecov Report

Merging #2825 into develop will decrease coverage by 0.04%.
The diff coverage is 36.84%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #2825      +/-   ##
=============================================
- Coverage      51.09%   51.04%   -0.05%     
- Complexity      3253     3257       +4     
=============================================
  Files            608      609       +1     
  Lines          19979    20021      +42     
  Branches        2494     2498       +4     
=============================================
+ Hits           10208    10220      +12     
- Misses          8760     8783      +23     
- Partials        1011     1018       +7     
Impacted Files Coverage Δ Complexity Δ
...ava/io/seata/core/constants/ConfigurationKeys.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
tm/src/main/java/io/seata/tm/TMClient.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...ta/spring/annotation/GlobalTransactionScanner.java 48.21% <20.00%> (-1.79%) 17.00 <0.00> (ø)
...java/io/seata/core/protocol/RegisterTMRequest.java 47.36% <25.00%> (-15.14%) 4.00 <1.00> (+1.00) ⬇️
...io/seata/core/rpc/netty/TmNettyRemotingClient.java 55.95% <44.11%> (-10.15%) 13.00 <5.00> (+3.00) ⬇️
...ain/java/io/seata/core/auth/DefaultAuthSigner.java 50.00% <50.00%> (ø) 1.00 <1.00> (?)
...o/seata/core/protocol/AbstractIdentifyRequest.java 70.00% <100.00%> (+20.00%) 5.00 <1.00> (+2.00)
...torage/file/store/FileTransactionStoreManager.java 56.77% <0.00%> (-0.65%) 28.00% <0.00%> (-1.00%)
...o/seata/server/coordinator/DefaultCoordinator.java 54.63% <0.00%> (-0.52%) 28.00% <0.00%> (-1.00%)
...in/java/io/seata/server/session/GlobalSession.java 82.72% <0.00%> (-0.46%) 70.00% <0.00%> (-1.00%)
... and 2 more

if (null != extraData) {
sb.append(extraData);
}
if (transactionServiceGroup != null && !transactionServiceGroup.isEmpty()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to add EXTRA_DATA_SPLIT_CHAR for this block?

Copy link
Contributor

Choose a reason for hiding this comment

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

这块是否需要添加EXTRA_DATA_SPLIT_CHAR来进行区分?

Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>

# Conflicts:
#	spring/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java
Signed-off-by: slievrly <slievrly@163.com>
Copy link
Contributor

@ph3636 ph3636 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@l81893521 l81893521 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@wangliang181230 wangliang181230 left a comment

Choose a reason for hiding this comment

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

LGTM for @ph3636

@wangliang181230 wangliang181230 merged commit b2d7616 into apache:develop Oct 22, 2020
hicf pushed a commit to hicf/seata that referenced this pull request Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/core core module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants