return Response.status(Response.Status.FORBIDDEN).build();
}
List<DataSourceMapper> l = new ArrayList<DataSourceMapper>();
try {
for (SaikuDatasource d : datasourceService.getDatasources().values()) {
l.add(new DataSourceMapper(d));
}
return Response.ok().entity(l).build();
} catch (SaikuServiceException e) {
LOG.error(this.getClass().getName(), e);
return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(e.getLocalizedMessage()).type("text/plain")