Revision 62276
Added by Antonis Lempesis almost 2 years ago
RepositoryServiceImpl.java | ||
---|---|---|
259 | 259 |
JSONArray jsonArray = (JSONArray) new JSONObject(rs).get("datasourceInfo"); |
260 | 260 |
while (jsonArray.length() > 0) { |
261 | 261 |
|
262 |
LOGGER.debug("json: " + jsonArray); |
|
263 |
|
|
264 | 262 |
resultSet.addAll(mapper.readValue(String.valueOf(jsonArray), |
265 | 263 |
mapper.getTypeFactory().constructCollectionType(List.class, RepositorySnippet.class))); |
266 | 264 |
page += 1; |
... | ... | |
966 | 964 |
private UriComponents getAggregationHistory(String repoId) { |
967 | 965 |
return UriComponentsBuilder |
968 | 966 |
.fromHttpUrl(baseAddress + "/ds/aggregationhistory/") |
969 |
.path("/repoId")
|
|
967 |
.path(repoId)
|
|
970 | 968 |
.build().expand(repoId).encode(); |
971 | 969 |
} |
972 | 970 |
|
Also available in: Unified diff
correctly passing the repo id...