Added standard config for localstack, logging and listening port for reports service, the same way as we do for other services.
Depends on D8864
Paths
| Differential D8865 Authored by bartek on Aug 18 2023, 12:18 AM.
Details
Summary Added standard config for localstack, logging and listening port for reports service, the same way as we do for other services. Depends on D8864 Test Plan cargo run, checked if cli args and localstack environment variable work
Diff Detail
Event Timelinebartek held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptAug 18 2023, 12:18 AM2023-08-18 00:18:56 (UTC-7) Harbormaster completed remote builds in B21884: Diff 30062.Aug 18 2023, 12:35 AM2023-08-18 00:35:59 (UTC-7) • jon added inline comments.
This revision is now accepted and ready to land.Aug 18 2023, 1:06 PM2023-08-18 13:06:52 (UTC-7) Comment Actions I agree with @jon, this was slightly confusing to me at the beginning when I started working on the services. bartek added a child revision: D8937: [report-service] Add report types structs.Aug 25 2023, 1:07 AM2023-08-25 01:07:21 (UTC-7) Harbormaster completed remote builds in B22072: Diff 30297.Aug 25 2023, 1:19 AM2023-08-25 01:19:23 (UTC-7) bartek added a child revision: D8947: [reports-service] Add HTTP server.Aug 25 2023, 4:20 AM2023-08-25 04:20:20 (UTC-7) bartek added a child revision: D8978: [reports-service] Introduce emails config.Aug 28 2023, 6:27 AM2023-08-28 06:27:57 (UTC-7) Closed by commit rCOMMc14102964eec: [reports-service] Add basic config (authored by bartek). · Explain WhyAug 28 2023, 7:45 AM2023-08-28 07:45:55 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 30297 services/comm-services-lib/src/blob/client.rs
services/reports/Cargo.lock
services/reports/Cargo.toml
services/reports/src/config.rs
|
Before we even generate key via SymmetricKey, should we check that destination.byteLength is 32 and throw InvalidDestinationSizeException() if not?
It seems like destination is the input that we want to validate, so we should just do that directly? It's not really so much that SymmetricKey is giving us incorrect size key since it's (I'm assuming) always going to give us exactly the size we're asking for?
Feel free to re-request review if there's something I'm missing here.