use of org.graylog.plugins.views.migrations.V20191203120602_MigrateSavedSearchesToViewsSupport.savedsearch.SavedSearchService in project graylog2-server by Graylog2.
the class V20191203120602_MigrateSavedSearchesToViewsTest method setUp.
@Before
public void setUp() throws Exception {
final MongoJackObjectMapperProvider mapperProvider = new MongoJackObjectMapperProvider(new ObjectMapper());
final SavedSearchService savedSearchService = new SavedSearchService(mongodb.mongoConnection(), mapperProvider);
final RandomObjectIdProvider randomObjectIdProvider = new StaticRandomObjectIdProvider(new Date(1575020937839L));
final RandomUUIDProvider randomUUIDProvider = new RandomUUIDProvider(new Date(1575020937839L), 1575020937839L);
this.migration = new V20191203120602_MigrateSavedSearchesToViews(clusterConfigService, savedSearchService, searchService, viewService, randomObjectIdProvider, randomUUIDProvider);
}
Aggregations