This is an automated email from the ASF dual-hosted git repository.
hyunkun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 62ce435 [Dubbo-501] fix image display issue in test-verification.md
(#503)
62ce435 is described below
commit 62ce435d508e930b544fd5b43f5e2c0d73bcbf62
Author: lkj41110 <[email protected]>
AuthorDate: Mon Oct 21 17:21:01 2019 +0800
[Dubbo-501] fix image display issue in test-verification.md (#503)
---
blog/zh-cn/test-verification.md | 6 +++---
img/blog/dubbo-directly.jpg | Bin 0 -> 38922 bytes
img/blog/subscribe-only.jpg | Bin 0 -> 20626 bytes
site_config/blog.js | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/blog/zh-cn/test-verification.md b/blog/zh-cn/test-verification.md
index b3bc541..c62ee20 100644
--- a/blog/zh-cn/test-verification.md
+++ b/blog/zh-cn/test-verification.md
@@ -6,7 +6,7 @@
为方便开发测试,经常会在线下共用一个所有服务可用的注册中心,这时,如果一个正在开发中的服务提供者注册,可能会影响消费者不能正常运行。
可以让服务提供者开发方,只订阅服务(开发的服务可能依赖其它服务),而不注册正在开发的服务,通过直连测试正在开发的服务。
-
+
禁用注册配置
<dubbo:registry address="10.20.153.10:9090" register="false" />
@@ -16,7 +16,7 @@
### 指定IP调用
在开发及测试环境下,经常需要绕过注册中心,只测试指定服务提供者,这时候可能需要点对点直连,点对点直联方式,将以服务接口为单位,忽略注册中心的提供者列表,A
接口配置点对点,不影响 B 接口从注册中心获取列表
-
+
可以通过以下几种配置来指定IP调用
@@ -89,4 +89,4 @@ public class EchoFilter implements Filter {
}
```
在经过EchoFilter.invoke方法时,如果调用的是`$echo`,会中断当前的调用过程,直接返回`$echo`的入参,否则会继续执行Filter链。
-通过动态代理和EchoFilter机制,使得回声测试的整个过程对用户透明,不需要做任何额外的配置,直接调用即可。
\ No newline at end of file
+通过动态代理和EchoFilter机制,使得回声测试的整个过程对用户透明,不需要做任何额外的配置,直接调用即可。
diff --git a/img/blog/dubbo-directly.jpg b/img/blog/dubbo-directly.jpg
new file mode 100644
index 0000000..1632a88
Binary files /dev/null and b/img/blog/dubbo-directly.jpg differ
diff --git a/img/blog/subscribe-only.jpg b/img/blog/subscribe-only.jpg
new file mode 100644
index 0000000..f669e42
Binary files /dev/null and b/img/blog/subscribe-only.jpg differ
diff --git a/site_config/blog.js b/site_config/blog.js
index 4a861e4..3c5c94c 100644
--- a/site_config/blog.js
+++ b/site_config/blog.js
@@ -448,7 +448,7 @@ export default {
author: '@徐靖峰',
dateStr: 'August 28th, 2018',
desc: '开源从来不是高级开发者的专属词汇',
- link: '/zh-cn/blog/dubbo-contribue-to-opensource.html',
+ link: '/zh-cn/blog/dubbo-contribute-to-opensource.html',
},
{
title: 'Spring应用快速集成Dubbo + Hystrix',