mozilla-ai / lumigator

Source code for Mozilla.ai's Lumigator platform
https://mozilla-ai.github.io/lumigator/
Apache License 2.0
64 stars 7 forks source link

Follow service layer pattern throughout all routes #389

Open peteski22 opened 1 week ago

peteski22 commented 1 week ago

Currently we don't have a HealthService to provide separation of upstream logic from the health router.

We should create a health service that be supplied to the routes via dependency injection, mirroring the pattern used elsewhere in the code base.

See: Jobs Service See: Job Service Dependency See: DI in routes