-
Notifications
You must be signed in to change notification settings - Fork 183
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
Adding x-amz-content-sha256 header for signed requests #339
Adding x-amz-content-sha256 header for signed requests #339
Conversation
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
a5a4ac8
to
301e2e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a test that checks that the x-amz-...
header is added?
@@ -363,6 +363,9 @@ private <RequestT> SdkHttpFullRequest prepareRequest( | |||
} | |||
req.putHeader("Content-Length", String.valueOf(body.getContentLength())); | |||
req.contentStreamProvider(body::getInputStream); | |||
// To add the "X-Amz-Content-Sha256" header, it needs to set as required. | |||
// It is a required header for Amazon OpenSearch Serverless. | |||
req.putHeader("x-amz-content-sha256", "required"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a weird API! Took me a while to find https://github.com/aws/aws-sdk-java-v2/blob/0510a17ae41d601cf5f03e7af01e4519a6b3a744/core/auth/src/main/java/software/amazon/awssdk/auth/signer/internal/AbstractAws4Signer.java#L97 that handles this.
Is there a higher level method we can use like https://github.com/aws/aws-sdk-java-v2/blob/0510a17ae41d601cf5f03e7af01e4519a6b3a744/core/auth/src/main/java/software/amazon/awssdk/auth/signer/Aws4UnsignedPayloadSigner.java#L69 so we don't have to hard-code "required"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it took me a while to find too. We use Aws4Signer
which does not have the sign method overriden like Aws4UnsignedPayloadSigner
. According to documentation, the Aws4UnsignedPayloadSigner
is similar to Aws4Signer
but just adds UNSIGNED-PAYLOAD
when protocol is HTTPS. Can we use Aws4UnsignedPayloadSigner
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it works we sure can I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried the Aws4UnsignedPayloadSigner
but it does not work for Amazon OpenSearch Service since it signs the payload with UNSIGNED_PAYLOAD
over https protocol. Works for Amazon OpenSearch Serverless. I can PR this change on their repo may be as a new signer class but for now looks like we might have to use the hard-coded "required".
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Added test. |
@@ -297,7 +297,7 @@ public void close() { | |||
} | |||
|
|||
@CheckForNull | |||
private <RequestT> OpenSearchRequestBodyBuffer prepareRequestBody( | |||
public <RequestT> OpenSearchRequestBodyBuffer prepareRequestBody( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those should probably not be public
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to do that since I had to write a test for the header :( The AwsSdk2Transport returns a parsed response which does not have the headers for me to test. So I had to test it when the request gets signed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to find a way. How about making it protected, subclassing AwsSdk2Transport into a test class and saving headers into it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean something like this?
public class AwsSdk2TransportMock extends AwsSdk2Transport {
public AwsSdk2TransportMock(
@Nonnull SdkHttpClient httpClient,
@Nonnull String host,
@Nonnull String signingServiceName,
@Nonnull Region signingRegion,
@CheckForNull AwsSdk2TransportOptions options) {
super(httpClient, null, host, signingServiceName, signingRegion, options);
}
@Override
public <RequestT> OpenSearchRequestBodyBuffer prepareRequestBody(RequestT request,
Endpoint<RequestT, ?, ?> endpoint, TransportOptions options) throws IOException {
return super.prepareRequestBody(request, endpoint, options);
}
@Override
public <RequestT> SdkHttpFullRequest prepareRequest(RequestT request, Endpoint<RequestT, ?, ?> endpoint,
TransportOptions options, OpenSearchRequestBodyBuffer body) {
return super.prepareRequest(request, endpoint, options, body);
}
}
where the prepareRequest
and prepareRequestBody
in AwsSdk2Transport are protected
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Looking at your implementation I think that was not a good suggestion, sorry. I say we open a bug for this and call it a day instead of adding the child class.
Signed-off-by: Vacha Shah <vachshah@amazon.com>
8d74b0a
to
e88486c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think while the inheritance here works around the problem, it's a bad idea. This test is way too complicated for something as simple as a header.
@VachaShah I vote to remove testContentShaHeader
(and the new mock class), and manually confirm that ./gradlew integrationTest --tests "*AwsSdk2SearchIT*" -Dtests.awsSdk2support.domainHost=$ENDPOINT -Dtests.awsSdk2support.domainRegion=us-west-2 ...
works for both managed OpenSearch and Serverless.
@reta do you have any other ideas?
import javax.annotation.CheckForNull; | ||
import javax.annotation.Nonnull; | ||
|
||
public class AwsSdk2TransportMock extends AwsSdk2Transport { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that "mock" is correct naming here. That implies something that "fakes" a certain operation, which this does not.
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Sorry for delay, I thought about simple approach with test interceptor [1]:
By adding one, we should be able to verify presence of all headers before request is sent off. |
Sure! I removed the test and the sub class. For confirmation, I have manually tested this change against both OpenSearch and OpenSearch Serverless with the integ tests and a client app. |
Actually, for OpenSearch Serverless, wait for refresh policy does not work.
Thats interesting. I will add this test in an upcoming PR. Thank you @reta! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m good with this. We can improve tests and what not later.
Actually, I wrote too fast. The integ tests for serverless might need to be modified since there are certain things that don't work for Serverless like wait for refresh policy. Manual testing it with a client app works successfully. |
@VachaShah you can remove the refresh policy altogether, that’s what I did in the demos make sure dev guide says all the right things |
Removing the refresh policy address a problem but then other issues stem up. Integ tests would need to be modified to work with Serverless. |
Do they pass with a sleep, or at least once? Since we aren’t running them with automation rn, I would consider that good enough. |
They passed with a sleep once without the refresh policy. But keep failing intermittently. |
Signed-off-by: Vacha Shah <vachshah@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Serverless may have a cold start thing going on causing intermittent delays, I would ignore that.
Signed-off-by: Vacha Shah <vachshah@amazon.com>
a6fdd26
to
66c4eb1
Compare
@dblock Review again please? Github dismissed your approval 🤦🏼♀️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reta good with you?
unused -> addDoc(client, "id3", doc3)); | ||
|
||
// wait for the document to index | ||
Thread.sleep(1000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a recipe for flakyness ....
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-339-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 41beeda73115bf000bcda05a94e107491a84dd1b
# Push it to GitHub
git push --set-upstream origin backport/backport-339-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
…oject#339) * Adding X-Amz-Content-Sha256 header for signed requests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding CHANGELOG entry Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding documentation comment Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Removing refresh policy for integ tests for Sigv4 Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the developer guide Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: Vacha Shah <vachshah@amazon.com>
For sure. It’s not that simple and those tests don’t run. We’ll queue up getting infrastructure and repeatable tests for managed and serverless for all clients. Cc: @wbeckler |
* Adding X-Amz-Content-Sha256 header for signed requests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding CHANGELOG entry Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding documentation comment Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Removing refresh policy for integ tests for Sigv4 Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the developer guide Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: Vacha Shah <vachshah@amazon.com>
…oject#339) * Adding X-Amz-Content-Sha256 header for signed requests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding CHANGELOG entry Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding documentation comment Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Removing refresh policy for integ tests for Sigv4 Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the developer guide Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com>
* Adding x-amz-content-sha256 header for signed requests (#339) * Adding X-Amz-Content-Sha256 header for signed requests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding CHANGELOG entry Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding documentation comment Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Removing refresh policy for integ tests for Sigv4 Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the developer guide Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fix issue with completion suggester being parsed as term suggester. (#347) * Fix issue with completion suggester being parsed as term suggester. This commit fixes the issue where a completion suggester search request was being parsed as a term suggester and failing due to "Missing required property 'TermSuggestOption.score'" This solution was originally proposed by Github user @apatrida Signed-off-by: Dan Hart <git@danielhart.me> * Remove commented code Signed-off-by: Dan Hart <git@danielhart.me> * Fix format of changelog item Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Update USER_GUIDE to use exact AWS brand names (#352) Minor update to use exact brand names. "OpenSearch" is rather overloaded to I find it less confusing to be precise in the naming. Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bumps Jackson from 2.14.1 to 2.14.2 (#357) Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bulk UpdateOperation misses upsert options (#353) * Bulk UpdateOperation misses upsert options Signed-off-by: Andriy Redko <andriy.redko@aiven.io> * Fix formatting Signed-off-by: Andriy Redko <andriy.redko@aiven.io> --------- Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Upgrading compatibility to opensearch 2.5 (#367) * Upgrading compatibility to opensearch 2.5 Signed-off-by: amitai stern <123amitai@gmail.com> * latest 2.4 version Signed-off-by: amitai stern <123amitai@gmail.com> * keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0 Signed-off-by: amitai stern <123amitai@gmail.com> --------- Signed-off-by: amitai stern <123amitai@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add option to set columns into cat indices request Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Feature/range aggregation fix 369 (#370) * test: create integration tests for date_range and range aggregation (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> * fix: add a missing key propery to the RangeBucket (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> * docs: add CHANGELOG entry (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> --------- Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fixing integration tests (#375) * Fixing integration tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the test with a non-exact check Signed-off-by: Vacha Shah <vachshah@amazon.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Adding bulk request example in user guide (#373) Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fixing issue when tracktotalhits is disabled (#372) * Fixing issue when tracktotalhits is disabled Signed-off-by: Vacha Shah <vachshah@amazon.com> * Update Changelog Signed-off-by: Vacha Shah <vachshah@amazon.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * changes changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (#390) * Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update changelog Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add 2PR approval to release workflow (#383) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Adding an example to use raw JSON class instead of target classes (#385) Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Update Gradle to 8.0.2 (#392) Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add "mappings" field to IndexSettings object (#382) Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Created untriaged issue workflow. (#364) Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403) * Bump io.github.classgraph:classgraph in /java-client Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update changelog Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add buffered lookahead for Jackson (#338) Signed-off-by: luneo7 <luneo7@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Mask env values for snapshots (#411) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * option to set headers and sort into cat requests Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * fix test Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * fix changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add cat examples into USER_GUID Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: amitai stern <123amitai@gmail.com> Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com> Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: luneo7 <luneo7@gmail.com> Co-authored-by: Vacha Shah <vachshah@amazon.com> Co-authored-by: Danny Hart <git@danielhart.me> Co-authored-by: Andrew Ross <andrross@amazon.com> Co-authored-by: Andriy Redko <andriy.redko@aiven.io> Co-authored-by: amitai stern <123amitai@gmail.com> Co-authored-by: szczepanczykd <48957041+szczepanczykd@users.noreply.github.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Co-authored-by: Ilya Lukyanovich <ilya.lukyanovich@dataart.com> Co-authored-by: Lucas Rogerio Caetano Ferreira <luneo7@users.noreply.github.com>
* Adding x-amz-content-sha256 header for signed requests (#339) * Adding X-Amz-Content-Sha256 header for signed requests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding CHANGELOG entry Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding documentation comment Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Removing refresh policy for integ tests for Sigv4 Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the developer guide Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fix issue with completion suggester being parsed as term suggester. (#347) * Fix issue with completion suggester being parsed as term suggester. This commit fixes the issue where a completion suggester search request was being parsed as a term suggester and failing due to "Missing required property 'TermSuggestOption.score'" This solution was originally proposed by Github user @apatrida Signed-off-by: Dan Hart <git@danielhart.me> * Remove commented code Signed-off-by: Dan Hart <git@danielhart.me> * Fix format of changelog item Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Update USER_GUIDE to use exact AWS brand names (#352) Minor update to use exact brand names. "OpenSearch" is rather overloaded to I find it less confusing to be precise in the naming. Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bumps Jackson from 2.14.1 to 2.14.2 (#357) Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bulk UpdateOperation misses upsert options (#353) * Bulk UpdateOperation misses upsert options Signed-off-by: Andriy Redko <andriy.redko@aiven.io> * Fix formatting Signed-off-by: Andriy Redko <andriy.redko@aiven.io> --------- Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Upgrading compatibility to opensearch 2.5 (#367) * Upgrading compatibility to opensearch 2.5 Signed-off-by: amitai stern <123amitai@gmail.com> * latest 2.4 version Signed-off-by: amitai stern <123amitai@gmail.com> * keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0 Signed-off-by: amitai stern <123amitai@gmail.com> --------- Signed-off-by: amitai stern <123amitai@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add option to set columns into cat indices request Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Feature/range aggregation fix 369 (#370) * test: create integration tests for date_range and range aggregation (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> * fix: add a missing key propery to the RangeBucket (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> * docs: add CHANGELOG entry (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> --------- Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fixing integration tests (#375) * Fixing integration tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the test with a non-exact check Signed-off-by: Vacha Shah <vachshah@amazon.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Adding bulk request example in user guide (#373) Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fixing issue when tracktotalhits is disabled (#372) * Fixing issue when tracktotalhits is disabled Signed-off-by: Vacha Shah <vachshah@amazon.com> * Update Changelog Signed-off-by: Vacha Shah <vachshah@amazon.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * changes changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (#390) * Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update changelog Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add 2PR approval to release workflow (#383) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Adding an example to use raw JSON class instead of target classes (#385) Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Update Gradle to 8.0.2 (#392) Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add "mappings" field to IndexSettings object (#382) Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Created untriaged issue workflow. (#364) Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403) * Bump io.github.classgraph:classgraph in /java-client Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update changelog Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add buffered lookahead for Jackson (#338) Signed-off-by: luneo7 <luneo7@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Mask env values for snapshots (#411) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * option to set headers and sort into cat requests Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * fix test Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * fix changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add cat examples into USER_GUID Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: amitai stern <123amitai@gmail.com> Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com> Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: luneo7 <luneo7@gmail.com> Co-authored-by: Vacha Shah <vachshah@amazon.com> Co-authored-by: Danny Hart <git@danielhart.me> Co-authored-by: Andrew Ross <andrross@amazon.com> Co-authored-by: Andriy Redko <andriy.redko@aiven.io> Co-authored-by: amitai stern <123amitai@gmail.com> Co-authored-by: szczepanczykd <48957041+szczepanczykd@users.noreply.github.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Co-authored-by: Ilya Lukyanovich <ilya.lukyanovich@dataart.com> Co-authored-by: Lucas Rogerio Caetano Ferreira <luneo7@users.noreply.github.com> (cherry picked from commit 938170a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Adding x-amz-content-sha256 header for signed requests (#339) * Adding X-Amz-Content-Sha256 header for signed requests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding CHANGELOG entry Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding documentation comment Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments Signed-off-by: Vacha Shah <vachshah@amazon.com> * Removing refresh policy for integ tests for Sigv4 Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the developer guide Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fix issue with completion suggester being parsed as term suggester. (#347) * Fix issue with completion suggester being parsed as term suggester. This commit fixes the issue where a completion suggester search request was being parsed as a term suggester and failing due to "Missing required property 'TermSuggestOption.score'" This solution was originally proposed by Github user @apatrida Signed-off-by: Dan Hart <git@danielhart.me> * Remove commented code Signed-off-by: Dan Hart <git@danielhart.me> * Fix format of changelog item Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Update USER_GUIDE to use exact AWS brand names (#352) Minor update to use exact brand names. "OpenSearch" is rather overloaded to I find it less confusing to be precise in the naming. Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bumps Jackson from 2.14.1 to 2.14.2 (#357) Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bulk UpdateOperation misses upsert options (#353) * Bulk UpdateOperation misses upsert options Signed-off-by: Andriy Redko <andriy.redko@aiven.io> * Fix formatting Signed-off-by: Andriy Redko <andriy.redko@aiven.io> --------- Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Upgrading compatibility to opensearch 2.5 (#367) * Upgrading compatibility to opensearch 2.5 Signed-off-by: amitai stern <123amitai@gmail.com> * latest 2.4 version Signed-off-by: amitai stern <123amitai@gmail.com> * keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0 Signed-off-by: amitai stern <123amitai@gmail.com> --------- Signed-off-by: amitai stern <123amitai@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add option to set columns into cat indices request Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Feature/range aggregation fix 369 (#370) * test: create integration tests for date_range and range aggregation (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> * fix: add a missing key propery to the RangeBucket (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> * docs: add CHANGELOG entry (#369) Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> --------- Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fixing integration tests (#375) * Fixing integration tests Signed-off-by: Vacha Shah <vachshah@amazon.com> * Updating the test with a non-exact check Signed-off-by: Vacha Shah <vachshah@amazon.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Adding bulk request example in user guide (#373) Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Fixing issue when tracktotalhits is disabled (#372) * Fixing issue when tracktotalhits is disabled Signed-off-by: Vacha Shah <vachshah@amazon.com> * Update Changelog Signed-off-by: Vacha Shah <vachshah@amazon.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * changes changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (#390) * Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update changelog Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add 2PR approval to release workflow (#383) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Adding an example to use raw JSON class instead of target classes (#385) Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Update Gradle to 8.0.2 (#392) Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add "mappings" field to IndexSettings object (#382) Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Created untriaged issue workflow. (#364) Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403) * Bump io.github.classgraph:classgraph in /java-client Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update changelog Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Add buffered lookahead for Jackson (#338) Signed-off-by: luneo7 <luneo7@gmail.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * Mask env values for snapshots (#411) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * option to set headers and sort into cat requests Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * fix test Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * fix changelog Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> * add cat examples into USER_GUID Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> --------- Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: amitai stern <123amitai@gmail.com> Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com> Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: luneo7 <luneo7@gmail.com> Co-authored-by: Vacha Shah <vachshah@amazon.com> Co-authored-by: Danny Hart <git@danielhart.me> Co-authored-by: Andrew Ross <andrross@amazon.com> Co-authored-by: Andriy Redko <andriy.redko@aiven.io> Co-authored-by: amitai stern <123amitai@gmail.com> Co-authored-by: szczepanczykd <48957041+szczepanczykd@users.noreply.github.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Co-authored-by: Ilya Lukyanovich <ilya.lukyanovich@dataart.com> Co-authored-by: Lucas Rogerio Caetano Ferreira <luneo7@users.noreply.github.com> (cherry picked from commit 938170a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Adding x-amz-content-sha256 header for signed requests (#339) * Adding X-Amz-Content-Sha256 header for signed requests * Adding CHANGELOG entry * Adding documentation comment * Adding tests * Addressing comments * Addressing comments * Removing refresh policy for integ tests for Sigv4 * Updating the developer guide * Fix issue with completion suggester being parsed as term suggester. (#347) * Fix issue with completion suggester being parsed as term suggester. This commit fixes the issue where a completion suggester search request was being parsed as a term suggester and failing due to "Missing required property 'TermSuggestOption.score'" This solution was originally proposed by Github user @apatrida * Remove commented code * Fix format of changelog item * Update USER_GUIDE to use exact AWS brand names (#352) Minor update to use exact brand names. "OpenSearch" is rather overloaded to I find it less confusing to be precise in the naming. * Bumps Jackson from 2.14.1 to 2.14.2 (#357) * Bulk UpdateOperation misses upsert options (#353) * Bulk UpdateOperation misses upsert options * Fix formatting --------- * Upgrading compatibility to opensearch 2.5 (#367) * Upgrading compatibility to opensearch 2.5 * latest 2.4 version * keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0 --------- * add option to set columns into cat indices request * add changelog * changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests * Feature/range aggregation fix 369 (#370) * test: create integration tests for date_range and range aggregation (#369) * fix: add a missing key propery to the RangeBucket (#369) * docs: add CHANGELOG entry (#369) --------- * Fixing integration tests (#375) * Fixing integration tests * Updating the test with a non-exact check --------- * Adding bulk request example in user guide (#373) * Fixing issue when tracktotalhits is disabled (#372) * Fixing issue when tracktotalhits is disabled * Update Changelog --------- * changes changelog * Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (#390) * Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... * Update changelog --------- * Add 2PR approval to release workflow (#383) * Adding an example to use raw JSON class instead of target classes (#385) * Update Gradle to 8.0.2 (#392) * Add "mappings" field to IndexSettings object (#382) * Created untriaged issue workflow. (#364) * Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403) * Bump io.github.classgraph:classgraph in /java-client Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157. - [Release notes](https://github.com/classgraph/classgraph/releases) - [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157) --- updated-dependencies: - dependency-name: io.github.classgraph:classgraph dependency-type: direct:production update-type: version-update:semver-patch ... * Update changelog --------- * Add buffered lookahead for Jackson (#338) * Mask env values for snapshots (#411) * option to set headers and sort into cat requests * fix test * fix changelog * add cat examples into USER_GUID --------- (cherry picked from commit 938170a) Signed-off-by: Vacha Shah <vachshah@amazon.com> Signed-off-by: MarinaRazumovsky <rzm.mrn@gmail.com> Signed-off-by: Dan Hart <git@danielhart.me> Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: amitai stern <123amitai@gmail.com> Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com> Signed-off-by: dblock <dblock@amazon.com> Signed-off-by: luneo7 <luneo7@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Vacha Shah <vachshah@amazon.com> Co-authored-by: Danny Hart <git@danielhart.me> Co-authored-by: Andrew Ross <andrross@amazon.com> Co-authored-by: Andriy Redko <andriy.redko@aiven.io> Co-authored-by: amitai stern <123amitai@gmail.com> Co-authored-by: szczepanczykd <48957041+szczepanczykd@users.noreply.github.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Co-authored-by: Ilya Lukyanovich <ilya.lukyanovich@dataart.com> Co-authored-by: Lucas Rogerio Caetano Ferreira <luneo7@users.noreply.github.com>
Description
X-Amz-Content-Sha256 is a required header for Serverless.
Tested this code against both Managed Service and Serverless.
Issues Resolved
#287
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.