-
-
Notifications
You must be signed in to change notification settings - Fork 81
repair the application registerBeanDefinitions read not appropriate c… #3
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
Conversation
…onfiguration,cause apollo config wasn't the first configuration in environment during registerBeanDefinitions to postProcessBeanFactory,when spring.cloud.bootstrap.enabled is set to true
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Codecov Report
@@ Coverage Diff @@
## main #3 +/- ##
============================================
- Coverage 67.80% 67.78% -0.03%
Complexity 1163 1163
============================================
Files 164 165 +1
Lines 5104 5107 +3
Branches 557 559 +2
============================================
+ Hits 3461 3462 +1
- Misses 1375 1376 +1
- Partials 268 269 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I have read the CLA Document and I hereby sign the CLA |
Please also update the CHANGES.md |
I have modified,plz check it,thx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
repair the application registerBeanDefinitions read not appropriate configuration
What's the purpose of this PR
repair the application registerBeanDefinitions read not appropriate configuration,cause apollo config wasn't the first configuration in environment during registerBeanDefinitions to postProcessBeanFactory,when spring.cloud.bootstrap.enabled is set to true
I have verified that this repair works in our project
For details, plz see the blog : http://t.csdn.cn/aI7Q1
Which issue(s) this PR fixes:
Fixes # no exists issue
Brief changelog
ApolloApplicationContextInitializer#initialize : When the context has been initialized,also want to add ensureBootstrapPropertyPrecedence processing