mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Polish alibaba/spring-cloud-alibaba#1363 : Resolve the issues of JavaDoc
This commit is contained in:
parent
3b28fc6e0f
commit
5e847f2b0d
@ -23,12 +23,6 @@
|
|||||||
<seata.version>1.1.0</seata.version>
|
<seata.version>1.1.0</seata.version>
|
||||||
<nacos.client.version>1.2.1</nacos.client.version>
|
<nacos.client.version>1.2.1</nacos.client.version>
|
||||||
<nacos.config.version>0.8.0</nacos.config.version>
|
<nacos.config.version>0.8.0</nacos.config.version>
|
||||||
<aliyun.sdk.version>4.4.1</aliyun.sdk.version>
|
|
||||||
<alicloud.context.version>1.0.5</alicloud.context.version>
|
|
||||||
<aliyun.sdk.edas.version>2.44.0</aliyun.sdk.edas.version>
|
|
||||||
<aliyun.java.sdk.dysmsapi>1.1.0</aliyun.java.sdk.dysmsapi>
|
|
||||||
<aliyun.sdk.mns>1.1.8.6</aliyun.sdk.mns>
|
|
||||||
<aliyun.java.sdk.dyvmsapi>1.1.1</aliyun.java.sdk.dyvmsapi>
|
|
||||||
<spring.context.support.version>1.0.6</spring.context.support.version>
|
<spring.context.support.version>1.0.6</spring.context.support.version>
|
||||||
|
|
||||||
<!-- Maven Plugin Versions -->
|
<!-- Maven Plugin Versions -->
|
||||||
|
@ -20,7 +20,6 @@ import com.alibaba.cloud.examples.service.EchoService;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author lengleng
|
* @author lengleng
|
||||||
* @date 2019-08-01
|
|
||||||
* <p>
|
* <p>
|
||||||
* sentinel 降级处理
|
* sentinel 降级处理
|
||||||
*/
|
*/
|
||||||
@ -35,7 +34,7 @@ public class EchoServiceFallback implements EchoService {
|
|||||||
/**
|
/**
|
||||||
* 调用服务提供方的输出接口.
|
* 调用服务提供方的输出接口.
|
||||||
* @param str 用户输入
|
* @param str 用户输入
|
||||||
* @return
|
* @return response
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String echo(String str) {
|
public String echo(String str) {
|
||||||
|
@ -22,7 +22,6 @@ import org.springframework.stereotype.Component;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author lengleng
|
* @author lengleng
|
||||||
* @date 2019-08-01
|
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class EchoServiceFallbackFactory implements FallbackFactory<EchoServiceFallback> {
|
public class EchoServiceFallbackFactory implements FallbackFactory<EchoServiceFallback> {
|
||||||
|
@ -24,12 +24,10 @@ import org.springframework.web.bind.annotation.PathVariable;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author lengleng
|
* @author lengleng
|
||||||
* @date 2019-08-01
|
|
||||||
* <p>
|
* <p>
|
||||||
* example feign client
|
* example feign client
|
||||||
*/
|
*/
|
||||||
@FeignClient(name = "service-provider",
|
@FeignClient(name = "service-provider", fallbackFactory = EchoServiceFallbackFactory.class)
|
||||||
fallbackFactory = EchoServiceFallbackFactory.class)
|
|
||||||
public interface EchoService {
|
public interface EchoService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -22,7 +22,6 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author lengleng
|
* @author lengleng
|
||||||
* @date 2019-08-01
|
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
public class EchoController {
|
public class EchoController {
|
||||||
|
@ -37,16 +37,12 @@ import static org.apache.dubbo.common.constants.CommonConstants.DEFAULT_RETRIES;
|
|||||||
* Spring Cloud Service-to-Service call is transported by Dubbo under the hood, there are
|
* Spring Cloud Service-to-Service call is transported by Dubbo under the hood, there are
|
||||||
* two main scenarios:
|
* two main scenarios:
|
||||||
* <ol>
|
* <ol>
|
||||||
* <li>{@link FeignClient @FeignClient} annotated classes:
|
* <li>{@link FeignClient @FeignClient} annotated classes: If
|
||||||
* <ul>
|
* {@link DubboTransported @DubboTransported} annotated classes, the invocation of all
|
||||||
* If {@link DubboTransported @DubboTransported} annotated classes, the invocation of all
|
|
||||||
* methods of {@link FeignClient @FeignClient} annotated classes.
|
* methods of {@link FeignClient @FeignClient} annotated classes.
|
||||||
* </ul>
|
*
|
||||||
* <ul>
|
|
||||||
* If {@link DubboTransported @DubboTransported} annotated methods of
|
* If {@link DubboTransported @DubboTransported} annotated methods of
|
||||||
* {@link FeignClient @FeignClient} annotated classes.
|
* {@link FeignClient @FeignClient} annotated classes.</li>
|
||||||
* </ul>
|
|
||||||
* </li>
|
|
||||||
* <li>{@link LoadBalanced @LoadBalanced} {@link RestTemplate} annotated field, method and
|
* <li>{@link LoadBalanced @LoadBalanced} {@link RestTemplate} annotated field, method and
|
||||||
* parameters</li>
|
* parameters</li>
|
||||||
* </ol>
|
* </ol>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user