@Override
public String getDisplayName(String reportId) {
reportId = reportId.substring(reportId.indexOf('_') + 1);
String result = "";
if (isConfigOk()) {
<BUG>m_webResource = m_client.resource(m_remoteRepositoryDefintion.getURI() + "displayName/" + reportId);
</BUG>
try {
<BUG>result = m_webResource.get(String.class);
} catch (Exception e) {
logger.error("Error requesting display name by report id. Error message: '{}' URI was: '{}'", e.getMessage(), m_webResource.getURI());
</BUG>
e.printStackTrace();

@Override
public List<BasicReportDefinition> getOnlineReports() {
List<BasicReportDefinition> resultReports = new ArrayList<BasicReportDefinition>();
List<RemoteReportSDO> webCallResult = new ArrayList<RemoteReportSDO>();
if (isConfigOk()) {
WebTarget target = getTarget(m_remoteRepositoryDefintion.getURI() + "onlineReports" + "/" + m_jasperReportsVersion);
try {
webCallResult = getBuilder(target).get(new GenericType<List<RemoteReportSDO>>() {});
} catch (Exception e) {
logger.error("Error requesting online reports. Error message: '{}' URI was: '{}'", e.getMessage(), target.getUri());
e.printStackTrace();
