fix in getEdgeEntityViews
This commit is contained in:
parent
b38f8b61f4
commit
15b6574bf2
@ -2201,13 +2201,12 @@ public class RestClient implements ClientHttpRequestInterceptor, Closeable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public TextPageData<EntityView> getEdgeEntityViews(EdgeId edgeId, String entityViewType, TextPageLink pageLink) {
|
public TextPageData<EntityView> getEdgeEntityViews(EdgeId edgeId, TextPageLink pageLink) {
|
||||||
Map<String, String> params = new HashMap<>();
|
Map<String, String> params = new HashMap<>();
|
||||||
params.put("edgeId", edgeId.getId().toString());
|
params.put("edgeId", edgeId.getId().toString());
|
||||||
params.put("type", entityViewType);
|
|
||||||
addPageLinkToParam(params, pageLink);
|
addPageLinkToParam(params, pageLink);
|
||||||
return restTemplate.exchange(
|
return restTemplate.exchange(
|
||||||
baseURL + "/api/edge/{edgeId}/entityViews?type={type}&" + getUrlParams(pageLink),
|
baseURL + "/api/edge/{edgeId}/entityViews?" + getUrlParams(pageLink),
|
||||||
HttpMethod.GET,
|
HttpMethod.GET,
|
||||||
HttpEntity.EMPTY,
|
HttpEntity.EMPTY,
|
||||||
new ParameterizedTypeReference<TextPageData<EntityView>>() {
|
new ParameterizedTypeReference<TextPageData<EntityView>>() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user