This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh-site.git
The following commit(s) were added to refs/heads/master by this push:
new ca30f5d5 [ISSUE #111] queryWebHookConfigByManufacturer endpoint causes
NPE and unable to response
ca30f5d5 is described below
commit ca30f5d5b5448a0eb94035aacb1bdaf47106c353
Author: Pil0tXia <[email protected]>
AuthorDate: Fri Jul 28 14:21:28 2023 +0800
[ISSUE #111] queryWebHookConfigByManufacturer endpoint causes NPE and
unable to response
Co-authored-by: xiatian5 <[email protected]>
---
docs/design-document/14-webhook.md | 10 ++++++----
.../current/design-document/15-webhook.md | 12 +++++++-----
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/docs/design-document/14-webhook.md
b/docs/design-document/14-webhook.md
index 0674d16b..eef57159 100644
--- a/docs/design-document/14-webhook.md
+++ b/docs/design-document/14-webhook.md
@@ -166,7 +166,7 @@ Output params:
| cloudEventIdGenerateMode | cloudEvent event object identification method,
uuid or event id | string | N | manufacturerEventId |
-##### 通过manufacturer查询WebHookConfig列表
+##### Query WebHook config by manufacturer
path: /webhook/queryWebHookConfigByManufacturer
method: POST
contentType: application/json
@@ -176,16 +176,18 @@ input params:
| field | desc | type | necessary | default |
| -- | -- | -- | -- | -- |
| manufacturerName | manufacturer name | string | Y | null |
+| pageNum | page number of paging query | string | Y | null |
+| pageSize | page size of each page | string | Y | null |
E.g:
```json
-
{
- "manufacturerName":"github"
+ "manufacturerName":"github",
+ "pageNum":1,
+ "pageSize":2
}
-
```
Output params:
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/design-document/15-webhook.md
b/i18n/zh/docusaurus-plugin-content-docs/current/design-document/15-webhook.md
index 96e7ae83..6961725f 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/design-document/15-webhook.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/design-document/15-webhook.md
@@ -26,8 +26,8 @@ eventMesh.webHook.producer.connector=standalone
```java
/**
* 厂商调用的path。厂商事件调用地址、 [http or https ]://[域名 or IP
【厂商可以被调用】]:[端口]/webhook/[callbackPath]
- * 比如:http://127.0.0.1:10504/webhook/test/event 需要把全完url填入厂商调用输入中
- * callbackPath 是唯一
+ * 比如:http://127.0.0.1:10504/webhook/test/event 需要把完整url填入callbackPath中
+ * callbackPath 唯一
* manufacturer callback path
*/
private String callbackPath;
@@ -181,16 +181,18 @@ contentType: application/json
| 字段 | 说明 | 类型 | 必须 | 默认值 |
| -- | -- | -- | -- | -- |
| manufacturerName | 厂商名 | string | 是 | null |
+| pageNum | 分页查询中的页数 | string | 是 | null |
+| pageSize | 每一页的结果数量 | string | 是 | null |
列子:
```json
-
{
- "manufacturerName":"github"
+ "manufacturerName":"github",
+ "pageNum":1,
+ "pageSize":2
}
-
```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]