Remove spring-cloud-starter-dubbo-gateway

pull/1693/head
mercyblitz 5 years ago
parent cea5be4bb6
commit a192c17ede

@ -274,10 +274,10 @@ public class NacosDiscoveryProperties {
this.namingMaintainService = createMaintainService(properties); this.namingMaintainService = createMaintainService(properties);
} }
@PreDestroy @PreDestroy
public void destroy() throws NacosException { public void destroy() throws NacosException {
namingService.shutDown(); namingService.shutDown();
} }
public String getEndpoint() { public String getEndpoint() {
return endpoint; return endpoint;

@ -110,8 +110,8 @@ public class SentinelHealthIndicatorTests {
Health health = sentinelHealthIndicator.health(); Health health = sentinelHealthIndicator.health();
assertThat(health.getStatus()).isEqualTo(Status.UNKNOWN); assertThat(health.getStatus()).isEqualTo(Status.UNKNOWN);
assertThat(health.getDetails().get("dashboard")).isEqualTo( assertThat(health.getDetails().get("dashboard")).isEqualTo(new Status(
new Status(Status.UNKNOWN.getCode(), "localhost:8080 can't be connected")); Status.UNKNOWN.getCode(), "localhost:8080 can't be connected"));
} }
@Test @Test

@ -23,9 +23,7 @@ import java.util.concurrent.ConcurrentHashMap;
import com.alibaba.cloud.dubbo.metadata.repository.ServiceInstanceSelector; import com.alibaba.cloud.dubbo.metadata.repository.ServiceInstanceSelector;
import com.alibaba.cloud.dubbo.util.DubboMetadataUtils; import com.alibaba.cloud.dubbo.util.DubboMetadataUtils;
import org.apache.dubbo.common.URL; import org.apache.dubbo.common.URL;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

Loading…
Cancel
Save