Skip to content

Commit 3c0a57f

Browse files
committed
修复apollo和nacos配置管理属性不能热加载问题
1 parent 55e34fb commit 3c0a57f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

bboss-plugin-nacos/src/test/java/org/frameworkset/apollo/NacosPropertiesFilePluginTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void init(){
5353
config.put("max-retry","10");
5454
config.put("username","nacos");
5555
config.put("password","nacos");
56-
propertiesContainer.addConfigPropertiesFromNacos("test","localhost:8848","dbinfo","DEFAULT_GROUP" ,5000L,"org.frameworkset.apollo.DemoTestListener");
56+
propertiesContainer.addConfigPropertiesFromNacos("test","localhost:8848","dbinfo","DEFAULT_GROUP" ,5000L,"org.frameworkset.apollo.DemoTestListener",config);
5757
propertiesContainer.afterLoaded(propertiesContainer);
5858
}
5959
@Test

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PROJ_GROUP=com.bbossgroups.plugins
2-
PROJ_VERSION=6.3.1
2+
PROJ_VERSION=6.3.2
33
PROJ_BBOSS_VERSION=6.2.5
4-
PROJ_HTTP_VERSION=6.3.1
4+
PROJ_HTTP_VERSION=6.3.2
55
apollo_version=2.3.0
66
nacos_version=2.4.1
7-
PROJ_BBOSS_DATA_VERSION=6.2.3
7+
PROJ_BBOSS_DATA_VERSION=6.2.5
88
skipTest=true
99
PROJ_WEBSITEURL=http://www.bbossgroups.com
1010
PROJ_ISSUETRACKERURL=https://github.com/bbossgroups/bboss-plugins/issues

0 commit comments

Comments
 (0)