-
Notifications
You must be signed in to change notification settings - Fork 214
Add server RPC v2 CBOR support #2544
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
Merged
Merged
Changes from 82 commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
b9016ae
Add RPCv2 support
david-perez f1b7508
Small fixes
david-perez e0e0366
Fix e2e tests
david-perez bf0157a
Merge conflict
david-perez 853eb89
Clear RUSTDOCFLAGS
david-perez 9dc23ab
Merge remote-tracking branch 'upstream/main' into smithy-rpc-v2
david-perez b7d7d60
Fix CborSerializerGeneratorTest
david-perez 7337901
Add clarifying comment to upgrade.rs
david-perez ab66015
Fix request `Content-Type` header checking in servers
david-perez 89004f7
ServerProtocolTestGenerator
david-perez 0bc7e23
Address some TODOs
david-perez ce621fd
save work
david-perez cf99fd1
Merge remote-tracking branch 'upstream/main' into smithy-rpc-v2
david-perez 04e1838
fix merge conflict, fix Content-Type
david-perez c1b9741
misc fixes
david-perez c5f1df5
Trying to make CborSerializerGeneratorTest use the upstream protocol …
david-perez 3ac44d0
Comment in OperationNormalizer
david-perez e84ce5f
Refactor and DRY up protocol test generation
david-perez 9c1b290
Cherry-pick this over to protocol test improvements branch
david-perez 97db4a4
rename file; going to put protocol test generation in CodegenDecorato…
david-perez b923bf8
save work
david-perez 975fc67
CborSerializerAndParserGeneratorSerdeRoundTripIntegrationTest finally…
david-perez 010bc1b
CborSerializerAndParserGeneratorSerdeRoundTripIntegrationTest works d…
david-perez 465c86d
Unions with unit variants compile
david-perez b9b34ec
Unknown union variants
david-perez 4064898
DRY up collection decoding
david-perez dc8452d
Assert token stream ends
david-perez 6ace376
Add TODO about accepting any body when operation input is empty/non-e…
david-perez 75407f9
Address some TODOs, serialize __type correctly; now going to work on …
david-perez 16ca188
Improve broken protocol test case generation
david-perez 1b6b284
Merge remote-tracking branch 'upstream/main' into smithy-rpc-v2
david-perez a503606
Fix serialization of __type
david-perez a8ba4fb
fixes in rpcv2Cbor_extras
david-perez f37b7f6
Merge remote-tracking branch 'upstream/main' into smithy-rpc-v2
david-perez 8da2298
./gradlew ktlintFormat
david-perez ed17a10
Remove TODO I don't understand
david-perez 9d2e56a
Adjust error message when bodies don't match in `aws-smithy-protocol-…
david-perez 974f214
Instantiate with dev-dependencies appropriately
david-perez fecbb11
Specify service shape when loading model explicitly; revert this
david-perez df55249
Revert "Specify service shape when loading model explicitly; revert t…
david-perez b0309ad
Do not discover smithy-protocol-tests Smithy models when loading mode…
david-perez b6ff293
Fix CborSerializerAndParserGeneratorSerdeRoundTripIntegrationTest, we…
david-perez 2be4a16
Misc changes in protocol test generation
david-perez 909f8f1
unfix json_rpc10 test
david-perez 8dc346b
fixes
david-perez 665c8b5
address TODO
david-perez d75c9ec
address Clippy warnings
david-perez 96c740b
Set aws-smithy-cbor version to 0.60.0
david-perez 83bc91a
fix bug encoding cbor maps
david-perez 65b841a
Failing tests, broken hyperlink
david-perez 72daede
clippy, formatting
david-perez 6853b96
./gradlew ktlintFormat
david-perez 8c65e7a
AWS JSON 1.x server request specs can be `&'static str`s
david-perez 61f927a
AWS JSON 1.x server request specs can be `&'static str`s
david-perez ec50332
Update cbor-diag to avoid minimal-versions issues
david-perez 46671d1
Add aws-smithy-cbor to smithy runtime, start versioning at 0.60.6
david-perez a1a823c
Remove sample RPCv2 service
david-perez bdb5747
fix
david-perez 9f40fa5
fix typo
david-perez a8de362
Merge branch 'davidpz/aws-json-1x-server-request-specs-can-be-static-…
david-perez 2f89061
RpcV2CborServerPopulatesDefaultsWhenMissingInRequestBody expect fail
david-perez bc65c63
fix
david-perez 6189878
Merge remote-tracking branch 'upstream/main' into davidpz/aws-json-1x…
david-perez 792c215
bump aws-smithy-http-server
david-perez a65ab89
Merge branch 'davidpz/aws-json-1x-server-request-specs-can-be-static-…
david-perez f4ab98b
derive thiserror::Error for RPC v2 runtime errors
david-perez 6c6384e
Add some context to TODOs
david-perez 132f8b4
Address more TODOs
david-perez c5794c7
Bump crate version numbers
david-perez 3816f7a
Merge remote-tracking branch 'upstream/main' into smithy-rpc-v2
david-perez e33b6b9
Update .cargo-deny-config.toml
david-perez 6781dca
Add and modify router docs
david-perez 8f14505
Rename RpcV2Router to RpcV2CborRouter
david-perez a98524b
rpc_v2 module -> rpc_v2_cbor module
david-perez e36704e
More renaming to be rpcv2Cbor, not rpcv2
david-perez c5440be
Address last TODO?
david-perez 805c177
fixes
david-perez af4d992
Merge remote-tracking branch 'upstream/main' into smithy-rpc-v2
david-perez ccde860
fixes
david-perez c31356c
fixes
david-perez 48def05
copyright headers and other lint fixes
david-perez 03ba0a8
./gradlew ktlintFormat
david-perez ce7d830
Address comments
david-perez ccdbea1
Merge remote-tracking branch 'upstream/main' into smithy-rpc-v2
david-perez 7684ec1
Address comments round 2
david-perez 1bf474d
Bump aws-smithy-protocol-test to 0.62.0
david-perez d485266
./gradlew ktlintFormat
david-perez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.