Skip to content

Commit

Permalink
renaming module to plural subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Dec 29, 2023
1 parent e134ae7 commit a7b8653
Show file tree
Hide file tree
Showing 34 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions ModularMonolith.sln
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LandingPages", "LandingPage
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.LandingPages.Web", "Source\Modules\LandingPages\Modules.LandingPages.Web.Server\Modules.LandingPages.Web.csproj", "{64CFB1A8-0F27-4990-97E8-2023BF6D5DF0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Subscription", "Subscription", "{78544110-543F-4351-8096-077CC56B4E1E}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Subscriptions", "Subscriptions", "{78544110-543F-4351-8096-077CC56B4E1E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscription.Features", "Source\Modules\Subscription\Features\Modules.Subscription.Features.csproj", "{3E8654C7-7D3C-4750-AD7B-1AE34D79493E}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscriptions.Features", "Source\Modules\Subscriptions\Features\Modules.Subscriptions.Features.csproj", "{3E8654C7-7D3C-4750-AD7B-1AE34D79493E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscription.Server", "Source\Modules\Subscription\Server\Modules.Subscription.Server.csproj", "{7DECAA22-D38F-486F-BE0C-1F4551825E1D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscriptions.Server", "Source\Modules\Subscriptions\Server\Modules.Subscriptions.Server.csproj", "{7DECAA22-D38F-486F-BE0C-1F4551825E1D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscription.IntegrationEvents", "Source\Modules\Subscription\IntegrationEvents\Modules.Subscription.IntegrationEvents.csproj", "{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modules.Subscriptions.IntegrationEvents", "Source\Modules\Subscriptions\IntegrationEvents\Modules.Subscriptions.IntegrationEvents.csproj", "{BCFEB21B-42F2-46FD-AC75-ACEA1F9095EA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Domain;
using Modules.Subscriptions.Features.StripeSubscriptionAggregate;

namespace Modules.Subscription.Features.Infrastructure.EFCore
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Domain;
using Modules.Subscriptions.Features.StripeSubscriptionAggregate;

namespace Modules.Subscription.Features.Infrastructure.EFCore
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Commands
{
public class CreateStripeBillingPortalSession : ICommand<Stripe.BillingPortal.Session>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Shared.Features.CQRS.Command;
using Shared.Kernel.BuildingBlocks.Authorization;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Commands
{
public class CreateStripeCheckoutSession : ICommand<Stripe.Checkout.Session>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands.Subscription
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Commands.Subscription
{
public class CreateSubscriptionForTenant : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands.Subscription
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Commands.Subscription
{
public class DeleteSubscription : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands.Subscription
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Commands.Subscription
{
public class UpdateSubscription : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Modules.TenantIdentity.IntegrationEvents;
using Shared.Features.CQRS.IntegrationEvent;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.IntegrationEventHandlers
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.IntegrationEventHandlers
{
public class UserCreatedIntegrationEventHandler : IIntegrationEventHandler<UserCreatedIntegrationEvent>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Modules.TenantIdentity.IntegrationEvents;
using Shared.Features.CQRS.IntegrationEvent;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.IntegrationEventHandlers
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.IntegrationEventHandlers
{
public class UserUpdatedIntegrationEventHandler : IIntegrationEventHandler<UserEmailUpdatedIntegrationEvent>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Query;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Queries
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Queries
{
public class GetStripeCheckoutSession : IQuery<Stripe.Checkout.Session>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using Shared.Features.CQRS.Query;

namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Queries
{
public class GetStripeCustomer : IQuery<StripeCustomer>
{
public string StripeCustomerId { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Domain
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate
{
public class StripeCustomer
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Kernel.BuildingBlocks.Authorization;

namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Domain
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate
{
public class StripeSubscription
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Domain
namespace Modules.Subscriptions.Features.StripeSubscriptionAggregate
{
public enum StripeSubscriptionStatus
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Kernel.BuildingBlocks.Events;

namespace Modules.Subscription.IntegrationEvents
namespace Modules.Subscriptions.IntegrationEvents
{
public class TenantSubscriptionCreatedIntegrationEvent : IIntegrationEvent
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Microsoft.AspNetCore.Mvc;
using Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands;
using Shared.Kernel.BuildingBlocks.Authorization;
using Shared.Kernel.BuildingBlocks.Authorization.Attributes;
using Shared.Features;
using Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Commands;

namespace Modules.Subscription.Server.Controllers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Queries;
using Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Domain;
using Shared.Kernel.BuildingBlocks.Authorization;
using Shared.Features;
using Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Queries;
using Modules.Subscriptions.Features.StripeSubscriptionAggregate;

namespace Modules.Subscription.Server.Controllers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<ItemGroup>
<ProjectReference Include="..\..\..\Shared\DomainFeatures\Shared.Features.csproj" />
<ProjectReference Include="..\Features\Modules.Subscription.Features.csproj" />
<ProjectReference Include="..\Features\Modules.Subscriptions.Features.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Stripe;
using Modules.Subscription.Features.Infrastructure;
using Shared.Features;
using Modules.Subscription.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands.Subscription;
using Modules.Subscriptions.Features.StripeSubscriptionAggregate.Application.Commands.Subscription;

namespace Modules.Subscription.Server.WebHooks
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Modules.Subscription.IntegrationEvents;
using Modules.Subscriptions.IntegrationEvents;
using Shared.Features.CQRS.IntegrationEvent;
using System.Threading;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
<ItemGroup>
<ProjectReference Include="..\..\..\Shared\DomainFeatures\Shared.Features.csproj" />
<ProjectReference Include="..\..\..\Shared\Kernel\Shared.Kernel.csproj" />
<ProjectReference Include="..\..\Subscription\IntegrationEvents\Modules.Subscription.IntegrationEvents.csproj" />
<ProjectReference Include="..\..\Subscriptions\IntegrationEvents\Modules.Subscriptions.IntegrationEvents.csproj" />
<ProjectReference Include="..\..\Subscription\IntegrationEvents\Modules.Subscriptions.IntegrationEvents.csproj" />
<ProjectReference Include="..\IntegrationEvents\Modules.TenantIdentity.IntegrationEvents.csproj" />
<ProjectReference Include="..\Web\Shared\Modules.TenantIdentity.Web.Shared.csproj" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Web/Server/Web.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<ItemGroup>
<ProjectReference Include="..\..\Modules\LandingPages\Modules.LandingPages.Web.Server\Modules.LandingPages.Web.csproj" />
<ProjectReference Include="..\..\Modules\Subscription\Server\Modules.Subscription.Server.csproj" />
<ProjectReference Include="..\..\Modules\Subscriptions\Server\Modules.Subscriptions.Server.csproj" />
<ProjectReference Include="..\..\Modules\TenantIdentity\Web\Server\Modules.TenantIdentity.Web.Server.csproj" />
<ProjectReference Include="..\Client\Web.Client.csproj" />
</ItemGroup>
Expand Down

0 comments on commit a7b8653

Please sign in to comment.