Revision 62337
Added by Konstantinos Spyrou almost 2 years ago
ValidatorServiceImpl.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.repo.manager.service; |
2 | 2 |
|
3 | 3 |
import eu.dnetlib.api.functionality.ValidatorServiceException; |
4 |
import eu.dnetlib.domain.data.RepositoryInterface;
|
|
4 |
import eu.dnetlib.repo.manager.domain.RepositoryInterface;
|
|
5 | 5 |
import eu.dnetlib.domain.functionality.validator.*; |
6 | 6 |
import eu.dnetlib.repo.manager.domain.Constants; |
7 | 7 |
import eu.dnetlib.repo.manager.domain.InterfaceInformation; |
... | ... | |
293 | 293 |
|
294 | 294 |
@Override |
295 | 295 |
public List<StoredJob> getJobsSummary(String repoId, int limit) throws JSONException, ValidatorServiceException { |
296 |
return getValidationService().getJobSummary(repositoryService.getRepositoryInterface(repoId).stream().map(RepositoryInterface::getBaseUrl).collect(Collectors.toList()),limit); |
|
296 |
return getValidationService().getJobSummary( |
|
297 |
repositoryService.getRepositoryInterface(repoId) |
|
298 |
.stream() |
|
299 |
.map(RepositoryInterface::getBaseurl) |
|
300 |
.collect(Collectors.toList()), limit); |
|
297 | 301 |
} |
298 | 302 |
|
299 | 303 |
} |
Also available in: Unified diff
Updated domain classes