• leigh schrandt's avatar
    Google Provider logging for misconfigured zones (#388) · 930c8d48
    leigh schrandt authored
    * provider=google: Improve Logging / Filter Endpoints
    
    1. move dry-run exit after `separateChange()`
    2. log records after `separateChange()`
    3. make `newRecords()` a method of `GoogleProvider` — use `domainFilter.Match()` foreach `endpoint.DNSName`
       ^ without this, non-relevant endpoints show up in the warnings for “No matching zone”
    
    * provider=google: Add tests for domainFilter
    
    - new test: `TestGoogleRecordsFilter`
    - add no matching zone and filtered record to `TestGoogleApplyChanges`
    - allow `setupGoogleRecords` to createRecords without validateEndpoints
    
    * provider=google: Improve zone-matching logs
    
    - Add `DomainFilter.isConfigured()`
    - Conditionally log zone matching for the user based off of `DomainFilter.isConfigured()`
    - Rename `provider.newRecords()` to `provider.newFilteredRecords`
    
    * fix: ensure that our setup methods are correct by keeping the tests
    930c8d48
To find the state of this project's repository at the time of any of these versions, check out the tags.