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

101 Commits

Author SHA1 Message Date
Ross McFarland
428f9421a3 Merge remote-tracking branch 'origin/master' into ns1-fallback-only-support 2021-05-04 21:19:02 -04:00
Viranch Mehta
6d7cab43e8 Rename data/params for dynamic methods 2021-05-03 10:59:12 -07:00
Viranch Mehta
15eb23eeb6 Trim trailing dot from CNAME answers for NS1 monitors 2021-04-30 20:26:11 -07:00
Viranch Mehta
40569945d2 Add support for dynamic CNAME records in NS1 2021-04-30 17:02:12 -07:00
Ross McFarland
fbd8389903 Tests for new-style ns1 data_for_dynamic_A fallback only pools 2021-04-26 17:10:22 -07:00
Ross McFarland
078576520d Rework NS1 pool handling to support fallback-only pools 2021-04-26 08:34:02 -07:00
Ross McFarland
0830b9c114 Handle and test for old-style NS1 catchall naming pattern 2020-06-23 14:54:40 -07:00
Ross McFarland
bbe4dc2d3e NS1 georegion, country, and catchall need to be separate groups 2020-06-23 09:49:37 -07:00
Ross McFarland
5975ae64be Update NS1 _REGION_FILTER to include remove_no_georegion in config 2020-05-13 09:47:46 -07:00
Ross McFarland
4323bed345 Merge branch 'master' into tcp-healthcheck-support 2020-05-11 07:10:59 -07:00
Ross McFarland
b7e75b700d Fix code coverage for NS1 2020-05-08 08:44:26 -07:00
Ross McFarland
27fd659089 NS1 support for TCP healthchecks 2020-05-08 07:57:56 -07:00
Pavan Chandrashekar
d93ddddaf2 Simplify logic, remove unnecessary coverage tests 2020-04-11 02:28:28 -07:00
Pavan Chandrashekar
4c21cfd85b Address review comments. Introduce catchall poolname 2020-04-10 11:06:19 -07:00
Pavan Chandrashekar
a64ec99de8 Support reuse of default pool in rules in Ns1Provider 2020-04-04 01:28:39 -07:00
Pavan Chandrashekar
5bb2851002 Keep minimum relevant code in try/except block 2020-03-30 10:41:00 -07:00
Pavan Chandrashekar
72eaf0d3af Handle non-existent zones case in extra_changes 2020-03-28 02:21:07 -07:00
Pavan Chandrashekar
438bea46c3 Fix typos, add a log for filter updates 2020-03-25 15:30:00 -07:00
Pavan Chandrashekar
f42300b983 Apply suggestions from code review
Conform to octodns style string concatenation

Co-Authored-By: Ross McFarland <ross@github.com>
2020-03-25 15:20:51 -07:00
Pavan Chandrashekar
a7f01d4c76 Support upgrade of filter chain 2020-03-25 12:36:44 -07:00
Pavan Chandrashekar
5f2fc721ab Add disabled flag to filter definition 2020-03-18 11:15:33 -07:00
Pavan Chandrashekar
837d3ed4ae Address review comments, add explicit filter chains 2020-03-12 03:01:02 -07:00
Pavan Chandrashekar
92d243df78 Merge branch 'master' of https://github.com/github/octodns into nsone-country-filter-chain 2020-03-10 15:23:45 -07:00
Pavan Chandrashekar
789f65c0d1 Lint fixes (long lines) 2020-03-09 16:51:32 -07:00
Pavan Chandrashekar
ee8111ec1a Remove a couple debug prints 2020-03-09 16:41:35 -07:00
Pavan Chandrashekar
d7c55f15c3 Handle dynamic filter chains better 2020-03-09 16:39:02 -07:00
Pavan Chandrashekar
d68a034a57 Update country filter conditionally instead of changing the default 2020-03-06 12:25:07 -08:00
rupa deadwyler
0df33a5165 changes per review
* Add a client_config option to Ns1Provider, for passing additional
  options or overrides to the SDK config. This should allow NS1 users
  some flexibility without bothering octodns so much.
* Expose the actual SDK client object as `_client` on the Ns1Client wrapper
* Do my best to clarify options and defaults in the Ns1Provider docstring
2020-03-06 11:39:11 -05:00
rupa deadwyler
0f848e9b76 Add the parallelism arg to Ns1Provider docstring 2020-03-05 12:58:28 -05:00
rupa deadwyler
003754edc7 NS1 provider: support rate-limiting strategy
Adds a "parallelism" argument to the NS1 Provider. If set, we analyze
response headers and attempt to avoid 429 responses.
2020-03-05 12:16:17 -05:00
Pavan Chandrashekar
b498f76725 Add country based filter to NS1 filter chain 2020-03-04 17:55:55 -08:00
Pavan Chandrashekar
0daa37578b Address review comments 2020-03-03 16:36:08 -08:00
Pavan Chandrashekar
71a277f6ad NS1 doesn't support region OC. Handle it explicitly in the provider 2020-03-03 11:07:29 -08:00
Ross McFarland
c7be8fada2 Add a way to configure Ns1Provider monitoring regions for records 2020-01-16 14:37:25 -08:00
Ross McFarland
01a9fa87b1 Address Ns1Provider review feedback 2020-01-13 07:29:38 -08:00
Ross McFarland
391ef583ae Ns1 should use geofence_regional to avoid nearest matching 2020-01-06 10:22:41 -08:00
Ross McFarland
95f5111487 NS1 geo records will always use 'answers' 2020-01-06 10:18:56 -08:00
Ross McFarland
0f298e51be Tests for ns1 _monitors_gc 2019-12-13 13:22:54 -08:00
Ross McFarland
4022155b72 Method naming consistency, test coverage for feeds and monitors 2019-12-13 13:07:32 -08:00
Ross McFarland
8ec84f49bb More ns1 code coverage, bug fix for monitor matching 2019-12-13 12:39:14 -08:00
Ross McFarland
d7053a2e92 Ns1Client tests for caching and minor logic 2019-12-13 11:58:18 -08:00
Ross McFarland
6c7abe1fd6 Ns1 still SUPPORTS_GEO 2019-12-12 14:19:16 -08:00
Ross McFarland
674c29fb8b Debug logging 2019-12-12 14:17:42 -08:00
Ross McFarland
c119f2e802 Move ns1 caching to client where it's much safer/consistent 2019-12-12 14:03:09 -08:00
Ross McFarland
55f4194daf Functionally complement and untested ns1 dynamic support 2019-12-12 13:23:35 -08:00
Ross McFarland
f6c60b69b7 WIP monitors management 2019-12-11 15:05:52 -08:00
Ross McFarland
7a472506cc Implement _data_for_dynamic_A w/some related refactoring 2019-12-10 13:50:11 -08:00
Ross McFarland
ea2a52c307 Python 3 friendly way to re-raise when tries expire 2019-12-10 12:26:19 -08:00
Ross McFarland
f0bc9add22 Rough draft/expirimentation on dynamic creation 2019-12-09 14:30:02 -08:00
Ross McFarland
4fd2daa8a9 Implement reworked NS1 retry mechinism 2019-12-09 08:56:55 -08:00