From 733582983c3741fd0d1b5dae8bb3e7f5f3e3bc69 Mon Sep 17 00:00:00 2001 From: Manuel Soulier Date: Mon, 18 Sep 2023 18:23:32 +0200 Subject: [PATCH] Missing ServiceReporting dependency fix --- .../src/main/java/fr/insee/arc/batch/BatchARC.java | 12 ++++++------ .../arc/batch/threadrunners/PhaseThreadFactory.java | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java b/arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java index fb1e7eaea..83a37ef29 100644 --- a/arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java +++ b/arc-batch/src/main/java/fr/insee/arc/batch/BatchARC.java @@ -21,9 +21,9 @@ import fr.insee.arc.core.dataobjects.ArcPreparedStatementBuilder; import fr.insee.arc.core.model.TraitementEtat; import fr.insee.arc.core.model.TraitementPhase; -import fr.insee.arc.core.service.api.ApiReceptionService; -import fr.insee.arc.core.service.api.ApiService; -import fr.insee.arc.core.service.api.query.ServiceDatabaseMaintenance; +import fr.insee.arc.core.service.global.ApiService; +import fr.insee.arc.core.service.global.dao.DatabaseMaintenance; +import fr.insee.arc.core.service.p1reception.ApiReceptionService; import fr.insee.arc.core.util.BDParameters; import fr.insee.arc.utils.batch.IReturnCode; import fr.insee.arc.utils.dao.UtilitaireDao; @@ -250,9 +250,9 @@ private void maintenanceTablePilotageBatch() throws ArcException { for (int poolIndex = 0; poolIndex <= numberOfPods; poolIndex++) { // Maintenance full du catalog - ServiceDatabaseMaintenance.maintenancePgCatalog(poolIndex, null, FormatSQL.VACUUM_OPTION_FULL); + DatabaseMaintenance.maintenancePgCatalog(poolIndex, null, FormatSQL.VACUUM_OPTION_FULL); // maintenance des tables métier de la base de données - ServiceDatabaseMaintenance.maintenanceDatabaseClassic(poolIndex, null, envExecution); + DatabaseMaintenance.maintenanceDatabaseClassic(poolIndex, null, envExecution); } } @@ -614,7 +614,7 @@ private void startMaintenanceThread() { @Override public void run() { for (int poolIndex = 0; poolIndex <= numberOfPods; poolIndex++) { - ServiceDatabaseMaintenance.maintenanceDatabaseClassic(poolIndex, null, + DatabaseMaintenance.maintenanceDatabaseClassic(poolIndex, null, envExecution); } } diff --git a/arc-batch/src/main/java/fr/insee/arc/batch/threadrunners/PhaseThreadFactory.java b/arc-batch/src/main/java/fr/insee/arc/batch/threadrunners/PhaseThreadFactory.java index ab5092312..4a434f700 100644 --- a/arc-batch/src/main/java/fr/insee/arc/batch/threadrunners/PhaseThreadFactory.java +++ b/arc-batch/src/main/java/fr/insee/arc/batch/threadrunners/PhaseThreadFactory.java @@ -3,8 +3,8 @@ import java.util.Map; import fr.insee.arc.core.factory.ApiServiceFactory; -import fr.insee.arc.core.model.ServiceReporting; import fr.insee.arc.core.model.TraitementPhase; +import fr.insee.arc.core.service.global.ServiceReporting; public class PhaseThreadFactory extends Thread {