String reportType = (report.isRuntimeReport()) ? "runtime" : "server";
log.info("Sending [" + reportType + "] inventory report to Server...");
long startTime = System.currentTimeMillis();
DiscoveryServerService discoveryServerService = configuration.getServerServices()
.getDiscoveryServerService();
MergeInventoryReportResults results = discoveryServerService.mergeInventoryReport(report);
if (results != null) {
platformSyncInfo = results.getPlatformSyncInfo();
ignoredTypes = results.getIgnoredResourceTypes();
} else {
platformSyncInfo = null;
ignoredTypes = null;
}
if (log.isDebugEnabled()) {