|
|
|
@ -27,6 +27,7 @@ import com.alibaba.nacos.api.exception.NacosException;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.core.launch.constant.NacosConstant; |
|
|
|
|
import org.springblade.core.launch.props.BladeProperties; |
|
|
|
|
import org.springframework.cloud.context.config.annotation.RefreshScope; |
|
|
|
|
import org.springframework.cloud.gateway.route.RouteDefinition; |
|
|
|
|
import org.springframework.core.annotation.Order; |
|
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
@ -43,6 +44,7 @@ import java.util.concurrent.Executor;
|
|
|
|
|
@Order |
|
|
|
|
@Slf4j |
|
|
|
|
@Component |
|
|
|
|
@RefreshScope |
|
|
|
|
public class DynamicRouteServiceListener { |
|
|
|
|
|
|
|
|
|
private final DynamicRouteService dynamicRouteService; |
|
|
|
|