From 207c778f3a7fc002a30f23def8c9e61df9fb825d Mon Sep 17 00:00:00 2001 From: TekH Date: Sun, 30 Aug 2026 21:33:25 +0200 Subject: [PATCH] Refactor: Rename DocumentOperator to DocumentService Updated project and solution files to rename and restructure `DocumentOperator` to `DocumentService`. Modified project references in `DocumentService.API.csproj`, `DocumentService.Application.csproj`, and `DocumentService.Infrastructure.csproj` to reflect the new naming convention. Updated `DocumentService.sln` to remove old project references, add new ones, and adjust configuration and nested project mappings accordingly. This change aligns the project structure with the new naming convention. --- .../Configuration/DualInputDocumentFilter.cs | 0 .../Configuration/SerilogConfiguration.cs | 0 .../Configuration/SwaggerConfiguration.cs | 0 .../Configuration/SwaggerSettings.cs | 0 .../Controllers/PdfAttachmentController.cs | 0 .../Controllers/PdfConversionController.cs | 0 .../Controllers/PdfOperationsController.cs | 0 .../Controllers/PdfValidationController.cs | 0 .../Controllers/SwissQrCodeController.cs | 0 .../Controllers/ZugferdController.cs | 0 .../DocumentService.API.csproj | 6 +- .../DocumentService.API.http | 0 .../Middleware/ExceptionHandlingMiddleware.cs | 0 .../Middleware/RequestLoggingMiddleware.cs | 0 .../Middleware/TenantResolutionMiddleware.cs | 0 .../PHASENPLAN.md | 0 .../Program.cs | 0 .../PublishProfiles/IISProfile.pubxml | 0 .../Properties/launchSettings.json | 0 .../README.md | 0 .../appsettings.Development.json | 0 .../appsettings.json | 0 .../AddAnnotation/AddAnnotationCommand.cs | 0 .../AddAttachments/AddAttachmentsCommand.cs | 0 .../AddStamp/AddStampCommand.cs | 0 .../Queries/CheckPdfAttachmentsQuery.cs | 0 .../CheckPdfAttachmentsQueryValidator.cs | 0 .../Common/Behaviors/LoggingBehavior.cs | 0 .../Common/Behaviors/ValidationBehavior.cs | 0 .../Common/Configuration/ZugferdSettings.cs | 0 .../Common/DTOs/AttachmentCheckResult.cs | 0 .../Common/DTOs/AttachmentInfo.cs | 0 .../Common/DTOs/AttachmentMetadata.cs | 0 .../Common/DTOs/PdfAValidationResult.cs | 0 .../Common/DTOs/PdfValidationResult.cs | 0 .../Common/DTOs/SwissQrBillDto.cs | 0 .../DTOs/SwissQrCodeExtractionResult.cs | 0 .../Common/DTOs/ZugferdCheckResult.cs | 0 .../Common/Interfaces/IPdfProcessor.cs | 0 .../Interfaces/ISwissQrCodeProcessor.cs | 0 .../Common/Mapping/MappingProfile.cs | 0 .../ConvertFromPdfA/ConvertFromPdfACommand.cs | 0 .../ConvertToPdfA/ConvertToPdfACommand.cs | 0 .../DependencyInjection.cs | 0 .../DocumentService.Application.csproj | 8 +-- .../ExtractPdfAttachmentsCommand.cs | 0 .../ExtractZugferd/ExtractZugferdCommand.cs | 0 .../HasZugferd/Queries/HasZugferdQuery.cs | 0 .../Queries/HasZugferdQueryValidator.cs | 0 .../MergePdfs/MergePdfsCommand.cs | 0 .../Queries/ExtractSwissQrCodeQuery.cs | 0 .../ExtractSwissQrCodeQueryValidator.cs | 0 .../ValidatePdf/Queries/ValidatePdfQuery.cs | 0 .../Queries/ValidatePdfQueryValidator.cs | 0 .../ValidatePdfA/Queries/ValidatePdfAQuery.cs | 0 .../Validators/ValidatePdfAQueryValidator.cs | 0 .../Common/Exceptions/BadRequestException.cs | 0 .../Common/Exceptions/DomainException.cs | 0 .../Exceptions/DomainValidationException.cs | 0 .../Common/Exceptions/NotFoundException.cs | 0 .../DocumentService.Domain.csproj | 0 .../Models/ValueObjects/AnnotationOrigin.cs | 0 .../Models/ValueObjects/AnnotationType.cs | 0 .../ValueObjects/PredefinedStampType.cs | 0 .../Models/ValueObjects/StampPlacement.cs | 0 .../Models/ValueObjects/StampType.cs | 0 .../Models/ValueObjects/TenantId.cs | 0 .../Models/ValueObjects/TextMarkupStyle.cs | 0 .../Configuration/ApiKeySettings.cs | 0 .../Configuration/DocumentServiceSettings.cs | 0 .../Configuration/RedisSettings.cs | 0 .../Configuration/TenantInfo.cs | 0 .../DependencyInjection.cs | 0 .../DocumentService.Infrastructure.csproj | 4 +- .../PdfProcessing/DevExpressPdfProcessor.cs | 0 .../DevExpressSwissQrCodeProcessor.cs | 0 .../Services/StringExtensions.cs | 0 .../DocumentService.Tests.csproj | 0 .../API/ExtractSwissQrCodeEndpointTests.cs | 0 .../API/PdfAttachmentControllerTests.cs | 0 .../API/PdfOperationsControllerTests.cs | 0 .../API/PdfValidationControllerTests.cs | 0 .../TestData/Pdfs/ZUGFeRD-Example.pdf | Bin .../TestData/Pdfs/attachment.xml | 0 .../TestData/Pdfs/encryptedPdf.pdf | 0 .../Pdfs/pdfWithMoreThanOneAttachment.pdf | Bin .../TestData/Pdfs/pdfWithSwissQRCode.pdf | Bin .../TestData/Pdfs/valid.pdf | Bin .../TestData/Pdfs/withoutAttachment.pdf | Bin .../CheckPdfAttachmentsQueryHandlerTests.cs | 0 .../AddAnnotationHandlerTests.cs | 0 .../Features/AddStamp/AddStampHandlerTests.cs | 0 .../ConvertPdfA/ConvertPdfAHandlerTests.cs | 0 .../ExtractPdfAttachmentsHandlerTests.cs | 0 .../ExtractSwissQrCodeHandlerTests.cs | 0 .../MergePdfs/MergePdfsCommandHandlerTests.cs | 0 .../ValidatePdf/ValidatePdfHandlerTests.cs | 0 .../ValidatePdfAQueryHandlerTests.cs | 0 .../Application/Validators/ValidatorTests.cs | 0 .../Unit/Client/MockHttpMessageHandler.cs | 0 .../Unit/Client/PdfAttachmentClientTests.cs | 0 .../Unit/Client/PdfOperationsClientTests.cs | 0 .../Unit/Client/PdfValidationClientTests.cs | 0 .../Unit/Client/SwissQrCodeClientTests.cs | 0 .../Unit/Client/ZugferdClientTests.cs | 0 .../DevExpressPdfProcessorTests.cs | 0 .../DevExpressSwissQrCodeProcessorTests.cs | 0 DocumentService.sln | 56 +++++++++--------- 108 files changed, 37 insertions(+), 37 deletions(-) rename {DocumentOperator.API => DocumentService.API}/Configuration/DualInputDocumentFilter.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Configuration/SerilogConfiguration.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Configuration/SwaggerConfiguration.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Configuration/SwaggerSettings.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Controllers/PdfAttachmentController.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Controllers/PdfConversionController.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Controllers/PdfOperationsController.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Controllers/PdfValidationController.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Controllers/SwissQrCodeController.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Controllers/ZugferdController.cs (100%) rename {DocumentOperator.API => DocumentService.API}/DocumentService.API.csproj (86%) rename {DocumentOperator.API => DocumentService.API}/DocumentService.API.http (100%) rename {DocumentOperator.API => DocumentService.API}/Middleware/ExceptionHandlingMiddleware.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Middleware/RequestLoggingMiddleware.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Middleware/TenantResolutionMiddleware.cs (100%) rename {DocumentOperator.API => DocumentService.API}/PHASENPLAN.md (100%) rename {DocumentOperator.API => DocumentService.API}/Program.cs (100%) rename {DocumentOperator.API => DocumentService.API}/Properties/PublishProfiles/IISProfile.pubxml (100%) rename {DocumentOperator.API => DocumentService.API}/Properties/launchSettings.json (100%) rename {DocumentOperator.API => DocumentService.API}/README.md (100%) rename {DocumentOperator.API => DocumentService.API}/appsettings.Development.json (100%) rename {DocumentOperator.API => DocumentService.API}/appsettings.json (100%) rename {DocumentOperator.Application => DocumentService.Application}/AddAnnotation/AddAnnotationCommand.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/AddAttachments/AddAttachmentsCommand.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/AddStamp/AddStampCommand.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/CheckPdfAttachments/Queries/CheckPdfAttachmentsQuery.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/CheckPdfAttachments/Queries/CheckPdfAttachmentsQueryValidator.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/Behaviors/LoggingBehavior.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/Behaviors/ValidationBehavior.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/Configuration/ZugferdSettings.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/DTOs/AttachmentCheckResult.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/DTOs/AttachmentInfo.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/DTOs/AttachmentMetadata.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/DTOs/PdfAValidationResult.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/DTOs/PdfValidationResult.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/DTOs/SwissQrBillDto.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/DTOs/SwissQrCodeExtractionResult.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/DTOs/ZugferdCheckResult.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/Interfaces/IPdfProcessor.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/Interfaces/ISwissQrCodeProcessor.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/Common/Mapping/MappingProfile.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/ConvertFromPdfA/ConvertFromPdfACommand.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/ConvertToPdfA/ConvertToPdfACommand.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/DependencyInjection.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/DocumentService.Application.csproj (92%) rename {DocumentOperator.Application => DocumentService.Application}/ExtractPdfAttachments/ExtractPdfAttachmentsCommand.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/ExtractZugferd/ExtractZugferdCommand.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/HasZugferd/Queries/HasZugferdQuery.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/HasZugferd/Queries/HasZugferdQueryValidator.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/MergePdfs/MergePdfsCommand.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/SwissQrCode/Queries/ExtractSwissQrCodeQuery.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/SwissQrCode/Queries/ExtractSwissQrCodeQueryValidator.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/ValidatePdf/Queries/ValidatePdfQuery.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/ValidatePdf/Queries/ValidatePdfQueryValidator.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/ValidatePdfA/Queries/ValidatePdfAQuery.cs (100%) rename {DocumentOperator.Application => DocumentService.Application}/ValidatePdfA/Validators/ValidatePdfAQueryValidator.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Common/Exceptions/BadRequestException.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Common/Exceptions/DomainException.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Common/Exceptions/DomainValidationException.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Common/Exceptions/NotFoundException.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/DocumentService.Domain.csproj (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Models/ValueObjects/AnnotationOrigin.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Models/ValueObjects/AnnotationType.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Models/ValueObjects/PredefinedStampType.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Models/ValueObjects/StampPlacement.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Models/ValueObjects/StampType.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Models/ValueObjects/TenantId.cs (100%) rename {DocumentOperator.Domain => DocumentService.Domain}/Models/ValueObjects/TextMarkupStyle.cs (100%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/Configuration/ApiKeySettings.cs (100%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/Configuration/DocumentServiceSettings.cs (100%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/Configuration/RedisSettings.cs (100%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/Configuration/TenantInfo.cs (100%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/DependencyInjection.cs (100%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/DocumentService.Infrastructure.csproj (85%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/Services/PdfProcessing/DevExpressPdfProcessor.cs (100%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessor.cs (100%) rename {DocumentOperator.Infrastructure => DocumentService.Infrastructure}/Services/StringExtensions.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/DocumentService.Tests.csproj (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Integration/API/ExtractSwissQrCodeEndpointTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Integration/API/PdfAttachmentControllerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Integration/API/PdfOperationsControllerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Integration/API/PdfValidationControllerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/TestData/Pdfs/ZUGFeRD-Example.pdf (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/TestData/Pdfs/attachment.xml (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/TestData/Pdfs/encryptedPdf.pdf (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/TestData/Pdfs/pdfWithMoreThanOneAttachment.pdf (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/TestData/Pdfs/pdfWithSwissQRCode.pdf (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/TestData/Pdfs/valid.pdf (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/TestData/Pdfs/withoutAttachment.pdf (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/CheckPdfAttachments/CheckPdfAttachmentsQueryHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Features/AddAnnotation/AddAnnotationHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Features/AddStamp/AddStampHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Features/ConvertPdfA/ConvertPdfAHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Features/ExtractAttachments/ExtractPdfAttachmentsHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Features/ExtractSwissQrCode/ExtractSwissQrCodeHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Features/MergePdfs/MergePdfsCommandHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Features/ValidatePdf/ValidatePdfHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Features/ValidatePdfA/ValidatePdfAQueryHandlerTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Application/Validators/ValidatorTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Client/MockHttpMessageHandler.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Client/PdfAttachmentClientTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Client/PdfOperationsClientTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Client/PdfValidationClientTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Client/SwissQrCodeClientTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Client/ZugferdClientTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Infrastructure/Services/PdfProcessing/DevExpressPdfProcessorTests.cs (100%) rename {DocumentOperator.Tests => DocumentService.Tests}/Unit/Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessorTests.cs (100%) diff --git a/DocumentOperator.API/Configuration/DualInputDocumentFilter.cs b/DocumentService.API/Configuration/DualInputDocumentFilter.cs similarity index 100% rename from DocumentOperator.API/Configuration/DualInputDocumentFilter.cs rename to DocumentService.API/Configuration/DualInputDocumentFilter.cs diff --git a/DocumentOperator.API/Configuration/SerilogConfiguration.cs b/DocumentService.API/Configuration/SerilogConfiguration.cs similarity index 100% rename from DocumentOperator.API/Configuration/SerilogConfiguration.cs rename to DocumentService.API/Configuration/SerilogConfiguration.cs diff --git a/DocumentOperator.API/Configuration/SwaggerConfiguration.cs b/DocumentService.API/Configuration/SwaggerConfiguration.cs similarity index 100% rename from DocumentOperator.API/Configuration/SwaggerConfiguration.cs rename to DocumentService.API/Configuration/SwaggerConfiguration.cs diff --git a/DocumentOperator.API/Configuration/SwaggerSettings.cs b/DocumentService.API/Configuration/SwaggerSettings.cs similarity index 100% rename from DocumentOperator.API/Configuration/SwaggerSettings.cs rename to DocumentService.API/Configuration/SwaggerSettings.cs diff --git a/DocumentOperator.API/Controllers/PdfAttachmentController.cs b/DocumentService.API/Controllers/PdfAttachmentController.cs similarity index 100% rename from DocumentOperator.API/Controllers/PdfAttachmentController.cs rename to DocumentService.API/Controllers/PdfAttachmentController.cs diff --git a/DocumentOperator.API/Controllers/PdfConversionController.cs b/DocumentService.API/Controllers/PdfConversionController.cs similarity index 100% rename from DocumentOperator.API/Controllers/PdfConversionController.cs rename to DocumentService.API/Controllers/PdfConversionController.cs diff --git a/DocumentOperator.API/Controllers/PdfOperationsController.cs b/DocumentService.API/Controllers/PdfOperationsController.cs similarity index 100% rename from DocumentOperator.API/Controllers/PdfOperationsController.cs rename to DocumentService.API/Controllers/PdfOperationsController.cs diff --git a/DocumentOperator.API/Controllers/PdfValidationController.cs b/DocumentService.API/Controllers/PdfValidationController.cs similarity index 100% rename from DocumentOperator.API/Controllers/PdfValidationController.cs rename to DocumentService.API/Controllers/PdfValidationController.cs diff --git a/DocumentOperator.API/Controllers/SwissQrCodeController.cs b/DocumentService.API/Controllers/SwissQrCodeController.cs similarity index 100% rename from DocumentOperator.API/Controllers/SwissQrCodeController.cs rename to DocumentService.API/Controllers/SwissQrCodeController.cs diff --git a/DocumentOperator.API/Controllers/ZugferdController.cs b/DocumentService.API/Controllers/ZugferdController.cs similarity index 100% rename from DocumentOperator.API/Controllers/ZugferdController.cs rename to DocumentService.API/Controllers/ZugferdController.cs diff --git a/DocumentOperator.API/DocumentService.API.csproj b/DocumentService.API/DocumentService.API.csproj similarity index 86% rename from DocumentOperator.API/DocumentService.API.csproj rename to DocumentService.API/DocumentService.API.csproj index 7a24260..b17b68b 100644 --- a/DocumentOperator.API/DocumentService.API.csproj +++ b/DocumentService.API/DocumentService.API.csproj @@ -32,10 +32,10 @@ - - - + + + diff --git a/DocumentOperator.API/DocumentService.API.http b/DocumentService.API/DocumentService.API.http similarity index 100% rename from DocumentOperator.API/DocumentService.API.http rename to DocumentService.API/DocumentService.API.http diff --git a/DocumentOperator.API/Middleware/ExceptionHandlingMiddleware.cs b/DocumentService.API/Middleware/ExceptionHandlingMiddleware.cs similarity index 100% rename from DocumentOperator.API/Middleware/ExceptionHandlingMiddleware.cs rename to DocumentService.API/Middleware/ExceptionHandlingMiddleware.cs diff --git a/DocumentOperator.API/Middleware/RequestLoggingMiddleware.cs b/DocumentService.API/Middleware/RequestLoggingMiddleware.cs similarity index 100% rename from DocumentOperator.API/Middleware/RequestLoggingMiddleware.cs rename to DocumentService.API/Middleware/RequestLoggingMiddleware.cs diff --git a/DocumentOperator.API/Middleware/TenantResolutionMiddleware.cs b/DocumentService.API/Middleware/TenantResolutionMiddleware.cs similarity index 100% rename from DocumentOperator.API/Middleware/TenantResolutionMiddleware.cs rename to DocumentService.API/Middleware/TenantResolutionMiddleware.cs diff --git a/DocumentOperator.API/PHASENPLAN.md b/DocumentService.API/PHASENPLAN.md similarity index 100% rename from DocumentOperator.API/PHASENPLAN.md rename to DocumentService.API/PHASENPLAN.md diff --git a/DocumentOperator.API/Program.cs b/DocumentService.API/Program.cs similarity index 100% rename from DocumentOperator.API/Program.cs rename to DocumentService.API/Program.cs diff --git a/DocumentOperator.API/Properties/PublishProfiles/IISProfile.pubxml b/DocumentService.API/Properties/PublishProfiles/IISProfile.pubxml similarity index 100% rename from DocumentOperator.API/Properties/PublishProfiles/IISProfile.pubxml rename to DocumentService.API/Properties/PublishProfiles/IISProfile.pubxml diff --git a/DocumentOperator.API/Properties/launchSettings.json b/DocumentService.API/Properties/launchSettings.json similarity index 100% rename from DocumentOperator.API/Properties/launchSettings.json rename to DocumentService.API/Properties/launchSettings.json diff --git a/DocumentOperator.API/README.md b/DocumentService.API/README.md similarity index 100% rename from DocumentOperator.API/README.md rename to DocumentService.API/README.md diff --git a/DocumentOperator.API/appsettings.Development.json b/DocumentService.API/appsettings.Development.json similarity index 100% rename from DocumentOperator.API/appsettings.Development.json rename to DocumentService.API/appsettings.Development.json diff --git a/DocumentOperator.API/appsettings.json b/DocumentService.API/appsettings.json similarity index 100% rename from DocumentOperator.API/appsettings.json rename to DocumentService.API/appsettings.json diff --git a/DocumentOperator.Application/AddAnnotation/AddAnnotationCommand.cs b/DocumentService.Application/AddAnnotation/AddAnnotationCommand.cs similarity index 100% rename from DocumentOperator.Application/AddAnnotation/AddAnnotationCommand.cs rename to DocumentService.Application/AddAnnotation/AddAnnotationCommand.cs diff --git a/DocumentOperator.Application/AddAttachments/AddAttachmentsCommand.cs b/DocumentService.Application/AddAttachments/AddAttachmentsCommand.cs similarity index 100% rename from DocumentOperator.Application/AddAttachments/AddAttachmentsCommand.cs rename to DocumentService.Application/AddAttachments/AddAttachmentsCommand.cs diff --git a/DocumentOperator.Application/AddStamp/AddStampCommand.cs b/DocumentService.Application/AddStamp/AddStampCommand.cs similarity index 100% rename from DocumentOperator.Application/AddStamp/AddStampCommand.cs rename to DocumentService.Application/AddStamp/AddStampCommand.cs diff --git a/DocumentOperator.Application/CheckPdfAttachments/Queries/CheckPdfAttachmentsQuery.cs b/DocumentService.Application/CheckPdfAttachments/Queries/CheckPdfAttachmentsQuery.cs similarity index 100% rename from DocumentOperator.Application/CheckPdfAttachments/Queries/CheckPdfAttachmentsQuery.cs rename to DocumentService.Application/CheckPdfAttachments/Queries/CheckPdfAttachmentsQuery.cs diff --git a/DocumentOperator.Application/CheckPdfAttachments/Queries/CheckPdfAttachmentsQueryValidator.cs b/DocumentService.Application/CheckPdfAttachments/Queries/CheckPdfAttachmentsQueryValidator.cs similarity index 100% rename from DocumentOperator.Application/CheckPdfAttachments/Queries/CheckPdfAttachmentsQueryValidator.cs rename to DocumentService.Application/CheckPdfAttachments/Queries/CheckPdfAttachmentsQueryValidator.cs diff --git a/DocumentOperator.Application/Common/Behaviors/LoggingBehavior.cs b/DocumentService.Application/Common/Behaviors/LoggingBehavior.cs similarity index 100% rename from DocumentOperator.Application/Common/Behaviors/LoggingBehavior.cs rename to DocumentService.Application/Common/Behaviors/LoggingBehavior.cs diff --git a/DocumentOperator.Application/Common/Behaviors/ValidationBehavior.cs b/DocumentService.Application/Common/Behaviors/ValidationBehavior.cs similarity index 100% rename from DocumentOperator.Application/Common/Behaviors/ValidationBehavior.cs rename to DocumentService.Application/Common/Behaviors/ValidationBehavior.cs diff --git a/DocumentOperator.Application/Common/Configuration/ZugferdSettings.cs b/DocumentService.Application/Common/Configuration/ZugferdSettings.cs similarity index 100% rename from DocumentOperator.Application/Common/Configuration/ZugferdSettings.cs rename to DocumentService.Application/Common/Configuration/ZugferdSettings.cs diff --git a/DocumentOperator.Application/Common/DTOs/AttachmentCheckResult.cs b/DocumentService.Application/Common/DTOs/AttachmentCheckResult.cs similarity index 100% rename from DocumentOperator.Application/Common/DTOs/AttachmentCheckResult.cs rename to DocumentService.Application/Common/DTOs/AttachmentCheckResult.cs diff --git a/DocumentOperator.Application/Common/DTOs/AttachmentInfo.cs b/DocumentService.Application/Common/DTOs/AttachmentInfo.cs similarity index 100% rename from DocumentOperator.Application/Common/DTOs/AttachmentInfo.cs rename to DocumentService.Application/Common/DTOs/AttachmentInfo.cs diff --git a/DocumentOperator.Application/Common/DTOs/AttachmentMetadata.cs b/DocumentService.Application/Common/DTOs/AttachmentMetadata.cs similarity index 100% rename from DocumentOperator.Application/Common/DTOs/AttachmentMetadata.cs rename to DocumentService.Application/Common/DTOs/AttachmentMetadata.cs diff --git a/DocumentOperator.Application/Common/DTOs/PdfAValidationResult.cs b/DocumentService.Application/Common/DTOs/PdfAValidationResult.cs similarity index 100% rename from DocumentOperator.Application/Common/DTOs/PdfAValidationResult.cs rename to DocumentService.Application/Common/DTOs/PdfAValidationResult.cs diff --git a/DocumentOperator.Application/Common/DTOs/PdfValidationResult.cs b/DocumentService.Application/Common/DTOs/PdfValidationResult.cs similarity index 100% rename from DocumentOperator.Application/Common/DTOs/PdfValidationResult.cs rename to DocumentService.Application/Common/DTOs/PdfValidationResult.cs diff --git a/DocumentOperator.Application/Common/DTOs/SwissQrBillDto.cs b/DocumentService.Application/Common/DTOs/SwissQrBillDto.cs similarity index 100% rename from DocumentOperator.Application/Common/DTOs/SwissQrBillDto.cs rename to DocumentService.Application/Common/DTOs/SwissQrBillDto.cs diff --git a/DocumentOperator.Application/Common/DTOs/SwissQrCodeExtractionResult.cs b/DocumentService.Application/Common/DTOs/SwissQrCodeExtractionResult.cs similarity index 100% rename from DocumentOperator.Application/Common/DTOs/SwissQrCodeExtractionResult.cs rename to DocumentService.Application/Common/DTOs/SwissQrCodeExtractionResult.cs diff --git a/DocumentOperator.Application/Common/DTOs/ZugferdCheckResult.cs b/DocumentService.Application/Common/DTOs/ZugferdCheckResult.cs similarity index 100% rename from DocumentOperator.Application/Common/DTOs/ZugferdCheckResult.cs rename to DocumentService.Application/Common/DTOs/ZugferdCheckResult.cs diff --git a/DocumentOperator.Application/Common/Interfaces/IPdfProcessor.cs b/DocumentService.Application/Common/Interfaces/IPdfProcessor.cs similarity index 100% rename from DocumentOperator.Application/Common/Interfaces/IPdfProcessor.cs rename to DocumentService.Application/Common/Interfaces/IPdfProcessor.cs diff --git a/DocumentOperator.Application/Common/Interfaces/ISwissQrCodeProcessor.cs b/DocumentService.Application/Common/Interfaces/ISwissQrCodeProcessor.cs similarity index 100% rename from DocumentOperator.Application/Common/Interfaces/ISwissQrCodeProcessor.cs rename to DocumentService.Application/Common/Interfaces/ISwissQrCodeProcessor.cs diff --git a/DocumentOperator.Application/Common/Mapping/MappingProfile.cs b/DocumentService.Application/Common/Mapping/MappingProfile.cs similarity index 100% rename from DocumentOperator.Application/Common/Mapping/MappingProfile.cs rename to DocumentService.Application/Common/Mapping/MappingProfile.cs diff --git a/DocumentOperator.Application/ConvertFromPdfA/ConvertFromPdfACommand.cs b/DocumentService.Application/ConvertFromPdfA/ConvertFromPdfACommand.cs similarity index 100% rename from DocumentOperator.Application/ConvertFromPdfA/ConvertFromPdfACommand.cs rename to DocumentService.Application/ConvertFromPdfA/ConvertFromPdfACommand.cs diff --git a/DocumentOperator.Application/ConvertToPdfA/ConvertToPdfACommand.cs b/DocumentService.Application/ConvertToPdfA/ConvertToPdfACommand.cs similarity index 100% rename from DocumentOperator.Application/ConvertToPdfA/ConvertToPdfACommand.cs rename to DocumentService.Application/ConvertToPdfA/ConvertToPdfACommand.cs diff --git a/DocumentOperator.Application/DependencyInjection.cs b/DocumentService.Application/DependencyInjection.cs similarity index 100% rename from DocumentOperator.Application/DependencyInjection.cs rename to DocumentService.Application/DependencyInjection.cs diff --git a/DocumentOperator.Application/DocumentService.Application.csproj b/DocumentService.Application/DocumentService.Application.csproj similarity index 92% rename from DocumentOperator.Application/DocumentService.Application.csproj rename to DocumentService.Application/DocumentService.Application.csproj index 3f7ee4d..14fccae 100644 --- a/DocumentOperator.Application/DocumentService.Application.csproj +++ b/DocumentService.Application/DocumentService.Application.csproj @@ -25,12 +25,12 @@ - - - - + + + + diff --git a/DocumentOperator.Application/ExtractPdfAttachments/ExtractPdfAttachmentsCommand.cs b/DocumentService.Application/ExtractPdfAttachments/ExtractPdfAttachmentsCommand.cs similarity index 100% rename from DocumentOperator.Application/ExtractPdfAttachments/ExtractPdfAttachmentsCommand.cs rename to DocumentService.Application/ExtractPdfAttachments/ExtractPdfAttachmentsCommand.cs diff --git a/DocumentOperator.Application/ExtractZugferd/ExtractZugferdCommand.cs b/DocumentService.Application/ExtractZugferd/ExtractZugferdCommand.cs similarity index 100% rename from DocumentOperator.Application/ExtractZugferd/ExtractZugferdCommand.cs rename to DocumentService.Application/ExtractZugferd/ExtractZugferdCommand.cs diff --git a/DocumentOperator.Application/HasZugferd/Queries/HasZugferdQuery.cs b/DocumentService.Application/HasZugferd/Queries/HasZugferdQuery.cs similarity index 100% rename from DocumentOperator.Application/HasZugferd/Queries/HasZugferdQuery.cs rename to DocumentService.Application/HasZugferd/Queries/HasZugferdQuery.cs diff --git a/DocumentOperator.Application/HasZugferd/Queries/HasZugferdQueryValidator.cs b/DocumentService.Application/HasZugferd/Queries/HasZugferdQueryValidator.cs similarity index 100% rename from DocumentOperator.Application/HasZugferd/Queries/HasZugferdQueryValidator.cs rename to DocumentService.Application/HasZugferd/Queries/HasZugferdQueryValidator.cs diff --git a/DocumentOperator.Application/MergePdfs/MergePdfsCommand.cs b/DocumentService.Application/MergePdfs/MergePdfsCommand.cs similarity index 100% rename from DocumentOperator.Application/MergePdfs/MergePdfsCommand.cs rename to DocumentService.Application/MergePdfs/MergePdfsCommand.cs diff --git a/DocumentOperator.Application/SwissQrCode/Queries/ExtractSwissQrCodeQuery.cs b/DocumentService.Application/SwissQrCode/Queries/ExtractSwissQrCodeQuery.cs similarity index 100% rename from DocumentOperator.Application/SwissQrCode/Queries/ExtractSwissQrCodeQuery.cs rename to DocumentService.Application/SwissQrCode/Queries/ExtractSwissQrCodeQuery.cs diff --git a/DocumentOperator.Application/SwissQrCode/Queries/ExtractSwissQrCodeQueryValidator.cs b/DocumentService.Application/SwissQrCode/Queries/ExtractSwissQrCodeQueryValidator.cs similarity index 100% rename from DocumentOperator.Application/SwissQrCode/Queries/ExtractSwissQrCodeQueryValidator.cs rename to DocumentService.Application/SwissQrCode/Queries/ExtractSwissQrCodeQueryValidator.cs diff --git a/DocumentOperator.Application/ValidatePdf/Queries/ValidatePdfQuery.cs b/DocumentService.Application/ValidatePdf/Queries/ValidatePdfQuery.cs similarity index 100% rename from DocumentOperator.Application/ValidatePdf/Queries/ValidatePdfQuery.cs rename to DocumentService.Application/ValidatePdf/Queries/ValidatePdfQuery.cs diff --git a/DocumentOperator.Application/ValidatePdf/Queries/ValidatePdfQueryValidator.cs b/DocumentService.Application/ValidatePdf/Queries/ValidatePdfQueryValidator.cs similarity index 100% rename from DocumentOperator.Application/ValidatePdf/Queries/ValidatePdfQueryValidator.cs rename to DocumentService.Application/ValidatePdf/Queries/ValidatePdfQueryValidator.cs diff --git a/DocumentOperator.Application/ValidatePdfA/Queries/ValidatePdfAQuery.cs b/DocumentService.Application/ValidatePdfA/Queries/ValidatePdfAQuery.cs similarity index 100% rename from DocumentOperator.Application/ValidatePdfA/Queries/ValidatePdfAQuery.cs rename to DocumentService.Application/ValidatePdfA/Queries/ValidatePdfAQuery.cs diff --git a/DocumentOperator.Application/ValidatePdfA/Validators/ValidatePdfAQueryValidator.cs b/DocumentService.Application/ValidatePdfA/Validators/ValidatePdfAQueryValidator.cs similarity index 100% rename from DocumentOperator.Application/ValidatePdfA/Validators/ValidatePdfAQueryValidator.cs rename to DocumentService.Application/ValidatePdfA/Validators/ValidatePdfAQueryValidator.cs diff --git a/DocumentOperator.Domain/Common/Exceptions/BadRequestException.cs b/DocumentService.Domain/Common/Exceptions/BadRequestException.cs similarity index 100% rename from DocumentOperator.Domain/Common/Exceptions/BadRequestException.cs rename to DocumentService.Domain/Common/Exceptions/BadRequestException.cs diff --git a/DocumentOperator.Domain/Common/Exceptions/DomainException.cs b/DocumentService.Domain/Common/Exceptions/DomainException.cs similarity index 100% rename from DocumentOperator.Domain/Common/Exceptions/DomainException.cs rename to DocumentService.Domain/Common/Exceptions/DomainException.cs diff --git a/DocumentOperator.Domain/Common/Exceptions/DomainValidationException.cs b/DocumentService.Domain/Common/Exceptions/DomainValidationException.cs similarity index 100% rename from DocumentOperator.Domain/Common/Exceptions/DomainValidationException.cs rename to DocumentService.Domain/Common/Exceptions/DomainValidationException.cs diff --git a/DocumentOperator.Domain/Common/Exceptions/NotFoundException.cs b/DocumentService.Domain/Common/Exceptions/NotFoundException.cs similarity index 100% rename from DocumentOperator.Domain/Common/Exceptions/NotFoundException.cs rename to DocumentService.Domain/Common/Exceptions/NotFoundException.cs diff --git a/DocumentOperator.Domain/DocumentService.Domain.csproj b/DocumentService.Domain/DocumentService.Domain.csproj similarity index 100% rename from DocumentOperator.Domain/DocumentService.Domain.csproj rename to DocumentService.Domain/DocumentService.Domain.csproj diff --git a/DocumentOperator.Domain/Models/ValueObjects/AnnotationOrigin.cs b/DocumentService.Domain/Models/ValueObjects/AnnotationOrigin.cs similarity index 100% rename from DocumentOperator.Domain/Models/ValueObjects/AnnotationOrigin.cs rename to DocumentService.Domain/Models/ValueObjects/AnnotationOrigin.cs diff --git a/DocumentOperator.Domain/Models/ValueObjects/AnnotationType.cs b/DocumentService.Domain/Models/ValueObjects/AnnotationType.cs similarity index 100% rename from DocumentOperator.Domain/Models/ValueObjects/AnnotationType.cs rename to DocumentService.Domain/Models/ValueObjects/AnnotationType.cs diff --git a/DocumentOperator.Domain/Models/ValueObjects/PredefinedStampType.cs b/DocumentService.Domain/Models/ValueObjects/PredefinedStampType.cs similarity index 100% rename from DocumentOperator.Domain/Models/ValueObjects/PredefinedStampType.cs rename to DocumentService.Domain/Models/ValueObjects/PredefinedStampType.cs diff --git a/DocumentOperator.Domain/Models/ValueObjects/StampPlacement.cs b/DocumentService.Domain/Models/ValueObjects/StampPlacement.cs similarity index 100% rename from DocumentOperator.Domain/Models/ValueObjects/StampPlacement.cs rename to DocumentService.Domain/Models/ValueObjects/StampPlacement.cs diff --git a/DocumentOperator.Domain/Models/ValueObjects/StampType.cs b/DocumentService.Domain/Models/ValueObjects/StampType.cs similarity index 100% rename from DocumentOperator.Domain/Models/ValueObjects/StampType.cs rename to DocumentService.Domain/Models/ValueObjects/StampType.cs diff --git a/DocumentOperator.Domain/Models/ValueObjects/TenantId.cs b/DocumentService.Domain/Models/ValueObjects/TenantId.cs similarity index 100% rename from DocumentOperator.Domain/Models/ValueObjects/TenantId.cs rename to DocumentService.Domain/Models/ValueObjects/TenantId.cs diff --git a/DocumentOperator.Domain/Models/ValueObjects/TextMarkupStyle.cs b/DocumentService.Domain/Models/ValueObjects/TextMarkupStyle.cs similarity index 100% rename from DocumentOperator.Domain/Models/ValueObjects/TextMarkupStyle.cs rename to DocumentService.Domain/Models/ValueObjects/TextMarkupStyle.cs diff --git a/DocumentOperator.Infrastructure/Configuration/ApiKeySettings.cs b/DocumentService.Infrastructure/Configuration/ApiKeySettings.cs similarity index 100% rename from DocumentOperator.Infrastructure/Configuration/ApiKeySettings.cs rename to DocumentService.Infrastructure/Configuration/ApiKeySettings.cs diff --git a/DocumentOperator.Infrastructure/Configuration/DocumentServiceSettings.cs b/DocumentService.Infrastructure/Configuration/DocumentServiceSettings.cs similarity index 100% rename from DocumentOperator.Infrastructure/Configuration/DocumentServiceSettings.cs rename to DocumentService.Infrastructure/Configuration/DocumentServiceSettings.cs diff --git a/DocumentOperator.Infrastructure/Configuration/RedisSettings.cs b/DocumentService.Infrastructure/Configuration/RedisSettings.cs similarity index 100% rename from DocumentOperator.Infrastructure/Configuration/RedisSettings.cs rename to DocumentService.Infrastructure/Configuration/RedisSettings.cs diff --git a/DocumentOperator.Infrastructure/Configuration/TenantInfo.cs b/DocumentService.Infrastructure/Configuration/TenantInfo.cs similarity index 100% rename from DocumentOperator.Infrastructure/Configuration/TenantInfo.cs rename to DocumentService.Infrastructure/Configuration/TenantInfo.cs diff --git a/DocumentOperator.Infrastructure/DependencyInjection.cs b/DocumentService.Infrastructure/DependencyInjection.cs similarity index 100% rename from DocumentOperator.Infrastructure/DependencyInjection.cs rename to DocumentService.Infrastructure/DependencyInjection.cs diff --git a/DocumentOperator.Infrastructure/DocumentService.Infrastructure.csproj b/DocumentService.Infrastructure/DocumentService.Infrastructure.csproj similarity index 85% rename from DocumentOperator.Infrastructure/DocumentService.Infrastructure.csproj rename to DocumentService.Infrastructure/DocumentService.Infrastructure.csproj index da381d9..60e539a 100644 --- a/DocumentOperator.Infrastructure/DocumentService.Infrastructure.csproj +++ b/DocumentService.Infrastructure/DocumentService.Infrastructure.csproj @@ -27,8 +27,8 @@ - - + + diff --git a/DocumentOperator.Infrastructure/Services/PdfProcessing/DevExpressPdfProcessor.cs b/DocumentService.Infrastructure/Services/PdfProcessing/DevExpressPdfProcessor.cs similarity index 100% rename from DocumentOperator.Infrastructure/Services/PdfProcessing/DevExpressPdfProcessor.cs rename to DocumentService.Infrastructure/Services/PdfProcessing/DevExpressPdfProcessor.cs diff --git a/DocumentOperator.Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessor.cs b/DocumentService.Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessor.cs similarity index 100% rename from DocumentOperator.Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessor.cs rename to DocumentService.Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessor.cs diff --git a/DocumentOperator.Infrastructure/Services/StringExtensions.cs b/DocumentService.Infrastructure/Services/StringExtensions.cs similarity index 100% rename from DocumentOperator.Infrastructure/Services/StringExtensions.cs rename to DocumentService.Infrastructure/Services/StringExtensions.cs diff --git a/DocumentOperator.Tests/DocumentService.Tests.csproj b/DocumentService.Tests/DocumentService.Tests.csproj similarity index 100% rename from DocumentOperator.Tests/DocumentService.Tests.csproj rename to DocumentService.Tests/DocumentService.Tests.csproj diff --git a/DocumentOperator.Tests/Integration/API/ExtractSwissQrCodeEndpointTests.cs b/DocumentService.Tests/Integration/API/ExtractSwissQrCodeEndpointTests.cs similarity index 100% rename from DocumentOperator.Tests/Integration/API/ExtractSwissQrCodeEndpointTests.cs rename to DocumentService.Tests/Integration/API/ExtractSwissQrCodeEndpointTests.cs diff --git a/DocumentOperator.Tests/Integration/API/PdfAttachmentControllerTests.cs b/DocumentService.Tests/Integration/API/PdfAttachmentControllerTests.cs similarity index 100% rename from DocumentOperator.Tests/Integration/API/PdfAttachmentControllerTests.cs rename to DocumentService.Tests/Integration/API/PdfAttachmentControllerTests.cs diff --git a/DocumentOperator.Tests/Integration/API/PdfOperationsControllerTests.cs b/DocumentService.Tests/Integration/API/PdfOperationsControllerTests.cs similarity index 100% rename from DocumentOperator.Tests/Integration/API/PdfOperationsControllerTests.cs rename to DocumentService.Tests/Integration/API/PdfOperationsControllerTests.cs diff --git a/DocumentOperator.Tests/Integration/API/PdfValidationControllerTests.cs b/DocumentService.Tests/Integration/API/PdfValidationControllerTests.cs similarity index 100% rename from DocumentOperator.Tests/Integration/API/PdfValidationControllerTests.cs rename to DocumentService.Tests/Integration/API/PdfValidationControllerTests.cs diff --git a/DocumentOperator.Tests/TestData/Pdfs/ZUGFeRD-Example.pdf b/DocumentService.Tests/TestData/Pdfs/ZUGFeRD-Example.pdf similarity index 100% rename from DocumentOperator.Tests/TestData/Pdfs/ZUGFeRD-Example.pdf rename to DocumentService.Tests/TestData/Pdfs/ZUGFeRD-Example.pdf diff --git a/DocumentOperator.Tests/TestData/Pdfs/attachment.xml b/DocumentService.Tests/TestData/Pdfs/attachment.xml similarity index 100% rename from DocumentOperator.Tests/TestData/Pdfs/attachment.xml rename to DocumentService.Tests/TestData/Pdfs/attachment.xml diff --git a/DocumentOperator.Tests/TestData/Pdfs/encryptedPdf.pdf b/DocumentService.Tests/TestData/Pdfs/encryptedPdf.pdf similarity index 100% rename from DocumentOperator.Tests/TestData/Pdfs/encryptedPdf.pdf rename to DocumentService.Tests/TestData/Pdfs/encryptedPdf.pdf diff --git a/DocumentOperator.Tests/TestData/Pdfs/pdfWithMoreThanOneAttachment.pdf b/DocumentService.Tests/TestData/Pdfs/pdfWithMoreThanOneAttachment.pdf similarity index 100% rename from DocumentOperator.Tests/TestData/Pdfs/pdfWithMoreThanOneAttachment.pdf rename to DocumentService.Tests/TestData/Pdfs/pdfWithMoreThanOneAttachment.pdf diff --git a/DocumentOperator.Tests/TestData/Pdfs/pdfWithSwissQRCode.pdf b/DocumentService.Tests/TestData/Pdfs/pdfWithSwissQRCode.pdf similarity index 100% rename from DocumentOperator.Tests/TestData/Pdfs/pdfWithSwissQRCode.pdf rename to DocumentService.Tests/TestData/Pdfs/pdfWithSwissQRCode.pdf diff --git a/DocumentOperator.Tests/TestData/Pdfs/valid.pdf b/DocumentService.Tests/TestData/Pdfs/valid.pdf similarity index 100% rename from DocumentOperator.Tests/TestData/Pdfs/valid.pdf rename to DocumentService.Tests/TestData/Pdfs/valid.pdf diff --git a/DocumentOperator.Tests/TestData/Pdfs/withoutAttachment.pdf b/DocumentService.Tests/TestData/Pdfs/withoutAttachment.pdf similarity index 100% rename from DocumentOperator.Tests/TestData/Pdfs/withoutAttachment.pdf rename to DocumentService.Tests/TestData/Pdfs/withoutAttachment.pdf diff --git a/DocumentOperator.Tests/Unit/Application/CheckPdfAttachments/CheckPdfAttachmentsQueryHandlerTests.cs b/DocumentService.Tests/Unit/Application/CheckPdfAttachments/CheckPdfAttachmentsQueryHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/CheckPdfAttachments/CheckPdfAttachmentsQueryHandlerTests.cs rename to DocumentService.Tests/Unit/Application/CheckPdfAttachments/CheckPdfAttachmentsQueryHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Features/AddAnnotation/AddAnnotationHandlerTests.cs b/DocumentService.Tests/Unit/Application/Features/AddAnnotation/AddAnnotationHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Features/AddAnnotation/AddAnnotationHandlerTests.cs rename to DocumentService.Tests/Unit/Application/Features/AddAnnotation/AddAnnotationHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Features/AddStamp/AddStampHandlerTests.cs b/DocumentService.Tests/Unit/Application/Features/AddStamp/AddStampHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Features/AddStamp/AddStampHandlerTests.cs rename to DocumentService.Tests/Unit/Application/Features/AddStamp/AddStampHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Features/ConvertPdfA/ConvertPdfAHandlerTests.cs b/DocumentService.Tests/Unit/Application/Features/ConvertPdfA/ConvertPdfAHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Features/ConvertPdfA/ConvertPdfAHandlerTests.cs rename to DocumentService.Tests/Unit/Application/Features/ConvertPdfA/ConvertPdfAHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Features/ExtractAttachments/ExtractPdfAttachmentsHandlerTests.cs b/DocumentService.Tests/Unit/Application/Features/ExtractAttachments/ExtractPdfAttachmentsHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Features/ExtractAttachments/ExtractPdfAttachmentsHandlerTests.cs rename to DocumentService.Tests/Unit/Application/Features/ExtractAttachments/ExtractPdfAttachmentsHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Features/ExtractSwissQrCode/ExtractSwissQrCodeHandlerTests.cs b/DocumentService.Tests/Unit/Application/Features/ExtractSwissQrCode/ExtractSwissQrCodeHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Features/ExtractSwissQrCode/ExtractSwissQrCodeHandlerTests.cs rename to DocumentService.Tests/Unit/Application/Features/ExtractSwissQrCode/ExtractSwissQrCodeHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Features/MergePdfs/MergePdfsCommandHandlerTests.cs b/DocumentService.Tests/Unit/Application/Features/MergePdfs/MergePdfsCommandHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Features/MergePdfs/MergePdfsCommandHandlerTests.cs rename to DocumentService.Tests/Unit/Application/Features/MergePdfs/MergePdfsCommandHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Features/ValidatePdf/ValidatePdfHandlerTests.cs b/DocumentService.Tests/Unit/Application/Features/ValidatePdf/ValidatePdfHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Features/ValidatePdf/ValidatePdfHandlerTests.cs rename to DocumentService.Tests/Unit/Application/Features/ValidatePdf/ValidatePdfHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Features/ValidatePdfA/ValidatePdfAQueryHandlerTests.cs b/DocumentService.Tests/Unit/Application/Features/ValidatePdfA/ValidatePdfAQueryHandlerTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Features/ValidatePdfA/ValidatePdfAQueryHandlerTests.cs rename to DocumentService.Tests/Unit/Application/Features/ValidatePdfA/ValidatePdfAQueryHandlerTests.cs diff --git a/DocumentOperator.Tests/Unit/Application/Validators/ValidatorTests.cs b/DocumentService.Tests/Unit/Application/Validators/ValidatorTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Application/Validators/ValidatorTests.cs rename to DocumentService.Tests/Unit/Application/Validators/ValidatorTests.cs diff --git a/DocumentOperator.Tests/Unit/Client/MockHttpMessageHandler.cs b/DocumentService.Tests/Unit/Client/MockHttpMessageHandler.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Client/MockHttpMessageHandler.cs rename to DocumentService.Tests/Unit/Client/MockHttpMessageHandler.cs diff --git a/DocumentOperator.Tests/Unit/Client/PdfAttachmentClientTests.cs b/DocumentService.Tests/Unit/Client/PdfAttachmentClientTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Client/PdfAttachmentClientTests.cs rename to DocumentService.Tests/Unit/Client/PdfAttachmentClientTests.cs diff --git a/DocumentOperator.Tests/Unit/Client/PdfOperationsClientTests.cs b/DocumentService.Tests/Unit/Client/PdfOperationsClientTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Client/PdfOperationsClientTests.cs rename to DocumentService.Tests/Unit/Client/PdfOperationsClientTests.cs diff --git a/DocumentOperator.Tests/Unit/Client/PdfValidationClientTests.cs b/DocumentService.Tests/Unit/Client/PdfValidationClientTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Client/PdfValidationClientTests.cs rename to DocumentService.Tests/Unit/Client/PdfValidationClientTests.cs diff --git a/DocumentOperator.Tests/Unit/Client/SwissQrCodeClientTests.cs b/DocumentService.Tests/Unit/Client/SwissQrCodeClientTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Client/SwissQrCodeClientTests.cs rename to DocumentService.Tests/Unit/Client/SwissQrCodeClientTests.cs diff --git a/DocumentOperator.Tests/Unit/Client/ZugferdClientTests.cs b/DocumentService.Tests/Unit/Client/ZugferdClientTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Client/ZugferdClientTests.cs rename to DocumentService.Tests/Unit/Client/ZugferdClientTests.cs diff --git a/DocumentOperator.Tests/Unit/Infrastructure/Services/PdfProcessing/DevExpressPdfProcessorTests.cs b/DocumentService.Tests/Unit/Infrastructure/Services/PdfProcessing/DevExpressPdfProcessorTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Infrastructure/Services/PdfProcessing/DevExpressPdfProcessorTests.cs rename to DocumentService.Tests/Unit/Infrastructure/Services/PdfProcessing/DevExpressPdfProcessorTests.cs diff --git a/DocumentOperator.Tests/Unit/Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessorTests.cs b/DocumentService.Tests/Unit/Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessorTests.cs similarity index 100% rename from DocumentOperator.Tests/Unit/Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessorTests.cs rename to DocumentService.Tests/Unit/Infrastructure/Services/QrCodeProcessing/DevExpressSwissQrCodeProcessorTests.cs diff --git a/DocumentService.sln b/DocumentService.sln index af2362a..e6213b1 100644 --- a/DocumentService.sln +++ b/DocumentService.sln @@ -3,14 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.14.37328.6 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.API", "DocumentOperator.API\DocumentService.API.csproj", "{BA41F6A2-EE29-48F9-A3CB-29A05E57CF30}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.Application", "DocumentOperator.Application\DocumentService.Application.csproj", "{B2B735FC-5F39-4CFF-9C54-C4F8820880B6}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.Infrastructure", "DocumentOperator.Infrastructure\DocumentService.Infrastructure.csproj", "{C4CA19A8-8168-453B-B4ED-77E032CFE52E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.Domain", "DocumentOperator.Domain\DocumentService.Domain.csproj", "{B4C1C3ED-D3E8-4272-8704-2E73CEA6A0DD}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.Tests", "DocumentOperator.Tests\DocumentService.Tests.csproj", "{32D2E997-3DA7-4061-8A50-DBB34BBC3E5A}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3F9E8D8E-1234-4567-89AB-CDEF01234567}" @@ -40,28 +32,20 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{D64772B8 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.Client", "DocumentService.Client\DocumentService.Client.csproj", "{626E2002-8EC1-4FF9-A9A6-51D5809E26FC}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.API", "DocumentService.API\DocumentService.API.csproj", "{3899542A-D6B3-5FF3-2493-093DE5BB0CEB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.Infrastructure", "DocumentService.Infrastructure\DocumentService.Infrastructure.csproj", "{A5AB3D2B-D4A8-1BE2-CACE-B5DBF9A40E51}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.Application", "DocumentService.Application\DocumentService.Application.csproj", "{459EDCC5-240E-A2BC-1330-B5B2326B679C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentService.Domain", "DocumentService.Domain\DocumentService.Domain.csproj", "{2F2C937F-3732-4E6C-9720-FAB62DC33C63}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {BA41F6A2-EE29-48F9-A3CB-29A05E57CF30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BA41F6A2-EE29-48F9-A3CB-29A05E57CF30}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BA41F6A2-EE29-48F9-A3CB-29A05E57CF30}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BA41F6A2-EE29-48F9-A3CB-29A05E57CF30}.Release|Any CPU.Build.0 = Release|Any CPU - {B2B735FC-5F39-4CFF-9C54-C4F8820880B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B2B735FC-5F39-4CFF-9C54-C4F8820880B6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B2B735FC-5F39-4CFF-9C54-C4F8820880B6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B2B735FC-5F39-4CFF-9C54-C4F8820880B6}.Release|Any CPU.Build.0 = Release|Any CPU - {C4CA19A8-8168-453B-B4ED-77E032CFE52E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C4CA19A8-8168-453B-B4ED-77E032CFE52E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C4CA19A8-8168-453B-B4ED-77E032CFE52E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C4CA19A8-8168-453B-B4ED-77E032CFE52E}.Release|Any CPU.Build.0 = Release|Any CPU - {B4C1C3ED-D3E8-4272-8704-2E73CEA6A0DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B4C1C3ED-D3E8-4272-8704-2E73CEA6A0DD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B4C1C3ED-D3E8-4272-8704-2E73CEA6A0DD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B4C1C3ED-D3E8-4272-8704-2E73CEA6A0DD}.Release|Any CPU.Build.0 = Release|Any CPU {32D2E997-3DA7-4061-8A50-DBB34BBC3E5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {32D2E997-3DA7-4061-8A50-DBB34BBC3E5A}.Debug|Any CPU.Build.0 = Debug|Any CPU {32D2E997-3DA7-4061-8A50-DBB34BBC3E5A}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -70,21 +54,37 @@ Global {626E2002-8EC1-4FF9-A9A6-51D5809E26FC}.Debug|Any CPU.Build.0 = Debug|Any CPU {626E2002-8EC1-4FF9-A9A6-51D5809E26FC}.Release|Any CPU.ActiveCfg = Release|Any CPU {626E2002-8EC1-4FF9-A9A6-51D5809E26FC}.Release|Any CPU.Build.0 = Release|Any CPU + {3899542A-D6B3-5FF3-2493-093DE5BB0CEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3899542A-D6B3-5FF3-2493-093DE5BB0CEB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3899542A-D6B3-5FF3-2493-093DE5BB0CEB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3899542A-D6B3-5FF3-2493-093DE5BB0CEB}.Release|Any CPU.Build.0 = Release|Any CPU + {A5AB3D2B-D4A8-1BE2-CACE-B5DBF9A40E51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A5AB3D2B-D4A8-1BE2-CACE-B5DBF9A40E51}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A5AB3D2B-D4A8-1BE2-CACE-B5DBF9A40E51}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A5AB3D2B-D4A8-1BE2-CACE-B5DBF9A40E51}.Release|Any CPU.Build.0 = Release|Any CPU + {459EDCC5-240E-A2BC-1330-B5B2326B679C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {459EDCC5-240E-A2BC-1330-B5B2326B679C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {459EDCC5-240E-A2BC-1330-B5B2326B679C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {459EDCC5-240E-A2BC-1330-B5B2326B679C}.Release|Any CPU.Build.0 = Release|Any CPU + {2F2C937F-3732-4E6C-9720-FAB62DC33C63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2F2C937F-3732-4E6C-9720-FAB62DC33C63}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2F2C937F-3732-4E6C-9720-FAB62DC33C63}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2F2C937F-3732-4E6C-9720-FAB62DC33C63}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution - {BA41F6A2-EE29-48F9-A3CB-29A05E57CF30} = {62E8F4B3-EA49-41D2-8843-0636EB4421BB} - {B2B735FC-5F39-4CFF-9C54-C4F8820880B6} = {0B80DDC4-A13C-4C5F-8520-AA2F3650E884} - {C4CA19A8-8168-453B-B4ED-77E032CFE52E} = {9BACC18A-5C6D-4678-A43C-A19907AE9CF3} - {B4C1C3ED-D3E8-4272-8704-2E73CEA6A0DD} = {0B80DDC4-A13C-4C5F-8520-AA2F3650E884} {32D2E997-3DA7-4061-8A50-DBB34BBC3E5A} = {D64772B8-6213-4031-8064-2567F1E724F6} {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {3F9E8D8E-1234-4567-89AB-CDEF01234567} {0B80DDC4-A13C-4C5F-8520-AA2F3650E884} = {2B18D2F8-40C1-4CA0-99AB-7F98F254FEB8} {62E8F4B3-EA49-41D2-8843-0636EB4421BB} = {2B18D2F8-40C1-4CA0-99AB-7F98F254FEB8} {9BACC18A-5C6D-4678-A43C-A19907AE9CF3} = {2B18D2F8-40C1-4CA0-99AB-7F98F254FEB8} {626E2002-8EC1-4FF9-A9A6-51D5809E26FC} = {62E8F4B3-EA49-41D2-8843-0636EB4421BB} + {3899542A-D6B3-5FF3-2493-093DE5BB0CEB} = {62E8F4B3-EA49-41D2-8843-0636EB4421BB} + {A5AB3D2B-D4A8-1BE2-CACE-B5DBF9A40E51} = {9BACC18A-5C6D-4678-A43C-A19907AE9CF3} + {459EDCC5-240E-A2BC-1330-B5B2326B679C} = {0B80DDC4-A13C-4C5F-8520-AA2F3650E884} + {2F2C937F-3732-4E6C-9720-FAB62DC33C63} = {0B80DDC4-A13C-4C5F-8520-AA2F3650E884} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {832CA90A-06D6-4312-9B35-16CC665EB37C}