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

59 Commits

Author SHA1 Message Date
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