Support nacos 2.0 #412
This commit is contained in:
@@ -98,9 +98,9 @@ public abstract class FizzNacosHelper {
|
|||||||
|
|
||||||
fizzNacosProperties.init();
|
fizzNacosProperties.init();
|
||||||
|
|
||||||
NacosServiceRegistry nacosServiceRegistry = new NacosServiceRegistry(fizzNacosProperties);
|
|
||||||
NacosServiceManager nacosServiceManager = new NacosServiceManager();
|
NacosServiceManager nacosServiceManager = new NacosServiceManager();
|
||||||
ReflectionUtils.set(nacosServiceRegistry, "nacosServiceManager", nacosServiceManager);
|
NacosServiceRegistry nacosServiceRegistry = new NacosServiceRegistry(nacosServiceManager, fizzNacosProperties);
|
||||||
|
// ReflectionUtils.set(nacosServiceRegistry, "nacosServiceManager", nacosServiceManager);
|
||||||
NacosRegistration nacosRegistration = new NacosRegistration(null, fizzNacosProperties, applicationContext);
|
NacosRegistration nacosRegistration = new NacosRegistration(null, fizzNacosProperties, applicationContext);
|
||||||
Properties nps = fizzNacosProperties.getNacosProperties();
|
Properties nps = fizzNacosProperties.getNacosProperties();
|
||||||
NamingService namingService = nacosServiceManager.getNamingService(nps);
|
NamingService namingService = nacosServiceManager.getNamingService(nps);
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -9,7 +9,7 @@
|
|||||||
<spring-framework.version>5.2.19.RELEASE</spring-framework.version>
|
<spring-framework.version>5.2.19.RELEASE</spring-framework.version>
|
||||||
<reactor-bom.version>Dysprosium-SR25</reactor-bom.version>
|
<reactor-bom.version>Dysprosium-SR25</reactor-bom.version>
|
||||||
<lettuce.version>5.3.7.RELEASE</lettuce.version>
|
<lettuce.version>5.3.7.RELEASE</lettuce.version>
|
||||||
<nacos.cloud.version>2.2.6.RELEASE</nacos.cloud.version>
|
<nacos.cloud.version>2.2.7.RELEASE</nacos.cloud.version>
|
||||||
<netty.version>4.1.75.Final</netty.version>
|
<netty.version>4.1.75.Final</netty.version>
|
||||||
<httpcore.version>4.4.15</httpcore.version>
|
<httpcore.version>4.4.15</httpcore.version>
|
||||||
<log4j2.version>2.17.2</log4j2.version>
|
<log4j2.version>2.17.2</log4j2.version>
|
||||||
|
|||||||
Reference in New Issue
Block a user