aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Program.cs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-02-18 12:23:04 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-02-18 12:23:04 +0100
commit191d36dbbea5fab6141d9a144f154c98757e284f (patch)
tree4d18e83c14c7f48ccc0eb1f57d3516f94ed305d8 /src/Enmarcha.Backend/Program.cs
parent3adc4abbe506aeb3a11afdd731e571b387423d42 (diff)
feat: Add CtagShuttle support with real-time WRONG estimate and good position
Diffstat (limited to 'src/Enmarcha.Backend/Program.cs')
-rw-r--r--src/Enmarcha.Backend/Program.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Enmarcha.Backend/Program.cs b/src/Enmarcha.Backend/Program.cs
index f4b39ff..025a0b3 100644
--- a/src/Enmarcha.Backend/Program.cs
+++ b/src/Enmarcha.Backend/Program.cs
@@ -128,6 +128,7 @@ builder.Services.AddSingleton<LineFormatterService>();
builder.Services.AddScoped<IArrivalsProcessor, VitrasaRealTimeProcessor>();
builder.Services.AddScoped<IArrivalsProcessor, CorunaRealTimeProcessor>();
builder.Services.AddScoped<IArrivalsProcessor, SantiagoRealTimeProcessor>();
+builder.Services.AddScoped<IArrivalsProcessor, CtagShuttleRealTimeProcessor>();
builder.Services.AddScoped<IArrivalsProcessor, VigoUsageProcessor>();
builder.Services.AddScoped<IArrivalsProcessor, FilterAndSortProcessor>();
@@ -142,6 +143,7 @@ builder.Services.AddHttpClient<IGeocodingService, GeoapifyGeocodingService>();
builder.Services.AddHttpClient<OtpService>();
builder.Services.AddHttpClient<Enmarcha.Sources.TranviasCoruna.CorunaRealtimeEstimatesProvider>();
builder.Services.AddHttpClient<Enmarcha.Sources.Tussa.SantiagoRealtimeEstimatesProvider>();
+builder.Services.AddHttpClient<Enmarcha.Sources.CtagShuttle.CtagShuttleRealtimeEstimatesProvider>();
builder.Services.AddHttpClient<Costasdev.VigoTransitApi.VigoTransitApiClient>();
var app = builder.Build();