Skip to content

Commit

Permalink
[ODS-6540] Fix TreatErrorsAsWarning typo (6x) (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
simpat-jesus authored Oct 30, 2024
1 parent c4358a7 commit 76720b7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Copyright>Copyright © 2020 Ed-Fi Alliance, LLC and Contributors</Copyright>
<AssemblyName>EdFi.Ods.Api.IntegrationTestHarness</AssemblyName>
<RootNamespace>EdFi.Ods.Api.IntegrationTestHarness</RootNamespace>
<TreatErrorsAsWarning>true</TreatErrorsAsWarning>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RestorePackages>true</RestorePackages>
<UserSecretsId>f1506d66-289c-44cb-a2e2-80411cc690ed</UserSecretsId>
</PropertyGroup>
Expand Down Expand Up @@ -34,9 +34,8 @@
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Microsoft.Extensions.Logging.Log4Net.AspNetCore" Version="8.0.0" />
<PackageReference Include="Npgsql" Version="8.0.3" />
<PackageReference Include="NHibernate" Version="5.5.0" />
<PackageReference Include="NHibernate" Version="5.5.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<ItemGroup>
<PackageReference Include="EdFi.Suite3.Common" Version="6.2.392" />
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="NHibernate" Version="5.5.0" />
<PackageReference Include="NHibernate" Version="5.5.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AssemblyName>EdFi.Ods.Sandbox.Admin</AssemblyName>
<RootNamespace>EdFi.Ods.Sandbox.Admin</RootNamespace>
<Copyright>Copyright © 2020 Ed-Fi Alliance, LLC and Contributors</Copyright>
<TreatErrorsAsWarning>true</TreatErrorsAsWarning>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RestorePackages>true</RestorePackages>
<UserSecretsId>f1506d66-289c-44cb-a2e2-80411cc690ea</UserSecretsId>
</PropertyGroup>
Expand All @@ -22,10 +22,9 @@
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Log4Net.AspNetCore" Version="8.0.0" />
<PackageReference Include="Npgsql" Version="8.0.3" />
<PackageReference Include="NHibernate" Version="5.5.0" />
<PackageReference Include="NHibernate" Version="5.5.2" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void Configure()
if (user.Value.Sandboxes.Any(s => s.Value.Refresh))
{
// Change the recurrence to suit your needs using Cron functions or a unix CRON expressions (i.e. "* */6 * * *" = every 6 hours)
RecurringJob.AddOrUpdate("RebuildSandboxes", () => _engine.RebuildSandboxes(), Cron.Daily(), TimeZoneInfo.Local);
RecurringJob.AddOrUpdate("RebuildSandboxes", () => _engine.RebuildSandboxes(), Cron.Daily(), new RecurringJobOptions { TimeZone = TimeZoneInfo.Local });
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Application/EdFi.Ods.SandboxAdmin/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void ConfigureServices(IServiceCollection services)
}
else
{
config.UsePostgreSqlStorage(Configuration.GetConnectionString("EdFi_Admin"));
config.UsePostgreSqlStorage(options => options.UseNpgsqlConnection(Configuration.GetConnectionString("EdFi_Admin")));
}
});

Expand Down
5 changes: 2 additions & 3 deletions Application/EdFi.Ods.WebApi/EdFi.Ods.WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AssemblyName>EdFi.Ods.WebApi</AssemblyName>
<RootNamespace>EdFi.Ods.WebApi</RootNamespace>
<Copyright>Copyright © 2020 Ed-Fi Alliance, LLC and Contributors</Copyright>
<TreatErrorsAsWarning>true</TreatErrorsAsWarning>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RestorePackages>true</RestorePackages>
<UserSecretsId>f1506d66-289c-44cb-a2e2-80411cc690ec</UserSecretsId>
</PropertyGroup>
Expand All @@ -24,9 +24,8 @@
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
<PackageReference Include="Microsoft.ApplicationInsights.Log4NetAppender" Version="2.22.0" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Log4Net.AspNetCore" Version="8.0.0" />
<PackageReference Include="NHibernate" Version="5.5.0" />
<PackageReference Include="NHibernate" Version="5.5.2" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Npgsql" Version="8.0.3" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
Expand Down

0 comments on commit 76720b7

Please sign in to comment.