-
Notifications
You must be signed in to change notification settings - Fork 947
Remove obsolete useSra customization config #6476
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
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.
Note that the test fixtures are still under sra folder. I will move them in a separate PR to make code review easier
| */ | ||
| @Generated("software.amazon.awssdk:codegen") | ||
| @SdkInternalApi | ||
| abstract class DefaultH2BaseClientBuilder<B extends H2BaseClientBuilder<B, C>, C> extends AwsDefaultClientBuilder<B, C> { |
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.
This test fixture was previously on non-SRA code path, hence the change
|
|
||
| import java.util.ArrayList; | ||
| import java.util.Collections; | ||
| import java.util.HashMap; |
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.
This test fixture was previously on non-SRA code path, hence the change
| try { | ||
| apiCallMetricCollector.reportMetric(CoreMetric.SERVICE_ID, "Database Service"); | ||
| apiCallMetricCollector.reportMetric(CoreMetric.OPERATION_NAME, "opWithSigv4UnSignedPayloadAndStreaming"); | ||
| if (!isSignerOverridden(clientConfiguration)) { |
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.
This test fixture was previously on non-SRA code path, hence the change
33dc89c to
8b6276c
Compare
|
|
This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one. |



Motivation and Context
• Removed the obsolete useSraAuth configuration flag that defaulted to true over a year ago
• Eliminated all conditional logic checking this flags
• Removed legacy test fixtures that were no longer used
• Simplified code generation by keeping only the SRA code paths