-
Notifications
You must be signed in to change notification settings - Fork 910
[Default Configuration Part 5]: Move default configuration related classes to aws-core #2816
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
[Default Configuration Part 5]: Move default configuration related classes to aws-core #2816
Conversation
core/aws-core/src/main/java/software/amazon/awssdk/awscore/client/builder/AwsClientBuilder.java
Outdated
Show resolved
Hide resolved
...ore/src/main/java/software/amazon/awssdk/awscore/client/builder/AwsDefaultClientBuilder.java
Outdated
Show resolved
Hide resolved
@@ -170,8 +169,7 @@ | |||
AWS_MAX_ATTEMPTS("aws.maxAttempts", null), | |||
|
|||
/** | |||
* Which {@link DefaultsMode} to use, case insensitive | |||
* @see DefaultsMode | |||
* Which {@code DefaultsMode} to use, case insensitive | |||
*/ | |||
AWS_DEFAULTS_MODE("aws.defaultsMode", null), |
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.
Does this still belong in sdk-core
?
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.
We don't actually have an AwsSystemSetting
. AWS related system properties such as AWS_ACCESS_KEY_ID
are in this class already, so I kept it here to be consistent.
Kudos, SonarCloud Quality Gate passed! |
* Add support to generate DefaultsMode and implement configuration resolution (#2781) * [Default Configuration Part 2]:Implement auto mode discovery (#2786) * Implement auto mode discovery * Fix tests on CodeBuild * Address feedback * Add comment and rename misnamed constant * [Default Configuration Part 3]: add defaults from defaults mode to the configuration resolution chain (#2803) * Wiring up configuration * Address comments * Add test * Update debug statement and add singleton for AttributeMap * Add tlsNegotiationTimeout (#2814) * [Default Configuration Part 5]: Move default configuration related classes to aws-core (#2816) * Move default configuration related classes to aws-core * Remove extra space and fix build * [Default Configuration Part 6]: apply default s3 us-east-1 regional setting (#2825) * Add s3 regional setting * Rename option name * Fix checkstyle * Update sdk-default-configuraiton.json * Add changelog entry
Description
sdk-core
toaws-core
defaultsMode
fromClientOverrideConfiguration
.defaultsMode
to AwsClientBuilderAwsDefaultClientBuilder