mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Remove spring-cloud-starter-dubbo-gateway
This commit is contained in:
parent
cea5be4bb6
commit
a192c17ede
@ -274,10 +274,10 @@ public class NacosDiscoveryProperties {
|
||||
this.namingMaintainService = createMaintainService(properties);
|
||||
}
|
||||
|
||||
@PreDestroy
|
||||
public void destroy() throws NacosException {
|
||||
namingService.shutDown();
|
||||
}
|
||||
@PreDestroy
|
||||
public void destroy() throws NacosException {
|
||||
namingService.shutDown();
|
||||
}
|
||||
|
||||
public String getEndpoint() {
|
||||
return endpoint;
|
||||
|
@ -110,8 +110,8 @@ public class SentinelHealthIndicatorTests {
|
||||
Health health = sentinelHealthIndicator.health();
|
||||
|
||||
assertThat(health.getStatus()).isEqualTo(Status.UNKNOWN);
|
||||
assertThat(health.getDetails().get("dashboard")).isEqualTo(
|
||||
new Status(Status.UNKNOWN.getCode(), "localhost:8080 can't be connected"));
|
||||
assertThat(health.getDetails().get("dashboard")).isEqualTo(new Status(
|
||||
Status.UNKNOWN.getCode(), "localhost:8080 can't be connected"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -23,9 +23,7 @@ import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import com.alibaba.cloud.dubbo.metadata.repository.ServiceInstanceSelector;
|
||||
import com.alibaba.cloud.dubbo.util.DubboMetadataUtils;
|
||||
|
||||
import org.apache.dubbo.common.URL;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user