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

Sigv4 Wrapper Gem for OpenSearch::Client #104

Closed
wants to merge 2 commits into from
Closed

Sigv4 Wrapper Gem for OpenSearch::Client #104

wants to merge 2 commits into from

Conversation

nhtruong
Copy link
Collaborator

Signed-off-by: Theo Truong [email protected]

Description

Added Sigv4 Client gem that is a wrapper of opensearch-ruby gem. This gem will sign every request with an AWS Sigv4 signature.

Issues Resolved

Closes #71

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.

@nhtruong nhtruong requested review from a team and robsears as code owners October 18, 2022 22:29
@nhtruong nhtruong marked this pull request as draft October 19, 2022 15:34
@nhtruong nhtruong marked this pull request as ready for review October 19, 2022 18:25
dblock
dblock previously approved these changes Oct 20, 2022
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Good!

dblock
dblock previously approved these changes Oct 20, 2022
@dblock
Copy link
Member

dblock commented Oct 20, 2022

I hit approve. Big (and definitely a late) question. Should this be called opensearch-aws-sigv4? 🤣

@dblock dblock requested a review from VachaShah October 20, 2022 20:49
@dblock
Copy link
Member

dblock commented Oct 20, 2022

Will need to get a CHANGELOG line, too.

@nhtruong
Copy link
Collaborator Author

nhtruong commented Oct 20, 2022

I hit approve. Big (and definitely a late) question. Should this be called opensearch-aws-sigv4? 🤣

@dblock It should haha. You will likely have to hit approve a 3rd time though :P

@nhtruong nhtruong marked this pull request as draft October 20, 2022 22:17
dblock
dblock previously approved these changes Oct 21, 2022
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

It looks good to me. Happy to hit approve as many times as needed.

@nhtruong nhtruong marked this pull request as ready for review October 25, 2022 15:03
@nhtruong
Copy link
Collaborator Author

nhtruong commented Nov 1, 2022

@robsears @VijayanB @jayeshathila @vamshin Would you mind taking a look at this?

@nhtruong nhtruong closed this by deleting the head repository Nov 1, 2022
@nhtruong nhtruong reopened this Nov 1, 2022
@nhtruong
Copy link
Collaborator Author

nhtruong commented Nov 1, 2022

This is being blocked by: #108

s.required_ruby_version = '>= 2.5'

s.add_dependency 'aws-sigv4', '~> 1'
s.add_dependency 'opensearch-ruby', '~> 2'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since this new opensearch-aws-sigv4 gem is independent, can it work with both 1.x and 2.x versions of opensearch-ruby gem?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It might. Lemme take a look at v1 to see if it will cause any issue.

@nhtruong nhtruong marked this pull request as draft November 9, 2022 17:35
@nhtruong nhtruong marked this pull request as ready for review November 9, 2022 17:36
@nhtruong
Copy link
Collaborator Author

nhtruong commented Nov 9, 2022

New Commit is not being pushed to this PR. Recreating.

@nhtruong nhtruong closed this Nov 9, 2022
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] Add support for AWS Sigv4 request signer
3 participants