From e9414a139e47756056fb6b5a292f19b398621cf9 Mon Sep 17 00:00:00 2001 From: uname <2986773479@qq.com> Date: Mon, 22 Dec 2025 16:03:25 +0800 Subject: [PATCH 1/3] fix: fix the routes definition --- .../helm/datamate/charts/frontend/templates/configmap.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/helm/datamate/charts/frontend/templates/configmap.yaml b/deployment/helm/datamate/charts/frontend/templates/configmap.yaml index 457e388df..c6298349b 100644 --- a/deployment/helm/datamate/charts/frontend/templates/configmap.yaml +++ b/deployment/helm/datamate/charts/frontend/templates/configmap.yaml @@ -17,7 +17,7 @@ data: add_header Set-Cookie "NEXT_LOCALE=zh"; location /api/ { - proxy_pass http://datamate-backend:8080/api/; + proxy_pass http://datamate-gateway:8080/api/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -71,7 +71,7 @@ data: client_max_body_size 1024M; location /api/ { - proxy_pass http://datamate-backend:8080/api/; + proxy_pass http://datamate-gateway:8080/api/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; From 00544588ab06296021618049e09e3c2b22bc572c Mon Sep 17 00:00:00 2001 From: uname <2986773479@qq.com> Date: Mon, 22 Dec 2025 17:54:53 +0800 Subject: [PATCH 2/3] fix: fix the helm installing file --- deployment/helm/datamate/Chart.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment/helm/datamate/Chart.yaml b/deployment/helm/datamate/Chart.yaml index 2c6d33800..e61fd57cc 100644 --- a/deployment/helm/datamate/Chart.yaml +++ b/deployment/helm/datamate/Chart.yaml @@ -26,6 +26,8 @@ appVersion: "0.0.1" dependencies: - name: backend version: 0.0.1 + - name: gateway + version: 0.0.1 - name: frontend version: 0.0.1 - name: database From 2d1f0170e46208adf28695724a8f6b08f18af7a2 Mon Sep 17 00:00:00 2001 From: uname <2986773479@qq.com> Date: Mon, 22 Dec 2025 18:39:55 +0800 Subject: [PATCH 3/3] fix: modify the logging dependencies --- backend/api-gateway/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/backend/api-gateway/pom.xml b/backend/api-gateway/pom.xml index 582596426..2c3b68a7d 100644 --- a/backend/api-gateway/pom.xml +++ b/backend/api-gateway/pom.xml @@ -40,8 +40,17 @@ spring-boot-starter-web org.springframework.boot + + spring-boot-starter-logging + org.springframework.boot + + + + org.springframework.boot + spring-boot-starter-log4j2 + com.alibaba.fastjson2 fastjson2