-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
WFLY-17047 Weld Probe removal #16114
Conversation
Hello, manovotn. I'm waiting for one of the admins to verify this patch with /ok-to-test in a comment. |
Since there was no other than Alpha release of WFLY, I have decided it would be cleaner to change weld subsystem 5.0 to not accept devel mode property at all. |
Dependency Tree Analyzer Output: Removed Dependencies:
CC @wildfly/prod |
weld/subsystem/src/main/java/org/jboss/as/weld/WeldResourceDefinition.java
Show resolved
Hide resolved
weld/subsystem/src/main/java/org/jboss/as/weld/WeldResourceDefinition.java
Outdated
Show resolved
Hide resolved
I have had to do what Brian is suggesting here where I have been disabling the security-realm attribute across subsystems e.g. In my case I also report an error at runtime if set but that is probably a step too far for this attribute. |
What about the test failures I mentioned above? I am not quite grasping how are tests such as this supposed to behave when an attribute is being removed from newer version. |
I'll get back to this later today. |
da8d1c4
to
637a4fa
Compare
637a4fa
to
d60b87c
Compare
The PR is now changed to remove Probe as a dependency but it retains Weld devel mode configuration option as it was, only deprecates it. |
BTW I don't think I can trigger this either :) |
/ok-to-test |
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.
This LGTM @manovotn
As @darranl said it's possible to throw an OperationFailedException if this is set to true, e.g. at https://github.com/wildfly/wildfly/blob/main/weld/subsystem/src/main/java/org/jboss/as/weld/WeldSubsystemAdd.java#L88, but I think that's overkill. (That code only executes in a server that's running in normal mode.) Doing that would interfere with people using a particular config in different dev environments, without adding a ton of value vs the WARN that gets logged.
Thanks @manovotn! |
JIRA - https://issues.redhat.com/browse/WFLY-17047
This PR does not contain Weld version update yet, just changes related to Probe removalEDIT: Weld 5.1.0 is now syncing with Central and this PR will contains the updated version as well.