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

Add new connection parameter tunnelHost to use with tunnel cunnection. #83

Merged

Conversation

Yury-Fridlyand
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand commented Jun 3, 2023

Description

Similar to opensearch-project/sql-odbc#42 this PR adds a new connection config parameter tunnelHost to be set when tunnel is used.
image

TODOs

  • Add new parameter
  • Trim slash or suffix in the new parameter
  • Trim slash or suffix in host parameter
  • Make parameter name parsing case-insensitive
  • Test on Windows
  • Test on Mac
  • Update docs

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
…ixes.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
README.md Outdated Show resolved Hide resolved
@@ -105,15 +106,15 @@ Code samples to open a connection for some typical scenarios are given below:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you know why there were so many periods placed throughout the old code? Would they not break the code that's there or is there something syntax related with them that I don't know about?

Co-authored-by: Matthew Wells <matthew.wells@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@Yury-Fridlyand Yury-Fridlyand merged commit 883f484 into opensearch-project:main Jun 17, 2023
9 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the fix-aws-sigv4-for-tunnel branch June 17, 2023 02:43
@Yury-Fridlyand Yury-Fridlyand linked an issue Jul 25, 2023 that may be closed by this pull request
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.

[FEATURE] Support SSH tunnel with AWS_SIGv4 auth
4 participants