Ross McFarland
0544e9ed7d
More thorough testing of root ns cases and associated improvements
4 years ago
Ross McFarland
02ee7518fa
Rework root NS logic to ignore when unconfigured, more testing
4 years ago
Ross McFarland
adb01a982c
WIP: Backing out a lot of test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
4 years ago
Ross McFarland
51d4b1ba7a
Few more root ns test cases
4 years ago
Ross McFarland
728ab2af89
_process_desired_zone after populate, test/enforce order
4 years ago
Ross McFarland
5215930109
Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests
4 years ago
Ross McFarland
08f98a5e65
Revert "Remove _process_existing_zone as it's not currently needed"
This reverts commit f1fd63205e .
4 years ago
Ross McFarland
f1fd63205e
Remove _process_existing_zone as it's not currently needed
4 years ago
Ross McFarland
3bcb6c8cec
Add Provider._process_existing_zone to mirror _process_desired_zone
4 years ago
Ross McFarland
33a10eada4
Base support for managing root NS records
* Zone object no longer treats them special, some tests needed adjusting
b/c of this, some provider's tests may also need adjusting, though
they should not plan changes since they won't (yet) have
SUPPORTS_ROOT_NS
* _process_desired_zone filters and warns when not supported
* YamlProvider supports them
* TinyDnsBaseSource supports them
4 years ago
Ross McFarland
e25b618e95
Initial pass at script/update-requirements, results of run
4 years ago
Ross McFarland
fb1fb297dc
Explicit test for Provider.SUPPORTS usage in _process_desired_zone
4 years ago
Ross McFarland
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
4 years ago
Viranch Mehta
e3f76e562e
Add tests for full coverage
4 years ago
Viranch Mehta
d1d0de0c60
Fix typo in SUPPORTS_MULTIVALUE_PTR flag name
4 years ago
Ross McFarland
aae65594f2
Remove explicit use of six
4 years ago
Ross McFarland
47de105a29
POC supports & dynamic checking in _process_desired_zone
4 years ago
Ross McFarland
b29c27df7c
Fix BaseProvider test call expect
4 years ago
Ross McFarland
fd148d1803
Documentation of strict_supports and lenient, changelog info
4 years ago
Ross McFarland
8c04508a86
Implement & test Zone.copy (shallow) and utilize it in processors
4 years ago
Ross McFarland
08f9ec56a3
Rework supports_warn_or_except to msg and fallback
4 years ago
Ross McFarland
65f0bfc243
Update multi-value PTR warn to supports_warn_or_except
4 years ago
Viranch Mehta
4517df555d
add tests
4 years ago
Ross McFarland
5b0e47f31f
Cleanup and test of _process_desired_zone and supports_warn_or_except
4 years ago
Ross McFarland
716d068196
Backwards compat for plan overrides, 100% manager coverage, singular processor module name
5 years ago
Ross McFarland
a9d0eef3ba
Lots of text_type
6 years ago
cclauss
158add8eb6
Modernize Python 2 code to prepare for Python 3
7 years ago
Ross McFarland
dea4647a16
Make SUPPORTS_DYNAMIC an optional property, defaulting to False
7 years ago
Ross McFarland
303d0532c8
Implement SUPPORTS_DYNAMIC functionality, no providers
7 years ago
Ross McFarland
206d77d5a6
Include a provider test of populate w/lenient=True
8 years ago
Ross McFarland
5372e86e1c
Switch to named params in _extra_changes
8 years ago
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
8 years ago
Ross McFarland
9f2b65ec83
Change str() to unicode() to avoid encoding problems
8 years ago
Ross McFarland
94bfb1e507
Switch populate to return exists, cleaner setup
8 years ago
Ross McFarland
1e71bce907
Add create param to Plan
8 years ago
Ross McFarland
f50d9b6087
Extract plan from base.py into plan.py
8 years ago
Joe Williams
50ac2f794c
add tests
8 years ago
Joe Williams
a012e923f6
add ability to configure update/delete thresholds
8 years ago
Paul van Brouwershaven
4b41762642
Use target.id instead of class name
8 years ago
Joe Williams
5b746845ed
add tests
9 years ago
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
9 years ago
Ross McFarland
852c101388
Switch to an explicit SUPPORTS setup
9 years ago
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
9 years ago
Joe Williams
5b93bb5979
use a percentage of change/deleted records rather than an absolute count
9 years ago
Ross McFarland
7957a4c018
Initial import of OSS OctoDNS
9 years ago