1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

87 Commits

Author SHA1 Message Date
Ross McFarland
f91cac3ef4 coverage for Ns1Client notifylist methods 2020-01-06 10:13:58 -08:00
Ross McFarland
eefd83de80 Coverage for Ns1Provider _extra_changes 2020-01-06 10:04:07 -08:00
Ross McFarland
69cd30a183 Coverage for Ns1Provider _data_for_dynamic_A 2020-01-06 09:18:10 -08:00
Ross McFarland
561a6ca2d9 Test coverage for Ns1Provider _params_for_dynamic_A 2020-01-06 08:31:35 -08:00
Ross McFarland
0f298e51be Tests for ns1 _monitors_gc 2019-12-13 13:22:54 -08:00
Ross McFarland
4022155b72 Method naming consistency, test coverage for feeds and monitors 2019-12-13 13:07:32 -08:00
Ross McFarland
8ec84f49bb More ns1 code coverage, bug fix for monitor matching 2019-12-13 12:39:14 -08:00
Ross McFarland
d7053a2e92 Ns1Client tests for caching and minor logic 2019-12-13 11:58:18 -08:00
Ross McFarland
55f4194daf Functionally complement and untested ns1 dynamic support 2019-12-12 13:23:35 -08:00
Ross McFarland
7a472506cc Implement _data_for_dynamic_A w/some related refactoring 2019-12-10 13:50:11 -08:00
Ross McFarland
4fd2daa8a9 Implement reworked NS1 retry mechinism 2019-12-09 08:56:55 -08:00
Ross McFarland
c4987f1a09 s/nsone/ns1/g 2019-12-09 08:13:09 -08:00
Ross McFarland
f599d91902 Update ns1 to 0.13.0 and use newer API methods
Results in lots of churn in the tests, but actually for the better as it
doesn't have to jump through nearly as many hoops to mock things now.
2019-12-09 08:09:41 -08:00
Ross McFarland
00d65af6f1 Merge remote-tracking branch 'origin/master' into python3-start 2019-10-09 14:35:14 -07:00
Josef Vogt
7c34247e3b Fix 'server error: zone not found' for NS1 provider 2019-10-09 16:08:29 +02:00
Ross McFarland
7958233fcc Consistently order changes :-/
Many providers make their modifications in the order that changes comes. In
python3 this causes things to be inconsistently ordered. That mostly works, but
could result in hidenbugs (e.g. Route53Provider's batching could be completely
different based on the order it sees changes.) Sorting changes consistently
is a good thing and it shouldn't hurt situations where providers are already
doing their own ordering. All-in-all more consistent is better and we have to be
explicit with python 3.
2019-10-07 09:17:48 -07:00
Ross McFarland
0acff67faa Ns1Provider python3 2019-10-05 14:38:58 -07:00
Kitten King
daa6fecc9b Fix Typos 2019-07-20 06:31:05 +00:00
Adam Smith
be6019f119 change all answers from NS1 to absolute for types that require it 2018-06-13 22:44:45 -07:00
Ross McFarland
3ea78af8e1 pycodestyle updates, mostly escaping \, couple r's, ignore break on binary 2018-04-15 09:58:36 -07:00
Tommy Yang
b000c07c80 Skip unsupported records for NS1 & DNSimple
Implements the unsupported records skipping fix [proposed by ross](https://github.com/github/octodns/issues/176#issuecomment-359294960) in #176 for DNSimple and additionally for NS1.

Fixes #176 and also the NS1 version of it (`AttributeError: 'Ns1Provider' object has no attribute '_data_for_DNSKEY'`) that currently affect domains that have DNSSEC enabled.
2018-04-09 05:50:22 -07:00
Ross McFarland
3ef91326e8 Implement populate exists for Ns1Provider 2018-01-21 14:35:32 -08:00
Steve Coursen
b06c14deae Fix E501 line too long 2018-01-08 12:28:25 -05:00
Steve Coursen
dc43c43866 Increased test coverage 2018-01-08 10:02:27 -05:00
Steve Coursen
481bbe10f6 add geo support for ns1 2017-12-28 16:01:56 -05:00
Steve Coursen
61a86810ee add geo support for ns1 2017-12-28 16:01:22 -05:00
Steve Coursen
ce5ecc52e3 fix broken test by updating the actual format of the answers 2017-11-14 13:14:03 -05:00
Adam Smith
00aaa3bf4d set default value for nsone cname to None, use first value if non-zero length 2017-10-27 09:53:38 -07:00
Ross McFarland
c24c793bcb CAA unit tests for provider support 2017-08-26 15:28:09 -07:00
Ross McFarland
0cb284ad0c Merge branch 'master' into add-record-perf 2017-07-21 08:37:48 -07:00
Ross McFarland
818c1e9cc6 Unit tests for ns1 escape handling and fix 2017-07-05 14:28:01 -07:00
Ross McFarland
908698da49 Fix major performance issue with add_record O(N^2)
Before, 1-2k record took ~10s and more than that was just painful, 5k took
forever. This records things to keep a dict of nodes with a set of records so
that we can quickly "jump" to the point we're looking for without having to
search. 10k records now takes ~5s.
2017-07-02 18:23:45 -07:00
Ross McFarland
d9806e851f NS1 RateLimitException, just sleep for e.period 2017-07-02 10:45:58 -07:00
Ross McFarland
a44b82c2c7 NS1 rate_limit_delay param, unit tests for rate limit handling 2017-06-28 04:11:46 -07:00
Ross McFarland
1340aee8a9 MX RFC1035 - priority -> preference & value -> exchange 2017-06-23 13:04:38 -07:00
Ross McFarland
bc1736bc39 NS1, add Delete support, fix apply create, flush out tests to 100% 2017-05-23 09:36:15 -07:00
Ross McFarland
06e17d043b Corrected handling of ns1 errors, Ns1Provider.populate tests 2017-05-22 17:33:31 -07:00