-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Spring Cloud Configuration ordinal customization #44923
Comments
/cc @aureamunoz (spring), @geoand (spring), @radcortez (config) |
Makes sense! Would you like to contribute that? |
hi @geoand no problem, I'm preparing a pull request. |
🙏🏽 |
Resolves: quarkusio#44923 Signed-off-by: Thibault Meyer <[email protected]>
I've just opened a PR to add ordinal customisation |
Resolves: quarkusio#44923 Signed-off-by: Thibault Meyer <[email protected]>
@thibaultmeyer do you have the default ordinal for Quarkus Vault in mind? Probably a good idea to make them consistent. |
@gsmet triage/backport* labels may not be added to an issue. Please add them to the corresponding pull request. This message is automatically generated by a bot. |
hi @gsmet
|
Resolves: quarkusio#44923 Signed-off-by: Thibault Meyer <[email protected]> (cherry picked from commit 20c598d)
Description
Currently, the ordinal of the Spring Cloud Configuration values start at 450 (SpringCloudConfigClientConfigSourceFactory#76). This value is a bit high, according to the Quarkus documentation, System Properties have a ordinal of 400. With a ordinal of 450, Spring Cloud Configuration values cannot be overridden by existing configuration sources.
Implementation ideas
Like the extension
quarkus-vault
, it could be a good idea to let the developper to choose ordinal of the Spring Cloud Configuration sources.Currently
Changes
config.ordinal()
will be defined inSpringCloudConfigClientConfig
with default value of 450.The text was updated successfully, but these errors were encountered: