From 337ce9079790797f0bc7e1697f3158a706400097 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 20 Jun 2025 14:39:11 +0200 Subject: [PATCH] MINOR: Alert test message type (#21866) * fix: align message with Content-Type for test webhook alert * fix: align message with Content-Type for test webhook alert --- .../apps/bundles/changeEvent/generic/GenericPublisher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/apps/bundles/changeEvent/generic/GenericPublisher.java b/openmetadata-service/src/main/java/org/openmetadata/service/apps/bundles/changeEvent/generic/GenericPublisher.java index d8ccb60ae84..773572b5c8f 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/apps/bundles/changeEvent/generic/GenericPublisher.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/apps/bundles/changeEvent/generic/GenericPublisher.java @@ -48,7 +48,7 @@ public class GenericPublisher implements Destination { private final Client client; private final Webhook webhook; private static final String TEST_MESSAGE_JSON = - "This is a test message from OpenMetadata to confirm your webhook destination is configured correctly."; + "{\"message\": \"This is a test message from OpenMetadata to confirm your webhook destination is configured correctly.\"}"; @Getter private final SubscriptionDestination subscriptionDestination; private final EventSubscription eventSubscription;