Project

General

Profile

« Previous | Next » 

Revision 52911

added pagination to the sushilite call

View differences:

SushiliteApi.java
1 1
package eu.dnetlib.repo.manager.service.controllers;
2 2

  
3
import eu.dnetlib.usagestats.sushilite.ReportResponseWrapper;
3
import eu.dnetlib.usagestats.sushilite.domain.ReportResponse;
4
import eu.dnetlib.usagestats.sushilite.domain.ReportResponseWrapper;
4 5
import io.swagger.annotations.Api;
5 6
import org.json.JSONException;
6 7
import org.springframework.http.MediaType;
......
16 17

  
17 18
    @RequestMapping(value = "/getReportResults", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
18 19
    @ResponseBody
19
    ReportResponseWrapper getReportResults(String Report,
20
    ReportResponseWrapper getReportResults(String page,
21
                                           String pageSize,
22
                                           String Report,
20 23
                                           String Release,
21 24
                                           String RequestorID,
22 25
                                           String BeginDate,

Also available in: Unified diff