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 : optimize project and code (main). #506

Merged
merged 3 commits into from
Aug 16, 2022
Merged

Refactor : optimize project and code (main). #506

merged 3 commits into from
Aug 16, 2022

Conversation

misselvexu
Copy link
Contributor

PR Type

Code style update (formatting, local variables).

Describe what this PR does for and how you did.

  • Add spring.profiles.default support
  • Optimize zuul routing features Auto-Configuration code
  • Refactor some code styles

Adding the issue link (#xxx) if possible.

Note

Checklist

  • Add copyright holder at the beginning of .class file if it is new.
  • Add information of this PR to CHANGELOG.md in root of project.
  • All junit tests passing.
  • Coverage from Codecov Report should not decrease.

Checklist (Optional)

  • Will Pull Request to branch of 2020.0 and 2021.0.
  • Add documentation in javadoc in code or comment below the PR if necessary.
  • Add your name as @author to the beginning of .class file.

@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2022

Codecov Report

Merging #506 (5639cc9) into main (940bfa0) will increase coverage by 0.25%.
The diff coverage is 56.06%.

@@             Coverage Diff              @@
##               main     #506      +/-   ##
============================================
+ Coverage     71.76%   72.02%   +0.25%     
- Complexity      895      896       +1     
============================================
  Files           178      179       +1     
  Lines          3400     3392       -8     
  Branches        420      417       -3     
============================================
+ Hits           2440     2443       +3     
+ Misses          747      737      -10     
+ Partials        213      212       -1     
Impacted Files Coverage Δ
...data/config/MetadataTransferAutoConfiguration.java 100.00% <ø> (ø)
...polaris/config/PolarisConfigAutoConfiguration.java 90.00% <ø> (ø)
...onfig/PolarisConfigBootstrapAutoConfiguration.java 85.71% <ø> (ø)
...ig/adapter/PolarisConfigPropertyAutoRefresher.java 86.48% <ø> (ø)
...config/adapter/PolarisConfigPropertyRefresher.java 0.00% <0.00%> (ø)
...arisRefreshContextConfigPropertyAutoRefresher.java 60.00% <ø> (+10.00%) ⬆️
.../adapter/SmartConfigurationPropertiesRebinder.java 0.00% <0.00%> (ø)
.../config/condition/NonDefaultBehaviorCondition.java 66.66% <ø> (ø)
...t/cloud/polaris/config/config/ConfigFileGroup.java 87.50% <ø> (ø)
...polaris/config/config/PolarisConfigProperties.java 43.47% <ø> (ø)
... and 36 more

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

@SkyeBeFreeman SkyeBeFreeman merged commit e7d5e2a into Tencent:main Aug 16, 2022
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.

3 participants