When work (maintenance or feature development) with the diffs service is being done, we want to use our current patterns and standards of handler development as well as get rid of some dependencies listed in ToDo section so that we can start developing our v2 API(s) with filtering and fields selection.
Acceptance criteria:
The service name is changed to realtime-batch or hourly and aggregate and tidy handlers are being refactored to avoid using storage.Storage package and produce ndjson instead of regular json in aggregation endpoints.
To-Do:
- refactor aggregate handler to remove storage.Storage dependency and
- refactor tidy handler to remove storage.Storage dependency
- rename repository from diffs to hourly or realtime-batch
- change proto file name from diffs to hourly or realtime-batch