correctly passing the repo id...

This commit is contained in:
Antonis Lempesis 2022-06-02 13:18:04 +00:00
parent d57782444d
commit d3f13fc8c2
1 changed files with 1 additions and 3 deletions

View File

@ -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();
}