Rebrand project: DocumentOperator to DocumentService
This commit implements a complete rebranding of the project: - Updated all namespaces from `DocumentOperator` to `DocumentService`. - Renamed file paths, embedded resources, and test data references. - Updated configuration keys, logging paths, and Redis instance names. - Revised documentation to reflect the new project name. - Modified project and solution files to align with the new structure. - Updated class names, DTOs, commands, queries, and handlers. - Adjusted middleware, controllers, and API endpoints. - Updated Swagger metadata and API titles to `DocumentService API`. - Refactored test namespaces, resource paths, and embedded resources. - Updated build and deployment configurations for the new name. - Replaced all references to `DocumentOperator` in comments and literals. These changes ensure consistency across the codebase and documentation.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace DocumentOperator.Infrastructure.Configuration;
|
||||
namespace DocumentService.Infrastructure.Configuration;
|
||||
|
||||
public class ApiKeySettings
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
namespace DocumentOperator.Infrastructure.Configuration;
|
||||
namespace DocumentService.Infrastructure.Configuration;
|
||||
|
||||
public class DocumentOperatorSettings
|
||||
public class DocumentServiceSettings
|
||||
{
|
||||
public const string SectionName = "DocumentOperatorSettings";
|
||||
public const string SectionName = "DocumentServiceSettings";
|
||||
|
||||
public string TempFolderPath { get; set; } = string.Empty;
|
||||
public int TempFileRetentionHours { get; set; }
|
||||
@@ -1,10 +1,10 @@
|
||||
namespace DocumentOperator.Infrastructure.Configuration;
|
||||
namespace DocumentService.Infrastructure.Configuration;
|
||||
|
||||
public class RedisSettings
|
||||
{
|
||||
public const string SectionName = "RedisSettings";
|
||||
|
||||
public string ConnectionString { get; set; } = "localhost:6379";
|
||||
public string InstanceName { get; set; } = "DocumentOperator:";
|
||||
public string InstanceName { get; set; } = "DocumentService:";
|
||||
public int CacheExpirationMinutes { get; set; } = 60;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace DocumentOperator.Infrastructure.Configuration;
|
||||
namespace DocumentService.Infrastructure.Configuration;
|
||||
|
||||
public class TenantInfo
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using DocumentOperator.Application.Common.Interfaces;
|
||||
using DocumentOperator.Infrastructure.Services.PdfProcessing;
|
||||
using DocumentOperator.Infrastructure.Services.QrCodeProcessing;
|
||||
using DocumentService.Application.Common.Interfaces;
|
||||
using DocumentService.Infrastructure.Services.PdfProcessing;
|
||||
using DocumentService.Infrastructure.Services.QrCodeProcessing;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace DocumentOperator.Infrastructure;
|
||||
namespace DocumentService.Infrastructure;
|
||||
|
||||
/// <summary>
|
||||
/// Dependency Injection configuration for Infrastructure Layer
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using DevExpress.Pdf;
|
||||
using DevExpress.Drawing;
|
||||
using System.Drawing;
|
||||
using DocumentOperator.Application.Common.DTOs;
|
||||
using DocumentOperator.Application.Common.Interfaces;
|
||||
using DocumentOperator.Domain.Common.Exceptions;
|
||||
using DocumentService.Application.Common.DTOs;
|
||||
using DocumentService.Application.Common.Interfaces;
|
||||
using DocumentService.Domain.Common.Exceptions;
|
||||
|
||||
namespace DocumentOperator.Infrastructure.Services.PdfProcessing;
|
||||
namespace DocumentService.Infrastructure.Services.PdfProcessing;
|
||||
|
||||
/// <summary>
|
||||
/// PDF processor implementation using DevExpress.Pdf library.
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using Codecrete.SwissQRBill.Generator;
|
||||
using DevExpress.Drawing;
|
||||
using DevExpress.Pdf;
|
||||
using DocumentOperator.Application.Common.Interfaces;
|
||||
using DocumentOperator.Domain.Common.Exceptions;
|
||||
using DocumentService.Application.Common.Interfaces;
|
||||
using DocumentService.Domain.Common.Exceptions;
|
||||
using SkiaSharp;
|
||||
using SkiaSharp.QrCode;
|
||||
using System.Collections.Concurrent;
|
||||
|
||||
namespace DocumentOperator.Infrastructure.Services.QrCodeProcessing;
|
||||
namespace DocumentService.Infrastructure.Services.QrCodeProcessing;
|
||||
|
||||
/// <summary>
|
||||
/// Swiss QR Code processor using DevExpress PDF API for image extraction,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace DocumentOperator.Infrastructure.Services;
|
||||
namespace DocumentService.Infrastructure.Services;
|
||||
|
||||
public static class StringExtensions
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user