Skip to content

Conversation

@geoand
Copy link
Contributor

@geoand geoand commented Jun 17, 2020

Fixes: #9973

The idea here to allow an extension to register which ConfigSourceProvider can work in Bootstrap Config, because we (correctly) don't do auto-discovery when building the Bootstrap Config

@boring-cyborg boring-cyborg bot added area/config area/core area/spring Issues relating to the Spring integration labels Jun 17, 2020
@geoand geoand requested a review from dmlloyd June 17, 2020 09:42
@geoand geoand added this to the 1.6.0 - master milestone Jun 17, 2020
@gsmet
Copy link
Member

gsmet commented Jun 17, 2020

@geoand it looks safe enough for a backport, WDYT?

@geoand
Copy link
Contributor Author

geoand commented Jun 17, 2020

@gsmet yeah, it's completely safe

Copy link
Contributor

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

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

LGTM. I added a minor suggestion as an attempt to make it more typesafe, but feel free to ignore :)

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jun 17, 2020
@geoand geoand merged commit 52989c6 into quarkusio:master Jun 17, 2020
@geoand geoand deleted the #9973 branch June 17, 2020 14:45
@famod
Copy link
Member

famod commented Jun 17, 2020

@geoand This doesn't cover custom ConfigSourceProviders, right?

We use a custom one to merge multiple yaml files (from maven submodules) that also contain quarkus properties and we had to realize that any build-time properties from those yaml files are ignored.

@geoand
Copy link
Contributor Author

geoand commented Jun 18, 2020

@famod no it does not. But this PR was only for bootstrap config anyway, not for build-time config.

@famod
Copy link
Member

famod commented Jun 18, 2020

Ah, now I understand. Thanks!

@geoand
Copy link
Contributor Author

geoand commented Jun 18, 2020

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config area/core area/spring Issues relating to the Spring integration triage/waiting-for-ci Ready to merge when CI successfully finishes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spring-Cloud-Config-Client Configuration not working

5 participants