You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2022/09/23 04:32:50 UTC
[incubator-eventmesh] branch master updated: fixed webHook protocol adaptor
This is an automated email from the ASF dual-hosted git repository.
chenguangsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new df47f061 fixed webHook protocol adaptor
new e379be68 Merge pull request #1370 from cocodroid/fixed-webhook
df47f061 is described below
commit df47f0611b4824b0e92293cb9ab123a5473cee53
Author: cocodroid <25...@qq.com>
AuthorDate: Fri Sep 23 11:05:23 2022 +0800
fixed webHook protocol adaptor
---
.../org/apache/eventmesh/protocol/webhook/WebHookProtocolAdaptor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eventmesh-protocol-plugin/eventmesh-protocol-webhook/src/main/java/org/apache/eventmesh/protocol/webhook/WebHookProtocolAdaptor.java b/eventmesh-protocol-plugin/eventmesh-protocol-webhook/src/main/java/org/apache/eventmesh/protocol/webhook/WebHookProtocolAdaptor.java
index 2a102ad6..5c8b99c1 100644
--- a/eventmesh-protocol-plugin/eventmesh-protocol-webhook/src/main/java/org/apache/eventmesh/protocol/webhook/WebHookProtocolAdaptor.java
+++ b/eventmesh-protocol-plugin/eventmesh-protocol-webhook/src/main/java/org/apache/eventmesh/protocol/webhook/WebHookProtocolAdaptor.java
@@ -46,7 +46,7 @@ public class WebHookProtocolAdaptor implements ProtocolAdaptor<WebhookProtocolTr
.withDataContentType(protocol.getDataContentType())
.withType(protocol.getEventType())
.withData(protocol.getBody())
- .withExtension(Constants.PROTOCOL_TYPE, "webhookProtocolAdaptor")
+ .withExtension(Constants.PROTOCOL_TYPE, "webhook")
.build();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org