From d9259ff0881676d5671ddfc6c81dba5e029ce216 Mon Sep 17 00:00:00 2001 From: DavidEggenberger Date: Tue, 23 Apr 2024 21:23:38 +0200 Subject: [PATCH] updated namespaces --- .../TenantAdminCreatedIntegrationEventHandler.cs | 2 +- .../Queries/GetStripeCustomerByStripePortalId.cs | 2 +- .../Application/Commands/CreateTrialingSubscription.cs | 4 ++-- .../Configuration/SubscriptionsConfiguration.cs | 2 +- .../Configuration/SubscriptionsConfigurationValidator.cs | 2 +- .../EFCore/Migrations/20240218050150_initial.Designer.cs | 2 +- .../20240328173742_StripeSubscriptionPortalId.Designer.cs | 2 +- .../Migrations/SubscriptionsDbContextModelSnapshot.cs | 2 +- .../Infrastructure/EFCore/SubscriptionsDbContext.cs | 2 +- .../StripePayments/CreateStripeBillingPortalSession.cs | 2 +- .../StripePayments/CreateStripeCheckoutSession.cs | 4 ++-- .../Modules/Subscriptions/Features/SubscriptionsModule.cs | 4 ++-- .../Web/Server/Controllers/StripeSessionController.cs | 2 +- .../Web/Server/Controllers/StripeSuccessController.cs | 2 +- .../Subscriptions/Web/Server/SubscriptionsModuleStartup.cs | 6 +++--- .../Subscriptions/Web/Server/WebHooks/StripeWebhook.cs | 4 ++-- Source/Web/Server/Startup.cs | 2 +- 17 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Source/Modules/Subscriptions/Features/DomainFeatures/StripeCustomerAggregate/Application/IntegrationEvents/TenantAdminCreatedIntegrationEventHandler.cs b/Source/Modules/Subscriptions/Features/DomainFeatures/StripeCustomerAggregate/Application/IntegrationEvents/TenantAdminCreatedIntegrationEventHandler.cs index 7b9d06ab..09731db0 100644 --- a/Source/Modules/Subscriptions/Features/DomainFeatures/StripeCustomerAggregate/Application/IntegrationEvents/TenantAdminCreatedIntegrationEventHandler.cs +++ b/Source/Modules/Subscriptions/Features/DomainFeatures/StripeCustomerAggregate/Application/IntegrationEvents/TenantAdminCreatedIntegrationEventHandler.cs @@ -1,5 +1,5 @@ using Microsoft.EntityFrameworkCore; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.EFCore; using Modules.TenantIdentity.IntegrationEvents; using Shared.Features.Messaging.IntegrationEvent; using Stripe; diff --git a/Source/Modules/Subscriptions/Features/DomainFeatures/StripeCustomerAggregate/Application/Queries/GetStripeCustomerByStripePortalId.cs b/Source/Modules/Subscriptions/Features/DomainFeatures/StripeCustomerAggregate/Application/Queries/GetStripeCustomerByStripePortalId.cs index 234b7d93..f29d125a 100644 --- a/Source/Modules/Subscriptions/Features/DomainFeatures/StripeCustomerAggregate/Application/Queries/GetStripeCustomerByStripePortalId.cs +++ b/Source/Modules/Subscriptions/Features/DomainFeatures/StripeCustomerAggregate/Application/Queries/GetStripeCustomerByStripePortalId.cs @@ -1,5 +1,5 @@ using Microsoft.EntityFrameworkCore; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.EFCore; using Shared.Features.Messaging.Query; namespace Modules.Subscriptions.Features.DomainFeatures.StripeCustomerAggregate.Application.Queries diff --git a/Source/Modules/Subscriptions/Features/DomainFeatures/StripeSubscriptionAggregate/Application/Commands/CreateTrialingSubscription.cs b/Source/Modules/Subscriptions/Features/DomainFeatures/StripeSubscriptionAggregate/Application/Commands/CreateTrialingSubscription.cs index f5f3ada3..f60a0b0d 100644 --- a/Source/Modules/Subscriptions/Features/DomainFeatures/StripeSubscriptionAggregate/Application/Commands/CreateTrialingSubscription.cs +++ b/Source/Modules/Subscriptions/Features/DomainFeatures/StripeSubscriptionAggregate/Application/Commands/CreateTrialingSubscription.cs @@ -1,6 +1,6 @@ using Microsoft.EntityFrameworkCore; -using Modules.Subscription.Features.Infrastructure.Configuration; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.Configuration; +using Modules.Subscriptions.Features.Infrastructure.EFCore; using Modules.Subscriptions.IntegrationEvents; using Shared.Features.Messaging.Command; using Shared.Features.Server; diff --git a/Source/Modules/Subscriptions/Features/Infrastructure/Configuration/SubscriptionsConfiguration.cs b/Source/Modules/Subscriptions/Features/Infrastructure/Configuration/SubscriptionsConfiguration.cs index 2e3febef..e1609b5b 100644 --- a/Source/Modules/Subscriptions/Features/Infrastructure/Configuration/SubscriptionsConfiguration.cs +++ b/Source/Modules/Subscriptions/Features/Infrastructure/Configuration/SubscriptionsConfiguration.cs @@ -2,7 +2,7 @@ using Shared.Features.Modules.Configuration; using Shared.Kernel.BuildingBlocks.Auth; -namespace Modules.Subscription.Features.Infrastructure.Configuration +namespace Modules.Subscriptions.Features.Infrastructure.Configuration { public class SubscriptionsConfiguration : IModuleConfiguration { diff --git a/Source/Modules/Subscriptions/Features/Infrastructure/Configuration/SubscriptionsConfigurationValidator.cs b/Source/Modules/Subscriptions/Features/Infrastructure/Configuration/SubscriptionsConfigurationValidator.cs index fcf4b177..fcbb48c3 100644 --- a/Source/Modules/Subscriptions/Features/Infrastructure/Configuration/SubscriptionsConfigurationValidator.cs +++ b/Source/Modules/Subscriptions/Features/Infrastructure/Configuration/SubscriptionsConfigurationValidator.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.Options; -namespace Modules.Subscription.Features.Infrastructure.Configuration +namespace Modules.Subscriptions.Features.Infrastructure.Configuration { public class SubscriptionsConfigurationValidator : IValidateOptions { diff --git a/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/20240218050150_initial.Designer.cs b/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/20240218050150_initial.Designer.cs index 6e18a954..d038d653 100644 --- a/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/20240218050150_initial.Designer.cs +++ b/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/20240218050150_initial.Designer.cs @@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.EFCore; #nullable disable diff --git a/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/20240328173742_StripeSubscriptionPortalId.Designer.cs b/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/20240328173742_StripeSubscriptionPortalId.Designer.cs index 23459b14..1f5b9e82 100644 --- a/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/20240328173742_StripeSubscriptionPortalId.Designer.cs +++ b/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/20240328173742_StripeSubscriptionPortalId.Designer.cs @@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.EFCore; #nullable disable diff --git a/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/SubscriptionsDbContextModelSnapshot.cs b/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/SubscriptionsDbContextModelSnapshot.cs index e22ab528..da7cb995 100644 --- a/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/SubscriptionsDbContextModelSnapshot.cs +++ b/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/Migrations/SubscriptionsDbContextModelSnapshot.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.EFCore; #nullable disable diff --git a/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/SubscriptionsDbContext.cs b/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/SubscriptionsDbContext.cs index e1f6cb4a..a4f4e416 100644 --- a/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/SubscriptionsDbContext.cs +++ b/Source/Modules/Subscriptions/Features/Infrastructure/EFCore/SubscriptionsDbContext.cs @@ -3,7 +3,7 @@ using Modules.Subscriptions.Features.DomainFeatures.StripeSubscriptionAggregate; using Shared.Features.EFCore; -namespace Modules.Subscription.Features.Infrastructure.EFCore +namespace Modules.Subscriptions.Features.Infrastructure.EFCore { public class SubscriptionsDbContext : BaseDbContext { diff --git a/Source/Modules/Subscriptions/Features/Infrastructure/StripePayments/CreateStripeBillingPortalSession.cs b/Source/Modules/Subscriptions/Features/Infrastructure/StripePayments/CreateStripeBillingPortalSession.cs index 4528b6b3..7c9030b3 100644 --- a/Source/Modules/Subscriptions/Features/Infrastructure/StripePayments/CreateStripeBillingPortalSession.cs +++ b/Source/Modules/Subscriptions/Features/Infrastructure/StripePayments/CreateStripeBillingPortalSession.cs @@ -1,5 +1,5 @@ using Microsoft.EntityFrameworkCore; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.EFCore; using Shared.Features.Messaging.Command; using Stripe.BillingPortal; diff --git a/Source/Modules/Subscriptions/Features/Infrastructure/StripePayments/CreateStripeCheckoutSession.cs b/Source/Modules/Subscriptions/Features/Infrastructure/StripePayments/CreateStripeCheckoutSession.cs index 5eaca9f7..07c1018b 100644 --- a/Source/Modules/Subscriptions/Features/Infrastructure/StripePayments/CreateStripeCheckoutSession.cs +++ b/Source/Modules/Subscriptions/Features/Infrastructure/StripePayments/CreateStripeCheckoutSession.cs @@ -1,6 +1,6 @@ using Microsoft.EntityFrameworkCore; -using Modules.Subscription.Features.Infrastructure.Configuration; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.Configuration; +using Modules.Subscriptions.Features.Infrastructure.EFCore; using Shared.Features.Messaging.Command; using Shared.Kernel.BuildingBlocks.Auth; using Stripe.Checkout; diff --git a/Source/Modules/Subscriptions/Features/SubscriptionsModule.cs b/Source/Modules/Subscriptions/Features/SubscriptionsModule.cs index fd58d7b0..e22781be 100644 --- a/Source/Modules/Subscriptions/Features/SubscriptionsModule.cs +++ b/Source/Modules/Subscriptions/Features/SubscriptionsModule.cs @@ -1,5 +1,5 @@ -using Modules.Subscription.Features.Infrastructure.Configuration; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.Configuration; +using Modules.Subscriptions.Features.Infrastructure.EFCore; using Shared.Features.Modules; using System.Reflection; diff --git a/Source/Modules/Subscriptions/Web/Server/Controllers/StripeSessionController.cs b/Source/Modules/Subscriptions/Web/Server/Controllers/StripeSessionController.cs index 1441155b..0a29cbcc 100644 --- a/Source/Modules/Subscriptions/Web/Server/Controllers/StripeSessionController.cs +++ b/Source/Modules/Subscriptions/Web/Server/Controllers/StripeSessionController.cs @@ -4,7 +4,7 @@ using Modules.Subscriptions.Features.Infrastructure.StripePayments; using Shared.Features.Server; -namespace Modules.Subscription.Server.Controllers +namespace Modules.Subscriptions.Server.Controllers { [Route("api/[controller]")] [ApiController] diff --git a/Source/Modules/Subscriptions/Web/Server/Controllers/StripeSuccessController.cs b/Source/Modules/Subscriptions/Web/Server/Controllers/StripeSuccessController.cs index 70076496..8232f3ff 100644 --- a/Source/Modules/Subscriptions/Web/Server/Controllers/StripeSuccessController.cs +++ b/Source/Modules/Subscriptions/Web/Server/Controllers/StripeSuccessController.cs @@ -6,7 +6,7 @@ using Shared.Features.Server; using Modules.Subscriptions.Features.DomainFeatures.StripeCustomerAggregate.Application.Queries; -namespace Modules.Subscription.Server.Controllers +namespace Modules.Subscriptions.Server.Controllers { [Route("api/[controller]")] [ApiController] diff --git a/Source/Modules/Subscriptions/Web/Server/SubscriptionsModuleStartup.cs b/Source/Modules/Subscriptions/Web/Server/SubscriptionsModuleStartup.cs index 6618af7d..7d50901e 100644 --- a/Source/Modules/Subscriptions/Web/Server/SubscriptionsModuleStartup.cs +++ b/Source/Modules/Subscriptions/Web/Server/SubscriptionsModuleStartup.cs @@ -2,14 +2,14 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -using Modules.Subscription.Features.Infrastructure.Configuration; -using Modules.Subscription.Features.Infrastructure.EFCore; +using Modules.Subscriptions.Features.Infrastructure.Configuration; +using Modules.Subscriptions.Features.Infrastructure.EFCore; using Shared.Features.EFCore; using Shared.Features.Modules; using Shared.Features.Modules.Configuration; using Stripe; -namespace Modules.Subscription.Server +namespace Modules.Subscriptions.Server { public class SubscriptionsModuleStartup : IModuleStartup { diff --git a/Source/Modules/Subscriptions/Web/Server/WebHooks/StripeWebhook.cs b/Source/Modules/Subscriptions/Web/Server/WebHooks/StripeWebhook.cs index e6897e7d..ed2e1a4a 100644 --- a/Source/Modules/Subscriptions/Web/Server/WebHooks/StripeWebhook.cs +++ b/Source/Modules/Subscriptions/Web/Server/WebHooks/StripeWebhook.cs @@ -2,10 +2,10 @@ using Microsoft.AspNetCore.Mvc; using Stripe; using Shared.Features.Server; -using Modules.Subscription.Features.Infrastructure.Configuration; +using Modules.Subscriptions.Features.Infrastructure.Configuration; using Modules.Subscriptions.Features.DomainFeatures.StripeSubscriptionAggregate.Application.Commands; -namespace Modules.Subscription.Server.WebHooks +namespace Modules.Subscriptions.Server.WebHooks { [Route("api/[controller]")] [ApiController] diff --git a/Source/Web/Server/Startup.cs b/Source/Web/Server/Startup.cs index c9fb8a27..d22ccb09 100644 --- a/Source/Web/Server/Startup.cs +++ b/Source/Web/Server/Startup.cs @@ -9,7 +9,7 @@ using Modules.TenantIdentity.Server; using Shared.Features.Modules; using Shared.Features; -using Modules.Subscription.Server; +using Modules.Subscriptions.Server; using Modules.TenantIdentity.Features; using Modules.Subscriptions.Features;