dnscontrol/integrationTest
Sukka 6153e3bac9
VERCEL: Fix some bugs (#3887)
The PR follows https://github.com/StackExchange/dnscontrol/pull/3542

Found some bugs when running intergration tests locally again, and the
PR is an attempt to fix them:

- When updating/creating HTTPS/SRV records, Vercel API only reads from
the corresponding struct (either `srv` or `https`). If we provide a
`value`, the Vercel API will reject with an error.
- The PR makes `Value` "nil-able", and sets `Value` to nil when dealing
with `SRV` or `HTTPS` records.
- When updating a record, currently, we treat the empty SVC param as
omitting the field. But with Vercel's API, omitting a field means not
updating the field. We need to explicitly make the field an empty string
to create/update an empty SVC param, and the PR does that.
- Vercel implements an unknown `ech=` parameter validation process for
HTTPS records. The validation process is unknown, undocumented, thus I
can't implement a `rejectif` for `AuditRecord`.
- Let's make this a known caveat, describe it in the provider docs, skip
these intergration tests, and move on.

Please tag this PR w/ `provider-VERCEL`.
2025-12-04 10:31:11 -05:00
..
config DOCS: Converted README.txt to .gitkeep (#1785) 2022-10-30 13:59:38 -04:00
zones DOCS: Converted README.txt to .gitkeep (#1785) 2022-10-30 13:59:38 -04:00
helpers_integration_test.go BUGFIX: IDN support is broken for domain names (#3845) 2025-11-29 12:17:44 -05:00
helpers_test.go REFACTOR: Split integration_test.go (it should mostly contain data tables) (#3420) 2025-02-06 15:13:44 -05:00
integration_test.go VERCEL: Fix some bugs (#3887) 2025-12-04 10:31:11 -05:00
profiles.json VERCEL: Implement Vercel DNS Provider (#3379) (#3542) 2025-12-01 08:41:56 -05:00
provider_test.go AZURE_DNS: Dedupe nameserver (#3526) 2025-05-03 08:36:31 -04:00