-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Adding new test ServerMyTestApplicationTests to show the behavior of spring.config.import added in application.yml vs set as -Dspring.config.import #1839
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
…spring.config.import added in application.yml va set as -Dspring.config.import
@nagsuchandra Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@nagsuchandra Thank you for signing the Contributor License Agreement! |
…ion has teh details
Can you describe why you have added this? |
@spencergibb I added the test to show the issue . application.yml have spring.config.import set in there changes the behavior than when we set it as -Dspring.config.import . |
Codecov Report
@@ Coverage Diff @@
## master #1839 +/- ##
=========================================
Coverage 78.18% 78.18%
Complexity 1302 1302
=========================================
Files 164 164
Lines 4785 4785
Branches 649 649
=========================================
Hits 3741 3741
Misses 781 781
Partials 263 263 Continue to review full report at Codecov.
|
Ok. You could've done that in a personal repo. The behavior is out of spring cloud's ability to control since that is decided by spring boot. What are your expectations with this PR? |
Ok . .Don't merge the PR .. I will leave it in my repo only. |
So the point of this was pointing out the difference in behavior? I'm really trying to understand motivation beyond the sample. |
The point was mainly to show the difference in behavior - yes that is right . You mentioned earlier that it is an issue of spring boot , however the issue creates an impact in the context of config server and ordering of properties gets messed up ( please see the details of the issue for further clarity). Are you suggesting that there is no fix that can be added from spring cloud side ? IMO the issue falls in the middle of spring boot and spring cloud config . |
Closing and moving conversation to #1838 |
Difference in behavior with spring.config.import added in application.yml vs set as -Dspring.config.import