Skip to content

VSN-2307 : Defining necessary & initial functional code components & configurer beans & applying init tests on folder creation + local collectif reading features.

yassine.elazami a demandé de fusionner VSN-2307 vers develop

Merge Request Description

BaseEntity DTO Definition

This commit introduces the core base entity DTO, serving as the foundation for all service data transfer objects. It establishes a consistent structure for handling entities across the document service.

Main DTOs Definition

This commit defines the primary DTOs for the document service, specifically FolderDTO and DocumentDTO. These objects encapsulate the essential data structures required for folder and document operations.

Request DTO for Folder Creation

This commit adds a dedicated request DTO for folder creation. It ensures that incoming requests for new folders are properly structured and validated before processing.

Folder Service and Implementation

This commit defines the folder service interface and its implementation. It provides the business logic required to manage folder operations within the document service.

Folder Repository Definition

This commit introduces the folder repository along with a specifications executor. It enables efficient querying and persistence of folder data.

Exception Mappings

This commit adds enumerations for exception mappings. It standardizes error handling across the service by associating specific exceptions with predefined codes or messages.

Configurations and Mappers

This commit defines essential configurations and mappers:

  • AWS upload configuration setters
  • Configuration server properties loader
  • Folder and document mappers

These components ensure proper integration with external services and consistent mapping between entities and DTOs.

Finalizing Folder Creation Implementation

This commit completes the implementation of new folder creation functionality. It finalizes the logic required to handle folder creation requests end-to-end.

Refactoring Pre-Existence Test

This commit refactors the pre-existence test logic, focusing on folder name validation. It improves clarity and maintainability of the test conditions.

Feature Exposition

This commit exposes the implemented features through a controller. It provides endpoints that allow external clients to interact with the folder and document service functionalities.

Closes VSN-2307

Rapports de requête de fusion