diff --git a/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java b/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java index 436be53..c721dd2 100644 --- a/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java +++ b/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java @@ -259,8 +259,6 @@ public class RepositoryServiceImpl implements RepositoryService { JSONArray jsonArray = (JSONArray) new JSONObject(rs).get("datasourceInfo"); while (jsonArray.length() > 0) { -LOGGER.debug("json: " + jsonArray); - resultSet.addAll(mapper.readValue(String.valueOf(jsonArray), mapper.getTypeFactory().constructCollectionType(List.class, RepositorySnippet.class))); page += 1; @@ -966,7 +964,7 @@ LOGGER.debug("json: " + jsonArray); private UriComponents getAggregationHistory(String repoId) { return UriComponentsBuilder .fromHttpUrl(baseAddress + "/ds/aggregationhistory/") - .path("/repoId") + .path(repoId) .build().expand(repoId).encode(); }