feat(zns-importer): add ZNSImportService with tests and REST controller
- Created `ZnsImportService` to handle uploading, parsing, and persisting ZNS data from legacy `.zip` files. - Introduced corresponding test cases in `ZnsImportServiceTest` for handling edge cases including imports and updates. - Added REST controller `ZnsImportController` for initiating import jobs and retrieving their status. - Defined `ZnsImportResult` data structure for reporting results of import operations. - Established database configuration specific to ZNS importer for development profile. - Updated utility libraries with `FixedWidthLineReader` for fixed-width string parsing. - Refactored architecture by placing parser logic in `core:zns-parser` for reuse across backend and Compose Desktop app. Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
@@ -66,6 +66,9 @@ include(":backend:infrastructure:persistence")
|
||||
// --- SECURITY ---
|
||||
include(":backend:infrastructure:security")
|
||||
|
||||
// --- ZNS-IMPORTER ---
|
||||
include(":backend:infrastructure:zns-importer")
|
||||
|
||||
// === BACKEND - SERVICES ===
|
||||
// --- ENTRIES (Nennungen) ---
|
||||
include(":backend:services:entries:entries-api")
|
||||
@@ -99,11 +102,15 @@ include(":backend:services:persons:persons-service")
|
||||
// --- PING (Ping Service) ---
|
||||
include(":backend:services:ping:ping-service")
|
||||
|
||||
// --- ZNS-IMPORT (Asynchroner ZNS-Stammdaten-Import) ---
|
||||
include(":backend:services:zns-import:zns-import-service")
|
||||
|
||||
// ==========================================================================
|
||||
// CORE
|
||||
// ==========================================================================
|
||||
include(":core:core-domain")
|
||||
include(":core:core-utils")
|
||||
include(":core:zns-parser")
|
||||
|
||||
// ==========================================================================
|
||||
// DOCUMENTATION
|
||||
|
||||
Reference in New Issue
Block a user