use of com.netflix.titus.supplementary.taskspublisher.config.EsPublisherConfiguration in project titus-control-plane by Netflix.
the class TaskEventsGeneratorTest method mockEsPublisherConfiguration.
private EsPublisherConfiguration mockEsPublisherConfiguration() {
EsPublisherConfiguration mockConfig = mock(EsPublisherConfiguration.class);
when(mockConfig.getTaskDocumentEsIndexName()).thenReturn("tasks_");
when(mockConfig.getTaskDocumentEsIndexDateSuffixPattern()).thenReturn("yyyyMM");
return mockConfig;
}
Aggregations