From c47acb1fdf6d5bf01622f162efc7789c8a51cfd9 Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Tue, 26 Oct 2021 18:11:49 -0400 Subject: [PATCH] 7673 Allow helpers to call correct Blackboard.postArtifacts() API --- .../ingestmodule/CentralRepoIngestModule.java | 7 ++----- Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/ingestmodule/CentralRepoIngestModule.java b/Core/src/org/sleuthkit/autopsy/centralrepository/ingestmodule/CentralRepoIngestModule.java index 85000953f2..df6bd58801 100644 --- a/Core/src/org/sleuthkit/autopsy/centralrepository/ingestmodule/CentralRepoIngestModule.java +++ b/Core/src/org/sleuthkit/autopsy/centralrepository/ingestmodule/CentralRepoIngestModule.java @@ -101,11 +101,6 @@ final class CentralRepoIngestModule implements FileIngestModule { flagUniqueArtifacts = settings.isFlagUniqueArtifacts(); } - @Override - public void startUp(IngestJobContext context) throws IngestModuleException { - this.context = context; - } - @Override public ProcessResult process(AbstractFile abstractFile) { if (CentralRepository.isEnabled() == false) { @@ -235,6 +230,8 @@ final class CentralRepoIngestModule implements FileIngestModule { }) @Override public void startUp(IngestJobContext context) throws IngestModuleException { + this.context = context; + IngestEventsListener.incrementCorrelationEngineModuleCount(); /* diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java b/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java index 0d0260d20e..8b2ac48982 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java @@ -316,8 +316,8 @@ public class IngestManager implements IngestProgressSnapshotProvider { } } else { /* - * There are four cases where the ingest job ID returned by the - * event is expected be null: + * There are four use cases where the ingest job ID returned by + * the event is expected be null: * * 1. The artifacts are being posted by a data source proccessor * (DSP) module that runs before the ingest job is created,