webResource = client.resource(target.toURL()+"/api/auditPublishing");
try {
PublishAuditHistory remoteHistory =
PublishAuditHistory.getObjectFromString(
webResource
.path("get")
.path(pendingAudit.getBundleId()).get(String.class));
if(remoteHistory != null) {
bufferMap.putAll(remoteHistory.getEndpointsMap());