Skip to content

Commit db2c7ae

Browse files
committed
后端镜像修复
1 parent e1e62d2 commit db2c7ae

File tree

7 files changed

+50
-48
lines changed

7 files changed

+50
-48
lines changed

backend/pom.xml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,22 +125,20 @@
125125
<dependencies>
126126
<dependency>
127127
<groupId>org.springframework.boot</groupId>
128-
<artifactId>spring-boot-dependencies</artifactId>
128+
<artifactId>spring-boot-starter-web</artifactId>
129129
<version>${spring-boot.version}</version>
130-
<type>pom</type>
131-
<scope>import</scope>
132130
</dependency>
131+
133132
<dependency>
134133
<groupId>org.springframework.boot</groupId>
135-
<artifactId>spring-boot-starter-web</artifactId>
134+
<artifactId>spring-boot-starter</artifactId>
136135
<version>${spring-boot.version}</version>
137136
</dependency>
137+
138138
<dependency>
139-
<groupId>org.springframework.cloud</groupId>
140-
<artifactId>spring-cloud-dependencies</artifactId>
141-
<version>${spring-cloud.version}</version>
142-
<type>pom</type>
143-
<scope>import</scope>
139+
<groupId>com.baomidou</groupId>
140+
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
141+
<version>${mybatis-plus.version}</version>
144142
</dependency>
145143

146144
<dependency>

backend/services/data-synthesis-service/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@
2626
<groupId>org.springframework.boot</groupId>
2727
<artifactId>spring-boot-starter-web</artifactId>
2828
</dependency>
29-
<dependency>
30-
<groupId>org.springframework.boot</groupId>
31-
<artifactId>spring-boot-starter-webflux</artifactId>
32-
</dependency>
3329
<dependency>
3430
<groupId>mysql</groupId>
3531
<artifactId>mysql-connector-java</artifactId>

backend/services/execution-engine-service/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
<groupId>org.springframework.boot</groupId>
3131
<artifactId>spring-boot-starter-data-redis</artifactId>
3232
</dependency>
33-
<dependency>
34-
<groupId>org.springframework.boot</groupId>
35-
<artifactId>spring-boot-starter-webflux</artifactId>
36-
</dependency>
3733
<dependency>
3834
<groupId>mysql</groupId>
3935
<artifactId>mysql-connector-java</artifactId>

backend/services/main-application/pom.xml

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -142,36 +142,18 @@
142142
<plugin>
143143
<groupId>org.springframework.boot</groupId>
144144
<artifactId>spring-boot-maven-plugin</artifactId>
145-
<version>3.2.0</version>
145+
<version>${spring-boot.version}</version>
146146
<configuration>
147+
<finalName>data-engine</finalName>
147148
<mainClass>com.dataengine.main.DataEnginePlatformApplication</mainClass>
148149
</configuration>
149-
</plugin>
150-
<plugin>
151-
<groupId>org.apache.maven.plugins</groupId>
152-
<artifactId>maven-assembly-plugin</artifactId>
153-
<version>${maven-assembly-plugin.version}</version>
154-
<executions>
155-
<execution>
156-
<id>make-assembly</id>
157-
<phase>package</phase>
158-
<goals>
159-
<goal>single</goal>
160-
</goals>
161-
</execution>
162-
</executions>
163-
<configuration>
164-
<finalName>data-engine</finalName>
165-
<appendAssemblyId>false</appendAssemblyId>
166-
<descriptorRefs>
167-
<descriptorRef>jar-with-dependencies</descriptorRef>
168-
</descriptorRefs>
169-
<archive>
170-
<manifest>
171-
<mainClass>com.dataengine.main.DataEnginePlatformApplication</mainClass>
172-
</manifest>
173-
</archive>
174-
</configuration>
150+
<executions>
151+
<execution>
152+
<goals>
153+
<goal>repackage</goal>
154+
</goals>
155+
</execution>
156+
</executions>
175157
</plugin>
176158
</plugins>
177159
</build>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
dataengine:
2+
data-collection:
3+
# DataX配置
4+
datax:
5+
home-path: ${DATAX_HOME:D:/datax}
6+
python-path: ${DATAX_PYTHON_PATH:python3}
7+
job-config-path: ${DATAX_JOB_PATH:./data/temp/datax/jobs}
8+
log-path: ${DATAX_LOG_PATH:./logs/datax}
9+
max-memory: ${DATAX_MAX_MEMORY:2048}
10+
channel-count: ${DATAX_CHANNEL_COUNT:5}
11+
12+
# 执行配置
13+
execution:
14+
max-concurrent-tasks: ${DATA_COLLECTION_MAX_CONCURRENT_TASKS:10}
15+
task-timeout-minutes: ${DATA_COLLECTION_TASK_TIMEOUT:120}
16+
retry-count: ${DATA_COLLECTION_RETRY_COUNT:3}
17+
retry-interval-seconds: ${DATA_COLLECTION_RETRY_INTERVAL:30}
18+
19+
# 监控配置
20+
monitoring:
21+
status-check-interval-seconds: ${DATA_COLLECTION_STATUS_CHECK_INTERVAL:30}
22+
log-retention-days: ${DATA_COLLECTION_LOG_RETENTION:30}
23+
enable-metrics: ${DATA_COLLECTION_ENABLE_METRICS:true}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
dataengine:
2+
datamanagement:
3+
file-storage:
4+
upload-dir: ${FILE_UPLOAD_DIR:./uploads}
5+
max-file-size: 10485760 # 10MB
6+
max-request-size: 52428800 # 50MB
7+
cache:
8+
ttl: 3600
9+
max-size: 1000
10+
# MyBatis is configured centrally in main-application (mapper-locations & aliases)
11+
# to avoid list overriding issues when importing multiple module configs.

backend/services/rag-query-service/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
<groupId>org.springframework.boot</groupId>
3131
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
3232
</dependency>
33-
<dependency>
34-
<groupId>org.springframework.boot</groupId>
35-
<artifactId>spring-boot-starter-webflux</artifactId>
36-
</dependency>
3733
<dependency>
3834
<groupId>mysql</groupId>
3935
<artifactId>mysql-connector-java</artifactId>

0 commit comments

Comments
 (0)