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

[WEJBHTTP-119] Naming: transform EJB affinities on naming invocations #136

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

tadamski
Copy link
Contributor

@tadamski tadamski commented Oct 18, 2023

https://issues.redhat.com/browse/WEJBHTTP-119

This is a hacky fix that is suppose to make sure http naming invocations are running properly. @fl4via @ropalka could you please review? Is there some more clever way to assemble local URI before sending it to the client?

Copy link
Collaborator

@ropalka ropalka left a comment

Choose a reason for hiding this comment

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

LGTM

@tadamski
Copy link
Contributor Author

thanks @ropalka

@ropalka ropalka merged commit 538558d into wildfly:main Oct 20, 2023
4 of 8 checks passed
@ropalka
Copy link
Collaborator

ropalka commented Oct 20, 2023

Thanks @tadamski !

StringBuilder uriStringBuilder = new StringBuilder();
uriStringBuilder.append(exchange.getRequestScheme()).append("://")
.append(localAddress.getHostName()).append(":").append(localAddress.getPort())
.append("/wildfly-services");
Copy link

@jbaesner jbaesner Nov 9, 2023

Choose a reason for hiding this comment

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

Remember /wildfly-services is the default value if nothing is explicitly configured for the http-invoker in the Undertow subsystem. So hard coding this value seems wrong.

Never mind, I see it's fixed in #163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants