Commit 6b0694aa authored by Dimitrios Chalepakis's avatar Dimitrios Chalepakis
Browse files

Merge branch 'SI-379_ImportAdressen' of...

Merge branch 'SI-379_ImportAdressen' of ssh://git.eclipse.org:29418/openk-usermodules/org.eclipse.openk-usermodules.gridFailureInformation.backend into DEVELOP
parents 63d7fd4f 916a68bd
......@@ -62,12 +62,18 @@ public class AddressImportService {
}
if (cleanUp) {
Instant cleanUpStart = Instant.now();
log.info("CleanUp START");
addressService.deleteAllAddresses();
stationService.deleteAllStations();
log.info("CleanUp ENDE");
Instant cleanUpEnd = Instant.now();
log.info("CleanUp Duration: " + Duration.between(cleanUpStart, cleanUpEnd));
}
Instant importStart = Instant.now();
log.info("Import START");
log.info("- Import Addresses START");
......@@ -89,8 +95,10 @@ public class AddressImportService {
log.info("- Import PowerStations START");
importPowerStationFile(cleanUp);
log.info("- Import PowerStations END");
log.info("Import END");
Instant importEnd = Instant.now();
log.info("Total Import Duration: " + Duration.between(importStart, importEnd));
synchronized (lock) {
importInWork = Boolean.FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment