stela ops usage fixes roles propagation and timoeut, one account to support multi tenants, migrations consolidation, search to support documentation, doctor and open api vector db search

This commit is contained in:
master
2026-02-22 19:27:54 +02:00
parent a29f438f53
commit bd8fee6ed8
373 changed files with 832097 additions and 3369 deletions

View File

@@ -458,10 +458,11 @@ builder.Services.AddSingleton<IOptionsMonitor<ConcelierOptions>>(_ => new Static
builder.Services.AddStellaOpsCrypto(concelierOptions.Crypto);
// Stella Router integration
builder.Services.TryAddStellaRouter(
var routerEnabled = builder.Services.AddRouterMicroservice(
builder.Configuration,
serviceName: "concelier",
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
routerOptions: concelierOptions.Router);
version: System.Reflection.CustomAttributeExtensions.GetCustomAttribute<System.Reflection.AssemblyInformationalVersionAttribute>(System.Reflection.Assembly.GetExecutingAssembly())?.InformationalVersion ?? "1.0.0",
routerOptionsSection: "Router");
builder.ConfigureConcelierTelemetry(concelierOptions);
@@ -900,7 +901,7 @@ if (authorityConfigured)
}
// Stella Router integration
app.TryUseStellaRouter(concelierOptions.Router);
app.TryUseStellaRouter(routerEnabled);
// Deprecation headers for legacy endpoints (CONCELIER-WEB-OAS-63-001)
app.UseDeprecationHeaders();
@@ -4414,7 +4415,7 @@ app.MapGet("/v1/signals/symbols/exists/{advisoryId}", async (
}).WithName("CheckAffectedSymbolsExist");
// Refresh Router endpoint cache after all endpoints are registered
app.TryRefreshStellaRouterEndpoints(concelierOptions.Router);
app.TryRefreshStellaRouterEndpoints(routerEnabled);
await app.RunAsync();
}
@@ -4654,3 +4655,5 @@ internal sealed class StaticOptionsMonitor<TOptions> : IOptionsMonitor<TOptions>
}
}
}