-
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
Make basic realm and form authentication configuration properties only used during runtime the runtime properties #37022
Make basic realm and form authentication configuration properties only used during runtime the runtime properties #37022
Conversation
Failing Jobs - Building b08cf2f
Full information is available in the Build summary check run. Failures⚙️ Gradle Tests - JDK 11 Windows #- Failing: integration-tests/gradle
📦 integration-tests/gradle✖
⚙️ JVM Tests - JDK 11 #- Failing: integration-tests/hibernate-search-orm-opensearch
📦 integration-tests/hibernate-search-orm-opensearch✖ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please check test failures just in case, there is no obvious link but who knows
OpenSearch test has something to do with container, it's probably flaky due to resources
|
also the Gradle test also failed in my other PR that is not related |
Sounds good thanks, good idea to fix it now alongside http policies to avoid native side-effects, etc. |
@michalvavrik this PR results in warnings like the following being printed:
Even if the application is not setting (at least to our understanding) the deprecated config property. |
I didn't deprecate this property @zakkak , it has been deprecated for a while now. I can only assume there is a difference in how deprecated properties are reported. I'll have a look. Could you please point me to exact source code of that Mandrel application? |
It is called |
Okay, you are using |
@michalvavrik we saw the warning using quarkus-full-microprofile from https://github.com/Karm/mandrel-integration-tests/tree/master/apps/quarkus-full-microprofile If you need more help to rerproduce the issue let me know. I suspect that the deprecation warning is related to this line of code Line 90 in b08cf2f
|
This line is correct, it's legit to support deprecated properties until we decide to remove them. It was there before as well, only thing that changes is BUILD TIME => RUNTIME. Anyway @zakkak I've run https://github.com/Karm/mandrel-integration-tests/tree/master/apps/quarkus-full-microprofile with Could you maybe provide steps to reproduce? |
You don't need to run native to reproduce. JVM mode is sufficient. Steps should be:
That is with quarkus main (revision |
@zakkak @jerboaa this property is added by |
for context @radcortez |
@radcortez I could just add condition to the recorder that ignores config source with the |
Could we move this to a separate issue, please? |
Sure thing, I created #37072 and I'll add detail when I find a little time. |
There is no reason to have properties only used at runtime defined as build time properties.
BasicAuthenticationMechanism
constructors have been deprecated for 3 years now.