-
Notifications
You must be signed in to change notification settings - Fork 6
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
Request Compression #144
Request Compression #144
Conversation
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.
Looking good so far!
codegen/smithy-ruby-codegen-test/model/component-test/compression.smithy
Outdated
Show resolved
Hide resolved
codegen/smithy-ruby-codegen-test/model/component-test/compression.smithy
Show resolved
Hide resolved
I'm failing the Hearth CI / rubocop check since line 20 on request_compression.rb is just two characters extra long. I don't think I can change the config names as it is strictly outlined in the Smithy Docs. Am I able to exclude this specific file under rubocop's Layout/LineLength? LMK your thoughts. Thanks in advance for looking into the structure! 😄 |
You can either rename the internal variable to be shorter or split the line after = |
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.
Looks good so far.
codegen/smithy-ruby-codegen-test/model/component-test/compression.smithy
Outdated
Show resolved
Hide resolved
...degen/src/main/java/software/amazon/smithy/ruby/codegen/integrations/RequestCompression.java
Outdated
Show resolved
Hide resolved
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.
Nice - Looks good!!
...tware/amazon/smithy/ruby/codegen/test/protocol/fakeprotocol/generators/BuilderGenerator.java
Show resolved
Hide resolved
codegen/smithy-ruby-codegen-test/integration-specs/compression_spec.rb
Outdated
Show resolved
Hide resolved
commit 976e262 Author: Juli Tera <57973151+jterapin@users.noreply.github.com> Date: Fri Jul 21 19:06:23 2023 -0400 Add Request Compression support (#144) commit 289f04c Author: Alex Woods <alexwoo@amazon.com> Date: Thu Jul 20 11:25:26 2023 -0700 Fix bug in RubyDirectedCodegen that causes errors module to not be generated when no modeled errors on model. commit 8573788 Author: Alex Woods <alexwoo@amazon.com> Date: Tue Jul 18 10:18:54 2023 -0700 Cleanup rails-json httpPayloadMember commit 7309629 Author: Matt Muller <53055821+mullermp@users.noreply.github.com> Date: Mon Jul 17 13:18:00 2023 -0400 Add validation to Config and Params (#145)
Description of changes:
Implementing Compression middleware - a middleware that compresses the request body and adds the
Content-Encoding
headerBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.