Skip to content
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

feat: refactor nodejs retry config loader #1438

Merged
merged 3 commits into from
Aug 17, 2020

Conversation

AllanZhengYP
Copy link
Contributor

Description of changes:

Similar to #1437 but update retry configs (e.g. maxAttemps, retryMode). Deprecate @aws-sdk/retry-config-provider in favor of @aws-sdk/node-config-provider.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

codecov-commenter commented Aug 14, 2020

Codecov Report

Merging #1438 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1438      +/-   ##
==========================================
- Coverage   79.69%   79.62%   -0.08%     
==========================================
  Files         302      296       -6     
  Lines       11402    11377      -25     
  Branches     2438     2427      -11     
==========================================
- Hits         9087     9059      -28     
- Misses       2315     2318       +3     
Impacted Files Coverage Δ
packages/middleware-retry/src/configurations.ts 90.62% <0.00%> (-9.38%) ⬇️
protocol_tests/aws-ec2/runtimeConfig.ts 100.00% <0.00%> (ø)
protocol_tests/aws-json/runtimeConfig.ts 100.00% <0.00%> (ø)
protocol_tests/aws-query/runtimeConfig.ts 100.00% <0.00%> (ø)
protocol_tests/aws-restxml/runtimeConfig.ts 100.00% <0.00%> (ø)
packages/config-resolver/src/RegionConfig.ts 100.00% <0.00%> (ø)
protocol_tests/aws-restjson/runtimeConfig.ts 100.00% <0.00%> (ø)
packages/middleware-retry/src/defaultStrategy.ts 100.00% <0.00%> (ø)
...kages/retry-config-provider/src/defaultProvider.ts
...kages/region-provider/src/fromSharedConfigFiles.ts
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d79645...ed724f4. Read the comment docs.

@alexforsyth
Copy link
Contributor

LGMT, if we're not using the package anymore i think we should be good

@alexforsyth alexforsyth self-requested a review August 17, 2020 17:36
Copy link
Contributor

@alexforsyth alexforsyth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@AllanZhengYP AllanZhengYP merged commit 5478012 into aws:master Aug 17, 2020
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants