Revision 49362
Added by Panagiotis Kanakakis over 6 years ago
MonitorApi.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.service.rest;
|
|
1 |
package eu.dnetlib.repo.manager.service.controllers;
|
|
2 | 2 |
|
3 | 3 |
import eu.dnetlib.domain.functionality.validator.StoredJob; |
4 |
import org.json.JSONException; |
|
4 | 5 |
import org.springframework.http.MediaType; |
5 | 6 |
import org.springframework.web.bind.annotation.RequestBody; |
6 | 7 |
import org.springframework.web.bind.annotation.RequestMapping; |
... | ... | |
14 | 15 |
public interface MonitorApi { |
15 | 16 |
|
16 | 17 |
@RequestMapping(value = "/getJobsOfUser" , method = RequestMethod.POST,produces = MediaType.APPLICATION_JSON_VALUE) |
17 |
List<StoredJob> getJobsOfUser(@RequestBody String params); |
|
18 |
List<StoredJob> getJobsOfUser(@RequestBody String params) throws JSONException;
|
|
18 | 19 |
|
19 | 20 |
@RequestMapping(value = "/getJobsOfUser" , method = RequestMethod.POST,produces = MediaType.APPLICATION_JSON_VALUE) |
20 |
int getJobsOfUserPerValidationStatus(@RequestBody String params); |
|
21 |
int getJobsOfUserPerValidationStatus(@RequestBody String params) throws JSONException;
|
|
21 | 22 |
|
22 | 23 |
@RequestMapping(value = "/getJobSummary" , method = RequestMethod.POST,produces = MediaType.APPLICATION_JSON_VALUE) |
23 |
StoredJob getJobSummary(@RequestBody String params); |
|
24 |
StoredJob getJobSummary(@RequestBody String params) throws JSONException;
|
|
24 | 25 |
|
25 | 26 |
} |
Also available in: Unified diff
Configuration