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: glacier checksum middleware #789

Merged
merged 8 commits into from Jan 30, 2020

Conversation

srchase
Copy link
Contributor

@srchase srchase commented Jan 24, 2020

Adds addChecksumHeadersMiddleware which computes and sets x-amz-content-sha256 and x-amz-sha-256-tree-hash headers for Glacier client

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

@aws-sdk-js-automation

This comment has been minimized.

@aws-sdk-js-automation

This comment has been minimized.

@aws-sdk-js-automation

This comment has been minimized.

@codecov-io
Copy link

codecov-io commented Jan 24, 2020

Codecov Report

Merging #789 into smithy-codegen will increase coverage by 0.13%.
The diff coverage is 98.43%.

Impacted file tree graph

@@                Coverage Diff                 @@
##           smithy-codegen     #789      +/-   ##
==================================================
+ Coverage           92.24%   92.38%   +0.13%     
==================================================
  Files                 144      147       +3     
  Lines                2851     2915      +64     
  Branches              489      509      +20     
==================================================
+ Hits                 2630     2693      +63     
- Misses                221      222       +1
Impacted Files Coverage Δ
...s/middleware-sdk-glacier/src/account-id-default.ts 100% <ø> (ø) ⬆️
packages/body-checksum-node/src/index.ts 100% <100%> (ø)
...middleware-sdk-glacier/src/add-checksum-headers.ts 100% <100%> (ø)
packages/body-checksum-browser/src/index.ts 100% <100%> (ø)
packages/middleware-sdk-glacier/src/index.ts 100% <100%> (ø) ⬆️
...kages/middleware-sdk-glacier/src/configurations.ts 38.46% <50%> (+2.09%) ⬆️

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 c19bb80...0967d93. Read the comment docs.

Copy link
Member

@trivikr trivikr left a comment

Choose a reason for hiding this comment

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

Node.js changes LGTM

@aws-sdk-js-automation

This comment has been minimized.

@aws-sdk-js-automation

This comment has been minimized.

Copy link
Contributor

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you for applying the changes. I just have 2 more small issues.

packages/body-checksum-node/src/index.ts Outdated Show resolved Hide resolved
@aws-sdk-js-automation

This comment has been minimized.

@aws-sdk-js-automation

This comment has been minimized.

@aws-sdk-js-automation
Copy link

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@srchase srchase merged commit 2b64381 into aws:smithy-codegen Jan 30, 2020
@srchase srchase deleted the glacier-middleware branch January 30, 2020 23:30
@lock
Copy link

lock bot commented Feb 7, 2020

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.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 7, 2020
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

6 participants