From fa2e2e15ae4a4df6515215b10abe94bf7b4b005d Mon Sep 17 00:00:00 2001
From: Jesse-Ma <24167796@qq.com>
Date: Thu, 7 Mar 2024 17:27:00 +1300
Subject: [PATCH] dev env
---
pom.xml | 31 +++++++++++++++++++++++++------
src/main/resources/bootstrap.yml | 9 ++++++---
2 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/pom.xml b/pom.xml
index 45f573d..b0e3988 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.springframework.boot
spring-boot-starter-parent
- 3.0.6
+ 3.2.3
com.flagnote
@@ -19,7 +19,7 @@
17
17
17
- 2022.0.2
+ 2023.0.0
registry.openif.com:5000
flagnote
@@ -48,16 +48,21 @@
org.springframework.cloud
spring-cloud-starter-loadbalancer
-
+
+
+
+
+
org.projectlombok
lombok
- true
+ 1.18.30
+ provided
cn.hutool
hutool-all
- 5.8.18
+ 5.8.25
org.springframework.boot
@@ -88,7 +93,21 @@
-
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+ org.projectlombok
+ lombok
+
+
+
+
+
+
org.apache.maven.plugins
maven-compiler-plugin
diff --git a/src/main/resources/bootstrap.yml b/src/main/resources/bootstrap.yml
index 7479ad4..4362364 100644
--- a/src/main/resources/bootstrap.yml
+++ b/src/main/resources/bootstrap.yml
@@ -4,7 +4,10 @@ spring:
cloud:
config:
name: flagnote-gateway
- profile: prd
- uri: http://flagnote-config-01:8080/flagnote-config
+# profile: prd
+# uri: http://flagnote-config-01:20000/flagnote-config,http://flagnote-config-02:20000/flagnote-config
+ profile: dev
+ uri: http://localhost:20000/flagnote-config
config:
- import: optional:configserver:http://flagnote-config-01:8080/
+# import: optional:configserver:http://flagnote-config-01:20000/,optional:configserver:http://flagnote-config-02:20000/
+ import: optional:configserver:http://localhost:20000/
\ No newline at end of file