Search in sources :

Example 1 with WebhookAction

use of com.redhat.service.smartevents.processor.actions.webhook.WebhookAction in project sandbox by 5733d9e2be6485d52ffa08870cabdee0.

the class ConnectorsServiceTest method webhookAction.

private static Action webhookAction() {
    Action action = new Action();
    action.setType(WebhookAction.TYPE);
    action.setMapParameters(Map.of(WebhookAction.ENDPOINT_PARAM, TEST_ACTION_WEBHOOK));
    return action;
}
Also used : Action(com.redhat.service.smartevents.infra.models.gateways.Action) SlackAction(com.redhat.service.smartevents.processor.actions.slack.SlackAction) WebhookAction(com.redhat.service.smartevents.processor.actions.webhook.WebhookAction)

Aggregations

Action (com.redhat.service.smartevents.infra.models.gateways.Action)1 SlackAction (com.redhat.service.smartevents.processor.actions.slack.SlackAction)1 WebhookAction (com.redhat.service.smartevents.processor.actions.webhook.WebhookAction)1