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 passing contextPath parameter to Nacos client #5111

Merged
merged 6 commits into from
Dec 1, 2022

Conversation

xingfudeshi
Copy link
Member

@xingfudeshi xingfudeshi commented Dec 1, 2022

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Support passing contextPath parameter to Nacos client

Ⅱ. Does this pull request fix one issue?

fixes #5110
fixes #5012

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

I provided some screenshots of the test

Ⅳ. Describe how to verify it

Use nacos as discovery center and config center,and set the value of contextPath.

Ⅴ. Special notes for reviews

image

image

image

Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

@xingfudeshi
Copy link
Member Author

@codecov-commenter
Copy link

codecov-commenter commented Dec 1, 2022

Codecov Report

Merging #5111 (5dc4b50) into develop (3e5af28) will increase coverage by 0.00%.
The diff coverage is 25.00%.

❗ Current head 5dc4b50 differs from pull request most recent head ce43449. Consider uploading reports for the commit ce43449 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #5111   +/-   ##
==========================================
  Coverage      49.35%   49.35%           
- Complexity      4145     4147    +2     
==========================================
  Files            737      737           
  Lines          26190    26198    +8     
  Branches        3232     3232           
==========================================
+ Hits           12925    12931    +6     
- Misses         11881    11885    +4     
+ Partials        1384     1382    -2     
Impacted Files Coverage Δ
...igure/properties/config/ConfigNacosProperties.java 58.33% <25.00%> (-4.17%) ⬇️
...e/properties/registry/RegistryNacosProperties.java 42.22% <25.00%> (-1.69%) ⬇️
...rage/redis/store/RedisTransactionStoreManager.java 75.19% <0.00%> (+0.52%) ⬆️
...in/java/io/seata/server/session/GlobalSession.java 81.78% <0.00%> (+0.77%) ⬆️

Copy link
Contributor

@funky-eyes funky-eyes 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

@wangliang181230 wangliang181230 added this to the 1.6.0 milestone Dec 1, 2022
@wangliang181230 wangliang181230 changed the title Support passing contextPath parameter to Nacos client feature: support passing contextPath parameter to Nacos client Dec 1, 2022
@wangliang181230 wangliang181230 merged commit 10a7470 into apache:develop Dec 1, 2022
@funky-eyes funky-eyes added type: feature Category issues or prs related to feature request. module/config config module module/discovery discovery module labels Dec 1, 2022
zw201913 pushed a commit to zw201913/seata that referenced this pull request Dec 12, 2022
…o 1114_for_5073

* '1114_for_5073' of https://github.com/zw201913/seata:
  bugfix: hikari datasource auto proxy fail (apache#5134)
  bugfix: rollback active xa connection fail (apache#5131)
  optimize: support oracle on delete tccfence logs  (apache#5124)
  feature: support passing `contextPath` parameter to Nacos client (apache#5111)
  bugfix:NPE caused when there is no @GlobalTransactional annotation on the RM side  (apache#5109)
  bugfix: Druid disable oracle implicit cache (apache#5098)
  bugfix: fix access key loss after server restart (apache#5097)
  optimize: remove druid dependency in ConnectionProxy (apache#5104)
  bugfix:fix ClassNotFoundException during the ZK unit test (apache#5101)
  bugfix: fix when seata and jpa are used together, their AutoConfiguration order is incorrect (apache#5092)
  optimize: lock priority attempts to insert (apache#4681)
  bugfix: update join condition placeholder param error (apache#5052)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/config config module module/discovery discovery module multilingual type: feature Category issues or prs related to feature request.
Projects
None yet
5 participants