Revision 50570
Added by Panagiotis Kanakakis about 6 years ago
ValidatorApi.java | ||
---|---|---|
4 | 4 |
import eu.dnetlib.domain.functionality.validator.JobForValidation; |
5 | 5 |
import eu.dnetlib.domain.functionality.validator.RuleSet; |
6 | 6 |
import eu.dnetlib.domain.functionality.validator.StoredJob; |
7 |
import eu.dnetlib.repo.manager.shared.InterfaceInformation; |
|
7 | 8 |
import eu.dnetlib.repo.manager.shared.ValidationServiceException; |
8 | 9 |
import io.swagger.annotations.Api; |
9 | 10 |
import org.json.JSONException; |
... | ... | |
52 | 53 |
@ResponseBody |
53 | 54 |
int getStoredJobsTotalNumberNew(String user, String jobType, String validationStatus) throws ValidatorServiceException; |
54 | 55 |
|
56 |
@RequestMapping(value = "/getInterfaceInformation/{baseUrl}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
|
57 |
@ResponseBody |
|
58 |
InterfaceInformation getInterfaceInformation(String baseUrl) throws ValidationServiceException; |
|
55 | 59 |
} |
Also available in: Unified diff
1. Add getMetricsInfoForRepository and getInterfaceInformation methods.
2. Create aai-secutiry.xml file
3. Add properties on application file