Search in sources :

Example 1 with CollectorService

use of org.graylog.plugins.sidecar.services.CollectorService in project graylog2-server by Graylog2.

the class SidecarCollectorFacadeTest method setUp.

@Before
public void setUp() throws Exception {
    final MongoJackObjectMapperProvider mapperProvider = new MongoJackObjectMapperProvider(objectMapper);
    collectorService = new CollectorService(mongodb.mongoConnection(), mapperProvider);
    facade = new SidecarCollectorFacade(objectMapper, collectorService);
}
Also used : MongoJackObjectMapperProvider(org.graylog2.bindings.providers.MongoJackObjectMapperProvider) CollectorService(org.graylog.plugins.sidecar.services.CollectorService) Before(org.junit.Before)

Aggregations

CollectorService (org.graylog.plugins.sidecar.services.CollectorService)1 MongoJackObjectMapperProvider (org.graylog2.bindings.providers.MongoJackObjectMapperProvider)1 Before (org.junit.Before)1