Skip to content

[LIBCLOUD-1001] Update Cloudflare DNS driver to API v4 - #1292

Merged
c-w merged 5 commits into
apache:trunkfrom
CatalystCode:1001_update-cloudflare-dns-v4
Jul 17, 2019
Merged

c-w merged 5 commits into
apache:trunkfrom
CatalystCode:1001_update-cloudflare-dns-v4

Conversation

@c-w

@c-w c-w commented May 30, 2019 •

Copy link
Copy Markdown
Member

Update Cloudflare DNS driver to API v4

Description

As discussed in LIBCLOUD-1001, Cloudflare turned off the old JSON API and replaced it with the new v4 API. This pull request updates the Cloudflare DNS driver to use the new API.

Note that in order to keep the implementation of the v4 driver streamlined, none of the existing ex_ methods were migrated to the new API.

Note that LIBCLOUD-994 is also fixed by the new driver implementation.

Status

Checklist (tick everything that applies)

@codecov-io

codecov-io commented May 30, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #1292 into trunk will increase coverage by <.01%.
The diff coverage is 96.32%.

Impacted file tree graph

@@            Coverage Diff            @@
##           trunk    #1292      +/-   ##
=========================================
+ Coverage   85.9%   85.91%   +<.01%     
=========================================
  Files        365      365              
  Lines      75137    75056      -81     
  Branches    6858     6861       +3     
=========================================
- Hits       64547    64484      -63     
+ Misses      7825     7809      -16     
+ Partials    2765     2763       -2
Impacted Files Coverage Δ
libcloud/test/dns/test_cloudflare.py 100% <100%> (+1.42%) ⬆️
libcloud/dns/drivers/cloudflare.py 95.18% <93.87%> (+5.75%) ⬆️

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 817fdeb...d394d41. Read the comment docs.

@c-w

c-w commented May 30, 2019

Copy link
Copy Markdown
Member Author

Tagging @Kami as the original author of the Cloudflare DNS driver.

@Kami

Kami commented Jun 22, 2019

Copy link
Copy Markdown
Member

@c-w Thanks for the contribution.

Since it's a bigger change, signed ICLA is required (http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes).

@c-w

c-w commented Jul 15, 2019

Copy link
Copy Markdown
Member Author

Thanks for the patience @Kami. The ICLA is now signed.

Comment thread libcloud/dns/drivers/cloudflare.py Resolved
Comment thread libcloud/dns/drivers/cloudflare.py Resolved
Comment thread libcloud/dns/drivers/cloudflare.py Resolved
@c-w
c-w requested a review from Kami July 16, 2019 02:52

@Kami Kami left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

@Kami

Kami commented Jul 17, 2019

Copy link
Copy Markdown
Member

I think it would be good to release v2.6.0 in the near future once this PR and a couple of other ones are merged.

Do you want to try the release process for v2.6.0?

@c-w
c-w merged commit 59bb977 into apache:trunk Jul 17, 2019
@c-w
c-w deleted the 1001_update-cloudflare-dns-v4 branch July 17, 2019 20:08
@c-w

c-w commented Jul 17, 2019

Copy link
Copy Markdown
Member Author

Thanks for the review @Kami and yes, I'd be happy to go through the release flow for v2.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants