9 Commits

Author SHA1 Message Date
176a1cd8c1 Revert "FileStore.PutObject: Accept io.ReadCloser"
This turned out to actually make testing more difficult, as the
FileStore objects are generally mocked themselves and moving the Close()
call inside them introduced IO problems in the test suite.

This reverts commit a063f85eca5dd3f983bc9b790fd68108820cc730.
2022-01-03 13:32:39 +01:00
a063f85eca FileStore.PutObject: Accept io.ReadCloser
Accepting a ReadCloser in place of a Reader allows the FileSystem
implementation to handle closing the reader, which in turn simplifies
downstream code.
2022-01-03 09:57:49 +01:00
2b1a668c9d Add GetAudioSegment flow 2021-12-29 16:41:43 +01:00
2445ebc02f Rename gRPC endpoints and service methods.
- GetAudio > GetPeaks
- GetAudioSegment > GetPeaksForSegment
2021-12-17 17:30:53 +01:00
4ef5dc4189 Add test coverage for filestore package 2021-12-13 21:13:11 +01:00
c8de6643e8 Remove S3 bucket columns from media_sets table
Re: 
2021-12-13 04:29:02 +01:00
f2d7af0860 Extract S3 code to S3FileStore
Re: 
2021-12-07 20:58:11 +01:00
6d8b1beba7 Add test coverage for MediaService.GetAudioSegment 2021-12-05 20:05:58 +01:00
935c2add2a Add generated code to Git 2021-12-05 11:56:33 +01:00