Basir Jamil
5a741eb600
fastdns: fixed typo in test fixture
7 years ago
Basir Jamil
1596add89f
fastdns provider:
- added unit tests for apply functions
- added another json config file for this
- 100% code coverage reached
7 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
Ross McFarland
135f826b7e
Add OverridingYamlProvider and tests
7 years ago
Peter Dave Hello
68580ac25b
Normalize CNAME/ALIAS/PTR value to lower-case
7 years ago
Andy Hawkins
c89b0dbabd
Add tests for escaping semicolons in TinyDNS TXT records
7 years ago
Andy Hawkins
3b98f3e0e1
Add tests for TinyDNS AAAA records
7 years ago
Andy Hawkins
1892489e77
Add tests for TinyDNS TXT records
7 years ago
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.
7 years ago
Christian Funkhouser
f239eb1aa8
Don't use classmethod for listing YAML files
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
689043cd3d
Merge SplitYamlProvider and YamlProvider tests
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
250c31f8ed
Delete test_octodns_provider_splityaml.py
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
2e2fd7157a
Try the test with a fresh zone
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
9f34526c61
Remove forklifted comment that doesn't entirely make sense
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
ceece68de8
Persist empty. zone
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
98dacd2dde
Add proper tests for SplitYamlProvider
The SplitYamlProvider itself now requires a directory matching the
zone name under its directory to contain all YAML files. This doesn't
actually change the intended usage at all, just how the configuration
file is laid out.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
1d9553b93a
Appease the linter.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
8639bc0af5
Actually fix tests, include YAML
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
ee133b3ac1
Fix tests
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Peter Dave Hello
e0a8a619d6
Normalize MX exchange to lower-case, fix #322
7 years ago
Ross McFarland
dbc032a2cc
Switch to using tuples for _mod_keyer
7 years ago
Ross McFarland
92179a231e
Rework and clean up Route53Provider's extra_changes check to support dynamic
7 years ago
Ross McFarland
af06dbec09
Route53Provider for CNAME style healthchecks
Note that you can't specify a Host header for these which I believe will
complicate the ability to use this. Figuring that out will have to wait
until I or someone else has a use case for these...
7 years ago
Ross McFarland
7b59eedc44
Route53Provider dynamic support
7 years ago
Ross McFarland
0a6b2e2e3b
Implement Route53Provider mod ordering via a sort
This will ensure that deletes come before creates which are before upserts and
that records that uses aliases always come after their target (though implicitly
based on sorting types and not explicitly by looking at them.)
7 years ago
Ross McFarland
ed152ce0f3
Plumb hosted_zone_id through to _Route53Record
7 years ago
Ross McFarland
f83eeb0a9c
Add a Name tag to Route53 healthchecks for UI purposes
7 years ago
Ross McFarland
b8be28c1dc
Rework get_health_check_id, just take value to check
7 years ago
Ross McFarland
d610a0c920
Implement _Route53Record._value_convert_*
7 years ago
omar
7c5c1b3367
AzureProvider: update for azure-mgmt-dns 2.1.0 and add support for CAA records.
7 years ago
Jörg Runkel
00ee5053c7
Use specific Route53Provider Exception
7 years ago
Adam Smith
ca80200653
add supports check to DNSMadeEasy Provider
7 years ago
Adam Smith
10452d1546
CloudflareProvider: unpack long SRV records correctly
7 years ago