use of com.epam.ta.reportportal.core.analyzer.auto.client.model.cluster.GenerateClustersRq in project service-api by reportportal.
the class AnalyzerClusterDataProvider method getGenerateRq.
private Optional<GenerateClustersRq> getGenerateRq(GenerateClustersConfig config) {
return launchPreparerService.prepare(config.getLaunchId(), config.getAnalyzerConfig()).map(indexLaunch -> {
final GenerateClustersRq generateClustersRq = new GenerateClustersRq();
generateClustersRq.setLaunch(indexLaunch);
generateClustersRq.setProject(config.getProject());
generateClustersRq.setCleanNumbers(config.isCleanNumbers());
generateClustersRq.setForUpdate(config.isForUpdate());
generateClustersRq.setNumberOfLogLines(config.getAnalyzerConfig().getNumberOfLogLines());
return generateClustersRq;
});
}
Aggregations