Revision 50862
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(JobForValidation jobForValidation); |
|
24 |
void submitJobForValidation(@RequestBody JobForValidation jobForValidation);
|
|
25 | 25 |
|
26 |
@RequestMapping(value = "/reSubmitJobForValidation/{jobId}",method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE )
|
|
26 |
@RequestMapping(value = "/reSubmitJobForValidation/",method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE ) |
|
27 | 27 |
@ResponseBody |
28 |
void reSubmitJobForValidation(String jobId) throws JSONException; |
|
28 |
void reSubmitJobForValidation(@RequestBody String jobId) throws JSONException;
|
|
29 | 29 |
|
30 | 30 |
@RequestMapping(value = "/getRuleSets/{mode}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
31 | 31 |
@ResponseBody |
... | ... | |
33 | 33 |
|
34 | 34 |
@RequestMapping(value = "/getSetsOfRepository" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
35 | 35 |
@ResponseBody |
36 |
List<String> getSetsOfRepository(String url); |
|
36 |
List<String> getSetsOfRepository(@RequestBody String url);
|
|
37 | 37 |
|
38 |
@RequestMapping(value = "/identifyRepository" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
|
38 |
@RequestMapping(value = "/identifyRepository/{url}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
|
|
39 | 39 |
@ResponseBody |
40 | 40 |
boolean identifyRepo(String url); |
41 | 41 |
|
... | ... | |
45 | 45 |
|
46 | 46 |
@RequestMapping(value = "/getStoredJobsNew" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
47 | 47 |
@ResponseBody |
48 |
List<StoredJob> getStoredJobsNew(String user, |
|
49 |
String jobType, |
|
50 |
String offset, |
|
51 |
String limit, |
|
52 |
String dateFrom, |
|
53 |
String dateTo, |
|
54 |
String validationStatus) throws ValidatorServiceException; |
|
48 |
List<StoredJob> getStoredJobsNew(String user, String jobType, Integer offset, Integer limit, String dateFrom, |
|
49 |
String dateTo, String validationStatus) throws ValidatorServiceException; |
|
55 | 50 |
|
56 | 51 |
|
57 | 52 |
@RequestMapping(value = "/getStoredJobsTotalNumberNew" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
58 | 53 |
@ResponseBody |
59 | 54 |
int getStoredJobsTotalNumberNew(String user, String jobType, String validationStatus) throws ValidatorServiceException; |
60 | 55 |
|
61 |
@RequestMapping(value = "/getInterfaceInformation/" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
|
56 |
@RequestMapping(value = "/getInterfaceInformation/{baseUrl}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
|
|
62 | 57 |
@ResponseBody |
63 | 58 |
InterfaceInformation getInterfaceInformation(String baseUrl) throws ValidationServiceException; |
64 | 59 |
} |
Also available in: Unified diff
Moving branch folders to trunk.