chore: deploy initial code base

This commit is contained in:
Thom Lamb
2026-05-12 10:34:30 -05:00
parent cce2961782
commit a81300a571
1829 changed files with 248331 additions and 1 deletions
@@ -0,0 +1,38 @@
using Strata.ContinuousImprovement.Biz.DbContexts;
using Strata.ContinuousImprovement.Api.Test.Integration.Setup;
using Strata.ContinuousImprovement.Api.Test.Integration.Tests;
using System.Diagnostics.CodeAnalysis;
[ExcludeFromCodeCoverage]
[SetUpFixture]
public class ClientIntegrationTestFixture
{
[OneTimeSetUp]
public virtual async Task SetDbContextAndServices()
{
#if DEBUG
//When running locally sets the profile to the CI profile so you have access to resources
Environment.SetEnvironmentVariable("AWS_Profile", "sdt-continuous-improvement-service-role");
#endif
var clientService = new ApiTestBase();
await clientService.ClientValidation();
var services = ServiceCollectionFactory.Create();
await services.SetupServiceProperties(clientService.StrataId);
}
[OneTimeTearDown]
public async Task TearDown()
{
try
{
var centralDbContext = ServiceProperties.CentralDbContext as CentralDbContext;
if (centralDbContext == null) { return; }
_ = await centralDbContext.Database.EnsureDeletedAsync(CancellationToken.None);
}
catch (Exception ex)
{
throw;
}
}
}