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
bfa1fadde9
Fix CloudflareProvider test ordering assumptions
6 years ago
Ross McFarland
db8de8acb8
Fix Manager ordering assumptions
6 years ago
Ross McFarland
14063186f3
YamlProvider python3, tests
6 years ago
Ross McFarland
90a60d3dbd
TransipProvider python3
6 years ago
Ross McFarland
25768c476f
SelectelProvider python3 (tests)
6 years ago
Ross McFarland
c82e94792e
RackspaceProvider python3, value types hashing
6 years ago
Ross McFarland
aeb70b2488
Route53Provider python 3, rm incf.countryutils, lots of cmp removal and ordering fixes
6 years ago
Ross McFarland
0acff67faa
Ns1Provider python3
6 years ago
Ross McFarland
37543e6a76
OvhProvider python3
6 years ago
Ross McFarland
484a5118f4
MythicBeastsProvider python3
6 years ago
Ross McFarland
0078198500
GoogleCloud python3
6 years ago
Ross McFarland
47199fdfab
FastDNS python3
6 years ago
Ross McFarland
742305c20b
six.moves.urllib.parse
6 years ago
Ross McFarland
470dd82202
python 3 support for constellix provider
6 years ago
Maikel Poot
637c254778
Handling PR Review comments.
- Added Specific exceptions
- str() instead of concatenation
- removed zone not found warning
6 years ago
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.
6 years ago
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
6 years ago
Maikel Poot
7056d29907
fixes lint warning.
6 years ago
Maikel Poot
bb3f0c0b4a
Added TransIP provider and tests
6 years ago
William Blackie
dd4238ad6b
fix split calls in Route53Provider to not specify ' ' parameter so they can tolerate multiple sequential separators
6 years ago
Adam Smith
c0315d25ba
add Constellix Provider
6 years ago
Ross McFarland
ce67824015
Handle python3 sourcing of urlparse
6 years ago
Ross McFarland
da09d9baaf
Modernize object cmp methods
6 years ago
Ross McFarland
9e4c120c3e
StringIO compat
6 years ago
Ross McFarland
a9d0eef3ba
Lots of text_type
6 years ago
Ross McFarland
ee0efc5b3a
Explicit list-ification
6 years ago
Shnayder Anton
57c96cf40f
Add Selectel as OctoDNS provider
6 years ago
Kitten King
daa6fecc9b
Fix Typos
6 years ago
Basir Jamil
5a741eb600
fastdns: fixed typo in test fixture
6 years ago
Basir Jamil
1596add89f
fastdns provider:
- added unit tests for apply functions
- added another json config file for this
- 100% code coverage reached
6 years ago
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
7 years ago
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
7 years ago
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.
7 years ago
cclauss
158add8eb6
Modernize Python 2 code to prepare for Python 3
7 years ago
Rhosyn Celyn
ddbad2498f
Fixes for escaping TXT properly, extra test coverage
7 years ago
Basir
550f5b14a3
started fastdns testing
7 years ago
Rhosyn Celyn
402f645acd
Additional test on compile_commands for deletion
7 years ago
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
7 years ago
Rhosyn Celyn
9b8e74c5dd
Small clean up to populate and exceptions for requests
7 years ago
Theo Julienne
1c08a4d58e
Adjust Route53 change ordering to strictly order by dependency.
7 years ago
ItsAlex
53c2b8d194
fix: prevent digital ocean provider to crash if records type is not supported
7 years ago
Ross McFarland
ee0416de9a
Cover more Route53 extra check edge cases and ensure it tests what we're after
7 years ago
Ross McFarland
d49bf26220
Handle Route53 extra check much more thoroughly by breaking down name
Also adds thorough tests
7 years ago
Rhosyn Celyn
d6fb3310d5
Applied suggested modifications
7 years ago
Rhosyn Celyn
fd63150cac
Added tests, clean up and small modifications
7 years ago
Ross McFarland
1c60ed018b
Make sure both set-id and name match when finding rrset
7 years ago
Ross McFarland
e4fbcf1090
Improved Route53Provider deltion for Dynamic Value too
7 years ago
Ross McFarland
2df87d7dfe
Improve Route53 DELETE reliability using existing rrset
7 years ago
Peter Dave Hello
68580ac25b
Normalize CNAME/ALIAS/PTR value to lower-case
7 years ago