Fix build and code structure improvements. New but essential UI functionality. CI improvements. Documentation improvements. AI module improvements.
This commit is contained in:
@@ -46,7 +46,6 @@ using Xunit.Sdk;
|
||||
using StellaOps.Auth.Abstractions;
|
||||
using StellaOps.Auth.Client;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
using Microsoft.IdentityModel.Protocols;
|
||||
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
|
||||
using StellaOps.Concelier.WebService.Diagnostics;
|
||||
@@ -2079,7 +2078,7 @@ public sealed class WebServiceEndpointsTests : IAsyncLifetime
|
||||
{
|
||||
var settings = new Dictionary<string, string?>
|
||||
{
|
||||
["Plugins:Directory"] = Path.Combine(context.HostingEnvironment.ContentRootPath, "StellaOps.Concelier.PluginBinaries"),
|
||||
["Plugins:Directory"] = Path.GetFullPath(Path.Combine(context.HostingEnvironment.ContentRootPath, "..", "..", "..", "plugins", "concelier")),
|
||||
};
|
||||
|
||||
configurationBuilder.AddInMemoryCollection(settings!);
|
||||
@@ -2096,10 +2095,10 @@ public sealed class WebServiceEndpointsTests : IAsyncLifetime
|
||||
services.AddSingleton<IJobCoordinator>(sp => sp.GetRequiredService<StubJobCoordinator>());
|
||||
services.PostConfigure<ConcelierOptions>(options =>
|
||||
{
|
||||
options.Storage.Driver = "postgres";
|
||||
options.Storage.Dsn = _connectionString;
|
||||
options.Storage.CommandTimeoutSeconds = 30;
|
||||
options.Plugins.Directory ??= Path.Combine(AppContext.BaseDirectory, "StellaOps.Concelier.PluginBinaries");
|
||||
options.PostgresStorage ??= new ConcelierOptions.PostgresStorageOptions();
|
||||
options.PostgresStorage.ConnectionString = _connectionString;
|
||||
options.PostgresStorage.CommandTimeoutSeconds = 30;
|
||||
options.Plugins.Directory ??= Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", "..", "..", "..", "plugins", "concelier"));
|
||||
options.Telemetry.Enabled = false;
|
||||
options.Telemetry.EnableLogging = false;
|
||||
options.Telemetry.EnableTracing = false;
|
||||
|
||||
Reference in New Issue
Block a user