This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new b61c3b81022 add domainpath to WebhookResponse
b61c3b81022 is described below

commit b61c3b8102299f0ad3bec0bc7e8d2aa7fbb2bb5a
Author: Wei Zhou <weiz...@apache.org>
AuthorDate: Mon Aug 26 18:10:07 2024 +0200

    add domainpath to WebhookResponse
---
 .../cloudstack/mom/webhook/api/response/WebhookResponse.java     | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git 
a/plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java
 
b/plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java
index 161b8c5796a..5e1cca36138 100644
--- 
a/plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java
+++ 
b/plugins/event-bus/webhook/src/main/java/org/apache/cloudstack/mom/webhook/api/response/WebhookResponse.java
@@ -54,6 +54,10 @@ public class WebhookResponse extends BaseResponse implements 
ControlledViewEntit
     @Param(description = "The name of the domain in which the Webhook exists")
     private String domainName;
 
+    @SerializedName(ApiConstants.DOMAIN_PATH)
+    @Param(description = "path of the domain to which the Webhook belongs")
+    private String domainPath;
+
     @SerializedName(ApiConstants.ACCOUNT)
     @Param(description = "The account associated with the Webhook")
     private String accountName;
@@ -107,6 +111,11 @@ public class WebhookResponse extends BaseResponse 
implements ControlledViewEntit
         this.domainId = domainId;
     }
 
+    @Override
+    public void setDomainPath(String domainPath) {
+        this.domainPath = domainPath;
+    }
+
     @Override
     public void setDomainName(String domainName) {
         this.domainName = domainName;

Reply via email to