Skip to content

Commit

Permalink
rename CQRS to Messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Apr 22, 2024
1 parent d406049 commit a0a5367
Show file tree
Hide file tree
Showing 130 changed files with 273 additions and 227 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.EntityFrameworkCore;
using Modules.Channels.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.Channels.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.Channels.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.Channels.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.EntityFrameworkCore;
using Modules.Channels.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.Channels.Features.DomainFeatures.ChannelAggregate.Events;
using Shared.Features.CQRS.DomainEvent;
using Shared.Features.Messaging.DomainEvent;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.EventHandlers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.Channels.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Queries
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.Channels.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Queries
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.EntityFrameworkCore;
using Modules.Channels.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Queries
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;

namespace Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Queries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ protected override async Task OnInitializedAsync()
//{
// if(Channel.Id == channelId)
// {
// Channel = await HttpClientService.GetFromAPIAsync<ChannelDTO>($"/channel/{Channel.Id}");
// Channel = await HttpWeb.ClientService.GetFromAPIAsync<ChannelDTO>($"/channel/{Channel.Id}");
// StateHasChanged();
// }
//});
}

protected async Task DeleteChannel()
{
//await HttpClientService.DeleteFromAPIAsync("/channel", Channel.Id);
//await HttpWeb.ClientService.DeleteFromAPIAsync("/channel", Channel.Id);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Shared.Client;
using Shared.Kernel.BuildingBlocks.Services.Http;

namespace Modules.Channels.Web.Client.Modals
namespace Modules.Channels.Web.Web.Client.Modals
{
//public partial class CreateChannelModal : BaseComponent
//{
Expand All @@ -24,7 +24,7 @@ namespace Modules.Channels.Web.Client.Modals
// }
// private async Task CreateChannelAsync()
// {
// //await HttpClientService.PostToAPIAsync("/channel", new ChannelDTO { Name = currentName });
// //await HttpWeb.ClientService.PostToAPIAsync("/channel", new ChannelDTO { Name = currentName });
// await ModalInstance.CancelAsync();
// }
//}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using AutoMapper;
using Shared.Features.CQRS.Query;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Query;
using Shared.Features.Messaging.Command;
using Modules.Channels.Features.DomainFeatures.ChannelAggregate;
using Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Commands;
using Modules.Channels.Features.DomainFeatures.ChannelAggregate.Application.Queries;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.TenantIdentity.IntegrationEvents;
using Shared.Features.CQRS.IntegrationEvent;
using Shared.Features.Messaging.IntegrationEvent;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeCustomerAggregate.Aplication.IntegrationEventHandlers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.Subscriptions.Features.DomainFeatures.StripeCustomerAggregate;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeCustomerAggregate.Aplication.Queries
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeSubscriptionAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeSubscriptionAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeSubscriptionAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeSubscriptionAggregate.Application.Queries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//using Microsoft.AspNetCore.Mvc;


//namespace WebServer.Controllers.Stripe
//namespace Web.Server.Controllers.Stripe
//{
// [Route("api/[controller]")]
// [ApiController]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//using Shared.Modules.Layers.Application.CQRS.Command;
//using Shared.Modules.Layers.Application.Messaging.Command;
//using Shared.Modules.Layers.Features.StripeIntegration;
//using Shared.Modules.Layers.Features.StripeIntegration.Commands;
//using Shared.Modules.Layers.Features.StripeIntegration.Configuration;
Expand All @@ -9,7 +9,7 @@
//using Stripe;
//using System.IO;

//namespace WebServer.Controllers.Stripe
//namespace Web.Server.Controllers.Stripe
//{
// [Route("api/[controller]")]
// [ApiController]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.TenantIdentity.Features.DomainFeatures.TenantAggregate;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;
using System;
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.TenantIdentity.Features.DomainFeatures.TenantAggregate;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;
using System;

namespace Modules.TenantIdentity.Features.DomainFeatures.TenantAggregate.Application.Queries
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Modules.TenantIdentity.Features.DomainFeatures.TenantAggregate;
using Modules.TenantIdentity.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;
using System;
using System.Linq;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Identity;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;
using System.Threading;
using System.Threading.Tasks;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.TenantIdentity.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;
using System;
using System.Threading;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Http;
using Shared.Features.CQRS.Command;
using Shared.Features.Messaging.Command;

namespace Modules.TenantIdentity.Features.DomainFeatures.UserAggregate.Application.Commands
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.TenantIdentity.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;
using Shared.Kernel.BuildingBlocks.Auth.Constants;
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Modules.TenantIdentity.Features.Infrastructure.EFCore;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;
using System;
using System.Threading;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Identity;
using System.Security.Claims;
using Shared.Features.CQRS.Query;
using Shared.Features.Messaging.Query;
using Modules.TenantIdentity.Features.DomainFeatures.UserAggregate.Application.Queries;
using Modules.TenantIdentity.Features.DomainFeatures.UserAggregate;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Microsoft.AspNetCore.Components;
using Modules.IdentityModule.Web.DTOs;
using Shared.Client;
using Shared.Kernel.BuildingBlocks.Services.ModelValidation;

namespace Modules.TenantIdentity.Web.Client.Components
{
Expand All @@ -19,14 +18,14 @@ public string CurrentName
set
{
currentName = value;
validationServiceResult = ValidationService.Validate(new TeamDTO { Name = currentName });
validationServiceResult = validationService.Validate(new TeamDTO { Name = currentName });
}
}
private async Task CreateGroupAsync()
{
await HttpClientService.PostToAPIAsync("/team", new TeamDTO { Name = currentName });
await httpClientService.PostToAPIAsync("/team", new TeamDTO { Name = currentName });
await ModalInstance.CloseAsync();
NavigationManager.NavigateTo("/", true);
navigationManager.NavigateTo("/", true);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Client.Components.ManageTeam.Members.Modals
namespace Web.Client.Components.ManageTeam.Members.Modals
{
public partial class ChangeRoleOfMemberComp
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public string currentMail
set
{
_currentMail = value;
valid = ValidationService.Validate(new InviteMembersDTO { Emails = new List<string> { _currentMail } }).IsValid;
valid = validationService.Validate(new InviteMembersDTO { Emails = new List<string> { _currentMail } }).IsValid;
}
}
protected override async Task OnInitializedAsync()
Expand All @@ -41,7 +41,7 @@ public async Task InviteUsersAsync()
{
Emails = emailAddresses
};
await HttpClientService.PostToAPIAsync("/teamadmin/invite", inviteUserToTeamDTO);
await httpClientService.PostToAPIAsync("/teamadmin/invite", inviteUserToTeamDTO);
await ModalInstance.CloseAsync();
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Client.Components.ManageTeam.Members.Modals
namespace Web.Client.Components.ManageTeam.Members.Modals
{
public partial class RemoveMemberComp
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using global::Client.Components.ManageTeam.Members.Modals
@using global::Web.Client.Components.ManageTeam.Members.Modals
@inherits RevokeInvitationCompBase

<div class="RevokeInvitationContainer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Shared.Client;
using WebShared.Identity.Team.AdminManagement;

namespace Client.Components.ManageTeam.Members.Modals
namespace Web.Client.Components.ManageTeam.Members.Modals
{
public partial class RevokeInvitationCompBase : BaseComponent
{
Expand All @@ -13,7 +13,7 @@ public partial class RevokeInvitationCompBase : BaseComponent
[Parameter] public TeamAdminInfoDTO TeamAdminInfo { get; set; }
public async Task RevokeInvitation()
{
await HttpClientService.PostToAPIAsync("/teamAdmin/invite/revoke", new RevokeInvitationDTO { TeamId = TeamAdminInfo.Id, UserId = Member.Id });
await httpClientService.PostToAPIAsync("/teamAdmin/invite/revoke", new RevokeInvitationDTO { TeamId = TeamAdminInfo.Id, UserId = Member.Id });
await CloseModal();
}
public async Task CloseModal()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public partial class ManageSubscriptionComponentBase : BaseComponent
protected List<SubscriptionPlanDTO> subscriptionPlans = new List<SubscriptionPlanDTO>();
protected override async Task OnInitializedAsync()
{
subscriptionPlans = await HttpClientService.GetFromAPIAsync<List<SubscriptionPlanDTO>>("/subscriptionplan/all");
subscriptionPlans = await httpClientService.GetFromAPIAsync<List<SubscriptionPlanDTO>>("/subscriptionplan/all");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Modules.TenantIdentity.Features.DomainFeatures.UserAggregate.Application.Commands;
using Shared.Features.Server;

namespace WebServer.Controllers.Identity
namespace Web.Server.Controllers.Identity
{
[Route("api/[controller]")]
[AllowAnonymous]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//using AutoMapper;
//using Shared.Features.CQRS.Query;
//using Shared.Features.Messaging.Query;
//using Shared.Modules.Layers.Features.Identity;
//using Microsoft.AspNetCore.Authorization;
//using Microsoft.AspNetCore.Identity;
Expand All @@ -8,7 +8,7 @@
//using Modules.IdentityModule.Web.DTOs;
//using ApplicationUserManager = Shared.Modules.Layers.Features.Identity.ApplicationUserManager;

//namespace WebServer.Controllers.Identity
//namespace Web.Server.Controllers.Identity
//{
// [Route("api/[controller]")]
// [Authorize]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page
@model WebServer.Pages.Identity.Account.EmailModel
@model Web.Server.Pages.Identity.Account.EmailModel
@{
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace WebServer.Pages.Identity.Account
namespace Web.Server.Pages.Identity.Account
{
public class EmailModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page
@model WebServer.Pages.Identity.Account.ExternalLoginsModel
@model Web.Server.Pages.Identity.Account.ExternalLoginsModel
@{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Mvc.RazorPages;
using Modules.TenantIdentity.Features.DomainFeatures.UserAggregate;

namespace WebServer.Pages.Identity.Account
namespace Web.Server.Pages.Identity.Account
{
public class ExternalLoginsModel : PageModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model WebServer.Pages.Identity.Account.IndexModel
@model Web.Server.Pages.Identity.Account.IndexModel
@{
}

Expand Down
Loading

0 comments on commit a0a5367

Please sign in to comment.