Commit Graph

2145 Commits

Author SHA1 Message Date
Kush Bavishi
b4f4e4dc24 Added extra check for return value to test_create_txt_record 2019-08-07 13:55:02 -07:00
Kush Bavishi
fa7f71d859 Modified paginate response to dummy values 2019-08-07 13:53:10 -07:00
Kush Bavishi
3ff56fc595 Blank line removed 2019-08-07 13:42:11 -07:00
Kush Bavishi
894502644c test_wait_for_dns_change fixed! 2019-08-07 13:39:20 -07:00
Kush Bavishi
37a1b55b08 test_delete_txt_record changed to mock get_zone_name and return the value directly instead of executing the function. 2019-08-07 13:27:21 -07:00
Kush Bavishi
31c2d207a2 test_delete_txt_record fixed. Function call was missing earlier 2019-08-07 13:23:05 -07:00
Kush Bavishi
785c1ca73e test_create_txt_record modified - get_zone_name mocked to return the zone name directly, instead of actually running the function. 2019-08-07 13:20:24 -07:00
Kush Bavishi
f2cbddf9e2 Unit tests for get_zone_name, get_zones 2019-08-07 13:17:16 -07:00
Kush Bavishi
6e84e1fd59 Unit Tests for create_txt_record, delete_txt_record, wait_for_dns_change 2019-08-07 13:04:38 -07:00
Kush Bavishi
a7c2b970b0 Unit testing Part 1 2019-08-05 14:00:22 -07:00
Hossein Shafagh
ad6c38960a
Merge branch 'master' into ultradnsPlugin 2019-07-31 16:05:36 -07:00
Kush Bavishi
2903799b85 Changed string formatting from "{}".format() to f"{}" for consistency 2019-07-31 14:19:49 -07:00
Hossein Shafagh
bbc3bf513d
Merge pull request #2837 from hosseinsh/moving-cronjobs-to-celery-v2
moving all cron jobs to become celery jobs
2019-07-31 14:11:25 -07:00
Hossein Shafagh
e8e4f826ea updating logging format 2019-07-31 13:09:31 -07:00
Kush Bavishi
5a401b2d87 Added the Zone class and Record class to ultradns.py and removed the respective files 2019-07-31 12:04:42 -07:00
Kush Bavishi
fe075dc9f5 Changed function comments to doc strings. 2019-07-31 12:00:31 -07:00
Kush Bavishi
503df999fa Updated metrics.send to send function named, followed by status, separated by a period 2019-07-31 11:32:04 -07:00
Kush Bavishi
11cd095131 Reduced the number of calls to get_public_authoritative_nameserver by using a variable 2019-07-31 11:12:28 -07:00
Kush Bavishi
3ba7fdbd49 Updated logger to log a dictionary instead of a string 2019-07-31 11:11:39 -07:00
Hossein Shafagh
0f591e9a3d
Merge branch 'master' into moving-cronjobs-to-celery-v2 2019-07-30 14:13:59 -07:00
Hossein Shafagh
6bf920e66c
Merge branch 'master' into ultradnsPlugin 2019-07-30 14:13:45 -07:00
Hossein Shafagh
0be80e156a
Merge pull request #2834 from hosseinsh/better-error-handling-dyn
metric tags, to be able to track which domains where failing during t…
2019-07-30 13:38:12 -07:00
Hossein Shafagh
7810095796
Merge branch 'master' into better-error-handling-dyn 2019-07-30 13:27:43 -07:00
Hossein Shafagh
ff933ba1aa
Merge pull request #2833 from hosseinsh/redis-better-error-handling_
better error handling for redis
2019-07-30 13:27:33 -07:00
Kush Bavishi
44bc562e8b
Update ultradns.py
Minor logging changes in wait_for_dns_change
2019-07-30 13:08:16 -07:00
Hossein Shafagh
30e4f5032b
Merge branch 'master' into moving-cronjobs-to-celery-v2 2019-07-30 11:44:24 -07:00
Hossein Shafagh
ffdd06ec07
Merge branch 'master' into better-error-handling-dyn 2019-07-30 11:43:56 -07:00
Hossein Shafagh
bec4416185
Merge branch 'master' into redis-better-error-handling_ 2019-07-30 11:43:49 -07:00
Kush Bavishi
b17da52ead Merge branch 'master' of https://github.com/kush-bavishi/lemur into ultradnsPlugin 2019-07-30 11:40:20 -07:00
Kush Bavishi
3d48b422b5 Removed TODO 2019-07-30 11:39:35 -07:00
Hossein Shafagh
0ec8fe05ea
Merge pull request #2838 from hosseinsh/fixing-makeFile
lemur is one level deep than makefile
2019-07-30 10:41:29 -07:00
Hossein Shafagh
244aa069f0 lemur is one level deep than makefile 2019-07-30 10:32:09 -07:00
Hossein Shafagh
a89cbe9332 moving all cron jobs to become celery jobs 2019-07-30 09:57:15 -07:00
Kush Bavishi
3ad791e1ec Dynamically obtain the authoritative nameserver for the domain 2019-07-29 18:01:28 -07:00
Kush Bavishi
e993194b4f Check ultraDNS authoritative server first. Upon success, check Googles DNS server. 2019-07-29 14:59:28 -07:00
Hossein Shafagh
adabe18c90 metric tags, to be able to track which domains where failing during the LetsEncrypt domain validation 2019-07-25 18:56:28 -07:00
Hossein Shafagh
429e6a967c better error handling for redis 2019-07-25 18:49:19 -07:00
Kush Bavishi
252410c6e9 Updated TTL from 300 to 5 2019-07-22 16:00:20 -07:00
Kush Bavishi
51f3b7dde0 Added the Record class for UltraDNS 2019-07-22 14:23:40 -07:00
Kush Bavishi
0b52aa8c59 Added Zone class to handle ultradns zones 2019-07-22 11:47:48 -07:00
Hossein Shafagh
5c1bc72af8
Merge pull request #2825 from arnydo/docs_adcs
Add ADCS Plugin to Docs
2019-07-18 17:16:53 -07:00
Hossein Shafagh
41cf1335d2
Merge branch 'master' into docs_adcs 2019-07-18 17:04:09 -07:00
Hossein Shafagh
3beaedc2fa
Merge pull request #2832 from hosseinsh/metrics-tags
fixing metrics: source is not dict
2019-07-18 17:03:25 -07:00
Hossein Shafagh
004df84c6d
Merge branch 'master' into docs_adcs 2019-07-18 16:54:03 -07:00
Hossein Shafagh
36ebba6491 source is not dict 2019-07-18 15:16:01 -07:00
Kush Bavishi
e37a7c775e Initial commit for the UltraDNS plugin to support Lets Encrypt 2019-07-18 14:29:54 -07:00
Hossein Shafagh
ee151bdc43
Merge pull request #2828 from hosseinsh/improved-logging-alerting-v2
Improved logging alerting v2
2019-07-17 11:33:45 -07:00
Hossein Shafagh
a3706594fc
Merge branch 'master' into improved-logging-alerting-v2 2019-07-17 11:20:55 -07:00
Hossein Shafagh
d199819d66
Merge pull request #2829 from hosseinsh/update-reqs-20190712
updating requirements
2019-07-17 09:54:41 -07:00
Hossein Shafagh
09c0fa0f94 updating the function declaration 2019-07-16 17:21:01 -07:00