Ross McFarland
b7e75b700d
Fix code coverage for NS1
6 years ago
Ross McFarland
27fd659089
NS1 support for TCP healthchecks
6 years ago
Pavan Chandrashekar
d93ddddaf2
Simplify logic, remove unnecessary coverage tests
6 years ago
Pavan Chandrashekar
4c21cfd85b
Address review comments. Introduce catchall poolname
6 years ago
Pavan Chandrashekar
a64ec99de8
Support reuse of default pool in rules in Ns1Provider
6 years ago
Pavan Chandrashekar
72eaf0d3af
Handle non-existent zones case in extra_changes
6 years ago
Pavan Chandrashekar
a7f01d4c76
Support upgrade of filter chain
6 years ago
Pavan Chandrashekar
837d3ed4ae
Address review comments, add explicit filter chains
6 years ago
Pavan Chandrashekar
d7c55f15c3
Handle dynamic filter chains better
6 years ago
Pavan Chandrashekar
d68a034a57
Update country filter conditionally instead of changing the default
6 years ago
rupa deadwyler
0df33a5165
changes per review
* Add a client_config option to Ns1Provider, for passing additional
options or overrides to the SDK config. This should allow NS1 users
some flexibility without bothering octodns so much.
* Expose the actual SDK client object as `_client` on the Ns1Client wrapper
* Do my best to clarify options and defaults in the Ns1Provider docstring
6 years ago
rupa deadwyler
003754edc7
NS1 provider: support rate-limiting strategy
Adds a "parallelism" argument to the NS1 Provider. If set, we analyze
response headers and attempt to avoid 429 responses.
6 years ago
Pavan Chandrashekar
0daa37578b
Address review comments
6 years ago
Pavan Chandrashekar
71a277f6ad
NS1 doesn't support region OC. Handle it explicitly in the provider
6 years ago
Ross McFarland
ee73cacb5e
DRY up new NS1 dynamic tests
6 years ago
Ross McFarland
c7be8fada2
Add a way to configure Ns1Provider monitoring regions for records
6 years ago
Ross McFarland
f91cac3ef4
coverage for Ns1Client notifylist methods
6 years ago
Ross McFarland
eefd83de80
Coverage for Ns1Provider _extra_changes
6 years ago
Ross McFarland
69cd30a183
Coverage for Ns1Provider _data_for_dynamic_A
6 years ago
Ross McFarland
561a6ca2d9
Test coverage for Ns1Provider _params_for_dynamic_A
6 years ago
Ross McFarland
0f298e51be
Tests for ns1 _monitors_gc
6 years ago
Ross McFarland
4022155b72
Method naming consistency, test coverage for feeds and monitors
6 years ago
Ross McFarland
8ec84f49bb
More ns1 code coverage, bug fix for monitor matching
6 years ago
Ross McFarland
d7053a2e92
Ns1Client tests for caching and minor logic
6 years ago
Ross McFarland
55f4194daf
Functionally complement and untested ns1 dynamic support
6 years ago
Ross McFarland
7a472506cc
Implement _data_for_dynamic_A w/some related refactoring
6 years ago
Ross McFarland
4fd2daa8a9
Implement reworked NS1 retry mechinism
6 years ago
Ross McFarland
c4987f1a09
s/nsone/ns1/g
6 years ago
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.
6 years ago
Josef Vogt
7c34247e3b
Fix 'server error: zone not found' for NS1 provider
6 years ago
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.
6 years ago
Ross McFarland
0acff67faa
Ns1Provider python3
6 years ago
Kitten King
daa6fecc9b
Fix Typos
6 years ago
Adam Smith
be6019f119
change all answers from NS1 to absolute for types that require it
8 years ago
Ross McFarland
3ea78af8e1
pycodestyle updates, mostly escaping \, couple r's, ignore break on binary
8 years ago
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.
8 years ago
Ross McFarland
3ef91326e8
Implement populate exists for Ns1Provider
8 years ago
Steve Coursen
b06c14deae
Fix E501 line too long
8 years ago
Steve Coursen
dc43c43866
Increased test coverage
8 years ago
Steve Coursen
481bbe10f6
add geo support for ns1
8 years ago
Steve Coursen
61a86810ee
add geo support for ns1
8 years ago
Steve Coursen
ce5ecc52e3
fix broken test by updating the actual format of the answers
8 years ago
Adam Smith
00aaa3bf4d
set default value for nsone cname to None, use first value if non-zero length
8 years ago
Ross McFarland
c24c793bcb
CAA unit tests for provider support
8 years ago
Ross McFarland
818c1e9cc6
Unit tests for ns1 escape handling and fix
9 years ago
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.
9 years ago
Ross McFarland
d9806e851f
NS1 RateLimitException, just sleep for e.period
9 years ago
Ross McFarland
a44b82c2c7
NS1 rate_limit_delay param, unit tests for rate limit handling
9 years ago
Ross McFarland
1340aee8a9
MX RFC1035 - priority -> preference & value -> exchange
9 years ago
Ross McFarland
bc1736bc39
NS1, add Delete support, fix apply create, flush out tests to 100%
9 years ago