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

SNOW-1042432: Remove dependency on com.amazonaws.Protocol from HttpClientSettingsKey #1627

Merged

Conversation

jtjeferreira
Copy link
Contributor

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes SNOW-1042432: Do not use com.amazonaws classes in core SF classes #1626

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

Removes dependency on com.amazonaws.Protocol from HttpClientSettingsKey.
There are still a few other references to com.amazonaws classes, so I am not sure this completely fixes #1626. I also do not know what would be the best way to tests this or prevent dependencies like this to be added in the future...

Pre-review checklist

  • This change has passed precommit
  • I have reviewed code coverage report for my PR in (Sonarqube)

@jtjeferreira jtjeferreira requested a review from a team as a code owner February 3, 2024 21:26
Copy link

github-actions bot commented Feb 3, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@jtjeferreira jtjeferreira force-pushed the remove_dependecy_on_protocol branch from 86e5934 to 55a94fb Compare February 3, 2024 21:30
@jtjeferreira
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@jtjeferreira jtjeferreira force-pushed the remove_dependecy_on_protocol branch from 55a94fb to 7ca3a88 Compare February 5, 2024 10:46
@sfc-gh-dprzybysz
Copy link
Collaborator

Because of security reasons we cannot run build on your PR directly. There is a copy of your code in #1633 - note that it means that when you change anything in your branch we will need to manually update the draft PR to have actual jobs results

You can check that there is one small formatting problem - please fix it with mvn com.spotify.fmt:fmt-maven-plugin:format

There is also one one comment left unsolved

Please also remember to rebase to current master

@sfc-gh-dprzybysz sfc-gh-dprzybysz changed the title remove dependency on com.amazonaws.Protocol from HttpClientSettingsKey SNOW-1042432: Remove dependency on com.amazonaws.Protocol from HttpClientSettingsKey Feb 14, 2024
@sfc-gh-dprzybysz sfc-gh-dprzybysz merged commit 8826699 into snowflakedb:master Feb 14, 2024
37 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 2024
@sfc-gh-dprzybysz
Copy link
Collaborator

Thank you @jtjeferreira for the contribution, the change will be included in the next release of snowflake-jdbc

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

Successfully merging this pull request may close these issues.

SNOW-1042432: Do not use com.amazonaws classes in core SF classes
2 participants