Skip to content
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-5718] Remoting: add an ability to configure protocol used by … #5151

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tadamski
Copy link
Contributor

…the remoting connector

…the remoting connector

https://issues.redhat.com/browse/EAP7-1672
https://issues.redhat.com/browse/WFCORE-5718
https://issues.redhat.com/browse/WFLY-13828

This is a configuration fix that allows for easy configuration of feature required by EAP7-1672, which is using "remote+tls" protocol from ejb client. The protocol is supported by jboss-remoting but simply adding it to the configuration doesn't work out of the box. I have noticed that no matter what the connector configuration is on the server side, the connector is hardcoded to use
a connection provider associated with "remoting" protocol. This provider is configured differently than "remote+tls" one and this lead to inability to establish a connection. With this change customer has an ability to configure "remote+tls" on both client and the server and establish a connection using "always SSL" protocol.

@fl4via could you please review?

@tadamski tadamski requested a review from fl4via July 13, 2022 10:14
@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Jul 13, 2022
@yersan yersan added Feature This PR adds a new feature to WildFly missing-reqs This PR is missing external requirements before it can be merged labels Jul 13, 2022
@github-actions
Copy link

There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.

@github-actions github-actions bot added the Stale label Sep 17, 2022
@@ -0,0 +1,174 @@
/*
* JBoss, Home of Professional Open Source.
* Copyright 2015 Red Hat, Inc., and individual contributors
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix year. We can't apply licence to the past.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

import static org.jboss.as.remoting.CommonAttributes.SOCKET_BINDING;

/**
* Parser for version 5.0 of the subsystem schema.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Says it's parser for 5 but class name is RemotingSubsystem60Parser

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@tadamski
Copy link
Contributor Author

@rhursar could you please take a look if the PR is ok now?

@github-actions github-actions bot removed the Stale label Nov 30, 2022
@github-actions
Copy link

There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.

@github-actions github-actions bot added the Stale label Jan 15, 2023
@tadamski
Copy link
Contributor Author

@yersan I have updated https://issues.redhat.com/browse/EAP7-1672, created test plan, and fixed the proposal PR

@github-actions github-actions bot removed the Stale label Jan 28, 2023
@yersan
Copy link
Collaborator

yersan commented Jan 30, 2023

@tadamski, Feature fields (TP, PC, FI) are in an inconsistent state and the issue is still in "in Progress", we don't merge until it reaches the "Ready for merge" state. The Analysis Doc also mentions ejb-client, but the EJB client PR was closed. There is also a WFLY Jira linked which it seems should have been cloned to WFCORE. If there are no changes in WildFly, we don't need a WFLY Jira.

Please clarify those points so we know how to continue with this one.

@tadamski
Copy link
Contributor Author

@yersan I have set all those fields. From my perspective the issue and the tests are ready so I set the status to "Ready to merge". Regarding PRs, I usually prefer to open PRs one by one because the wildfly PR is guaranteed to fail without this one merged, but if necessary I can open three PRs now.

@yersan
Copy link
Collaborator

yersan commented Feb 1, 2023

Hi @tadamski , moving to "Ready to merge" requires additional previous steps, take a look at the Feature Development Process and get familiar with it. Essentially, your Feature Request doesn't have a QE assigned. The QE is the one that will merge the test plan and approve the Analysis doc. Once all the deliverables are in place and your team has done the pre-check, you can move it to "Ready to merge".

Regarding the WildFly related PR, it will depend on your test plan and if your tests and verification need to run the CI with both PRs (WildFly and WildFly Core) in place. Apparently, since your feature involves other components, it is likely you want to test both to verify all changes and component upgrades work together.

In addition, this feature seems it needs changes in other components, I see REM3-389 and EJBCLIENT-388 linked to the WildFly Jira, although these links are not in the analysis doc, they should be there for reference.

These components should be in Final and their versions bumped in WildFly and WildFly Core before merging.

@tadamski
Copy link
Contributor Author

tadamski commented Feb 2, 2023

thanks @yersan; I made a mistake of thinking that I don't need a QE contact when I'm a tester - I have asked Martin to assign somebody for this role. Regarding PRs, I have opened a PR in ejb-client. The REM3-389 PR is invalid - I have closed it and the related JIRA issue and I'm going to remove it from the links.

@github-actions
Copy link

There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.

@github-actions github-actions bot added the Stale label Mar 20, 2023
@luck3y
Copy link
Contributor

luck3y commented May 31, 2023

/retest

@github-actions github-actions bot removed the Stale label Jun 1, 2023
@github-actions
Copy link

There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.

@github-actions github-actions bot added the Stale label Jul 16, 2023
Copy link
Contributor

@darranl darranl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please have the schema bump and actual model changes in separate commits.

The git and GitHub APIs don't let us see the actual schema updates specific to this change without manual diffing, also if others need to make changes to this subsystem they can build on the schema bump commit without conflicting with this PR.

@tadamski
Copy link
Contributor Author

@darranl I have split the commit. Is that ok?

*
* @author <a href=mailto:tadamski@redhat.com>Tomasz Adamski</a>
*/
class RemotingSubsystem60Parser extends RemotingSubsystem40Parser {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The addition of this class should also be in the first commit so we can see the changes made in the second commit. however isn't there a RemotingSubsystem50Parser this should be extending?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@darranl Rebased. There is a empty 5.0 parser, but I changed the code so that it extends it.

@bstansberry
Copy link
Contributor

/retest

Copy link

github-actions bot commented Nov 6, 2023

There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.

@github-actions github-actions bot added the Stale label Nov 6, 2023
Copy link

github-actions bot commented Feb 4, 2024

There has been no activity on this PR for 90 days and it has been closed automatically.

@github-actions github-actions bot closed this Feb 4, 2024
@tadamski tadamski reopened this Sep 3, 2024
@github-actions github-actions bot removed the Stale label Sep 4, 2024
Copy link

There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.

@github-actions github-actions bot added the Stale label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes Feature This PR adds a new feature to WildFly missing-reqs This PR is missing external requirements before it can be merged Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants