2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-30 22:05:21 +00:00
Commit Graph

180 Commits

Author SHA1 Message Date
Britney Wright
922b2b99e2 Allow updating and deleting dotted host records in batch change (#702) 2019-07-03 11:44:24 -04:00
Rebecca Star
ddd4bab5ab remove duplicate group across func tests (#724) 2019-07-02 13:51:44 -04:00
Rebecca Star
2150451f52 Add Rejected, NeedsReview status (#716)
* needsApproval status

* with rejected

* with larger SC field in db

* tests
2019-07-01 14:18:53 -04:00
Britney Wright
200ab3598f add approve pending batch change route (#704) 2019-06-28 11:52:21 -04:00
Rebecca Star
92880ffa88 Save a batch needing approval (#710)
* save batch when all errors are soft failures

* tests
2019-06-28 11:16:13 -04:00
Britney Wright
4aff3f4079 change listAll parameter to ignoreAccess (#713) 2019-06-28 10:06:41 -04:00
Britney Wright
826cd55562 allow updates for dotted host records in update recordset (#703) 2019-06-27 10:43:11 -04:00
Britney Wright
99b8b0f800 allow super and support users to list all batch changes (#700) 2019-06-25 14:33:00 -04:00
Britney Wright
223d0d9bdd adjust zone listAll func tests (#707) 2019-06-25 11:33:33 -04:00
Britney Wright
693b5e15e9 Expand Zone access (#689) 2019-06-24 17:19:59 -04:00
Rebecca Star
e4b2d7e499 Single changes with optional fields (#663)
* single changes with optional fields

* backwards compatible

* tests
2019-06-21 09:34:19 -04:00
Michael Ly
bee907fa16 Repository preparation for LDAP sync (#692)
* Add task repository and update user repository.
* Update integration tests.
* Deprecate DynamoDB users repo.
* Update core repository module.
2019-06-20 15:43:31 -04:00
Dave Cleaver
ce8feb3800 Fix integration testing (#695)
Change directory for emails
Update remove script to add mail container
2019-06-18 14:36:59 -04:00
Dave Cleaver
3074e503fa Add email notifier (#674)
* Add email notifier

Provide email on batch change to the requesting user

* Test email notifier

Add unit tests for email notifier

* Address EmailNotifier comments

Add integration test for Email Notifier
Log unparseable emails
Add detail to email
2019-06-18 10:53:50 -04:00
Paul Cleary
c880b07145 Large zone updates (#691)
Adding updates to handle large zones (> 500,000).

1. `APIMetrics` allows configuration driven metrics collection.  Metrics we need here are for large zones, so we have a flag to enable logging of memory usage.  If `log-enabled=true` in the settings, start up a logging reporter that will memory usage to the log file every `log-seconds` seconds.
1. `CommandHandler` - increase the visibility timeout to 1 hour.  In testing with a large zone of 600,000 records, the initial zone sync process took 36 minutes.  Going to 1 hour should give us the ability to handle zones a little larger than 600,000 DNS records
1. `ZoneConnectionValidator` - increasing the timeout to 60 seconds from 6 seconds, as doing a zone transfer of large zones can take 10-20 seconds
1. `DNSZoneViewLoader` - adding logging around how many raw records are loaded so we can marry raw counts to memory usage
1. `core.Instrumented` - I put the `MemoryGaugeSet` into the `core` project as I thought it would be useful for the portal as well as the API.
2019-06-17 17:15:29 -04:00
Britney Wright
326829ae80 validate batch change review rejection (#678) 2019-06-17 13:53:21 -04:00
Britney Wright
bcfab1ca6b update ZoneDiscoveryError message (#688) 2019-06-14 11:41:27 -04:00
Britney Wright
3861625996 update 'Zone already exists' verbiage (#685) 2019-06-12 13:26:07 -04:00
Rebecca Star
15cf7c9eaa remove unnecessary logger (#684) 2019-06-11 17:24:52 -04:00
Rebecca Star
17e527e696 Reverse zone discovery bug (#681)
* fix zone discovery match

* tests
2019-06-11 10:28:22 -04:00
Michael Ly
9313e78481 Add reject batch change endpoint (#665)
* Add endpoint for reject batch change.
* Add unit tests.
* Add TODO comments to batch change route.
2019-06-10 09:55:17 -04:00
Rebecca Star
18c6c3850c Config disabling of multirecord batch updates (#677)
* disable multi record batch update

* change existing func tests

* new func tests
2019-06-07 10:11:06 -04:00
Paul Cleary
db40b68927 Better sync logging (#679)
* Improve logging for zone sync

* Adding logging for health check
2019-06-05 11:11:38 -04:00
Britney Wright
f910a39777 add attributes for batch change review process (#650) 2019-05-31 15:02:30 -04:00
Rebecca Star
7e53e4da9d Make TTL optional (again) (#670)
* core code changes for optional ttl

* func test for optional ttl

* tests

* docs update
2019-05-31 14:25:26 -04:00
Britney Wright
e0edd74031 update default shared-approved-types config (#668) 2019-05-31 10:06:20 -04:00
Nima Eskandary
0f951f3341 Fail if zone id is not equal on recordset update (#656)
* fail if trying to update a recordset zoneId
2019-05-30 15:12:21 -04:00
Nima Eskandary
62bf4cf7bc mysql recordset fix paging for duplicate names (#640)
* mysql recordset fix paging for duplicate names
2019-05-30 11:46:48 -04:00
Dave Cleaver
943839bdf1 Call Notifiers on BatchChange completion (#639)
* Call Notifiers on BatchChange completion

Load Notifiers from config
Change updateSingleChanges to return the full BatchChange.
Call Notifiers on successful BatchChange

* Notifier tie in tests

Clean up based on feedback
Test gathering BatchChange on SingleChange update
Test notify on complete BatchChange

* Config changes

Match notifier configs with data store configs
Clean up updateSingleChanges method
2019-05-28 11:16:56 -04:00
Britney Wright
ddd405dc80 ensure trailing dot in list zones search (#653) 2019-05-24 14:26:00 -04:00
Paul Cleary
e03690271a Wildcard search (#636)
* Add wildcard support

* Add wildcard search for zones

* Update documentation

* Fix for AWSAuthenticator to support asterisks
2019-05-23 10:56:52 -04:00
Rebecca Star
0bdf36cb86 dotted host zone discovery in batch (#633)
* untested dotted zone lookup

* func tests

* unit tests
2019-05-17 11:04:28 -04:00
Mike Ball
3cf29f6546 improve shell script language (#630)
Convert "Retrying again" text to "Retrying" in shell scripts
2019-05-15 10:27:23 -04:00
Nima Eskandary
3d111ff1b7 delete recordsets from repo on zone delete (#622)
* delete recordsets from repo on zone delete
2019-05-09 16:29:08 -04:00
Britney Wright
a02b47de0c remove wait_until_zone_exists helper (#620) 2019-05-08 17:04:40 -04:00
Rebecca Star
4fad6938f5 limit super user to normal access on record changes (#609)
* limit super user to normal access on record changes

* style issue

* fix tests
2019-05-07 14:12:25 -04:00
Michael Ly
c2a86f5c15 Update backend ID functional test to be more flexible. (#619) 2019-05-07 13:10:16 -04:00
Nima Eskandary
f0a25fe943 Zone BackendID in portal (#607)
* list backend ids route and option to update a zones backendid in portal
2019-05-06 11:51:27 -04:00
Nima Eskandary
d27e5bc49e is test on zone create (#610)
* make zone isTest attribute match user isTest attribute
2019-05-01 14:42:23 -04:00
Nima Eskandary
89381f1f61 change error message for zone update (#608)
* change error message for zone update
2019-04-30 11:29:29 -04:00
Nima Eskandary
2d2329f728 case ignored regexes for high value domain and name servers (#604)
* case ignored regexes for high value domain and approved name servers
2019-04-30 10:25:23 -04:00
Nima Eskandary
c1d88c5dca max zone size (#584)
* max zone size rule

* refactor IOs
2019-04-26 09:47:29 -04:00
Thomas Pressnell
77c4536e37 Adding NAPTR support (#594)
* Adding NAPTR support
2019-04-24 11:22:05 -04:00
Britney Wright
e0f2321c5e set default streams in mainFlow (#592) 2019-04-18 17:10:50 -04:00
Britney Wright
6f4bdbc7d3 make sure zone name is fully qualified in getByZoneName (#591) 2019-04-18 16:45:22 -04:00
Varsha Chandrashekar
bbef8df44c Change paging to not use offset in MySqlZoneRepository (#583) 2019-04-18 11:24:52 -04:00
Michael Ly
66745d4631 Enable shared zone toggle for zone admins that are also support users (#589)
* Enable zone shared flag toggling for zone admins that are also support users.
* Add unit tests.
2019-04-18 10:27:55 -04:00
Varsha Chandrashekar
b431894b9a Expose get zone by name route in the API (#588) 2019-04-17 15:15:49 -04:00
Michael Ly
7fac32a8b3 Allow dotted hosts for TXT records (#587)
* Add dotted hosts support for TXT records.
* Updated functional tests.
2019-04-17 15:00:54 -04:00
Britney Wright
76c77a7609 Use getRecordSetsByFQDNs (#586) 2019-04-17 14:29:18 -04:00