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
omar
758c7fab61 Fix the last test. 2021-05-10 20:49:28 -07:00
omar
93de918e01 Fix lint, requirements.txt, and all the tests but one. 2021-05-10 20:38:30 -07:00
omar
ebfb9355b1 Update the AzureProvider to support azure-mgmt-dns 8.0.0 and azure-identity. 2021-05-10 19:32:38 -07:00
Robert Reichel
9056c781c2 Merge branch 'master' into rreichel3/lazy-load-azuredns-client 2021-02-02 13:23:30 -05:00
Robert Reichel
a58371e3bb Apply suggestions from code review
Co-authored-by: Ross McFarland <ross@github.com>
2021-02-02 12:40:57 -05:00
Robert Reichel
831d1cc30b Add missing colon 2021-02-02 12:34:44 -05:00
Robert Reichel
5e78d07a97 Use @property in lieu of property() 2021-02-02 12:31:04 -05:00
Robert Reichel
975376d09d Remove trailing whitespace 2021-02-02 12:26:04 -05:00
Robert Reichel
6fb77c0810 Add set DNS client logic if needed for testing 2021-02-02 12:21:48 -05:00
Robert Reichel
6146be8ec3 Remove unused set_dns_client property 2021-02-02 12:21:00 -05:00
Robert Reichel
0b116a57b9 Modify Azure DNS Client logic to lazy load
Lazy loading the Azure DNS client ensures that the necessary network calls only occur when it is time to actually do something with the client.
2021-02-02 12:18:40 -05:00
Robert Reichel
3ab532c5af Fix test coverage 2021-01-29 15:30:17 -05:00
Robert Reichel
f92fdfce17 Even more desperate attempts to appease linter 2021-01-29 15:24:42 -05:00
Robert Reichel
a8505d66f1 Improve checking and creating Azure DNS Zones
This change improves the process for checking for AzureDNS zones by using the known set and not relying upon custom error handling.

Since the provider already fetches the zones, octodns doesn't need to make a second call to check for the existence of the zone - _populate_zones already does that for us.
2021-01-29 15:11:27 -05:00
Piotr Pieprzycki
7afedb9893 Merge branch 'master' into azuredns_txt 2021-01-04 08:55:18 +01:00
Arunothia Marappan
32811ed5c1 Update octodns/provider/azuredns.py
Co-authored-by: Ross McFarland <ross@github.com>
2020-12-26 15:01:14 -08:00
Arunothia Marappan
cffc906071 Removing trailing whitespace in comment 2020-12-25 21:53:47 -08:00
Arunothia Marappan
cad48ea4e8 Updating lengthy comment 2020-12-25 21:50:46 -08:00
Arunothia Marappan
d28d51290b Removing space from blank line 2020-12-25 21:11:02 -08:00
Arunothia Marappan
949a136f53 Enforcing Delete to happen before all other operations in _apply 2020-12-25 21:07:23 -08:00
Arunothia Marappan
262eb37254 Merge branch 'master' into master 2020-12-18 13:00:42 -08:00
Peter Dave Hello
3dd7061a0c Remove Azure allow empty CNAME, PTR value behavior
cc #84 #628
2020-11-22 21:10:47 +08:00
Piotr Pieprzycki
b4da48b860 Add tests for long txt record, test alias entries 2020-08-11 04:47:05 -04:00
Arunothia Marappan
9b619c5ef2 Update comment 2020-07-16 17:07:33 -07:00
Arunothia Marappan
b67dac5a55 Reducing comment line length 2020-07-16 16:46:44 -07:00
Arunothia Marappan
4e056d315d Forcing delete to happen before create 2020-07-16 16:41:53 -07:00
Piotr Pieprzycki
cbcd0b3f00 Fix long lines. Change log to debug 2020-07-15 22:55:48 +03:00
Piotr Pieprzycki
2680b024bd Fix long lines. Change log to debug 2020-07-15 22:36:30 +03:00
Piotr Pieprzycki
41d7ef6601 Fix blank lines 2020-07-15 17:07:45 +03:00
Piotr Pieprzycki
c89664a9f1 Add support for long txt records. Skip Alias records 2020-07-15 15:59:55 +03:00
Ross McFarland
db77d5b3bb python3 compat for azure provider 2019-10-05 07:58:38 -07:00
omar
7c5c1b3367 AzureProvider: update for azure-mgmt-dns 2.1.0 and add support for CAA records. 2019-03-29 18:34:49 -07:00
Ross McFarland
bc6e492f35 Merge remote-tracking branch 'origin/master' into dynamic-records 2018-12-10 08:44:57 -08:00
Mads Mætzke Tandrup
32756fb815 Remove unused import 2018-12-06 21:39:09 +01:00
Mads Mætzke Tandrup
6c07157bd3 Changed from string.replace to s.replace 2018-12-06 21:33:25 +01:00
Ross McFarland
303d0532c8 Implement SUPPORTS_DYNAMIC functionality, no providers 2018-12-03 14:40:43 -08:00
Mads Tandrup
29598f2a5d Avoid escaping semicolon in Azure DNS 2018-09-24 21:44:15 +02:00
Ross McFarland
cee7677ae4 Implement Zone.add_record lenient across our providers 2018-05-30 12:41:59 -07:00
Ross McFarland
7228c5b294 Merge remote-tracking branch 'origin/master' into show-zone-create 2018-03-03 10:18:32 -08:00
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
2018-02-27 09:09:47 -08:00
Ross McFarland
720e8eb434 Implement populate exists for AzureProvider 2018-01-21 14:49:20 -08:00
Heesu Hwang
a46ee23cc5 Slight refactor to make parsing value vs values separate from return 2017-08-21 11:59:18 -07:00
Heesu Hwang
a2c9950d28 Fixed inconsistency bug with adding TXT records with Azure. 2017-08-21 10:28:43 -07:00
Heesu Hwang
99578f328c add azure to README. order reqs, change comments slightly, alphabetize functions 2017-07-05 09:45:38 -07:00
Heesu Hwang
348a6ca783 Changed to map types to Azure Records isntead of implicitly using eval 2017-07-03 16:03:20 -07:00
Heesu Hwang
cd9d7254f0 Fixed stray prints and assert errors. Added versions of required azure libraries 2017-07-03 11:03:23 -07:00
Heesu Hwang
ec4261e7da Fixed typed in _data_for_PTR and amended test case to check for it 2017-06-30 17:29:16 -07:00
Heesu Hwang
824cf4e98c Changed code as per PR review. Only major change is refactoring _check_zones. Many more comments 2017-06-30 17:12:18 -07:00
Heesu Hwang
0b2275c4e6 Added complete error testing suite for azuredns 2017-06-30 11:06:42 -07:00
Heesu Hwang
08d3fda99e safety check for azure null values 2017-06-28 14:00:59 -07:00