boulder/core
Aaron Gable bab688b98f
Remove sa-wrappers.go (#5663)
Remove the last of the gRPC wrapper files. In order to do so:

- Remove the `core.StorageGetter` interface. Replace it with a new
  interface (whose methods include the `...grpc.CallOption` arg)
  inside the `sa/proto/` package.
- Remove the `core.StorageAdder` interface. There's no real use-case
  for having a write-only interface.
- Remove the `core.StorageAuthority` interface, as it is now redundant
  with the autogenerated `sapb.StorageAuthorityClient` interface.
- Replace the `certificateStorage` interface (which appears in two
  different places) with a single unified interface also in `sa/proto/`.
- Update all test mocks to include the `_ ...grpc.CallOption` arg in
  their method signatures so they match the gRPC client interface.
- Delete many methods from mocks which are no longer necessary (mostly
  because they're mocking old authz1 methods that no longer exist).
- Move the two `test/inmem/` wrappers into their own sub-packages to
  avoid an import cycle.
- Simplify the `satest` package to satisfy one of its TODOs and to
  avoid an import cycle.
- Add many methods to the `test/inmem/sa/` wrapper, to accommodate all
  of the methods which are called in unittests.

Fixes #5600
2021-09-27 13:25:41 -07:00
..
proto Add IssuerID field to CertificateStatus proto (#5595) 2021-08-20 13:21:44 -07:00
challenges.go Introduce new core.AcmeChallenge type (#5012) 2020-08-11 15:02:16 -07:00
challenges_test.go Make authz2 the default storage format (#4476) 2019-10-21 15:29:15 -04:00
core_test.go Introduce new core.AcmeChallenge type (#5012) 2020-08-11 15:02:16 -07:00
interfaces.go Remove sa-wrappers.go (#5663) 2021-09-27 13:25:41 -07:00
objects.go Make CertificateStatus.IssuerID not a reference (#5594) 2021-08-20 13:19:29 -07:00
objects_test.go Introduce new core.AcmeChallenge type (#5012) 2020-08-11 15:02:16 -07:00
util.go Remove common config from publisher (#5353) 2021-03-18 16:59:06 -07:00
util_test.go Add go1.17beta1 to CI (#5483) 2021-07-13 10:00:04 -07:00