Commit Graph

351 Commits

Author SHA1 Message Date
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
Ross McFarland 9e4c120c3e StringIO compat 2019-07-29 08:44:35 -07:00
Ross McFarland a9d0eef3ba Lots of text_type 2019-07-29 08:37:47 -07:00
Ross McFarland ee0efc5b3a Explicit list-ification 2019-07-29 08:35:11 -07:00
Shnayder Anton 57c96cf40f Add Selectel as OctoDNS provider 2019-07-22 18:20:11 +03:00
Kitten King daa6fecc9b Fix Typos 2019-07-20 06:31:05 +00:00
Ross McFarland 30dc13d21d Merge branch 'master' into modernize-python2-code 2019-07-19 10:22:28 -07:00
Ross McFarland dbf4396dfb Merge branch 'master' into master 2019-07-19 08:55:03 -07:00
Ross McFarland a116df3745 Merge branch 'master' into master 2019-07-19 08:14:00 -07:00
Basir Jamil 5a741eb600 fastdns: fixed typo in test fixture 2019-07-18 21:16:34 +00:00
Basir Jamil 1596add89f fastdns provider:
- added unit tests for apply functions
- added another json config file for this
- 100% code coverage reached
2019-07-18 20:46:05 +00:00
Basir Jamil 852d607715 fastdns:
- added test cases for test_apply, testing for basic create, update, delete records
- added previous state json file in test/fixtures to do the above
2019-07-18 01:07:42 +00:00
Basir Jamil 41c5986144 Fastdns provider:
- added test cases for testin populate()
- added mock request responses in tests/fixtures/
- updated requirements.txt to require edgegrid-python
2019-07-17 23:43:56 +00:00
Ross McFarland 1d3db3ade8 Merge branch 'master' into modernize-python2-code 2019-07-16 07:14:31 -07:00