@Override
@Transactional
public void updateMappings() {
log.info("Start updating Scanner mapping from startup");
DefaultConfiguration config = loadCurrentConfiguration();
Calendar pluginTimestamp = config.getLastScannerMappingsUpdate();
UpdaterHarness harness = new UpdaterHarness(pluginTimestamp);
Calendar genericMappingsTime = harness.executeUpdates(genericMappingsUpdater);
Calendar channelMappingsTime = harness.executeUpdates(channelVulnerabilityUpdater);
Calendar defectTrackerTime = harness.executeUpdates(defectTrackerUpdater);
Calendar wafTime = harness.executeUpdates(wafsUpdater);
Calendar latestCalendar = getLatestCalendar(
pluginTimestamp, genericMappingsTime, channelMappingsTime, defectTrackerTime, wafTime);
config.setLastScannerMappingsUpdate(latestCalendar);
defaultConfigurationDao.saveOrUpdate(config);
log.info("Ended updating Scanner mapping from startup");
}