Skip to content

Commit

Permalink
feat(nuget): update framework nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil91 committed Feb 11, 2024
1 parent fd12f8f commit b84b76f
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: dotnet restore src

- name: List packages
run: dotnet list src package --include-transitive --interactive | grep ">" | grep -Pv "\s(Org|Microsoft|NuGet|System|runtime|docker|Docker|NETStandard)" | sed -E -e "s/\s+> ([a-zA-Z\.\-]+).+\s([0-9]+\.[0-9]+\.[0-9]+)\s*/nuget\/nuget\/\-\/\1\/\2/g" | awk '!seen[$0]++' > PACKAGES
run: dotnet list src package --include-transitive --interactive | grep ">" | grep -Pv "\s(Org.Eclipse.TractusX.PolicyHub|Microsoft|NuGet|System|runtime|docker|Docker|NETStandard)" | sed -E -e "s/\s+> ([a-zA-Z\.\-]+).+\s([0-9]+\.[0-9]+\.[0-9]+)\s*/nuget\/nuget\/\-\/\1\/\2/g" | awk '!seen[$0]++' > PACKAGES

- name: Generate Dependencies file
run: java -jar ./scripts/download/org.eclipse.dash.licenses-1.0.2.jar PACKAGES -project automotive.tractusx -summary DEPENDENCIES || true
Expand Down
49 changes: 0 additions & 49 deletions PACKAGES
Original file line number Diff line number Diff line change
@@ -1,49 +0,0 @@
nuget/nuget/-/Flurl.Signed/3.0.6
nuget/nuget/-/EFCore.NamingConventions/7.0.2
nuget/nuget/-/Newtonsoft.Json/13.0.3
nuget/nuget/-/Npgsql/7.0.6
nuget/nuget/-/Npgsql.EntityFrameworkCore.PostgreSQL/7.0.11
nuget/nuget/-/Serilog/3.0.1
nuget/nuget/-/Serilog.AspNetCore/7.0.0
nuget/nuget/-/Serilog.Enrichers.CorrelationId/3.0.1
nuget/nuget/-/Serilog.Enrichers.Environment/2.3.0
nuget/nuget/-/Serilog.Enrichers.Process/2.0.2
nuget/nuget/-/Serilog.Enrichers.Sensitive/1.7.3
nuget/nuget/-/Serilog.Enrichers.Thread/3.1.0
nuget/nuget/-/Serilog.Extensions.Hosting/7.0.0
nuget/nuget/-/Serilog.Extensions.Logging/7.0.0
nuget/nuget/-/Serilog.Formatting.Compact/1.1.0
nuget/nuget/-/Serilog.Settings.Configuration/7.0.1
nuget/nuget/-/Serilog.Sinks.Console/4.1.0
nuget/nuget/-/Serilog.Sinks.Debug/2.0.0
nuget/nuget/-/Serilog.Sinks.File/5.0.0
nuget/nuget/-/Swashbuckle.AspNetCore/6.5.0
nuget/nuget/-/Swashbuckle.AspNetCore.Swagger/6.5.0
nuget/nuget/-/Swashbuckle.AspNetCore.SwaggerGen/6.5.0
nuget/nuget/-/Swashbuckle.AspNetCore.SwaggerUI/6.5.0
nuget/nuget/-/SwashBuckle.AspNetCore/6.5.0
nuget/nuget/-/Humanizer.Core/2.14.1
nuget/nuget/-/Mono.TextTemplating/2.2.1
nuget/nuget/-/AutoFixture/4.18.0
nuget/nuget/-/AutoFixture.AutoFakeItEasy/4.18.0
nuget/nuget/-/AutoFixture.Xunit/4.18.0
nuget/nuget/-/coverlet.collector/6.0.0
nuget/nuget/-/FakeItEasy/7.4.0
nuget/nuget/-/FluentAssertions/6.11.0
nuget/nuget/-/Testcontainers/3.4.0
nuget/nuget/-/Testcontainers.PostgreSql/3.4.0
nuget/nuget/-/xunit/2.5.0
nuget/nuget/-/Xunit.Extensions.AssemblyFixture/2.4.1
nuget/nuget/-/xunit.runner.visualstudio/2.5.0
nuget/nuget/-/Castle.Core/4.3.1
nuget/nuget/-/Fare/2.1.1
nuget/nuget/-/Portable.BouncyCastle/1.9.0
nuget/nuget/-/SharpZipLib/1.4.2
nuget/nuget/-/SSH.NET/2020.0.2
nuget/nuget/-/SshNet.Security.Cryptography/1.3.0
nuget/nuget/-/xunit.abstractions/2.0.3
nuget/nuget/-/xunit.analyzers/1.2.0
nuget/nuget/-/xunit.assert/2.5.0
nuget/nuget/-/xunit.core/2.5.0
nuget/nuget/-/xunit.extensibility.core/2.5.0
nuget/nuget/-/xunit.extensibility.execution/2.5.0
4 changes: 2 additions & 2 deletions src/database/PolicyHub.DbAccess/PolicyHub.DbAccess.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="7.0.12" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.DependencyInjection" Version="1.0.0-beta.3" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Library" Version="1.0.0-beta.3" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.DependencyInjection" Version="1.0.0" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling" Version="1.0.0" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/database/PolicyHub.Migrations/PolicyHub.Migrations.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.Logging" Version="1.0.0-beta.3" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.Seeding" Version="1.0.0-beta.3" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.Logging" Version="1.0.0" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.Seeding" Version="1.0.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="7.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
using Org.Eclipse.TractusX.PolicyHub.Entities.Enums;
using Org.Eclipse.TractusX.PolicyHub.Service.Extensions;
using Org.Eclipse.TractusX.PolicyHub.Service.Models;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Library;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling;
using System.Text.RegularExpressions;

namespace Org.Eclipse.TractusX.PolicyHub.Service.BusinessLogic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
using Org.Eclipse.TractusX.PolicyHub.Service.BusinessLogic;
using Org.Eclipse.TractusX.PolicyHub.Service.Extensions;
using Org.Eclipse.TractusX.PolicyHub.Service.Models;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Library;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Service;
using System.Diagnostics.CodeAnalysis;

namespace Org.Eclipse.TractusX.PolicyHub.Service.Controllers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Library;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Service;
using System.Diagnostics.CodeAnalysis;

namespace Org.Eclipse.TractusX.PolicyHub.Service.Extensions;
Expand Down
6 changes: 3 additions & 3 deletions src/hub/PolicyHub.Service/PolicyHub.Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@

<ItemGroup>
<PackageReference Include="Flurl.Signed" Version="3.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.12" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.12" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.Web" Version="1.0.0-beta.3" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.10" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.10" />
<PackageReference Include="Org.Eclipse.TractusX.Portal.Backend.Framework.Web" Version="1.0.0" />
<PackageReference Include="System.Json" Version="4.7.1" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
Expand Down
7 changes: 4 additions & 3 deletions src/hub/PolicyHub.Service/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using Microsoft.AspNetCore.Authentication;
using Org.Eclipse.TractusX.PolicyHub.DbAccess.DependencyInjection;
using Org.Eclipse.TractusX.PolicyHub.Service.Authentication;
using Org.Eclipse.TractusX.PolicyHub.Service.Controllers;
Expand All @@ -27,7 +28,7 @@
const string Version = "v2";

WebApplicationBuildRunner
.BuildAndRunWebApplication<Program, KeycloakClaimsTransformation>(args, "policy-hub", Version, ".Hub",
.BuildAndRunWebApplication<Program>(args, "policy-hub", Version, ".Hub",
builder =>
{
builder.Services.AddEndpointsApiExplorer();
Expand All @@ -40,11 +41,11 @@
{
options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
});
builder.Services.AddTransient<IClaimsTransformation, KeycloakClaimsTransformation>();
},
(app, _) =>
{
app.MapGroup("/api")
.WithOpenApi()
.MapPolicyHubApi();
},
null);
});
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
using Org.Eclipse.TractusX.PolicyHub.EndToEnd.Tests.Setup;
using Org.Eclipse.TractusX.PolicyHub.Entities.Enums;
using Org.Eclipse.TractusX.PolicyHub.Service.Models;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Library;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Service;
using System.Net;
using System.Net.Http.Headers;
using System.Net.Http.Json;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
using Org.Eclipse.TractusX.PolicyHub.Entities.Enums;
using Org.Eclipse.TractusX.PolicyHub.Service.BusinessLogic;
using Org.Eclipse.TractusX.PolicyHub.Service.Models;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.Library;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling;

namespace Org.Eclipse.TractusX.PolicyHub.Service.Tests.BusinessLogic;

Expand Down

0 comments on commit b84b76f

Please sign in to comment.