Skip to content

Commit

Permalink
Update PR after internaly sync up about the approach
Browse files Browse the repository at this point in the history
  • Loading branch information
sugmanue committed Oct 3, 2023
1 parent 084e6b3 commit a5d2fc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public <InputT extends SdkRequest, OutputT extends SdkResponse, ReturnT> Complet

@Override
protected <InputT extends SdkRequest, OutputT extends SdkResponse> ExecutionContext
invokeInterceptorsAndCreateExecutionContext(ClientExecutionParams<InputT, OutputT> executionParams,
SdkClientConfiguration clientConfiguration) {
invokeInterceptorsAndCreateExecutionContext(ClientExecutionParams<InputT, OutputT> executionParams) {
SdkClientConfiguration clientConfiguration = resolveRequestConfiguration(executionParams);
return AwsExecutionContextBuilder.invokeInterceptorsAndCreateExecutionContext(executionParams, clientConfiguration);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public <InputT extends SdkRequest, OutputT extends SdkResponse, ReturnT> ReturnT

@Override
protected <InputT extends SdkRequest, OutputT extends SdkResponse> ExecutionContext
invokeInterceptorsAndCreateExecutionContext(ClientExecutionParams<InputT, OutputT> executionParams,
SdkClientConfiguration clientConfiguration) {
invokeInterceptorsAndCreateExecutionContext(ClientExecutionParams<InputT, OutputT> executionParams) {
SdkClientConfiguration clientConfiguration = resolveRequestConfiguration(executionParams);
return AwsExecutionContextBuilder.invokeInterceptorsAndCreateExecutionContext(executionParams, clientConfiguration);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,6 @@ private static InterceptorContext runModifyHttpRequestAndHttpContentInterceptors
invokeInterceptorsAndCreateExecutionContext(
ClientExecutionParams<InputT, OutputT> params) {
SdkClientConfiguration clientConfiguration = resolveRequestConfiguration(params);
return invokeInterceptorsAndCreateExecutionContext(params, clientConfiguration);
}

// This method is only called from tests, since the subclasses in aws-core override it.
protected <InputT extends SdkRequest, OutputT extends SdkResponse> ExecutionContext
invokeInterceptorsAndCreateExecutionContext(
ClientExecutionParams<InputT, OutputT> params,
SdkClientConfiguration clientConfiguration) {
SdkRequest originalRequest = params.getInput();

ExecutionAttributes executionAttributes = params.executionAttributes();
Expand Down

0 comments on commit a5d2fc9

Please sign in to comment.