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

Fix SigV4 signature when connecting to OpenSearchServerless #473

Merged
merged 3 commits into from
Aug 1, 2024

Conversation

ykmr1224
Copy link
Collaborator

Description

  • Fix SigV4 signature when connecting to OpenSearch Serverless (AOSS)
  • AOSS requires service name to be "aoss", and additional header for the signature of the body content.

Issues Resolved

  • It was not able to read/write AOSS index.

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.

@ykmr1224 ykmr1224 marked this pull request as ready for review July 25, 2024 21:16
Copy link
Collaborator

@penghuo penghuo left a comment

Choose a reason for hiding this comment

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

  1. Add a integration test with serverless.
  2. In local dev, verify sbt integtest/integration success.
    more reading. https://github.com/opensearch-project/opensearch-spark/blob/main/DEVELOPER_GUIDE.md#integration-test

Signed-off-by: Tomoyuki Morita <[email protected]>
@ykmr1224
Copy link
Collaborator Author

ykmr1224 commented Aug 1, 2024

  1. Add a integration test with serverless.
  2. In local dev, verify sbt integtest/integration success.
    more reading. https://github.com/opensearch-project/opensearch-spark/blob/main/DEVELOPER_GUIDE.md#integration-test

1 -> Let me add integration test in the next PR for fixing the refresh policy, since it fails without that change.
2 -> Verified it succeeds.

Copy link
Collaborator

@penghuo penghuo left a comment

Choose a reason for hiding this comment

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

Thx!

@penghuo penghuo merged commit 06ff8be into opensearch-project:main Aug 1, 2024
4 checks passed
@ykmr1224 ykmr1224 deleted the aoss/fix-sigv4 branch August 1, 2024 15:50
seankao-az pushed a commit that referenced this pull request Aug 15, 2024
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.

3 participants