refactor: Rename EmailPorifler to MessagingService
This commit is contained in:
14
AGENTS.md
14
AGENTS.md
@@ -1,7 +1,7 @@
|
||||
# EmailProfiler - Agent Notes and Future Enhancements
|
||||
# MessagingService - Agent Notes and Future Enhancements
|
||||
|
||||
## Purpose
|
||||
This document contains important notes, decisions, and future enhancement plans for the EmailProfiler application. This is intended for AI agents and developers who will continue development.
|
||||
This document contains important notes, decisions, and future enhancement plans for the MessagingService application. This is intended for AI agents and developers who will continue development.
|
||||
|
||||
---
|
||||
|
||||
@@ -302,7 +302,7 @@ return Accepted(); // HTTP 202 - command queued for processing
|
||||
|
||||
2. **Create RabbitMqEmailQueue.cs**:
|
||||
```csharp
|
||||
// src/DigitalData.EmailProfiler.Infrastructure/Queue/RabbitMqEmailQueue.cs
|
||||
// src/DigitalData.MessagingService.Infrastructure/Queue/RabbitMqEmailQueue.cs
|
||||
public class RabbitMqEmailQueue : IEmailQueue
|
||||
{
|
||||
private readonly IConnection _connection;
|
||||
@@ -412,7 +412,7 @@ return Accepted(); // HTTP 202 - command queued for processing
|
||||
|
||||
**Example Command**:
|
||||
```csharp
|
||||
// src/DigitalData.EmailProfiler.Application/EmailProfiles/Commands/CreateEmailProfileCommand.cs
|
||||
// src/DigitalData.MessagingService.Application/EmailProfiles/Commands/CreateEmailProfileCommand.cs
|
||||
public record CreateEmailProfileCommand(string ProfileName, int EmailAccountId) : IRequest<int>;
|
||||
|
||||
public class CreateEmailProfileCommandHandler : IRequestHandler<CreateEmailProfileCommand, int>
|
||||
@@ -498,7 +498,7 @@ public class LimilabsEmailService : IEmailService
|
||||
**Status**: ✅ Complete - DbContext, Repository, Services, RabbitMQ, and DI implemented
|
||||
|
||||
**Completed**:
|
||||
- ✅ EmailProfilerDbContext with DbSet<T> for all entities (attribute-only config, no overrides)
|
||||
- ✅ MessagingServiceDbContext with DbSet<T> for all entities (attribute-only config, no overrides)
|
||||
- ✅ Generic Repository<T> implementing IRepository<T> with AutoMapper-based CRUD
|
||||
- ✅ LimilabsEmailService (IMAP/SMTP with OAuth2 using Limilabs Mail.dll - TODO: Add Limilabs.Mail NuGet)
|
||||
- ✅ GdPicturePdfProcessingService (using GdPicture.NET 14 - TODO: Add GdPicture NuGet and license)
|
||||
@@ -517,7 +517,7 @@ public class LimilabsEmailService : IEmailService
|
||||
|
||||
**DbContext Example**:
|
||||
```csharp
|
||||
public class EmailProfilerDbContext : DbContext
|
||||
public class MessagingServiceDbContext : DbContext
|
||||
{
|
||||
public DbSet<EmailAccount> EmailAccounts { get; set; }
|
||||
public DbSet<EmailProfile> EmailProfiles { get; set; }
|
||||
@@ -695,7 +695,7 @@ if (builder.Configuration["Hosting:Mode"] == "WindowsService")
|
||||
|
||||
Install as Windows Service:
|
||||
```bash
|
||||
sc create EmailProfiler binPath="C:\Path\To\DigitalData.EmailProfiler.API.exe"
|
||||
sc create MessagingService binPath="C:\Path\To\DigitalData.MessagingService.API.exe"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user