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

Abstract away service name #268

Merged
merged 10 commits into from
Jan 18, 2023

Conversation

harshavamsi
Copy link
Collaborator

Signed-off-by: Harsha Vamsi Kalluri [email protected]

Description

Removes hard coded service name. Users can specify their own service name while signing requests for SigV4.

Issues Resolved

Closes #259

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: Harsha Vamsi Kalluri <[email protected]>
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.

Needs tests, otherwise LGTM.

CHANGELOG.md Outdated Show resolved Hide resolved
@harshavamsi harshavamsi marked this pull request as draft January 13, 2023 00:15
@harshavamsi harshavamsi marked this pull request as ready for review January 13, 2023 18:50
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
opensearchpy/helpers/asyncsigner.py Outdated Show resolved Hide resolved
opensearchpy/helpers/asyncsigner.py Outdated Show resolved Hide resolved
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.

The change of deleting content-length seems hidden in here. I believe this is to support Serverless and managed alike. I believe this won't be necessary when serverless GAs, so maybe remove it from this PR and open another specifically for the serverless workaround?

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
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.

One more nit, sorry :)

USER_GUIDE.md Outdated Show resolved Hide resolved
USER_GUIDE.md Outdated Show resolved Hide resolved
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
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.

One more.

opensearchpy/helpers/asyncsigner.py Outdated Show resolved Hide resolved
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
@dblock dblock merged commit 5c1c890 into opensearch-project:main Jan 18, 2023
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 OpenSearch Serverless
2 participants