Commit Graph
447 Commits
Author SHA1 Message Date
Ross McFarland 10ad30e7ea map( to [...] 2019-10-09 15:41:18 -07:00
Ross McFarland 00fa158c59 filter -> [... if]s 2019-10-09 15:31:27 -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 90a60d3dbd TransipProvider python3 2019-10-07 07:53:08 -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 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 db77d5b3bb python3 compat for azure provider 2019-10-05 07:58:38 -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 71f215932d whitespaces around operators to make /script/lint happy again 2019-09-25 14:51:53 +02:00
Maikel Poot 9cab94a83a Some codestyle review changes. 2019-09-25 14:45:41 +02:00
Maikel Poot cebc629a06 Enforce values as basic string to fix yaml export error
Fixes an exception in combination
with the yamlProvider as a target
The unmodified value object isn't
represented as string while
building the yaml output
The Exception:
  yaml.representer.RepresenterError:
  ('cannot represent an object', 1.1.1.1)

yaml/representer.py@249,
represent_undefined()
2019-09-25 14:33:49 +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
Anton Shnayder 74a87d4933 Add debug for _include_changes 2019-08-01 13:33:53 +03:00
Shnayder Anton 76a9d358e8 Add more explicit constant name for pagination
Co-Authored-By: Ross McFarland <[email protected]>
2019-08-01 13:08:27 +03:00
Ross McFarland e16d335121 Merge branch 'master' into master 2019-07-29 12:33:22 -07:00
Basir b2bd91a998 fastdns: resolved naming mismatch for exception class 2019-07-29 13:25:26 -04:00
Basir 55210ebb05 fastdns: fixed naming in AkamaiClient init 2019-07-29 13:09:18 -04:00
Basir 93e1e0939d fastdns: fixed how exceptions are handled in _request 2019-07-29 13:07:04 -04:00
Basir a85d4e25ed fastdns: refactored AkamaiClientNotFound exception class 2019-07-29 13:03:23 -04: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
Basir Jamil 41a5d78728 fastdns: refactored how exceptions are handled 2019-07-19 20:53:34 +00:00
basirjamil 91e7ac6d36 Update octodns/provider/fastdns.py
Co-Authored-By: Ross McFarland <[email protected]>
2019-07-19 14:33:23 -04:00
basirjamil d53eb7ad8e Update octodns/provider/fastdns.py
Co-Authored-By: Ross McFarland <[email protected]>
2019-07-19 14:32:58 -04:00
basirjamil 76e799873e Update octodns/provider/fastdns.py
Co-Authored-By: Ross McFarland <[email protected]>
2019-07-19 14:32:51 -04: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 79dd35f7a7 fastdns: fixed an issue with handling spaces in SPF records 2019-07-18 17:56:18 -04:00
Basir Jamil e3f6c4c711 fastdns: changed sshfp to convert text to lowercase, since akamai changes to caps 2019-07-18 21:07:14 +00:00
Basir Jamil 3e3bfe5cf5 fastdns provider fixes:
- fixed exception handling in AkamaiClientException
- fixed zone_records and zone_recordset fxns in AkamaiProvider and AkamaiClient
- refactored _build_zone_config in AkamaiProvider
2019-07-17 23:34:58 +00:00