From 40a40567137df0e8f777f14d6c07fa7a21c415d2 Mon Sep 17 00:00:00 2001 From: Phil Schneider Date: Tue, 19 Nov 2024 12:50:14 +0100 Subject: [PATCH] deps: update dependencies Refs: #1155 --- docs/api/administration-service.yaml | 88 +++++++++---------- .../Administration.Service.csproj | 2 +- .../Bpdm.Library/Bpdm.Library.csproj | 2 +- .../Framework.Cors/Framework.Cors.csproj | 2 +- .../Framework.DBAccess.csproj | 2 +- .../Framework.DateTimeProvider.csproj | 2 +- .../Framework.DependencyInjection.csproj | 2 +- .../Framework.ErrorHandling.Web.csproj | 2 +- .../Framework.ErrorHandling.csproj | 2 +- .../Framework.HttpClientExtensions.csproj | 4 +- .../Framework.Linq/Framework.Linq.csproj | 2 +- .../Framework.Logging.csproj | 2 +- .../Framework.Models/Framework.Models.csproj | 8 +- .../Framework.Seeding.csproj | 10 +-- .../Framework.Swagger.csproj | 2 +- .../Framework.Token/Framework.Token.csproj | 2 +- .../Framework.Web/Framework.Web.csproj | 4 +- .../Keycloak.Authentication.csproj | 4 +- .../Keycloak.ErrorHandling.csproj | 2 +- .../Keycloak.Factory/Keycloak.Factory.csproj | 4 +- .../Keycloak.Seeding/Keycloak.Seeding.csproj | 12 +-- .../Mailing.Template/Mailing.Template.csproj | 4 +- .../Maintenance.App/Maintenance.App.csproj | 14 +-- .../Apps.Service/Apps.Service.csproj | 2 +- .../Offers.Library/Offers.Library.csproj | 2 +- .../PortalBackend.DBAccess.csproj | 2 +- .../PortalBackend.Migrations.csproj | 10 +-- .../PortalBackend.PortalEntities.csproj | 5 +- .../PortalDbContext.cs | 67 +++++++------- ...entityProviderProvisioning.Executor.csproj | 2 +- .../NetworkRegistration.Library.csproj | 2 +- .../Processes.ProcessIdentity.csproj | 4 +- .../Processes.Worker.Library.csproj | 2 +- .../Processes.Worker/Processes.Worker.csproj | 10 +-- .../UserProvisioning.Executor.csproj | 2 +- .../Provisioning.DBAccess.csproj | 4 +- .../Provisioning.Migrations.csproj | 12 +-- .../Provisioning.ProvisioningEntities.csproj | 5 +- .../ProvisioningDbContext.cs | 3 +- .../ApplicationActivation.Library.csproj | 4 +- .../Registration.Service.csproj | 2 +- src/web/Web.Identity/Web.Identity.csproj | 2 +- .../Web.PublicInfos/Web.PublicInfos.csproj | 1 - tests/endtoend/EndToEnd.Tests.csproj | 2 +- .../Framework.Models.Tests.csproj | 4 +- .../Framework.Tests.Shared.csproj | 3 +- .../Framework.Web.Tests.csproj | 2 +- .../PortalBackend.DBAccess.Tests.csproj | 2 +- .../PortalBackend.Migrations.Tests.csproj | 2 +- .../Provisioning.DBAccess.Tests.csproj | 2 +- tests/shared/Tests.Shared/Tests.Shared.csproj | 1 - 51 files changed, 168 insertions(+), 171 deletions(-) diff --git a/docs/api/administration-service.yaml b/docs/api/administration-service.yaml index 1f42b23719..f364b98cc3 100644 --- a/docs/api/administration-service.yaml +++ b/docs/api/administration-service.yaml @@ -241,30 +241,28 @@ paths: content: multipart/form-data: schema: - type: object - properties: - CertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - Document: - type: file - format: binary - ExternalCertificateNumber: - type: string - Sites: - type: array - items: - type: string - ValidFrom: - type: string - format: date-time - ValidTill: - type: string - format: date-time - Issuer: - type: string + allOf: + - $ref: '#/components/schemas/CompanyCertificateTypeId' + - type: object + properties: + Document: + type: file + format: binary + ExternalCertificateNumber: + type: string + Sites: + type: array + items: + type: string + ValidFrom: + type: string + format: date-time + ValidTill: + type: string + format: date-time + Issuer: + type: string encoding: - CertificateType: - style: form Document: style: form ExternalCertificateNumber: @@ -279,30 +277,28 @@ paths: style: form application/json: schema: - type: object - properties: - CertificateType: - $ref: '#/components/schemas/CompanyCertificateTypeId' - Document: - type: file - format: binary - ExternalCertificateNumber: - type: string - Sites: - type: array - items: - type: string - ValidFrom: - type: string - format: date-time - ValidTill: - type: string - format: date-time - Issuer: - type: string + allOf: + - $ref: '#/components/schemas/CompanyCertificateTypeId' + - type: object + properties: + Document: + type: file + format: binary + ExternalCertificateNumber: + type: string + Sites: + type: array + items: + type: string + ValidFrom: + type: string + format: date-time + ValidTill: + type: string + format: date-time + Issuer: + type: string encoding: - CertificateType: - style: form Document: style: form ExternalCertificateNumber: diff --git a/src/administration/Administration.Service/Administration.Service.csproj b/src/administration/Administration.Service/Administration.Service.csproj index 14e528d1cb..d0ee65a9dd 100644 --- a/src/administration/Administration.Service/Administration.Service.csproj +++ b/src/administration/Administration.Service/Administration.Service.csproj @@ -39,7 +39,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/externalsystems/Bpdm.Library/Bpdm.Library.csproj b/src/externalsystems/Bpdm.Library/Bpdm.Library.csproj index 7a9c560801..8b514f61ad 100644 --- a/src/externalsystems/Bpdm.Library/Bpdm.Library.csproj +++ b/src/externalsystems/Bpdm.Library/Bpdm.Library.csproj @@ -34,7 +34,7 @@ - + diff --git a/src/framework/Framework.Cors/Framework.Cors.csproj b/src/framework/Framework.Cors/Framework.Cors.csproj index dce7bf87fa..d8e3b6da63 100644 --- a/src/framework/Framework.Cors/Framework.Cors.csproj +++ b/src/framework/Framework.Cors/Framework.Cors.csproj @@ -66,6 +66,6 @@ - + diff --git a/src/framework/Framework.DBAccess/Framework.DBAccess.csproj b/src/framework/Framework.DBAccess/Framework.DBAccess.csproj index d908b60fd6..55ff0a8bd1 100644 --- a/src/framework/Framework.DBAccess/Framework.DBAccess.csproj +++ b/src/framework/Framework.DBAccess/Framework.DBAccess.csproj @@ -61,6 +61,6 @@ - + diff --git a/src/framework/Framework.DateTimeProvider/Framework.DateTimeProvider.csproj b/src/framework/Framework.DateTimeProvider/Framework.DateTimeProvider.csproj index d0948b8158..dd0354a72f 100644 --- a/src/framework/Framework.DateTimeProvider/Framework.DateTimeProvider.csproj +++ b/src/framework/Framework.DateTimeProvider/Framework.DateTimeProvider.csproj @@ -62,6 +62,6 @@ - + diff --git a/src/framework/Framework.DependencyInjection/Framework.DependencyInjection.csproj b/src/framework/Framework.DependencyInjection/Framework.DependencyInjection.csproj index 2baa5cb4e0..2aa3e5f761 100644 --- a/src/framework/Framework.DependencyInjection/Framework.DependencyInjection.csproj +++ b/src/framework/Framework.DependencyInjection/Framework.DependencyInjection.csproj @@ -63,7 +63,7 @@ - + diff --git a/src/framework/Framework.ErrorHandling.Web/Framework.ErrorHandling.Web.csproj b/src/framework/Framework.ErrorHandling.Web/Framework.ErrorHandling.Web.csproj index 6b7e8f227e..fa0286e69a 100644 --- a/src/framework/Framework.ErrorHandling.Web/Framework.ErrorHandling.Web.csproj +++ b/src/framework/Framework.ErrorHandling.Web/Framework.ErrorHandling.Web.csproj @@ -67,7 +67,7 @@ - + diff --git a/src/framework/Framework.ErrorHandling/Framework.ErrorHandling.csproj b/src/framework/Framework.ErrorHandling/Framework.ErrorHandling.csproj index 7f06333284..bfeb3d0a61 100644 --- a/src/framework/Framework.ErrorHandling/Framework.ErrorHandling.csproj +++ b/src/framework/Framework.ErrorHandling/Framework.ErrorHandling.csproj @@ -63,7 +63,7 @@ - + diff --git a/src/framework/Framework.HttpClientExtensions/Framework.HttpClientExtensions.csproj b/src/framework/Framework.HttpClientExtensions/Framework.HttpClientExtensions.csproj index fd4f6b3160..8eadc1d8f2 100644 --- a/src/framework/Framework.HttpClientExtensions/Framework.HttpClientExtensions.csproj +++ b/src/framework/Framework.HttpClientExtensions/Framework.HttpClientExtensions.csproj @@ -63,8 +63,8 @@ - - + + diff --git a/src/framework/Framework.Linq/Framework.Linq.csproj b/src/framework/Framework.Linq/Framework.Linq.csproj index 98f8cbeb43..0ed661f6db 100644 --- a/src/framework/Framework.Linq/Framework.Linq.csproj +++ b/src/framework/Framework.Linq/Framework.Linq.csproj @@ -62,7 +62,7 @@ - + diff --git a/src/framework/Framework.Logging/Framework.Logging.csproj b/src/framework/Framework.Logging/Framework.Logging.csproj index 973274c338..39f62e8893 100644 --- a/src/framework/Framework.Logging/Framework.Logging.csproj +++ b/src/framework/Framework.Logging/Framework.Logging.csproj @@ -63,7 +63,7 @@ - + diff --git a/src/framework/Framework.Models/Framework.Models.csproj b/src/framework/Framework.Models/Framework.Models.csproj index 3768571f83..bb9019d268 100644 --- a/src/framework/Framework.Models/Framework.Models.csproj +++ b/src/framework/Framework.Models/Framework.Models.csproj @@ -63,10 +63,10 @@ - - - - + + + + diff --git a/src/framework/Framework.Seeding/Framework.Seeding.csproj b/src/framework/Framework.Seeding/Framework.Seeding.csproj index 1dd071aaf7..71cc8c8c3a 100644 --- a/src/framework/Framework.Seeding/Framework.Seeding.csproj +++ b/src/framework/Framework.Seeding/Framework.Seeding.csproj @@ -65,11 +65,11 @@ - - - - - + + + + + diff --git a/src/framework/Framework.Swagger/Framework.Swagger.csproj b/src/framework/Framework.Swagger/Framework.Swagger.csproj index c13ad1009b..54ccd5280b 100644 --- a/src/framework/Framework.Swagger/Framework.Swagger.csproj +++ b/src/framework/Framework.Swagger/Framework.Swagger.csproj @@ -62,7 +62,7 @@ - + diff --git a/src/framework/Framework.Token/Framework.Token.csproj b/src/framework/Framework.Token/Framework.Token.csproj index efdae74e87..8d5504509e 100644 --- a/src/framework/Framework.Token/Framework.Token.csproj +++ b/src/framework/Framework.Token/Framework.Token.csproj @@ -66,7 +66,7 @@ - + diff --git a/src/framework/Framework.Web/Framework.Web.csproj b/src/framework/Framework.Web/Framework.Web.csproj index 109f6ad45a..2bebccd410 100644 --- a/src/framework/Framework.Web/Framework.Web.csproj +++ b/src/framework/Framework.Web/Framework.Web.csproj @@ -72,9 +72,11 @@ - + + + diff --git a/src/keycloak/Keycloak.Authentication/Keycloak.Authentication.csproj b/src/keycloak/Keycloak.Authentication/Keycloak.Authentication.csproj index 3d9d260beb..2c8e355248 100644 --- a/src/keycloak/Keycloak.Authentication/Keycloak.Authentication.csproj +++ b/src/keycloak/Keycloak.Authentication/Keycloak.Authentication.csproj @@ -31,8 +31,8 @@ - - + + diff --git a/src/keycloak/Keycloak.ErrorHandling/Keycloak.ErrorHandling.csproj b/src/keycloak/Keycloak.ErrorHandling/Keycloak.ErrorHandling.csproj index db1d240686..11e74b8be9 100644 --- a/src/keycloak/Keycloak.ErrorHandling/Keycloak.ErrorHandling.csproj +++ b/src/keycloak/Keycloak.ErrorHandling/Keycloak.ErrorHandling.csproj @@ -29,7 +29,7 @@ - + diff --git a/src/keycloak/Keycloak.Factory/Keycloak.Factory.csproj b/src/keycloak/Keycloak.Factory/Keycloak.Factory.csproj index 15b6e68791..fb4df513a9 100644 --- a/src/keycloak/Keycloak.Factory/Keycloak.Factory.csproj +++ b/src/keycloak/Keycloak.Factory/Keycloak.Factory.csproj @@ -34,8 +34,8 @@ - - + + diff --git a/src/keycloak/Keycloak.Seeding/Keycloak.Seeding.csproj b/src/keycloak/Keycloak.Seeding/Keycloak.Seeding.csproj index 77dbf729b0..189655bd0c 100644 --- a/src/keycloak/Keycloak.Seeding/Keycloak.Seeding.csproj +++ b/src/keycloak/Keycloak.Seeding/Keycloak.Seeding.csproj @@ -34,12 +34,12 @@ - - - - - - + + + + + + diff --git a/src/mailing/Mailing.Template/Mailing.Template.csproj b/src/mailing/Mailing.Template/Mailing.Template.csproj index bb4da7807c..db6a589066 100644 --- a/src/mailing/Mailing.Template/Mailing.Template.csproj +++ b/src/mailing/Mailing.Template/Mailing.Template.csproj @@ -27,8 +27,8 @@ - - + + diff --git a/src/maintenance/Maintenance.App/Maintenance.App.csproj b/src/maintenance/Maintenance.App/Maintenance.App.csproj index 0f4a8979e3..4fcee6db4f 100644 --- a/src/maintenance/Maintenance.App/Maintenance.App.csproj +++ b/src/maintenance/Maintenance.App/Maintenance.App.csproj @@ -32,17 +32,17 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - + + + + + - + diff --git a/src/marketplace/Apps.Service/Apps.Service.csproj b/src/marketplace/Apps.Service/Apps.Service.csproj index 63c1b2bfb2..860118506b 100644 --- a/src/marketplace/Apps.Service/Apps.Service.csproj +++ b/src/marketplace/Apps.Service/Apps.Service.csproj @@ -41,7 +41,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/marketplace/Offers.Library/Offers.Library.csproj b/src/marketplace/Offers.Library/Offers.Library.csproj index 4058901824..a9a7dffc2b 100644 --- a/src/marketplace/Offers.Library/Offers.Library.csproj +++ b/src/marketplace/Offers.Library/Offers.Library.csproj @@ -39,7 +39,7 @@ - + diff --git a/src/portalbackend/PortalBackend.DBAccess/PortalBackend.DBAccess.csproj b/src/portalbackend/PortalBackend.DBAccess/PortalBackend.DBAccess.csproj index 76fc6a9107..a360a41d99 100644 --- a/src/portalbackend/PortalBackend.DBAccess/PortalBackend.DBAccess.csproj +++ b/src/portalbackend/PortalBackend.DBAccess/PortalBackend.DBAccess.csproj @@ -33,7 +33,7 @@ - + diff --git a/src/portalbackend/PortalBackend.Migrations/PortalBackend.Migrations.csproj b/src/portalbackend/PortalBackend.Migrations/PortalBackend.Migrations.csproj index d63db76d71..a6f1fc434b 100644 --- a/src/portalbackend/PortalBackend.Migrations/PortalBackend.Migrations.csproj +++ b/src/portalbackend/PortalBackend.Migrations/PortalBackend.Migrations.csproj @@ -33,14 +33,14 @@ CS1591 - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + diff --git a/src/portalbackend/PortalBackend.PortalEntities/PortalBackend.PortalEntities.csproj b/src/portalbackend/PortalBackend.PortalEntities/PortalBackend.PortalEntities.csproj index 155e5152b8..939893f2f0 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/PortalBackend.PortalEntities.csproj +++ b/src/portalbackend/PortalBackend.PortalEntities/PortalBackend.PortalEntities.csproj @@ -26,13 +26,12 @@ enable - - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/src/portalbackend/PortalBackend.PortalEntities/PortalDbContext.cs b/src/portalbackend/PortalBackend.PortalEntities/PortalDbContext.cs index 65fea5f8eb..9c18e6e919 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/PortalDbContext.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/PortalDbContext.cs @@ -209,7 +209,8 @@ public PortalDbContext(DbContextOptions options, IAuditHandler protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { - optionsBuilder.UseSnakeCaseNamingConvention(); + // TODO (PS): Readd after: https://github.com/efcore/EFCore.NamingConventions/issues/295 is solved + // optionsBuilder.UseSnakeCaseNamingConvention(); } protected override void OnModelCreating(ModelBuilder modelBuilder) @@ -220,12 +221,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) modelBuilder.Entity(entity => { entity.HasOne(d => d.AgreementCategory) - .WithMany(p => p!.Agreements) + .WithMany(p => p.Agreements) .HasForeignKey(d => d.AgreementCategoryId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.IssuerCompany) - .WithMany(p => p!.Agreements) + .WithMany(p => p.Agreements) .HasForeignKey(d => d.IssuerCompanyId) .OnDelete(DeleteBehavior.ClientSetNull); @@ -241,12 +242,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { e.AgreementId, e.CompanyRoleId }); entity.HasOne(d => d.Agreement) - .WithMany(p => p!.AgreementAssignedCompanyRoles) + .WithMany(p => p.AgreementAssignedCompanyRoles) .HasForeignKey(d => d.AgreementId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.CompanyRole) - .WithMany(p => p!.AgreementAssignedCompanyRoles!) + .WithMany(p => p.AgreementAssignedCompanyRoles) .HasForeignKey(d => d.CompanyRoleId) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -256,12 +257,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { e.AgreementId, e.OfferId }); entity.HasOne(d => d.Agreement) - .WithMany(p => p!.AgreementAssignedOffers) + .WithMany(p => p.AgreementAssignedOffers) .HasForeignKey(d => d.AgreementId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.Offer) - .WithMany(p => p!.AgreementAssignedOffers!) + .WithMany(p => p.AgreementAssignedOffers) .HasForeignKey(d => d.OfferId) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -271,7 +272,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { e.AgreementId, e.OfferTypeId }); entity.HasOne(d => d.Agreement) - .WithMany(p => p!.AgreementAssignedOfferTypes) + .WithMany(p => p.AgreementAssignedOfferTypes) .HasForeignKey(d => d.AgreementId) .OnDelete(DeleteBehavior.ClientSetNull); @@ -293,12 +294,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { e.ConsentId, e.OfferId }); entity.HasOne(d => d.Consent) - .WithMany(p => p!.ConsentAssignedOffers) + .WithMany(p => p.ConsentAssignedOffers) .HasForeignKey(d => d.ConsentId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.Offer) - .WithMany(p => p!.ConsentAssignedOffers!) + .WithMany(p => p.ConsentAssignedOffers) .HasForeignKey(d => d.OfferId) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -306,14 +307,14 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) modelBuilder.Entity(entity => { entity.HasOne(d => d.ProviderCompany) - .WithMany(p => p!.ProvidedOffers); + .WithMany(p => p.ProvidedOffers); entity.HasOne(x => x.SalesManager) - .WithMany(x => x!.SalesManagerOfOffers) + .WithMany(x => x.SalesManagerOfOffers) .HasForeignKey(x => x.SalesManagerId); entity.HasOne(x => x.OfferType) - .WithMany(x => x!.Offers) + .WithMany(x => x.Offers) .HasForeignKey(x => x.OfferTypeId); entity.HasMany(p => p.Companies) @@ -494,12 +495,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { AppId = e.OfferId, e.LanguageShortName }); entity.HasOne(d => d.Offer) - .WithMany(p => p!.OfferDescriptions) + .WithMany(p => p.OfferDescriptions) .HasForeignKey(d => d.OfferId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.Language) - .WithMany(p => p!.AppDescriptions) + .WithMany(p => p.AppDescriptions) .HasForeignKey(d => d.LanguageShortName) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -516,7 +517,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { AppId = e.OfferId, e.Name }); entity.HasOne(d => d.Offer) - .WithMany(p => p!.Tags) + .WithMany(p => p.Tags) .HasForeignKey(d => d.OfferId) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -925,22 +926,22 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) modelBuilder.Entity(entity => { entity.HasOne(d => d.Agreement) - .WithMany(p => p!.Consents) + .WithMany(p => p.Consents) .HasForeignKey(d => d.AgreementId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.Company) - .WithMany(p => p!.Consents) + .WithMany(p => p.Consents) .HasForeignKey(d => d.CompanyId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.CompanyUser) - .WithMany(p => p!.Consents) + .WithMany(p => p.Consents) .HasForeignKey(d => d.CompanyUserId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.ConsentStatus) - .WithMany(p => p!.Consents) + .WithMany(p => p.Consents) .HasForeignKey(d => d.ConsentStatusId) .OnDelete(DeleteBehavior.ClientSetNull); @@ -952,12 +953,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { e.ConsentId, e.OfferSubscriptionId }); entity.HasOne(d => d.Consent) - .WithMany(p => p!.ConsentAssignedOfferSubscriptions) + .WithMany(p => p.ConsentAssignedOfferSubscriptions) .HasForeignKey(d => d.ConsentId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.OfferSubscription) - .WithMany(p => p!.ConsentAssignedOfferSubscriptions) + .WithMany(p => p.ConsentAssignedOfferSubscriptions) .HasForeignKey(d => d.OfferSubscriptionId) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -997,12 +998,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { e.CountryAlpha2Code, e.UniqueIdentifierId }); entity.HasOne(d => d.Country) - .WithMany(p => p!.CountryAssignedIdentifiers) + .WithMany(p => p.CountryAssignedIdentifiers) .HasForeignKey(d => d.CountryAlpha2Code) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.UniqueIdentifier) - .WithMany(p => p!.CountryAssignedIdentifiers) + .WithMany(p => p.CountryAssignedIdentifiers) .HasForeignKey(d => d.UniqueIdentifierId) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -1032,7 +1033,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) modelBuilder.Entity() .HasOne(d => d.IdentityProvider) - .WithOne(p => p!.IamIdentityProvider!) + .WithOne(p => p.IamIdentityProvider!) .HasForeignKey(d => d.IdentityProviderId) .OnDelete(DeleteBehavior.ClientSetNull); @@ -1074,12 +1075,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) modelBuilder.Entity(entity => { entity.HasOne(d => d.CompanyUser) - .WithMany(p => p!.Invitations) + .WithMany(p => p.Invitations) .HasForeignKey(d => d.CompanyUserId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.InvitationStatus) - .WithMany(p => p!.Invitations) + .WithMany(p => p.Invitations) .HasForeignKey(d => d.InvitationStatusId) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -1235,12 +1236,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { e.CompanyId, e.UniqueIdentifierId }); entity.HasOne(d => d.Company) - .WithMany(p => p!.CompanyIdentifiers) + .WithMany(p => p.CompanyIdentifiers) .HasForeignKey(d => d.CompanyId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.UniqueIdentifier) - .WithMany(p => p!.CompanyIdentifiers) + .WithMany(p => p.CompanyIdentifiers) .HasForeignKey(d => d.UniqueIdentifierId) .OnDelete(DeleteBehavior.ClientSetNull); }); @@ -1254,13 +1255,13 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) modelBuilder.Entity() .HasOne(d => d.ProcessType) - .WithMany(p => p!.Processes) + .WithMany(p => p.Processes) .HasForeignKey(d => d.ProcessTypeId) .OnDelete(DeleteBehavior.ClientSetNull); modelBuilder.Entity() .HasOne(d => d.Process) - .WithMany(p => p!.ProcessSteps) + .WithMany(p => p.ProcessSteps) .HasForeignKey(d => d.ProcessId) .OnDelete(DeleteBehavior.ClientSetNull); @@ -1342,12 +1343,12 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) entity.HasKey(e => new { e.TechnicalUserProfileId, e.UserRoleId }); entity.HasOne(d => d.TechnicalUserProfile) - .WithMany(p => p!.TechnicalUserProfileAssignedUserRoles) + .WithMany(p => p.TechnicalUserProfileAssignedUserRoles) .HasForeignKey(d => d.TechnicalUserProfileId) .OnDelete(DeleteBehavior.ClientSetNull); entity.HasOne(d => d.UserRole) - .WithMany(p => p!.TechnicalUserProfileAssignedUserRole) + .WithMany(p => p.TechnicalUserProfileAssignedUserRole) .HasForeignKey(d => d.UserRoleId) .OnDelete(DeleteBehavior.ClientSetNull); }); diff --git a/src/processes/IdentityProviderProvisioning.Executor/IdentityProviderProvisioning.Executor.csproj b/src/processes/IdentityProviderProvisioning.Executor/IdentityProviderProvisioning.Executor.csproj index 49938c1926..7113ac1053 100644 --- a/src/processes/IdentityProviderProvisioning.Executor/IdentityProviderProvisioning.Executor.csproj +++ b/src/processes/IdentityProviderProvisioning.Executor/IdentityProviderProvisioning.Executor.csproj @@ -25,7 +25,7 @@ enable - + diff --git a/src/processes/NetworkRegistration.Library/NetworkRegistration.Library.csproj b/src/processes/NetworkRegistration.Library/NetworkRegistration.Library.csproj index dd612cc842..3bfae3885e 100644 --- a/src/processes/NetworkRegistration.Library/NetworkRegistration.Library.csproj +++ b/src/processes/NetworkRegistration.Library/NetworkRegistration.Library.csproj @@ -28,7 +28,7 @@ - + diff --git a/src/processes/Processes.ProcessIdentity/Processes.ProcessIdentity.csproj b/src/processes/Processes.ProcessIdentity/Processes.ProcessIdentity.csproj index a292ca5ff8..bc5d5e2592 100644 --- a/src/processes/Processes.ProcessIdentity/Processes.ProcessIdentity.csproj +++ b/src/processes/Processes.ProcessIdentity/Processes.ProcessIdentity.csproj @@ -25,8 +25,8 @@ Org.Eclipse.TractusX.Portal.Backend.Processes.ProcessIdentity - - + + diff --git a/src/processes/Processes.Worker.Library/Processes.Worker.Library.csproj b/src/processes/Processes.Worker.Library/Processes.Worker.Library.csproj index f39b257253..ae14eca80d 100644 --- a/src/processes/Processes.Worker.Library/Processes.Worker.Library.csproj +++ b/src/processes/Processes.Worker.Library/Processes.Worker.Library.csproj @@ -28,7 +28,7 @@ - + diff --git a/src/processes/Processes.Worker/Processes.Worker.csproj b/src/processes/Processes.Worker/Processes.Worker.csproj index a3887e681e..4f864dbed9 100644 --- a/src/processes/Processes.Worker/Processes.Worker.csproj +++ b/src/processes/Processes.Worker/Processes.Worker.csproj @@ -33,14 +33,14 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + diff --git a/src/processes/UserProvisioning.Executor/UserProvisioning.Executor.csproj b/src/processes/UserProvisioning.Executor/UserProvisioning.Executor.csproj index d82f769760..fa36469e28 100644 --- a/src/processes/UserProvisioning.Executor/UserProvisioning.Executor.csproj +++ b/src/processes/UserProvisioning.Executor/UserProvisioning.Executor.csproj @@ -25,7 +25,7 @@ enable - + diff --git a/src/provisioning/Provisioning.DBAccess/Provisioning.DBAccess.csproj b/src/provisioning/Provisioning.DBAccess/Provisioning.DBAccess.csproj index 99dcdceac0..fba826f1ad 100644 --- a/src/provisioning/Provisioning.DBAccess/Provisioning.DBAccess.csproj +++ b/src/provisioning/Provisioning.DBAccess/Provisioning.DBAccess.csproj @@ -27,11 +27,11 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/src/provisioning/Provisioning.Migrations/Provisioning.Migrations.csproj b/src/provisioning/Provisioning.Migrations/Provisioning.Migrations.csproj index 56fe9dff00..5c1a809f8f 100644 --- a/src/provisioning/Provisioning.Migrations/Provisioning.Migrations.csproj +++ b/src/provisioning/Provisioning.Migrations/Provisioning.Migrations.csproj @@ -36,15 +36,15 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - + + + + + diff --git a/src/provisioning/Provisioning.ProvisioningEntities/Provisioning.ProvisioningEntities.csproj b/src/provisioning/Provisioning.ProvisioningEntities/Provisioning.ProvisioningEntities.csproj index f04e3bad1e..1a95125d2c 100644 --- a/src/provisioning/Provisioning.ProvisioningEntities/Provisioning.ProvisioningEntities.csproj +++ b/src/provisioning/Provisioning.ProvisioningEntities/Provisioning.ProvisioningEntities.csproj @@ -27,12 +27,11 @@ - - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/src/provisioning/Provisioning.ProvisioningEntities/ProvisioningDbContext.cs b/src/provisioning/Provisioning.ProvisioningEntities/ProvisioningDbContext.cs index 67a3e00ee3..d911a49003 100644 --- a/src/provisioning/Provisioning.ProvisioningEntities/ProvisioningDbContext.cs +++ b/src/provisioning/Provisioning.ProvisioningEntities/ProvisioningDbContext.cs @@ -41,7 +41,8 @@ public ProvisioningDbContext(DbContextOptions options) protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { - optionsBuilder.UseSnakeCaseNamingConvention(); + // TODO (PS): Readd after: https://github.com/efcore/EFCore.NamingConventions/issues/295 is solved + // optionsBuilder.UseSnakeCaseNamingConvention(); } protected override void OnModelCreating(ModelBuilder modelBuilder) diff --git a/src/registration/ApplicationActivation.Library/ApplicationActivation.Library.csproj b/src/registration/ApplicationActivation.Library/ApplicationActivation.Library.csproj index 9bac03c133..3e307e4a92 100644 --- a/src/registration/ApplicationActivation.Library/ApplicationActivation.Library.csproj +++ b/src/registration/ApplicationActivation.Library/ApplicationActivation.Library.csproj @@ -29,8 +29,8 @@ - - + + diff --git a/src/registration/Registration.Service/Registration.Service.csproj b/src/registration/Registration.Service/Registration.Service.csproj index 757c12905b..206fb3dc6f 100644 --- a/src/registration/Registration.Service/Registration.Service.csproj +++ b/src/registration/Registration.Service/Registration.Service.csproj @@ -44,7 +44,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/web/Web.Identity/Web.Identity.csproj b/src/web/Web.Identity/Web.Identity.csproj index 8dea5467ee..6194ee64ed 100644 --- a/src/web/Web.Identity/Web.Identity.csproj +++ b/src/web/Web.Identity/Web.Identity.csproj @@ -27,7 +27,7 @@ - + diff --git a/src/web/Web.PublicInfos/Web.PublicInfos.csproj b/src/web/Web.PublicInfos/Web.PublicInfos.csproj index 7eb1e0f087..b8fcd2f384 100644 --- a/src/web/Web.PublicInfos/Web.PublicInfos.csproj +++ b/src/web/Web.PublicInfos/Web.PublicInfos.csproj @@ -28,7 +28,6 @@ - diff --git a/tests/endtoend/EndToEnd.Tests.csproj b/tests/endtoend/EndToEnd.Tests.csproj index 9d69c452a7..3a2a6a8be8 100644 --- a/tests/endtoend/EndToEnd.Tests.csproj +++ b/tests/endtoend/EndToEnd.Tests.csproj @@ -35,7 +35,7 @@ - + diff --git a/tests/framework/Framework.Models.Tests/Framework.Models.Tests.csproj b/tests/framework/Framework.Models.Tests/Framework.Models.Tests.csproj index 0111502ffd..bb22a10c83 100644 --- a/tests/framework/Framework.Models.Tests/Framework.Models.Tests.csproj +++ b/tests/framework/Framework.Models.Tests/Framework.Models.Tests.csproj @@ -27,8 +27,8 @@ false - - + + diff --git a/tests/framework/Framework.Tests.Shared/Framework.Tests.Shared.csproj b/tests/framework/Framework.Tests.Shared/Framework.Tests.Shared.csproj index 3f5a99a46a..04d5044966 100644 --- a/tests/framework/Framework.Tests.Shared/Framework.Tests.Shared.csproj +++ b/tests/framework/Framework.Tests.Shared/Framework.Tests.Shared.csproj @@ -33,8 +33,9 @@ - + + diff --git a/tests/framework/Framework.Web.Tests/Framework.Web.Tests.csproj b/tests/framework/Framework.Web.Tests/Framework.Web.Tests.csproj index 31e00e258a..6884238d9d 100644 --- a/tests/framework/Framework.Web.Tests/Framework.Web.Tests.csproj +++ b/tests/framework/Framework.Web.Tests/Framework.Web.Tests.csproj @@ -27,7 +27,7 @@ false - + diff --git a/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalBackend.DBAccess.Tests.csproj b/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalBackend.DBAccess.Tests.csproj index ae69925646..c940ece273 100644 --- a/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalBackend.DBAccess.Tests.csproj +++ b/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalBackend.DBAccess.Tests.csproj @@ -28,7 +28,7 @@ xUnit1030;xUnit1041 - + diff --git a/tests/portalbackend/PortalBackend.Migrations.Tests/PortalBackend.Migrations.Tests.csproj b/tests/portalbackend/PortalBackend.Migrations.Tests/PortalBackend.Migrations.Tests.csproj index febd788577..cb936f448d 100644 --- a/tests/portalbackend/PortalBackend.Migrations.Tests/PortalBackend.Migrations.Tests.csproj +++ b/tests/portalbackend/PortalBackend.Migrations.Tests/PortalBackend.Migrations.Tests.csproj @@ -28,7 +28,7 @@ - + diff --git a/tests/provisioning/Provisioning.DBAccess.Tests/Provisioning.DBAccess.Tests.csproj b/tests/provisioning/Provisioning.DBAccess.Tests/Provisioning.DBAccess.Tests.csproj index 4c8d5232dd..786fb20130 100644 --- a/tests/provisioning/Provisioning.DBAccess.Tests/Provisioning.DBAccess.Tests.csproj +++ b/tests/provisioning/Provisioning.DBAccess.Tests/Provisioning.DBAccess.Tests.csproj @@ -27,7 +27,7 @@ xUnit1030;xUnit1041 - + diff --git a/tests/shared/Tests.Shared/Tests.Shared.csproj b/tests/shared/Tests.Shared/Tests.Shared.csproj index a04631c763..a3db2667ac 100644 --- a/tests/shared/Tests.Shared/Tests.Shared.csproj +++ b/tests/shared/Tests.Shared/Tests.Shared.csproj @@ -28,7 +28,6 @@ -