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

re-add ConfigSourceFactory #20

Merged
merged 1 commit into from
Nov 26, 2021
Merged

Conversation

overheadhunter
Copy link
Member

This is a second attempt of #3:

We want our ConfigSource to read configurations from sources with lower ordinals. MP Config does not support this yet (see eclipse/microprofile-config#470), but Smallrye Config makes this possible via ConfigSourceFactories.

@infeo used this approach already, but due to problems with non-singleton config instances (one per class loader), we decided to use a less complex (but also less capable) approach.

Now the situation changed, as being able to read existing configs is nonnegotiable for proper unit tests.

to be replaced, once there is an official way to access higher-order config (see eclipse/microprofile-config#470)
@overheadhunter overheadhunter merged commit 091b93e into develop Nov 26, 2021
@overheadhunter overheadhunter deleted the feature/dynamic-config-source branch November 26, 2021 08:52
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.

1 participant