m-lab / etl-gardener

Gardener provides services for maintaining and reprocessing mlab data.
Apache License 2.0
13 stars 5 forks source link

Add JobIterator and DateIterators to job service #395

Closed stephen-soltesz closed 1 year ago

stephen-soltesz commented 1 year ago

This change adds three new types to eventually replace the current implementation of the job-service NextJob logic.

This change adds two types that implement a DateIterator interface:

This change adds a generic JobIterator that can accept either a DailyIterator or HistoricalIterator. Ultimately, the job service will include two JobIterators using one of each DateIterator.

Notable about this implementation:

Part of:

Tested only with unit tests. This change adds a new interface before using it.


This change is Reviewable

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3432


Totals Coverage Status
Change from base Build 3423: 1.02%
Covered Lines: 1625
Relevant Lines: 2193

💛 - Coveralls
stephen-soltesz commented 1 year ago

Thank you!