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: add opt-in support for S3 us-east-1 regional endpoint #2960

Merged
merged 6 commits into from
Nov 27, 2019

Conversation

AllanZhengYP
Copy link
Contributor

Checklist
  • npm run test passes
  • changelog is added, npm run add-change
  • run bundle exec rake docs:api and inspect doc/latest/index.html if documentation is changed

@codecov-io
Copy link

codecov-io commented Nov 15, 2019

Codecov Report

Merging #2960 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2960      +/-   ##
=========================================
+ Coverage   96.99%     97%   +<.01%     
=========================================
  Files         307     308       +1     
  Lines        9076    9103      +27     
  Branches     1677    1688      +11     
=========================================
+ Hits         8803    8830      +27     
  Misses        273     273
Impacted Files Coverage Δ
lib/config.js 87.64% <ø> (ø) ⬆️
lib/config_regional_endpoint.js 100% <100%> (ø)
lib/services/s3.js 98.24% <100%> (+0.06%) ⬆️
lib/services/sts.js 100% <100%> (ø) ⬆️

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 212e2e3...f8fa5b4. Read the comment docs.

@AllanZhengYP AllanZhengYP requested a review from trivikr November 18, 2019 22:27
Comment on lines 3205 to 3207
expect(['regional', 'legacy'].indexOf(
request.service.config.s3UsEast1RegionalEndpoint
) >= 0).to.equal(true);
Copy link
Member

Choose a reason for hiding this comment

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

nit: change to:

expect(request.service.config.s3UsEast1RegionalEndpoint).to.equal(values[i].toLowerCase())

@AllanZhengYP AllanZhengYP merged commit 2f3826c into aws:master Nov 27, 2019
@lock
Copy link

lock bot commented Dec 5, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 5, 2019
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