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

feat(client-s3): add md5 header for operations with httpChecksumRequired trait #2507

Merged
merged 7 commits into from
Jun 24, 2021

Conversation

AllanZhengYP
Copy link
Contributor

Description

Previously S3 and S3Control has customization that adding the stream hashing and the md5 dependencies to certain allow-listed operations. In this change, we remove there customizations, and rely on the httpChecksumRequired Smithy trait to generate these dependencies. The old MD5 customization is renamed to SQS customization because it only handles SQS requirement to have the MD5 dependency.

Testing

Unit-test and manual test on S3, S3Control, and SQS

Additional context

Related to smithy-lang/smithy-typescript#363


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@2e662cd). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2507   +/-   ##
=======================================
  Coverage        ?   59.54%           
=======================================
  Files           ?      494           
  Lines           ?    26403           
  Branches        ?     6269           
=======================================
  Hits            ?    15721           
  Misses          ?    10682           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e662cd...f0a0b95. Read the comment docs.

@github-actions
Copy link

github-actions bot commented Jul 9, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 9, 2021
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.

None yet

3 participants