-
- Downloads
Fix: orchestrator flow (#2699)
## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here --> Necessary before we can implement retries. ## Description <!--- Describe your changes in detail --> I noticed that we weren't handling the flow quite right when errors occurred. This PR fixes that and adds interceptor-based tests to ensure things are working right. I still think we could use more tests but the PR is already quite large. ## Testing <!--- Please describe in detail how you tested your changes --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> This PR contains tests ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Showing
- aws/rust-runtime/aws-inlineable/src/apigateway_interceptors.rs 4 additions, 3 deletions...ust-runtime/aws-inlineable/src/apigateway_interceptors.rs
- aws/rust-runtime/aws-runtime/src/invocation_id.rs 13 additions, 12 deletionsaws/rust-runtime/aws-runtime/src/invocation_id.rs
- aws/rust-runtime/aws-runtime/src/recursion_detection.rs 10 additions, 7 deletionsaws/rust-runtime/aws-runtime/src/recursion_detection.rs
- aws/rust-runtime/aws-runtime/src/request_info.rs 10 additions, 12 deletionsaws/rust-runtime/aws-runtime/src/request_info.rs
- aws/rust-runtime/aws-runtime/src/user_agent.rs 19 additions, 15 deletionsaws/rust-runtime/aws-runtime/src/user_agent.rs
- aws/sra-test/integration-tests/aws-sdk-s3/tests/interceptors.rs 6 additions, 4 deletions...a-test/integration-tests/aws-sdk-s3/tests/interceptors.rs
- aws/sra-test/integration-tests/aws-sdk-s3/tests/util.rs 3 additions, 3 deletionsaws/sra-test/integration-tests/aws-sdk-s3/tests/util.rs
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/endpoint/generators/EndpointParamsInterceptorGenerator.kt 5 additions, 2 deletions...endpoint/generators/EndpointParamsInterceptorGenerator.kt
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/protocol/ResponseDeserializerGenerator.kt 6 additions, 4 deletions...ithy/generators/protocol/ResponseDeserializerGenerator.kt
- rust-runtime/aws-smithy-runtime-api/src/client/interceptors.rs 293 additions, 198 deletions...runtime/aws-smithy-runtime-api/src/client/interceptors.rs
- rust-runtime/aws-smithy-runtime-api/src/client/interceptors/context.rs 231 additions, 553 deletions...aws-smithy-runtime-api/src/client/interceptors/context.rs
- rust-runtime/aws-smithy-runtime-api/src/client/interceptors/context/phase.rs 53 additions, 0 deletions...ithy-runtime-api/src/client/interceptors/context/phase.rs
- rust-runtime/aws-smithy-runtime-api/src/client/interceptors/context/wrappers.rs 253 additions, 0 deletions...y-runtime-api/src/client/interceptors/context/wrappers.rs
- rust-runtime/aws-smithy-runtime-api/src/client/interceptors/error.rs 5 additions, 0 deletions...e/aws-smithy-runtime-api/src/client/interceptors/error.rs
- rust-runtime/aws-smithy-runtime-api/src/client/orchestrator.rs 13 additions, 2 deletions...runtime/aws-smithy-runtime-api/src/client/orchestrator.rs
- rust-runtime/aws-smithy-runtime-api/src/client/orchestrator/error.rs 117 additions, 0 deletions...e/aws-smithy-runtime-api/src/client/orchestrator/error.rs
- rust-runtime/aws-smithy-runtime-api/src/client/retries.rs 4 additions, 5 deletionsrust-runtime/aws-smithy-runtime-api/src/client/retries.rs
- rust-runtime/aws-smithy-runtime-api/src/type_erasure.rs 32 additions, 2 deletionsrust-runtime/aws-smithy-runtime-api/src/type_erasure.rs
- rust-runtime/aws-smithy-runtime/src/client/interceptor.rs 5 additions, 4 deletionsrust-runtime/aws-smithy-runtime/src/client/interceptor.rs
- rust-runtime/aws-smithy-runtime/src/client/orchestrator.rs 467 additions, 154 deletionsrust-runtime/aws-smithy-runtime/src/client/orchestrator.rs
Loading
Please register or sign in to comment