Commit Graph

1755 Commits

Author SHA1 Message Date
Ross McFarland 212b4bdc50 Merge pull request #732 from constantinblanariu/python-2.7-fixes
Minor Python 2.7 fixes
2021-06-25 15:49:33 -07:00
Ross McFarland cdfec9035f Merge branch 'master' into python-2.7-fixes 2021-06-25 15:43:08 -07:00
Ross McFarland f9440bc4af Merge pull request #734 from viranch/azuredns-fix-duplicate
Azure DNS dynamic record bug fixes
2021-06-25 15:37:43 -07:00
Viranch Mehta 4848246712 Fix partially re-used fallback chain 2021-06-25 13:59:27 -07:00
Viranch Mehta d6deabcc52 Fix duplicate endpoints in Azure DNS dynamic records 2021-06-25 10:52:35 -07:00
blanariu 29532302e2 Leave just importing from mock 2021-06-24 19:28:53 +03:00
blanariu efc4d99d8d Replaced conditional imports with six 2021-06-24 19:17:09 +03:00
blanariu e934ea0423 Fix bug in ultra provider tests when run in Python 2.7
The test_login test from TestUltraProvider would fail in Python 2.7
due to the dictionary insertion order not being preserved in 2.7
and early 3.x versions. Comparing the dictionaries containing the
query parameters solves this. Snippet from test failure:

- username=user&password=rightpass&grant_type=password
+ grant_type=password&username=user&password=rightpass
2021-06-24 12:51:45 +03:00
blanariu 749f0bd90f Fix bug in envvar source tests when run in Python 2.7
Due to an import error the envvar source tests would not run
in Python 2.7
2021-06-24 12:45:22 +03:00
blanariu 3cc0fac817 Fix bug in Manager when using Python 2.7
In Python 2.7 the if statement would catch both cases from the test
test_populate_lenient_fallback, so the test was failing. These are
the error strings differences between Python 2 and 3:

Python 2:
NoLenient: populate() got an unexpected keyword argument 'lenient'
NoZone: populate() got multiple values for keyword argument 'lenient'

Python 3:
NoLenient: populate() got an unexpected keyword argument 'lenient'
NoZone: populate() got multiple values for argument 'lenient'
2021-06-24 12:39:56 +03:00
Ross McFarland 4fcf056b75 Merge pull request #637 from octodns/processors
processors - hook in to modify zones to hide stuff from octoDNS, modify things, add special records, ...
2021-06-23 19:05:29 -07:00
Ross McFarland a7659c3086 processor not processors 2021-06-23 19:02:26 -07:00
Ross McFarland 8f3ee159c2 Changelog entry for processors 2021-06-23 18:56:20 -07:00
Ross McFarland c3f0bf677a Validate processor config sections 2021-06-23 18:49:19 -07:00
Ross McFarland 92b5b774be Merge remote-tracking branch 'origin/master' into processors 2021-06-23 18:26:34 -07:00
Ross McFarland 85e0be2f6c Merge pull request #730 from viranch/azuredns-dynamic-ip
Partial support for dynamic A+AAAA records on Azure
2021-06-23 18:17:33 -07:00
Viranch Mehta fe7f57e2ad update README 2021-06-23 11:26:57 -07:00
Viranch Mehta a8a9c7c6d1 better test method names 2021-06-23 10:52:14 -07:00
Viranch Mehta 500097542b drop unneeded line break 2021-06-22 16:11:28 -07:00
Viranch Mehta 568e6860d3 drop comment 2021-06-22 15:56:08 -07:00
Viranch Mehta c0161fb228 Split out dynamic record validty check for readability 2021-06-22 15:51:54 -07:00
Ross McFarland 000ccac51c Merge branch 'master' into processors 2021-06-21 17:53:08 -07:00
Viranch Mehta a041e9d5c6 Merge branch 'master' into azuredns-dynamic-ip 2021-06-21 15:54:29 -07:00
Viranch Mehta e7524ec1ad Partial support for dynamic A+AAAA records on Azure 2021-06-21 15:46:27 -07:00
Viranch Mehta f147a3ab0f Fix endpoint naming 2021-06-21 15:36:57 -07:00
Ross McFarland 6cac4b060a Merge pull request #727 from iordanisg/fix_typo
Fix typo
2021-06-17 07:58:28 -07:00
Iordanis Grigoriou 794fca0ee7 Fix typo 2021-06-17 16:36:46 +02:00
Ross McFarland f819c3d612 Merge pull request #726 from eilla1/fix/docs
Add alt text to images
2021-06-16 15:59:31 -07:00
Ella 501ae88673 chore: use = 2021-06-16 15:25:14 -07:00
Ella fb805ced62 chore: add alt text to images 2021-06-16 00:39:01 -07:00
Ella a31fa189c1 fix: update syntax for commands
for example:
`$ octodns-sync --config-file=./config/production.yaml` was throwing an error. Then, when i did `$ octodns-dump`, it prompted me to put it in this format: `$ octodns-sync --config-file CONFIG_FILE` (without the = sign)
2021-06-16 00:32:43 -07:00
Ross McFarland 0867d98731 Merge pull request #725 from viranch/azuredns-reused-pool
Handle re-used pools in Azure DNS dynamic records
2021-06-14 20:05:57 -07:00
Ross McFarland 8b6f05313b Merge branch 'master' into azuredns-reused-pool 2021-06-14 19:19:33 -07:00
Ross McFarland 958360ad7a Merge pull request #720 from meghashyamps/sham/issue-710
Allow the option to not pass Host header in healthchecks
2021-06-14 19:18:06 -07:00
Ross McFarland 4fc2d4e246 Merge branch 'master' into sham/issue-710 2021-06-14 19:09:28 -07:00
Viranch Mehta 725189af49 Handle re-used pools in Azure DNS dynamic records 2021-06-14 13:58:20 -07:00
Viranch Mehta fec0aea144 minor clean up of azuredns tests 2021-06-14 13:56:19 -07:00
Ross McFarland 36de6ca8f7 Merge pull request #724 from viranch/azuredns-unique-atm
Ensure that dynamic records map to unique Azure TM profiles
2021-06-11 13:06:28 -07:00
Viranch Mehta 6734448462 log warning when dynamic CNAME has broken alias 2021-06-11 11:43:35 -07:00
Sham 53608cbcf9 Merge branch 'octodns:master' into sham/issue-710 2021-06-10 00:26:30 -07:00
Viranch Mehta 7e0c6296fb ensure dynamic records map to unique ATM profiles 2021-06-09 17:25:06 -07:00
Viranch Mehta 5a943f0b13 handle broken alias to ATM for dynamic records 2021-06-09 16:01:18 -07:00
Viranch Mehta f90d261133 drop Azure DNS env vars in scripts 2021-06-09 15:13:05 -07:00
Ross McFarland a994ab9daf Merge pull request #723 from viranch/azuredns-optimize
minimize Azure Traffic Manager hops for dynamic records
2021-05-29 18:09:21 -07:00
Viranch Mehta aaffdb1388 minimize Azure Traffic Manager hops 2021-05-28 13:23:35 -07:00
Viranch Mehta 18c0e56759 log.debug the reason for profile mismatch 2021-05-28 12:59:27 -07:00
Viranch Mehta e97675fe3d check dns config when comparing profiles for equality 2021-05-28 12:48:09 -07:00
Ross McFarland 92d14587b1 Merge pull request #721 from sbrinkerhoff/master
UltradnsProvider: Add support for ALIAS type (fix #644)
2021-05-28 07:15:58 -07:00
Stan Brinkerhoff 6e71f2df76 update test record 2021-05-28 00:54:57 -04:00
Stan Brinkerhoff 60f916cd24 add contents for alias method, test for alias 2021-05-28 00:52:48 -04:00