Interface WebhookValidationService
-
- All Known Implementing Classes:
DefaultWebhookValidationService
public interface WebhookValidationServiceA service that provides means to test if aWebhookConfigurationModelvalid.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>>pingWebhookDestination(@NotNull WebhookConfigurationModel webhookConfig, @NotNull ItemModel item)Send a test payload to check whether the WebhookConfiguration is working correctly.voidpingWebhookDestination(@NotNull WebhookConfigurationModel webhookConfiguration, @NotNull java.lang.String webhookPayload)Send Mocked Integration Object Payload to Destination to validate WebhookConfiguration
-
-
-
Method Detail
-
pingWebhookDestination
void pingWebhookDestination(@NotNull @NotNull WebhookConfigurationModel webhookConfiguration, @NotNull @NotNull java.lang.String webhookPayload) throws WebhookConfigurationValidationExceptionSend Mocked Integration Object Payload to Destination to validate WebhookConfiguration- Parameters:
webhookConfiguration- WebhookConfigurationwebhookPayload- Mocked Payload of Integration Object- Throws:
WebhookConfigurationValidationException- Validation Exception
-
pingWebhookDestination
rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> pingWebhookDestination(@NotNull @NotNull WebhookConfigurationModel webhookConfig, @NotNull @NotNull ItemModel item)Send a test payload to check whether the WebhookConfiguration is working correctly.- Parameters:
webhookConfig- WebhookConfiguration to be testeditem- Item Model instance- Returns:
- response entity
-
-