Commit Graph

364 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 9e948aa4c8 Validate Record name & fqdn length 2019-10-18 10:36:14 -07:00
Ross McFarland 2b33f95c17 EqualityTupleMixin impl, use everywhere we were doing tuple compares 2019-10-14 08:13:07 -07:00
Ross McFarland c788681e7c Merge remote-tracking branch 'origin/master' into python3-start 2019-10-14 07:25:07 -07:00
Adam Smith baa1f7472f ConstellixProvider: change ALIAS to CNAME to allow record deletion 2019-10-13 21:07:30 -07:00
Ross McFarland 00fa158c59 filter -> [... if]s 2019-10-09 15:31:27 -07:00
Ross McFarland 3f487197df Manager throws ManagerException rather than Exception, more robust tests 2019-10-09 15:09:37 -07: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 7867ad2093 Use six's StringIO, remove compat.py 2019-10-07 09:40:23 -07:00
Ross McFarland be06a5da94 Make sure map and keys are lists when needed 2019-10-07 09:31:15 -07: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 bfa1fadde9 Fix CloudflareProvider test ordering assumptions 2019-10-07 08:47:01 -07:00
Ross McFarland db8de8acb8 Fix Manager ordering assumptions 2019-10-07 08:41:28 -07:00
Ross McFarland 14063186f3 YamlProvider python3, tests 2019-10-07 07:56:10 -07:00
Ross McFarland 90a60d3dbd TransipProvider python3 2019-10-07 07:53:08 -07:00
Ross McFarland 25768c476f SelectelProvider python3 (tests) 2019-10-07 07:48:55 -07:00
Ross McFarland c82e94792e RackspaceProvider python3, value types hashing 2019-10-07 07:47:43 -07:00
Ross McFarland aeb70b2488 Route53Provider python 3, rm incf.countryutils, lots of cmp removal and ordering fixes 2019-10-05 20:01:53 -07:00
Ross McFarland 0acff67faa Ns1Provider python3 2019-10-05 14:38:58 -07:00
Ross McFarland 37543e6a76 OvhProvider python3 2019-10-05 09:18:42 -07:00
Ross McFarland 484a5118f4 MythicBeastsProvider python3 2019-10-05 09:10:59 -07:00
Ross McFarland 0078198500 GoogleCloud python3 2019-10-05 08:57:14 -07:00
Ross McFarland 47199fdfab FastDNS python3 2019-10-05 08:49:19 -07:00
Ross McFarland 742305c20b six.moves.urllib.parse 2019-10-05 08:48:57 -07:00
Ross McFarland 470dd82202 python 3 support for constellix provider 2019-10-05 08:03:43 -07:00
Ross McFarland f252aa3b98 Merge remote-tracking branch 'origin/master' into python3-start 2019-10-05 07:20:47 -07:00
Maikel Poot 637c254778 Handling PR Review comments.
- Added Specific exceptions
- str() instead of concatenation
- removed zone not found warning
2019-09-30 13:18:57 +02:00
Maikel Poot a035ee8c84 Give the option to use a private_key_file.
Transip sdk also supports a private_key_file,
so forwarding that option to the provider.
Could be handy in combination with k8s secrets.
2019-09-26 14:49:14 +02:00
Maikel Poot 59e44b865c Added detection for edge case that could happen with existing records where the value is '@'
TransIP allows '@' as value to alias the root record.
'@' was on populate appended with the zone, which trigger an unneeded update.
'@' => '@.example.com.' -> 'example.com'
This fix will stop the unneeded update
2019-09-25 11:24:13 +02:00
Maikel Poot 7056d29907 fixes lint warning. 2019-09-25 08:18:59 +02:00
Maikel Poot bb3f0c0b4a Added TransIP provider and tests 2019-09-25 07:01:06 +02:00
William Blackie dd4238ad6b fix split calls in Route53Provider to not specify ' ' parameter so they can tolerate multiple sequential separators 2019-08-19 17:06:23 +10:00
Adam Smith c0315d25ba add Constellix Provider 2019-08-06 22:49:18 -07:00
Ross McFarland de2421aed4 Merge branch 'master' into add-selectel 2019-08-01 05:24:50 -07:00
Ross McFarland e16d335121 Merge branch 'master' into master 2019-07-29 12:33:22 -07:00
Ross McFarland ce67824015 Handle python3 sourcing of urlparse 2019-07-29 08:48:17 -07:00
Ross McFarland da09d9baaf Modernize object cmp methods 2019-07-29 08:45:49 -07:00