1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Ross McFarland
19956f14bc Include fqdn in Route53 health check refs, not name
This will ensure unique refs for different zones. Without them the ref isn't
enough to make sure we're looking at the right thing (notably when we're
gc'ing old health checks.) This also adds a bit more debugging around health
checks.
2018-04-04 17:38:00 -07:00
Ross McFarland
b51a9148b8 Route53 support for healthcheck protocol & port 2018-03-31 14:47:22 -07:00
Ross McFarland
5372e86e1c Switch to named params in _extra_changes 2018-03-31 12:39:32 -07:00
Dirkjan Bussink
a7f6da96d3 Merge branch 'master' into configurable-geo-healthcheck 2018-03-22 08:51:51 +01:00
Michael McAllister
8c1fe707e8 ISSUE #26 Skip Alias recordset for Route53 Provider 2018-03-04 18:02:51 +11:00
Ross McFarland
7228c5b294 Merge remote-tracking branch 'origin/master' into show-zone-create 2018-03-03 10:18:32 -08:00
Josh Soref
5d2ba2e715 Spelling (#214)
* spelling: ancillary
* spelling: antarctica
* spelling: australia
* spelling: authentication
* spelling: continental
* spelling: constructor
* spelling: conversion
* spelling: creation
* spelling: doesn't
* spelling: easily
* spelling: efficiently
* spelling: equivalent
* spelling: essentially
* spelling: everything
* spelling: exactly
* spelling: be
* spelling: expensive
* spelling: supports
* spelling: healthcheck
* spelling: immediately
* spelling: ignored
* spelling: invocation
* spelling: itself
* spelling: leftovers
* spelling: missing
* spelling: natural
* spelling: nonexistent
* spelling: peculiarities
* spelling: pointing

This change hit a line length limitation, so I'm wrapping it and
adding a period which appears to match local style...

* spelling: quicker
* spelling: response
* spelling: requested
* spelling: redirect
* spelling: traffic
* spelling: unknown
* spelling: uploaded
* spelling: useful
* spelling: separately
* spelling: zone
2018-02-27 09:09:47 -08:00
Ross McFarland
73c002f94c Implement populate exists for Route53Provider 2018-01-21 14:26:51 -08:00
Ross McFarland
9a30b058e2 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-10-18 10:57:32 -07:00
Ross McFarland
c24c793bcb CAA unit tests for provider support 2017-08-26 15:28:09 -07:00
Ross McFarland
268620c939 Add support for increasing Route53 retries 2017-08-12 12:54:53 -07:00
Ross McFarland
908698da49 Fix major performance issue with add_record O(N^2)
Before, 1-2k record took ~10s and more than that was just painful, 5k took
forever. This records things to keep a dict of nodes with a set of records so
that we can quickly "jump" to the point we're looking for without having to
search. 10k records now takes ~5s.
2017-07-02 18:23:45 -07:00
Ross McFarland
1340aee8a9 MX RFC1035 - priority -> preference & value -> exchange 2017-06-23 13:04:38 -07:00
Ross McFarland
d2af8efe5c Root CNAMEs are not allowed 2017-06-23 09:49:11 -07:00
Ross McFarland
a97818b6ec populating existing provider state is lenient
- adds lenient flag to Record.new, problems during validation are just
  warnings if it's true
- target populate calls during the plan phase pass lenient=True
- make all of the provider.populate call logging consistent including both
  target and lenient
- add source=self to Record.new in a few places that were missing it
2017-06-23 09:01:25 -07:00
Ross McFarland
02d80c2e84 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-06-21 15:31:25 -07:00
Ross McFarland
9506c682cc Go head and support cleaning up v0000 Route53 health check versions 2017-06-20 11:46:17 -07:00
Ross McFarland
d0b8b25cdd Existing and desired to _extra_changes, desired used by Route53 to get configed
Fixes an issue where we'd be looking for custom healthcheck config on the
existing record object (from the provider) which would never have a custom
setup. Instead looking at desired lets us find what's actually configured to be
the case
2017-06-20 11:44:13 -07:00
Ross McFarland
97e5b89925 Merge remote-tracking branch 'origin/master' into route53-refactor 2017-06-20 08:18:36 -07:00
Ross McFarland
4761da9c33 Add custom host & path support to Route53 Geo healthchecks
- This reworks the CallerReference structure for Route53 health checks in a
  non-backwards compatible way. This means records will create new healthchecks
  for themselves which should be fine.
- Since we're pre 1.0, support has NOT been added to cleanup the old
  healthchecks. That could be done reasonably easy, BUT we'd have to keep that
  around forever. The hope is that the new ref format/usage will prevent this
  problem going forward since enough info exists in the ref to identify things
  fully. :fingers_crossed:
- healthcheck GC is much cleaner and more robust thanks to ^
- overall the healthcheck management code is a bit easier to follow and more
  robust now.
2017-06-15 09:57:40 -07:00
Ross McFarland
dd0042c6ff Escape unescaped semicolons coming out of Route53 2017-06-08 17:55:19 -07:00
Ross McFarland
a9c6d8c6ba Rework _Route53Record to avoid a bunch of hacks
They were working around the lack of class hierarchy, this addresses that by
adding 2 child classes. It gets rid of a bunch of ugly default params and
if-this junk in the main class that was trying to deal with plain & geo records.
Also as a positive side effect it gets rid of some hacks that lived in
Route53Provider dealing with the fact that the old setup couldn't detect going
to/from a GeoDNS record correctly.
2017-05-29 08:26:38 -07:00
Ross McFarland
852381b810 Add test for Route53Provider geo -> plain conversion 2017-05-09 14:45:35 -07:00
Ross McFarland
d7469cbd0b Test _get_health_check_id without perm to create 2017-05-09 14:26:48 -07:00
Ross McFarland
e7fffb0ca1 Route53Provider correctly handle converting to and from geo records 2017-05-09 14:20:44 -07:00
Ross McFarland
7957a4c018 Initial import of OSS OctoDNS 2017-03-15 15:38:10 -07:00