Revision 49898
Added by Panagiotis Kanakakis over 6 years ago
RepositoryApi.java | ||
---|---|---|
24 | 24 |
@ResponseBody |
25 | 25 |
Country[] getCountries() ; |
26 | 26 |
|
27 |
@RequestMapping(value = "/getRepositoriesByCountry/{country}", method = RequestMethod.GET, |
|
27 |
@RequestMapping(value = "/getRepositoriesByCountry/{country}/{mode}", method = RequestMethod.GET,
|
|
28 | 28 |
produces = MediaType.APPLICATION_JSON_VALUE) |
29 | 29 |
@ResponseBody |
30 | 30 |
List<Repository> getRepositoriesByCountry(String country,String mode) throws JSONException; |
... | ... | |
62 | 62 |
@RequestMapping(value = "/addRepository", method = RequestMethod.POST, |
63 | 63 |
consumes = MediaType.APPLICATION_JSON_VALUE) |
64 | 64 |
@ResponseBody |
65 |
String addRepository(Repository repository) throws JSONException;
|
|
65 |
void addRepository(Repository repository) throws JSONException;
|
|
66 | 66 |
|
67 | 67 |
@RequestMapping(value = "/deleteInterface", method = RequestMethod.DELETE) |
68 | 68 |
@ResponseBody |
... | ... | |
113 | 113 |
@ResponseBody |
114 | 114 |
String updateOfficialName(String id, String officialName); |
115 | 115 |
|
116 |
@RequestMapping(value = "/updateTimezone", method = RequestMethod.POST, |
|
117 |
produces = MediaType.APPLICATION_JSON_VALUE) |
|
118 |
@ResponseBody |
|
119 |
String updateTimezone(String id, String timezone); |
|
120 |
|
|
121 |
@RequestMapping(value = "/updateTypology", method = RequestMethod.POST, |
|
122 |
produces = MediaType.APPLICATION_JSON_VALUE) |
|
123 |
@ResponseBody |
|
124 |
String updateTypology(String id, String typology); |
|
125 |
|
|
126 |
@RequestMapping(value = "/updateTypology", method = RequestMethod.POST, |
|
127 |
produces = MediaType.APPLICATION_JSON_VALUE) |
|
128 |
@ResponseBody |
|
129 |
String updateLogoUrl(String id, String logoUrl); |
|
130 |
|
|
131 |
|
|
116 | 132 |
@RequestMapping(value = "/getUrlsOfUserRepos/{user_email}/{page}/{size}/",method = RequestMethod.GET, |
117 | 133 |
produces = MediaType.APPLICATION_JSON_VALUE) |
118 | 134 |
@ResponseBody |
... | ... | |
136 | 152 |
Map<String, String> getDatasourceClasses(String mode); |
137 | 153 |
|
138 | 154 |
|
139 |
|
|
155 |
String getCountryName(String countryCode); |
|
140 | 156 |
} |
Also available in: Unified diff
1. Create new update methods for repository api
2. Rename piwik file.
3. Create bean repomanager.datasource
4. Update converter methods ( typology, datasourceClass )