-
Notifications
You must be signed in to change notification settings - Fork 619
feat: Migrate and apply ApplyMd5BodyChecksumMiddleware #493
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
Conversation
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
...t-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddBuiltinPlugins.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
private static boolean needsMd5Dep(ServiceShape service) { | ||
String serviceId = service.getTrait(ServiceTrait.class).map(ServiceTrait::getSdkId).orElse(""); |
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.
minor: This seems like something that could be moved out into a helper method somewhere
...pescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddMd5Hash.java
Outdated
Show resolved
Hide resolved
/** | ||
* Adds Md5Hash if needed. | ||
*/ | ||
public class AddMd5Hash implements TypeScriptIntegration { |
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.
AddMd5HashDependency
?
...ipt-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddStreamHasher.java
Outdated
Show resolved
Hide resolved
...ipt-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddStreamHasher.java
Outdated
Show resolved
Hide resolved
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
...t-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddBuiltinPlugins.java
Outdated
Show resolved
Hide resolved
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
author Chase Coalwell <[email protected]> 1575504809 -0800 committer Chase Coalwell <[email protected]> 1576015767 -0800 feat: add md5 body checksum middleware fix: plugin name fix: options name feat: add unsignedPayloadMiddleware feat: remove unsignedPayloadMiddleware feat: add Md5Hash dependencies feat: add md5 body checksum middleware fix: plugin name fix: options name feat: add unsignedPayloadMiddleware feat: remove unsignedPayloadMiddleware fix: logic to include md5 feat: add StreamHasher dependencies fix: update imports fix: missing commas feat: add ApplyMd5BodyChecksum plugin fix: codegen improvements fix: property name
0e5009c
to
f2b50fe
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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.
Approve again!
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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. |
Migrates and applies ApplyMd5BodyChecksumMiddleware
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.