Search in sources :

Example 1 with SlackSource

use of com.redhat.service.smartevents.processor.sources.slack.SlackSource in project sandbox by 5733d9e2be6485d52ffa08870cabdee0.

the class ConnectorsServiceTest method slackSource.

private static Source slackSource() {
    Source action = new Source();
    action.setType(SlackSource.TYPE);
    action.setMapParameters(Map.of(SlackSource.CHANNEL_PARAM, TEST_SOURCE_CHANNEL, SlackSource.TOKEN_PARAM, TEST_SOURCE_TOKEN));
    return action;
}
Also used : SlackSource(com.redhat.service.smartevents.processor.sources.slack.SlackSource) MethodSource(org.junit.jupiter.params.provider.MethodSource) Source(com.redhat.service.smartevents.infra.models.gateways.Source)

Aggregations

Source (com.redhat.service.smartevents.infra.models.gateways.Source)1 SlackSource (com.redhat.service.smartevents.processor.sources.slack.SlackSource)1 MethodSource (org.junit.jupiter.params.provider.MethodSource)1