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

Cleans up and simplifies logic to determine which type of IP addresses to consider #8280

Merged
merged 4 commits into from Jan 24, 2024

Conversation

spericas
Copy link
Member

Description

Cleans up and simplifies logic to determine which type of IP addresses (v4 or v6) to consider during name resolution. No longer inspect hosts interfaces to determine priority. Honors JVM properties defined for this purpose. Also updates TcpClientConnection to use whatever strategy specified by a user as part of a WebClient's configuration.

Documentation

Needs doc update

@spericas spericas added webclient 4.x Version 4.x labels Jan 22, 2024
@spericas spericas added this to the 4.x milestone Jan 22, 2024
@spericas spericas self-assigned this Jan 22, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 22, 2024
@spericas spericas marked this pull request as draft January 22, 2024 21:15
@spericas spericas requested a review from Verdent January 22, 2024 21:15
…s (v4 or v6) to consider during name resolution. No longer inspect hosts interfaces to determine priority. Honors JVM properties defined for this purpose. Also updates TcpClientConnection to use whatever strategy specified by a user as part of a WebClient's configuration.
@spericas spericas force-pushed the issue-8205 branch 3 times, most recently from bc7946a to 0e99d51 Compare January 23, 2024 14:19
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
@spericas spericas marked this pull request as ready for review January 23, 2024 17:32
Copy link
Member

@Verdent Verdent left a comment

Choose a reason for hiding this comment

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

Just a minor thing, otherwise it looks good to me

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
@spericas spericas merged commit 963b0cd into helidon-io:main Jan 24, 2024
12 checks passed
hrstoyanov pushed a commit to hrstoyanov/helidon that referenced this pull request Feb 23, 2024
…s to consider (helidon-io#8280)

* Cleans up and simplifies logic to determine which type of IP addresses (v4 or v6) to consider during name resolution. No longer inspect hosts interfaces to determine priority. Honors JVM properties defined for this purpose. Also updates TcpClientConnection to use whatever strategy specified by a user as part of a WebClient's configuration.

* Moves logic of name resolution to DefaultDnsResolver from TcpClientConnection. New tests for DefaultDnsResolver.

* Modified test to use default DnsAddresslookup.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Guard logging calls and deprecate useDefaultJavaResolver() method.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

---------

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
tvallin pushed a commit to tvallin/helidon that referenced this pull request Feb 28, 2024
…s to consider (helidon-io#8280)

* Cleans up and simplifies logic to determine which type of IP addresses (v4 or v6) to consider during name resolution. No longer inspect hosts interfaces to determine priority. Honors JVM properties defined for this purpose. Also updates TcpClientConnection to use whatever strategy specified by a user as part of a WebClient's configuration.

* Moves logic of name resolution to DefaultDnsResolver from TcpClientConnection. New tests for DefaultDnsResolver.

* Modified test to use default DnsAddresslookup.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Guard logging calls and deprecate useDefaultJavaResolver() method.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

---------

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x OCA Verified All contributors have signed the Oracle Contributor Agreement. webclient
Projects
Backlog
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

2 participants