-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add DefaultEndpointResolver to the orchestrator #2577
Commits on Apr 13, 2023
-
Add default endpoint resolver to the orchestrator
This commit adds `DefaultEndpointResolver` to the orchestrator. The type implements the `EndpointResolver` trait and takes over the work previously done by `make_operation` and `SmithyEndpointStage`.
Configuration menu - View commit details
-
Copy full SHA for 1e2efa7 - Browse repository at this point
Copy the full SHA 1e2efa7View commit details -
Store default endpoint resolver and params builder
This commit places `DefaultEndpointResolver` and endpoint params builder in the config bag from within `ServiceRuntimePlugin`. Notice we put a builder, not endpoint params, because full construction of endpoint params requires additional values to be set from an operation input, which will later be handled by an interceptor.
Configuration menu - View commit details
-
Copy full SHA for bf75cd7 - Browse repository at this point
Copy the full SHA bf75cd7View commit details -
Add endpoint params interceptors per operation
This commit generates interceptors for configuring endpoint params in the orchestrator. There are two interceptors: one is to update params builder with operation specific information, e.g. a bucket name, and the other is to convert the params builder to the actual endpoint params by calling `.build`.
Configuration menu - View commit details
-
Copy full SHA for a23a547 - Browse repository at this point
Copy the full SHA a23a547View commit details -
Register interceptors for configuring endpoint params
This commit adds a codegen decorator to register interceptors to `OperationRuntimePlugin`.
Configuration menu - View commit details
-
Copy full SHA for 3973f0f - Browse repository at this point
Copy the full SHA 3973f0fView commit details -
Use
DefaultEndpointResolver
insra_test
This commit replaces `StaticUriEndpointResolver` with `DefaultEndpointResolver` in `sra_test` to ensure the test continues to work end-to-end.
Configuration menu - View commit details
-
Copy full SHA for ae25016 - Browse repository at this point
Copy the full SHA ae25016View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3b3d50 - Browse repository at this point
Copy the full SHA f3b3d50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b4087a - Browse repository at this point
Copy the full SHA 0b4087aView commit details -
Allow
clippy::useless_conversion
conditionallyThis commit allows the `clippy::useless_conversion` only when `enableNewSmithyRuntime` is true. When we stop rendering an endpoint prefix in `make_operation` after completingly switching over to the orchestrator world, we can remove the attribute.
Configuration menu - View commit details
-
Copy full SHA for cb9b461 - Browse repository at this point
Copy the full SHA cb9b461View commit details