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

Endpoint provider #7418

Merged
merged 1 commit into from
Nov 11, 2022
Merged

Conversation

stealthycoin
Copy link
Contributor

@stealthycoin stealthycoin commented Nov 9, 2022

Pulling this PR into cli v2.

boto/botocore#2737
Also pulls in: boto/botocore#2762 and boto/botocore#2767

@codecov-commenter
Copy link

codecov-commenter commented Nov 10, 2022

Codecov Report

Merging #7418 (19887be) into endpoints-2.0 (8e3fcb2) will increase coverage by 0.02%.
The diff coverage is 98.40%.

@@                Coverage Diff                @@
##           endpoints-2.0    #7418      +/-   ##
=================================================
+ Coverage          93.71%   93.74%   +0.02%     
=================================================
  Files                351      352       +1     
  Lines              36175    36486     +311     
  Branches            5202     5261      +59     
=================================================
+ Hits               33903    34205     +302     
- Misses              1648     1654       +6     
- Partials             624      627       +3     
Impacted Files Coverage Δ
awscli/botocore/endpoint_provider.py 98.34% <98.34%> (ø)
awscli/botocore/compat.py 93.52% <100.00%> (+0.04%) ⬆️
awscli/botocore/exceptions.py 99.08% <100.00%> (+0.01%) ⬆️
awscli/botocore/utils.py 95.25% <100.00%> (+0.01%) ⬆️
awscli/s3transfer/tasks.py 91.66% <0.00%> (-3.34%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

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

Looks fine. For this PR, we should also consider pulling in this PR: boto/botocore#2767 as it looks like it makes some standalone improvements to the tests that appear to be circled back on. We can probably just add that port as a separate commit to this PR.

Creates a new endpoint provider class which is used for endpoints 2.0
resolution.

This commit also pulls in some changes that the new resolver depends
on that had been made in botocore/compat and botocore/utils that had
not been synced into cli v2's botocore version.
Copy link
Contributor

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

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

Looks good. 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants