correctly passing the repo id...
This commit is contained in:
parent
d57782444d
commit
d3f13fc8c2
|
@ -259,8 +259,6 @@ public class RepositoryServiceImpl implements RepositoryService {
|
||||||
JSONArray jsonArray = (JSONArray) new JSONObject(rs).get("datasourceInfo");
|
JSONArray jsonArray = (JSONArray) new JSONObject(rs).get("datasourceInfo");
|
||||||
while (jsonArray.length() > 0) {
|
while (jsonArray.length() > 0) {
|
||||||
|
|
||||||
LOGGER.debug("json: " + jsonArray);
|
|
||||||
|
|
||||||
resultSet.addAll(mapper.readValue(String.valueOf(jsonArray),
|
resultSet.addAll(mapper.readValue(String.valueOf(jsonArray),
|
||||||
mapper.getTypeFactory().constructCollectionType(List.class, RepositorySnippet.class)));
|
mapper.getTypeFactory().constructCollectionType(List.class, RepositorySnippet.class)));
|
||||||
page += 1;
|
page += 1;
|
||||||
|
@ -966,7 +964,7 @@ LOGGER.debug("json: " + jsonArray);
|
||||||
private UriComponents getAggregationHistory(String repoId) {
|
private UriComponents getAggregationHistory(String repoId) {
|
||||||
return UriComponentsBuilder
|
return UriComponentsBuilder
|
||||||
.fromHttpUrl(baseAddress + "/ds/aggregationhistory/")
|
.fromHttpUrl(baseAddress + "/ds/aggregationhistory/")
|
||||||
.path("/repoId")
|
.path(repoId)
|
||||||
.build().expand(repoId).encode();
|
.build().expand(repoId).encode();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue