diff --git a/api-gateway/k8s/deployment.yml b/api-gateway/k8s/deployment.yml
index 4ffa886..6699042 100644
--- a/api-gateway/k8s/deployment.yml
+++ b/api-gateway/k8s/deployment.yml
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: api-gateway
- image: ghcr.io/ubaid4j/cloud-native-app-spring-boot/api-gateway:0.0.3-SNAPSHOT
+ image: ghcr.io/ubaid4j/cloud-native-app-spring-boot/api-gateway:0.0.3-snapshot
imagePullPolicy: IfNotPresent
env:
- name: SPRING_PROFILES_ACTIVE
@@ -37,5 +37,4 @@ spec:
volumes:
- name: api-gateway-config-volume
configMap:
- name: api-gateway-config
-
\ No newline at end of file
+ name: api-gateway-config
\ No newline at end of file
diff --git a/api-gateway/pom.xml b/api-gateway/pom.xml
index 37208c4..d915bac 100644
--- a/api-gateway/pom.xml
+++ b/api-gateway/pom.xml
@@ -16,6 +16,8 @@
21
+ v21.1.0
+ 10.2.0
2023.0.0
@@ -67,6 +69,52 @@
+
+ com.github.eirslett
+ frontend-maven-plugin
+
+
+ install-node-and-npm
+
+ ${node.version}
+
+
+ install-node-and-npm
+
+
+
+ npm install
+
+ npm
+
+
+
+ webapp build test
+
+ npm
+
+ test
+
+ run webapp:test
+ false
+
+
+
+ webapp build prod
+
+ npm
+
+ generate-resources
+
+ run build
+
+ ${project.version}
+
+ false
+
+
+
+
@@ -74,6 +122,10 @@
org.springframework.boot
spring-boot-maven-plugin
+
+ com.github.eirslett
+ frontend-maven-plugin
+