-
Notifications
You must be signed in to change notification settings - Fork 51
Adopt SmallRye Config #696
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
base: master
Are you sure you want to change the base?
Conversation
a97148c
to
ecdc700
Compare
ecdc700
to
083c9df
Compare
2cb2585
to
f93ebfe
Compare
@stevespringett Any thoughts on this? One thing I'm excited about is that this allows us to know where a given property was sourced from (see https://github.com/stevespringett/Alpine/pull/696/files#diff-327b5b3f0c14fb274675b66191988c693226f3882e237da69ab5bc9c4b13aa61R180-R191). That makes it possible to render certain properties in a UI, and treat them as read-only if they're sourced from an immutable source (i.e. env vars). A "mutable" source that uses Alpine's |
2025f51
to
0f1c844
Compare
Closes stevespringett#695 Signed-off-by: nscuro <nscuro@protonmail.com> # Conflicts: # pom.xml
That's really interesting. First I've heard of it. But sounds like a good improvement |
+1 for this! Sounds promising |
Ports stevespringett/Alpine#696 Signed-off-by: nscuro <nscuro@protonmail.com>
Ports stevespringett/Alpine#696 Signed-off-by: nscuro <nscuro@protonmail.com>
Ports stevespringett/Alpine#696 Signed-off-by: nscuro <nscuro@protonmail.com>
Ports stevespringett/Alpine#696 Signed-off-by: nscuro <nscuro@protonmail.com>
Ports stevespringett/Alpine#696 Signed-off-by: nscuro <nscuro@protonmail.com>
Ports stevespringett/Alpine#696 Signed-off-by: nscuro <nscuro@protonmail.com>
Ports stevespringett/Alpine#696 Signed-off-by: nscuro <nscuro@protonmail.com>
Ports stevespringett/Alpine#696 Signed-off-by: nscuro <nscuro@protonmail.com>
Adopts SmallRye Config as underlying configuration provider.
prod
profile): https://github.com/stevespringett/Alpine/pull/696/files#diff-327b5b3f0c14fb274675b66191988c693226f3882e237da69ab5bc9c4b13aa61R139-R162A new
alpine-test
module is introduced to provide helpful functionality to test Alpine-based applications.It contains an in-memory configuration source, and a JUnit 4 rule using said source to modify configuration properties within the scope of a test: https://github.com/stevespringett/Alpine/pull/696/files#diff-f48b406449780d75cfbcbe1e524bffeca96d349b4f9774e1f5ccd10fec4b09bdR27-R44
Applications do not need to modify environment variables or system properties anymore in order to test different configurations.
This change is backward-compatible.
Closes #695