Commit Graph

119 Commits

Author SHA1 Message Date
Terrence Cole 8d7eca21e9 Get lint green on test code too. 2018-01-05 15:56:06 -08:00
Terrence Cole 1903b242b5 Merge branch 'master' of https://github.com/github/octodns 2017-12-15 11:33:39 -08:00
Adam Smith ef8d66ff9c Transform @ in Digitalocean API output to zone name 2017-11-23 22:30:39 -08:00
Adam Smith feec4a6821 Add DigitalOcean provider 2017-11-12 23:50:52 -08:00
Ross McFarland 454f7f8c8f Add formal CAA support to YamlProvider 2017-11-08 06:26:18 -08:00
trnsnt 6b1a8f8ccf OVH: Add support of DKIM records 2017-10-30 20:29:11 +01:00
Ross McFarland 4b740a48ff Merge branch 'master' into master 2017-10-30 11:00:25 -07:00
Paul van Brouwershaven 6261ded879 Add more include/exclude tests 2017-10-30 18:34:22 +01:00
Adam Smith bf1896329b validate values for empty string or None value
dump does not write invalid value(s) to yaml
2017-10-29 10:37:18 -07:00
Ross McFarland e91f773a93 Merge branch 'master' into leient-from-config 2017-10-28 10:09:25 -07:00
Adam Smith 00aaa3bf4d set default value for nsone cname to None, use first value if non-zero length 2017-10-27 09:53:38 -07:00
Ross McFarland bf4f7dd42d Allow enabling lenient on a per-record basis with octodns.lenient
```
---
'':
    octodns:
        ignored: True
        lenient: True
    type: CNAME # not valid to have a root cname
    value: foo.com.
2017-10-26 06:30:38 -05:00
Terrence Cole 3cf6540aaa Merge remote-tracking branch 'upstream/master' 2017-10-19 09:25:36 -07:00
Ross McFarland f39e1d28c8 Fix log formatting and lint compliance 2017-10-18 10:38:09 -07:00
Tim Hughes 8352ab89ef adds warning to dyn provider when it cannot load a trafficdirector 2017-10-17 16:16:17 +01:00
Petter Hassberg b027e5ca4c Merge branch 'master' into google_cloud_provider 2017-10-14 19:42:38 +02:00
Petter Hassberg 7958618f63 Use uuid4 for zone name in GoogleCloudProvider
use uuid4().hex to ensure unique zone_name generation and thereby streamline with the other providers.
2017-10-14 19:32:24 +02:00
Ross McFarland ffeceb39b1 Handle Manager.dump with an empty Zone 2017-10-13 13:15:24 -07:00
Joe Williams 50ac2f794c add tests 2017-10-10 14:39:25 -07:00
Joe Williams a012e923f6 add ability to configure update/delete thresholds 2017-10-10 13:54:52 -07:00
Petter Hassberg e9d90bda2b Add timeout logic to googlecloud provider 2017-10-09 19:55:59 +02:00
Petter Hassberg 4b878b8446 Cache encountered zones in GoogleCloudProvider
Cache googleclouds zones so that populate dont have to list all each time called.
2017-10-09 19:55:59 +02:00
Petter Hassberg aabab63003 Refactor GoogleCloudProvider
* in _rrset_for_X functions, use values instead of data attribute.
* Small typo fixes and removals of redundant steps etc.
* Unset GOOGLE_APPLICATION_CREDENTIALS in coverage script.
2017-10-09 19:55:59 +02:00
Petter Hassberg 8230700ad1 Consolidate googlecloud provider to single class
remove _GoogleCloudRecordSetMaker into the GoogleCloudProvider, and consolidate methods.
2017-10-09 19:55:59 +02:00
Petter Hassberg 2a3690e877 Add auth config opts to googlecloud provider
Also make _data_for_SPF and _data_for_TXT the same method.
2017-10-09 19:55:59 +02:00
Petter Hassberg ed783b5ff2 Add proposed google cloud provider.
Proposed google cloud provider for #23
2017-10-09 19:55:59 +02:00
Ross McFarland 30efda3295 Make long TXT record concat cleaerer 2017-10-09 09:00:15 -07:00
Ross McFarland 70120bedc8 Implement "chunked" TXT/SPF value support for long values
This implements it transparently at Record level. Providers that need things to
be chunked (seems to just be Route53 an Dyn) switch to use `chunked_values`, but
everything else can stick with `values`. I've run through each provider I have
access to verifying that things operate as expected/required. OVH and Azure are
untested.
2017-10-05 10:04:29 -07:00
Paul van Brouwershaven 4b41762642 Use target.id instead of class name 2017-09-29 10:09:16 +02:00
Paul van Brouwershaven 11f4359099 Add support for included and excluded records
`Included` and `Excluded` can be used to filter records for one or more specific provider(s). This can be extremely useful when certain record types are not supported by a provider and you want only that provider to receive an alternative record.

See also: https://github.com/github/octodns/issues/26
2017-09-28 15:16:39 +02:00
trnsnt 8a13ccab46 Add OVH as octodns provider 2017-09-18 17:37:51 +02:00
Terrence Cole 1e7edc97c8 Update rackspace provider with new names and interfaces. 2017-09-11 10:51:03 -07:00
Terrence Cole c201f2c6a8 Merge branch 'master' into add_rackspace_provider 2017-09-11 10:08:36 -07:00
Ross McFarland a558fde6df Fixes for cloudflare CAA support 2017-09-06 12:08:08 -07:00
Ross McFarland ba6dc9858e Get out of the business of validating CAA records
Seem to be pretty inconsistently implemented/validated across providers so
just shrug and move on.
2017-08-28 13:40:25 -07:00
Ross McFarland e43da949a3 Add CAA for CF, DNSimple, and README 2017-08-26 15:39:54 -07:00
Ross McFarland f5ad26e1f9 Fixes for dnsimple CAA support 2017-08-26 15:31:57 -07:00
Ross McFarland c24c793bcb CAA unit tests for provider support 2017-08-26 15:28:09 -07:00
Ross McFarland 1e68cd6ae9 Add CAA support to Dyn, PowerDNS, and Route53 2017-08-26 09:03:59 -07:00
Ross McFarland 4cae1e2bdb Add CAA Record class and tests 2017-08-26 08:18:17 -07:00
Ross McFarland ed45ac3875 Merge branch 'master' into route53-max-attempts 2017-08-21 16:01:30 -07:00
Heesu Hwang 9623f4e783 updated testfile to include test cases for new TXT data parsing 2017-08-21 11:02:28 -07:00
Ross McFarland 268620c939 Add support for increasing Route53 retries 2017-08-12 12:54:53 -07:00
Terrence Cole 17c9b8b527 Get lint and coverage tools clean. 2017-08-11 14:02:14 -07:00
Terrence Cole b1ef8a8f8d Delete first and create last to avoid having create coalesce into an update unexpectedly. 2017-08-10 10:50:38 -07:00
Terrence Cole 3f369712e4 Updates need to be able to create records as well as delete them. 2017-08-02 10:51:12 -07:00
Terrence Cole 41617e69a7 MX record values are repesented by a sub-struct. 2017-08-02 10:20:10 -07:00
Terrence Cole c185d28f14 Handle _ValueMixin record types as well as we handle _ValuesMixin records. 2017-07-26 12:49:30 -07:00
Ross McFarland 7f8a01a81d Improved/actionable keys out of order error message 2017-07-25 09:15:30 -07:00
Ross McFarland 0cb284ad0c Merge branch 'master' into add-record-perf 2017-07-21 08:37:48 -07:00