Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
moved from modifified RestService to proxy to get get requests workin…
Browse files Browse the repository at this point in the history
…g for tracing
  • Loading branch information
jasonrichardsmith committed Jan 4, 2017
1 parent f77a3c7 commit d4159fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public <T> Future<Resource<T>> getResource(URI url, TypeReferences.ResourceType<
InterruptedException, IOException {
RequestEntity<Void> request = RequestEntity.get(url).accept(HAL_JSON).build();
LOG.debug("Requesting: " + request.toString());
Resource<T> body = halTemplate.exchange(request, type).getBody();
Resource<T> body = restProxyTemplate.getRestTemplate().exchange(request, type).getBody();
LOG.debug("Received: " + body.toString());
return new AsyncResult<>(body);
}
Expand Down

0 comments on commit d4159fb

Please sign in to comment.