Revision 50860
Added by Panagiotis Kanakakis about 6 years ago
ValidatorApi.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
@RequestMapping(value = "/submitJobForValidation",method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE ) |
23 | 23 |
@ResponseBody |
24 |
void submitJobForValidation(@RequestBody JobForValidation jobForValidation);
|
|
24 |
void submitJobForValidation(JobForValidation jobForValidation); |
|
25 | 25 |
|
26 |
@RequestMapping(value = "/reSubmitJobForValidation/",method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE ) |
|
26 |
@RequestMapping(value = "/reSubmitJobForValidation/{jobId}",method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE )
|
|
27 | 27 |
@ResponseBody |
28 |
void reSubmitJobForValidation(@RequestBody String jobId) throws JSONException;
|
|
28 |
void reSubmitJobForValidation(String jobId) throws JSONException; |
|
29 | 29 |
|
30 | 30 |
@RequestMapping(value = "/getRuleSets/{mode}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
31 | 31 |
@ResponseBody |
32 | 32 |
List<RuleSet> getRuleSets(String mode); |
33 | 33 |
|
34 |
@RequestMapping(value = "/getSetsOfRepository/{url}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
|
|
34 |
@RequestMapping(value = "/getSetsOfRepository" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
|
35 | 35 |
@ResponseBody |
36 | 36 |
List<String> getSetsOfRepository(String url); |
37 | 37 |
|
38 |
@RequestMapping(value = "/identifyRepository/{url}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
|
|
38 |
@RequestMapping(value = "/identifyRepository" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
|
39 | 39 |
@ResponseBody |
40 | 40 |
boolean identifyRepo(String url); |
41 | 41 |
|
... | ... | |
58 | 58 |
@ResponseBody |
59 | 59 |
int getStoredJobsTotalNumberNew(String user, String jobType, String validationStatus) throws ValidatorServiceException; |
60 | 60 |
|
61 |
@RequestMapping(value = "/getInterfaceInformation/{baseUrl}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
|
|
61 |
@RequestMapping(value = "/getInterfaceInformation/" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
|
62 | 62 |
@ResponseBody |
63 | 63 |
InterfaceInformation getInterfaceInformation(String baseUrl) throws ValidationServiceException; |
64 | 64 |
} |
Also available in: Unified diff
1. Broker api bug fixes on urls
2. Piwik changes on methods.
3. Validator url changes