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

Add china northwest driver about aws #1241

Closed
wants to merge 7 commits into from
Closed

Conversation

yangkang55
Copy link

@yangkang55 yangkang55 commented Sep 25, 2018

Add china northwest driver about aws

Description

in order to use this in chia ningxia province s3 service ,so
Add china northwest driver about aws
Add china northwest type about aws
Add china northwest providers about aws

Status

done, ready for review

Checklist (tick everything that applies)

  • Code linting (required, can be done after the PR checks)
  • Documentation
  • Tests
  • ICLA (required for bigger changes)

@codecov-io
Copy link

codecov-io commented Sep 25, 2018

Codecov Report

Merging #1241 into trunk will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##            trunk    #1241      +/-   ##
==========================================
+ Coverage   86.26%   86.27%   +<.01%     
==========================================
  Files         351      351              
  Lines       67962    67971       +9     
  Branches     5987     5987              
==========================================
+ Hits        58630    58643      +13     
+ Misses       6888     6885       -3     
+ Partials     2444     2443       -1
Impacted Files Coverage Δ
libcloud/storage/providers.py 50% <ø> (ø) ⬆️
libcloud/storage/types.py 100% <100%> (ø) ⬆️
libcloud/storage/drivers/s3.py 89.08% <100%> (+0.17%) ⬆️
libcloud/test/compute/test_ec2.py 97.88% <0%> (+0.16%) ⬆️
libcloud/test/compute/test_upcloud.py 91.39% <0%> (+1.32%) ⬆️

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 bad71c4...d521034. Read the comment docs.

@vdloo
Copy link
Member

vdloo commented Sep 25, 2018

You could add a test here, but that only exists for a couple of the currently available S3StorageDrivers anyway so I'm not sure if that's a big deal.

@@ -37,6 +37,8 @@
('libcloud.storage.drivers.s3', 'S3USGovWestStorageDriver'),
Provider.S3_CN_NORTH:
('libcloud.storage.drivers.s3', 'S3CNNorthStorageDriver'),
Provider.S3_CN_NORTHQWEST:
Copy link
Member

Choose a reason for hiding this comment

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

Was this Q intended? Or did you perhaps mean S3_CN_NORTHWEST instead of S3_CN_NORTHQWEST here?

Copy link
Author

Choose a reason for hiding this comment

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

sorry, it‘s spelling mistakes,i will add the test and check my code repeatedly;
And, in my company, the s3 service is in cn-northwest region, the technicist of aws told us servers in this region will raise continuously. without that change, using libcloud to access s3 object in cn-northwest won't work. so this is a important deal for us! Sorry for my mistake again!

@asfgit asfgit closed this in f54cd84 Sep 25, 2018
@vdloo
Copy link
Member

vdloo commented Sep 25, 2018

@yangkang55 Thanks! Merged in trunk. ✨

@pquentin
Copy link
Contributor

Thanks @vdloo!

asfgit pushed a commit that referenced this pull request Dec 4, 2018
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.

None yet

4 participants