From a4b5238621fc0c1f3de7a5a6808c0c764ef79115 Mon Sep 17 00:00:00 2001 From: Dallas98 <40557804+Dallas98@users.noreply.github.com> Date: Tue, 28 Oct 2025 14:12:44 +0800 Subject: [PATCH] refactor: simplify package scanning by using wildcard for mapper packages (#28) * refactor: rename artifactId and application name to 'datamate'; add model configuration and related services * refactor: simplify package scanning by using wildcard for mapper packages --- .../java/com/datamate/main/DataMatePlatformApplication.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/services/main-application/src/main/java/com/datamate/main/DataMatePlatformApplication.java b/backend/services/main-application/src/main/java/com/datamate/main/DataMatePlatformApplication.java index 7267967..3356df1 100644 --- a/backend/services/main-application/src/main/java/com/datamate/main/DataMatePlatformApplication.java +++ b/backend/services/main-application/src/main/java/com/datamate/main/DataMatePlatformApplication.java @@ -27,8 +27,6 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; "com.datamate.evaluation", "com.datamate.pipeline", "com.datamate.execution", - "com.datamate.rag", - "com.datamate.shared", "com.datamate.common" }) @MapperScan(basePackages = { @@ -36,7 +34,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; "com.datamate.datamanagement.infrastructure.persistence.mapper", "com.datamate.operator.infrastructure.persistence.mapper", "com.datamate.cleaning.infrastructure.persistence.mapper", - "com.datamate.common.infrastructure.mapper" + "com.datamate.**.mapper" }) @EnableTransactionManagement @EnableAsync