Revision 50051
Added by Panagiotis Kanakakis over 6 years ago
RepositoryApi.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import eu.dnetlib.domain.data.Repository; |
4 | 4 |
import eu.dnetlib.domain.data.RepositoryInterface; |
5 |
import eu.dnetlib.repo.manager.shared.*; |
|
5 |
import eu.dnetlib.repo.manager.shared.Aggregations; |
|
6 |
import eu.dnetlib.repo.manager.shared.Country; |
|
7 |
import eu.dnetlib.repo.manager.shared.Timezone; |
|
6 | 8 |
import io.swagger.annotations.Api; |
7 | 9 |
import org.json.JSONException; |
8 | 10 |
import org.springframework.http.MediaType; |
9 |
import org.springframework.web.bind.annotation.*; |
|
11 |
import org.springframework.web.bind.annotation.RequestMapping; |
|
12 |
import org.springframework.web.bind.annotation.RequestMethod; |
|
13 |
import org.springframework.web.bind.annotation.ResponseBody; |
|
14 |
import org.springframework.web.bind.annotation.RestController; |
|
10 | 15 |
|
11 | 16 |
import java.util.List; |
12 | 17 |
import java.util.Map; |
Also available in: Unified diff
1. Change repositoryInterface to json method on converter file ( api params )
2. Add log messages and http headers on repository api.