-
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
Unrecognized configuration key set by DevServices #32591
Comments
/cc @geoand (devservices), @stuartwdouglas (devservices) |
/cc @radcortez , @gsmet |
@radcortez could you have a look at that one? It concerns me a bit. |
Sure |
The issue hero is that The DevServices extension does set that property because you need it for the datasource, but because we don't have one here, we don't have the Agroal extension. With that said, we need to discuss how to handle this case:
|
Maybe we should just avoid adding the property if Agroal is not around. I'll have a look if it's easy to do next week. |
It's fine. I can do it. For reference the property is set here: Lines 315 to 319 in 00625d0
|
Describe the bug
When starting a application that use the postgress jdbc dev services and an empty application.properties, this warning is printed in the startup log:
Unrecognized configuration key "quarkus.datasource.jdbc.url" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
Expected behavior
Dev Services should not set Unrecognized configuration keys or at least not show the warning
Actual behavior
User are warned about something they can not do anything about
How to Reproduce?
Reproducer: https://github.com/phillip-kruger/devui-example
Output of
uname -a
orver
Linux pkruger-laptop 6.2.9-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 30 22:31:57 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.10-1.fc37) (build 17.0.6+10, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
999-SNAPSHOT
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Additional information
As discussed here: #32563 (comment)
The text was updated successfully, but these errors were encountered: