m-lab / etl-gardener

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

Combine "handler" functions for the JobsAPI in tracker package #360

Closed stephen-soltesz closed 2 years ago

stephen-soltesz commented 2 years ago

Previously the handler implementations for the JobsAPI was split across two packages. This change moves all handler functions to the tracker/handler.go

Previously the instance relationships looked like:

With this change, the instance relationship look like:

This consolidation (all handlers in one place) will allow us to introduce a "v2" api that extends the Job interface between the ETL parsers and the gardener.

NOTES:


This change is Reviewable

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.06%) to 60.625% when pulling bfaea421730e515f2a81a827862be82362b1f0aa on sandbox-soltesz-combine-handlers into 87a3bb0f7847155d9402a48d1f8ffe4c64c8c7c1 on master.