Revision 51525
Added by Panagiotis Kanakakis about 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.domain.functionality.UserProfile; |
|
5 | 6 |
import eu.dnetlib.repo.manager.shared.*; |
6 | 7 |
import io.swagger.annotations.Api; |
7 | 8 |
import org.json.JSONException; |
... | ... | |
68 | 69 |
Repository addRepository(String datatype, Repository repository) throws Exception; |
69 | 70 |
|
70 | 71 |
|
71 |
@RequestMapping(value = "/deleteInterface", method = RequestMethod.DELETE) |
|
72 |
@ResponseBody |
|
72 |
@RequestMapping(value = "/deleteInterface/", method = RequestMethod.DELETE) |
|
73 | 73 |
void deleteRepositoryInterface(String id); |
74 | 74 |
|
75 | 75 |
@RequestMapping(value = "/addInterface", method = RequestMethod.POST, |
... | ... | |
134 | 134 |
@ResponseBody |
135 | 135 |
Map<String, String> getListLatestUpdate(String mode) throws RepositoryServiceException, JSONException; |
136 | 136 |
|
137 |
@RequestMapping(value = "/updateRepositoryInterface", method = RequestMethod.POST, |
|
138 |
consumes = MediaType.APPLICATION_JSON_VALUE) |
|
139 |
@ResponseBody |
|
140 |
RepositoryInterface updateRepositoryInterface(String repositoryId,RepositoryInterface repositoryInterface) throws JSONException; |
|
137 | 141 |
|
138 | 142 |
|
143 |
|
|
139 | 144 |
} |
Also available in: Unified diff
1. Add roles for aai
2. Changes on converter file for new interface object
3. Move emailUtils to avoid bug on bean definitions
4. Add openaire provider authorities mapper class
5. Bug fixes on controllers