-
Notifications
You must be signed in to change notification settings - Fork 465
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
WFCORE-6321 Expose ServerEnvironment via a capability #5480
Conversation
/retest |
This comment was marked as outdated.
This comment was marked as outdated.
server/src/main/java/org/jboss/as/server/ServerEnvironmentService.java
Outdated
Show resolved
Hide resolved
@@ -69,6 +72,9 @@ public static void addService(ServerEnvironment serverEnvironment, ServiceTarget | |||
.install(); |
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.
Since the service name is deprecated, you should replace their usages with the capability: when installing the ServerEnvironmentService, we have to use the capability service name. You should also review any SERVICE_NAME usages. When deprecating something, we should add always a comment about what's the alternative.
If the capability name differs from the service name, we should add an alias when installing the service using the capability.
server/src/main/java/org/jboss/as/server/ServerEnvironmentService.java
Outdated
Show resolved
Hide resolved
@parsharma we need the Jira Issue on the commit message and PR title. |
@yersan sorry, I was busy on 7.4.12 GA. I will update the PR soon. |
Core -> Full Integration Build 12571 outcome was FAILURE using a merge of 3be5b14 |
Core -> WildFly Preview Integration Build 12653 outcome was FAILURE using a merge of 3be5b14 |
Core -> Full Integration Build 12772 outcome was FAILURE using a merge of 3be5b14 |
@parsharma errors are legit. You still need to address all the pending points commented on above: add a Jira number to the PR title, use an alias for the service, add a comment to the @deprecate annotation, review any usage of the current service server/src/main/java/org/jboss/as/server/ServerEnvironmentService.java#SERVICE_NAME and replace it with the capability, ensure the capability is correctly registered. In addition, when done, please squash the commits in a single one. If you are pushing changes but you still think there is pending work to do, please, move the PR to a draft so we can ignore its review until is done from your side, thanks! |
@yersan I will change it to draft because I am still working on it. Thanks for the review comments. I will update the code soon. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
a9d0705
to
8f3a253
Compare
server/src/main/java/org/jboss/as/server/ServerEnvironmentService.java
Outdated
Show resolved
Hide resolved
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.
Minor detail about the import, but looks good to me
server/src/main/java/org/jboss/as/server/ServerEnvironmentService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/jboss/as/server/ServerEnvironmentService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/jboss/as/server/ServerEnvironmentService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/jboss/as/server/deployment/ManagedExplodedContentServitor.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/jboss/as/server/deployment/ManagedExplodedContentServitor.java
Outdated
Show resolved
Hide resolved
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.
All looks good now. Thank you for persevering @parsharma !
Thanks, @parsharma and @pferraro! |
Issue: https://issues.redhat.com/browse/WFCORE-6321