work work hard work

This commit is contained in:
StellaOps Bot
2025-12-18 00:47:24 +02:00
parent dee252940b
commit b4235c134c
189 changed files with 9627 additions and 3258 deletions

View File

@@ -19,12 +19,13 @@ public static class ApplicationBuilderExtensions
// Enforce payload limits first
app.UseMiddleware<PayloadLimitsMiddleware>();
// Rate limiting (Sprint 1200_001_001)
app.UseRateLimiting();
// Resolve endpoints from routing state
app.UseMiddleware<EndpointResolutionMiddleware>();
// Rate limiting (Sprint 1200_001_001)
// Runs after endpoint resolution so microservice identity is available.
app.UseRateLimiting();
// Make routing decisions (select instance)
app.UseMiddleware<RoutingDecisionMiddleware>();
@@ -59,12 +60,13 @@ public static class ApplicationBuilderExtensions
/// <returns>The application builder for chaining.</returns>
public static IApplicationBuilder UseRouterGatewayCore(this IApplicationBuilder app)
{
// Rate limiting (Sprint 1200_001_001)
app.UseRateLimiting();
// Resolve endpoints from routing state
app.UseMiddleware<EndpointResolutionMiddleware>();
// Rate limiting (Sprint 1200_001_001)
// Runs after endpoint resolution so microservice identity is available.
app.UseRateLimiting();
// Make routing decisions (select instance)
app.UseMiddleware<RoutingDecisionMiddleware>();