Revision 49886
Added by Claudio Atzori over 6 years ago
DatasourcesApiController.java | ||
---|---|---|
168 | 168 |
dsDao.updateLongitude(dsId, longitude); |
169 | 169 |
} |
170 | 170 |
|
171 |
@Override |
|
172 |
@RequestMapping(value = "/ds/update/logourl", method = RequestMethod.POST) |
|
173 |
public void updateLogourl(final String dsId, final String logourl) throws ApiException { |
|
174 |
dsDao.updateLogourl(dsId, logourl); |
|
175 |
} |
|
176 |
|
|
177 |
@Override |
|
178 |
@RequestMapping(value = "/ds/update/timezone", method = RequestMethod.POST) |
|
179 |
public void updateTimezone(final String dsId, final String timezone) throws ApiException { |
|
180 |
dsDao.updateTimezone(dsId, timezone); |
|
181 |
} |
|
182 |
|
|
183 |
@Override |
|
184 |
@RequestMapping(value = "/ds/update/typology", method = RequestMethod.POST) |
|
185 |
public void updateTypology(final String dsId, final String typology) throws ApiException { |
|
186 |
dsDao.updateDatasourceTypology(dsId, typology); |
|
187 |
} |
|
188 |
|
|
171 | 189 |
@ApiOperation(value = "drop the datasource manager caches", notes = "drop the datasource manager caches", httpMethod = "GET") |
172 | 190 |
@ApiResponses(value = { |
173 | 191 |
@ApiResponse(code = 200, message = "OK"), |
Also available in: Unified diff
return the number of fulltexts from the objectStore, allow to set ds typology, timezone, logourl