boulder/sa
James Renken 3f879ed0b4
Add Identifiers to Authorization & Order structs (#7961)
Add `identifier` fields, which will soon replace the `dnsName` fields,
to:
- `corepb.Authorization`
- `corepb.Order`
- `rapb.NewOrderRequest`
- `sapb.CountFQDNSetsRequest`
- `sapb.CountInvalidAuthorizationsRequest`
- `sapb.FQDNSetExistsRequest`
- `sapb.GetAuthorizationsRequest`
- `sapb.GetOrderForNamesRequest`
- `sapb.GetValidAuthorizationsRequest`
- `sapb.NewOrderRequest`

Populate these `identifier` fields in every function that creates
instances of these structs.

Use these `identifier` fields instead of `dnsName` fields (at least
preferentially) in every function that uses these structs. When crossing
component boundaries, don't assume they'll be present, for
deployability's sake.

Deployability note: Mismatched `cert-checker` and `sa` versions will be
incompatible because of a type change in the arguments to
`sa.SelectAuthzsMatchingIssuance`.

Part of #7311
2025-03-26 10:30:24 -07:00
..
db SA: Support profiles associated with authorizations (#7956) 2025-01-27 14:53:30 -08:00
db-next ARI: Store and reflect optional "replaces" value for Orders (#8056) 2025-03-12 15:09:29 -04:00
db-users Deprecate DisableLegacyLimitWrites & UseKvLimitsForNewOrder flags; remove code using certificatesPerName & newOrdersRL tables (#7858) 2025-01-10 12:50:57 -08:00
proto Add Identifiers to Authorization & Order structs (#7961) 2025-03-26 10:30:24 -07:00
satest ratelimit: Remove legacy registrations per IP implementation (#7760) 2024-11-19 18:39:21 -05:00
testdata Support writing OCSP to Redis on revocation (#6012) 2022-04-01 13:59:56 -06:00
database.go ARI: Store and reflect optional "replaces" value for Orders (#8056) 2025-03-12 15:09:29 -04:00
database_test.go SA: Enforce microsecond granularity for long_query_time and max_statement_time (#7224) 2023-12-21 13:06:30 -05:00
metrics.go sa: refactor db initialization (#6930) 2023-06-13 10:15:40 -07:00
migrations.sh test: Support multiple database schemas (#6344) 2022-09-07 14:59:08 -07:00
model.go Add Identifiers to Authorization & Order structs (#7961) 2025-03-26 10:30:24 -07:00
model_test.go Add Identifiers to Authorization & Order structs (#7961) 2025-03-26 10:30:24 -07:00
sa.go Add Identifiers to Authorization & Order structs (#7961) 2025-03-26 10:30:24 -07:00
sa_test.go Add Identifiers to Authorization & Order structs (#7961) 2025-03-26 10:30:24 -07:00
saro.go Add Identifiers to Authorization & Order structs (#7961) 2025-03-26 10:30:24 -07:00
sysvars.go SA: Check MariaDB system variables at startup (#6791) 2023-04-18 11:02:33 -04:00
sysvars_test.go SA: Check MariaDB system variables at startup (#6791) 2023-04-18 11:02:33 -04:00
type-converter.go sa: truncate times in type converter (#7556) 2024-06-24 11:26:34 -07:00
type-converter_test.go sa: truncate times in type converter (#7556) 2024-06-24 11:26:34 -07:00