Viranch Mehta
11118efe93
Raise exception when no yamls are found for a zone
2023-09-18 21:41:44 -07:00
Viranch Mehta
0181158953
Include sources only if they exist
2023-09-18 15:31:16 -07:00
Ross McFarland
028b2a52f6
Merge remote-tracking branch 'origin/main' into yaml-provider-static
2023-08-31 10:52:12 -07:00
Ross McFarland
8177ee6926
Revert "yaml provider is either split or zonefile, not both"
...
This reverts commit 6f39fcc5f7 .
2023-08-29 12:59:38 -07:00
Ross McFarland
84add19ada
Merge remote-tracking branch 'origin/main' into yaml-provider-refactor
2023-08-29 12:34:45 -07:00
Ross McFarland
6f39fcc5f7
yaml provider is either split or zonefile, not both
2023-08-27 08:37:26 -07:00
Ross McFarland
857d5e2a61
Record's carry context, Zone exceptions make use of it to help with error messages
2023-08-18 20:24:26 -07:00
Ross McFarland
cb28fa0e26
YamlProvider support for shared file, loaded into all zones
2023-08-18 16:20:53 -07:00
Ross McFarland
779f2f44fa
Rename split_only to disable_zonefile. More accurate and future-proof. Also improve doc a bit
2023-08-18 15:40:49 -07:00
Ross McFarland
aab868f345
Make sure the only* record isn't showing up when it shouldn't
2023-08-18 09:25:06 -07:00
Ross McFarland
3f7234bfd3
Move sources tests into correct class
2023-08-18 08:18:26 -07:00
Ross McFarland
61d3ed884a
More YamlProvider details testing
2023-08-18 07:39:47 -07:00
Ross McFarland
e473c32bfb
Add some directories to ignore
2023-08-17 12:23:43 -07:00
Ross McFarland
608e367a9b
More extensive tests of YamlProvider.list_zones
2023-08-17 12:13:42 -07:00
Ross McFarland
5b8498a550
Refactory yaml source logic out to make it easily testable
2023-08-12 19:31:38 -07:00
Ross McFarland
11ddb20005
Refactory YamlProvider and SplitYamlProvider into a unified class
2023-08-12 11:18:33 -07:00
Ross McFarland
f107c235f9
Merge remote-tracking branch 'origin/main' into dynamic-zones
2023-07-31 12:08:26 -07:00
Ross McFarland
c908d90656
Uncomment some lightweight dynamic yaml tests that were TODO'd
2023-07-29 18:16:56 -07:00
Ross McFarland
92623b1a2c
Testing of (Split)YamlProvider.list_zones w/fixes
2023-07-28 14:16:36 -07:00
Ross McFarland
6be0a8133a
isort import formatting
2023-01-22 13:54:19 -08:00
Ross McFarland
be7c3d279e
WIP breakup of octodns.record file
2023-01-02 10:12:59 -05:00
Ross McFarland
723db157ab
Provider.strict_supports=True by default, fix tests that didn't like that
2022-11-15 11:03:08 -08:00
Ross McFarland
d7880c084d
Remove from __futures__ bits, all are now manditory
2022-09-15 14:10:21 -07:00
Ross McFarland
b4792707f8
Merge remote-tracking branch 'origin/main' into idna-internally
2022-09-12 14:56:01 -07:00
Ross McFarland
fa4225b625
Fix lots of errant '...' '...' string joins
2022-09-06 12:47:47 -07:00
Ross McFarland
2e3d325f71
YamlProvider.SUPPORTS dynamically returns the list of registered types
2022-08-27 15:53:56 -07:00
Ross McFarland
557b80f784
Implement YamlProvider.supports that always says yes
2022-08-27 15:40:02 -07:00
Ross McFarland
27fc734c2a
Test YamlProvider handling of non-ascii record names
2022-08-20 11:39:00 -07:00
Ross McFarland
a33235d608
YamlProvider idna/utf-8 support, prefers utf8
2022-08-18 08:26:57 -07:00
Ross McFarland
02e07f4209
Merge remote-tracking branch 'origin/master' into dump-support-output-provider
2022-07-22 16:06:51 -07:00
Ross McFarland
e116d26eec
Implement black formatting
2022-07-04 12:27:39 -07:00
Sachi King
04be906c3c
Add test to validate non-dotted subdomain zones are vaild
...
This confirms that in addition to the recently added support for dotted
subdomains that subdomains that are not dotted are supported. From
RFC1034 Section 3.5 this would be a <subdomain> that contains a single
<label> without <subdomain> recurring.
2022-06-27 10:56:20 +10:00
Sachi King
e299ceced2
Prepare tests with failing "managed subzone" error
...
The is not a zone between delegated.subzone.unit.tests. and unit.tests.,
however we get a delegated subzone error. This modifies the tests to
succeed with the added record, however the tests fail as it incorrectly
throws the managed subzone error.
Change the name of delegated.subzone, and the tests will pass cleanly.
2022-06-23 19:22:15 +10:00
Ross McFarland
0d606e0728
dump output_provider testing
2022-04-14 12:50:51 -07:00
Ross McFarland
02296652ca
WIP: Backing out a more test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
2022-02-16 15:23:55 -08:00
Ross McFarland
adb01a982c
WIP: Backing out a lot of test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
2022-02-16 15:00:21 -08:00
Ross McFarland
5215930109
Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests
2022-02-10 14:51:01 -08:00
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
2022-02-08 10:26:49 -08:00
Ross McFarland
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
2022-01-13 10:58:07 -08:00
Ross McFarland
aae65594f2
Remove explicit use of six
2021-09-17 07:10:07 -07:00
Ross McFarland
9156bdaea0
f-strings for tests pass 1
2021-09-16 16:16:01 -07:00
Brian E Clow
c5efba89fe
Adding yaml support and testing for URLFWD
2021-07-22 14:32:09 -07:00
Ross McFarland
e90aeb5d34
pools used as fallbacks should count as seen
2021-04-22 18:45:14 -07:00
Ross McFarland
5e1f653848
Merge remote-tracking branch 'origin/master' into srv_null_records
2021-02-18 07:52:47 -08:00
Mark Tearle
5d23977bbd
Adjust remaining unit tests due to extra records in test zone
2021-02-15 22:46:22 +08:00
Mark Tearle
9d4bd0aaec
Add support for LOC records
2021-02-09 20:41:37 +08:00
Ross McFarland
858628a867
Update yaml test path to work on windows
2021-02-05 12:06:46 -08:00
Ross McFarland
4ce2563d2e
Remove the rest of the . ending files, clean up code and tests for better coverage
2021-01-28 13:24:35 -08:00
Jonathan Leroy
eec4c4f81c
Remove support for dynamic DNAME records as no provider currently
...
support them
2020-10-27 20:31:57 +01:00
Jonathan Leroy
de51e5f531
Add support for DNAME records
2020-10-26 22:18:35 +01:00