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

Refactor tryToGetClientIp method #4514

Merged
merged 57 commits into from
Aug 15, 2022
Merged

Refactor tryToGetClientIp method #4514

merged 57 commits into from
Aug 15, 2022

Conversation

klboke
Copy link
Contributor

@klboke klboke commented Aug 12, 2022

What's the purpose of this PR

Refactor tryToGetClientIp method

klboke and others added 30 commits May 16, 2019 11:07
@klboke klboke requested a review from nobodyiam August 12, 2022 12:26
…utils/WebUtils.java

Co-authored-by: Jason Song <nobodyiam@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2022

Codecov Report

Merging #4514 (67e7091) into master (2ab923f) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

❗ Current head 67e7091 differs from pull request most recent head 82d6eff. Consider uploading reports for the commit 82d6eff to get more accurate results

@@             Coverage Diff              @@
##             master    #4514      +/-   ##
============================================
- Coverage     53.46%   53.42%   -0.05%     
+ Complexity     2706     2702       -4     
============================================
  Files           491      492       +1     
  Lines         15399    15393       -6     
  Branches       1596     1595       -1     
============================================
- Hits           8233     8223      -10     
- Misses         6607     6610       +3     
- Partials        559      560       +1     
Impacted Files Coverage Δ
.../ctrip/framework/apollo/common/utils/WebUtils.java 100.00% <100.00%> (ø)
...llo/configservice/controller/ConfigController.java 97.46% <100.00%> (+2.17%) ⬆️
...configservice/controller/ConfigFileController.java 84.40% <100.00%> (+0.92%) ⬆️
...work/apollo/biz/message/DatabaseMessageSender.java 56.25% <0.00%> (-8.34%) ⬇️
...rk/apollo/spring/property/SpringValueRegistry.java 83.78% <0.00%> (-5.41%) ⬇️
.../framework/apollo/spring/property/SpringValue.java 87.71% <0.00%> (-1.76%) ⬇️
...ervice/service/ReleaseMessageServiceWithCache.java 84.70% <0.00%> (-1.18%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

klboke and others added 2 commits August 15, 2022 09:50
…utils/WebUtils.java

Co-authored-by: mghio <43461943+mghio@users.noreply.github.com>
@klboke klboke requested review from mghio and nobodyiam August 15, 2022 01:50
Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

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

LGTM

@nobodyiam nobodyiam merged commit b1f78b4 into apolloconfig:master Aug 15, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2022
@klboke klboke deleted the kl branch January 10, 2023 09:02
@nobodyiam nobodyiam added this to the 2.1.0 milestone Feb 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants