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

feat:refactor SDKContext as static. #1001

Merged
merged 1 commit into from
May 15, 2023

Conversation

SkyeBeFreeman
Copy link
Collaborator

PR Type

Refactoring (no functional changes, no api changes).

Describe what this PR does for and how you did.

Adding the issue link (#xxx) if possible.

fixes #982
fixes #984

Note

Checklist

  • Add information of this PR to CHANGELOG.md in root of project.
  • Add documentation in javadoc or comment below the PR if necessary.

Checklist (Optional)

  • Will pull request to branch of 2020.0.
  • Will pull request to branch of 2022.0.

@SkyeBeFreeman SkyeBeFreeman added this to the 1.12.0 milestone May 15, 2023
@codecov
Copy link

codecov bot commented May 15, 2023

Codecov Report

Merging #1001 (c377b60) into 2021.0 (a73f0e1) will increase coverage by 0.09%.
The diff coverage is 92.30%.

@@             Coverage Diff              @@
##             2021.0    #1001      +/-   ##
============================================
+ Coverage     82.93%   83.02%   +0.09%     
- Complexity     1586     1608      +22     
============================================
  Files           238      239       +1     
  Lines          5245     5321      +76     
  Branches        611      621      +10     
============================================
+ Hits           4350     4418      +68     
- Misses          540      549       +9     
+ Partials        355      354       -1     
Impacted Files Coverage Δ
...laris/context/config/PolarisContextProperties.java 95.12% <66.66%> (+0.38%) ⬆️
...cloud/polaris/registry/PolarisServiceRegistry.java 71.42% <76.47%> (-0.14%) ⬇️
...loud/polaris/context/PolarisSDKContextManager.java 92.95% <92.95%> (ø)
...config/PolarisCircuitBreakerAutoConfiguration.java 100.00% <100.00%> (ø)
...eactivePolarisCircuitBreakerAutoConfiguration.java 100.00% <100.00%> (ø)
...onfig/PolarisConfigBootstrapAutoConfiguration.java 85.71% <100.00%> (ø)
.../polaris/DiscoveryPropertiesAutoConfiguration.java 100.00% <100.00%> (ø)
...oud/polaris/discovery/PolarisDiscoveryHandler.java 100.00% <100.00%> (+17.39%) ⬆️
...h/PolarisRefreshApplicationReadyEventListener.java 76.19% <100.00%> (ø)
...discovery/refresh/PolarisRefreshConfiguration.java 100.00% <100.00%> (ø)
... and 7 more

... and 3 files with indirect coverage changes

Copy link
Contributor

@ShanyouYu-Sean ShanyouYu-Sean left a comment

Choose a reason for hiding this comment

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

LGTM

@SkyeBeFreeman SkyeBeFreeman merged commit d1576f7 into Tencent:2021.0 May 15, 2023
@SkyeBeFreeman SkyeBeFreeman deleted the 2021/refactor_context branch May 19, 2023 09:19
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.

Nacos配置自动刷新时,将导致心跳停止 支持或者兼容 Snakeyaml 2.0
2 participants