Commit Graph

326 Commits

Author SHA1 Message Date
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
Ross McFarland 003e8651ce Drop dynamic record value weight to 0-16
That's all Dyn supports and it's cleaner to match it than to scale dyn since
we'd lose precision we can't get back during populate.
2019-07-16 06:14:45 -07:00
cclauss 158add8eb6 Modernize Python 2 code to prepare for Python 3 2019-07-12 02:11:43 +02:00
Rhosyn Celyn ddbad2498f Fixes for escaping TXT properly, extra test coverage 2019-07-02 13:25:30 +01:00
Basir 550f5b14a3 started fastdns testing 2019-06-26 16:19:52 -04:00
Rhosyn Celyn 402f645acd Additional test on compile_commands for deletion 2019-06-17 18:59:16 +01:00
Rhosyn Celyn 9dc44c3f2c Clean up and simplification of tests and command generation, bug fix for multiple sub domain NS records and handling of creation/deletion 2019-06-17 16:34:58 +01:00
Rhosyn Celyn 9b8e74c5dd Small clean up to populate and exceptions for requests 2019-06-14 15:09:41 +01:00
Theo Julienne 1c08a4d58e Adjust Route53 change ordering to strictly order by dependency. 2019-05-28 14:03:33 +10:00
Ross McFarland b7e3b9c8b0 Merge branch 'master' into rework-route53-dynamic-extra-hc-verify 2019-05-15 07:59:32 -07:00
ItsAlex 53c2b8d194 fix: prevent digital ocean provider to crash if records type is not supported 2019-05-15 14:11:49 +02:00
Ross McFarland ee0416de9a Cover more Route53 extra check edge cases and ensure it tests what we're after 2019-05-14 20:32:36 -07:00
Ross McFarland d49bf26220 Handle Route53 extra check much more thoroughly by breaking down name
Also adds thorough tests
2019-05-14 20:25:14 -07:00
Rhosyn Celyn d6fb3310d5 Applied suggested modifications 2019-05-14 16:12:53 +01:00
Rhosyn Celyn fd63150cac Added tests, clean up and small modifications 2019-05-13 16:51:38 +01:00
Ross McFarland 1c60ed018b Make sure both set-id and name match when finding rrset 2019-04-29 09:49:40 -07:00
Ross McFarland e4fbcf1090 Improved Route53Provider deltion for Dynamic Value too 2019-04-29 09:02:45 -07:00
Ross McFarland 2df87d7dfe Improve Route53 DELETE reliability using existing rrset 2019-04-29 08:52:56 -07:00
Ross McFarland a8555a732f Merge branch 'master' into tinydns-additions 2019-04-20 08:18:35 -07:00
Peter Dave Hello 68580ac25b Normalize CNAME/ALIAS/PTR value to lower-case 2019-04-17 23:43:01 +08:00
Andy Hawkins c89b0dbabd Add tests for escaping semicolons in TinyDNS TXT records 2019-04-17 11:35:51 +01:00
Andy Hawkins 3b98f3e0e1 Add tests for TinyDNS AAAA records 2019-04-12 21:30:45 +01:00
Andy Hawkins 1892489e77 Add tests for TinyDNS TXT records 2019-04-12 20:41:02 +01:00
Christian Funkhouser b1d0b5aecc Merge branch 'master' into split-the-yaml 2019-04-09 09:02:56 -04:00
Ross McFarland 9f63a508e4 Address TODO about Dyn TD's and subzones to fix bug
We hit this bug internally. It generally needed to be fix and was a larger
potential problem than expected since it was assuming TD assocaitions rather
than looking at them directly. Test changes were a little involved to suss
out, otherwise this is a fairly clean and simple fix.
2019-04-08 14:22:07 -07:00
Christian Funkhouser f239eb1aa8 Don't use classmethod for listing YAML files
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 17:13:28 -04:00