mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
fix: remove ZK discovery dep, bootstrap identical to V1
- Remove spring-cloud-starter-zookeeper-discovery from POM (V1 doesn't have it, causes zookeeperRibbonClientConfiguration error) - Remove ZK exclusions from AppApplication.java (no longer needed) - bootstrap.properties now 100% identical to V1 production - PersonFeignClient restored to placeholder-based name (no hardcoded URL) - Remove NIWSServerListClassName/listOfServers (ConfigurationBasedServerList) Bump version to 2.0.17
This commit is contained in:
@@ -52,10 +52,6 @@
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
+1
-3
@@ -7,8 +7,6 @@ import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
import org.springframework.cloud.netflix.feign.EnableFeignClients;
|
||||
import org.springframework.cloud.zookeeper.serviceregistry.ZookeeperAutoServiceRegistrationAutoConfiguration;
|
||||
import org.springframework.cloud.zookeeper.serviceregistry.ZookeeperServiceRegistryAutoConfiguration;
|
||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
|
||||
@@ -21,7 +19,7 @@ import org.springframework.scheduling.annotation.EnableAsync;
|
||||
@MapperScan({"cn.cloudwalk.elevator.record.mapper", "cn.cloudwalk.elevator.device.mapper",
|
||||
"cn.cloudwalk.elevator.passrule.mapper", "cn.cloudwalk.elevator.person.mapper",
|
||||
"cn.cloudwalk.elevator.codeElevatorArea.mapper"})
|
||||
@SpringBootApplication(exclude = {PageHelperAutoConfiguration.class, ZookeeperAutoServiceRegistrationAutoConfiguration.class, ZookeeperServiceRegistryAutoConfiguration.class}, scanBasePackages = {"cn.cloudwalk.elevator",
|
||||
@SpringBootApplication(exclude = {PageHelperAutoConfiguration.class}, scanBasePackages = {"cn.cloudwalk.elevator",
|
||||
"cn.cloudwalk.web", "cn.cloudwalk.rest.cwoscomponent", "cn.cloudwalk.serial", "cn.cloudwalk.cwos.client.resource"})
|
||||
public class AppApplication {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user