use of org.graylog2.alarmcallbacks.HTTPAlarmCallback in project graylog2-server by Graylog2.
the class HTTPAlarmCallbackTest method setUp.
@Before
public void setUp() throws Exception {
httpClient = new OkHttpClient();
objectMapper = new ObjectMapperProvider().get();
whitelistService = mock(UrlWhitelistService.class);
alarmCallback = new HTTPAlarmCallback(httpClient, objectMapper, whitelistService);
server = new MockWebServer();
}
Aggregations