TromsFylkestrafikk / ragnarok

Harvest public transport data for statistics usage
0 stars 0 forks source link

Populate and actually use ragnarok_sinks table and model #39

Closed tfk-kaare closed 1 year ago

tfk-kaare commented 1 year ago

Problem / Motivation

The RagnarokSink abstraction we currently use is cumbersome and has weird API handling. We have to do many things manually.

Suggested resolution

Evolve the sink abstraction to proper eloquent models. By using a sink discovery mechanism (#41) we can use DB entries as abstractions for all sinks. This includes all the benefits with sink query using models and relations.