From f4b892c70c94749c8f7383d91843eae16dc85079 Mon Sep 17 00:00:00 2001 From: chenweichao Date: Wed, 30 Mar 2022 14:24:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dapollo=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../starter/refresher/ApolloRefresherHandler.java | 2 +- pom.xml | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/hippo4j-spring-boot/hippo4j-core-spring-boot-starter/src/main/java/cn/hippo4j/core/starter/refresher/ApolloRefresherHandler.java b/hippo4j-spring-boot/hippo4j-core-spring-boot-starter/src/main/java/cn/hippo4j/core/starter/refresher/ApolloRefresherHandler.java index b168a5d2..258d95a2 100644 --- a/hippo4j-spring-boot/hippo4j-core-spring-boot-starter/src/main/java/cn/hippo4j/core/starter/refresher/ApolloRefresherHandler.java +++ b/hippo4j-spring-boot/hippo4j-core-spring-boot-starter/src/main/java/cn/hippo4j/core/starter/refresher/ApolloRefresherHandler.java @@ -35,7 +35,7 @@ public class ApolloRefresherHandler extends AbstractCoreThreadPoolDynamicRefresh ConfigChangeListener configChangeListener = configChangeEvent -> { ConfigFile configFile = ConfigService.getConfigFile( - namespace, + this.namespace.replaceAll("." + bootstrapCoreProperties.getConfigFileType().getValue(), ""), ConfigFileFormat.fromString(bootstrapCoreProperties.getConfigFileType().getValue()) ); diff --git a/pom.xml b/pom.xml index 1246aade..f2ad5ecc 100644 --- a/pom.xml +++ b/pom.xml @@ -295,20 +295,6 @@ ${spring-boot.version} - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - verify - - sign - - - - - org.apache.maven.plugins maven-javadoc-plugin From 55c0a5a9ab910aef777222d53ef6682104ca524a Mon Sep 17 00:00:00 2001 From: chenweichao Date: Wed, 30 Mar 2022 14:29:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dapollo=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pom.xml b/pom.xml index f2ad5ecc..1246aade 100644 --- a/pom.xml +++ b/pom.xml @@ -295,6 +295,20 @@ ${spring-boot.version} + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + verify + + sign + + + + + org.apache.maven.plugins maven-javadoc-plugin