7673 Allow helpers to call correct Blackboard.postArtifacts() API

This commit is contained in:
Richard Cordovano 2021-10-26 18:11:49 -04:00
parent 68fd499b81
commit c47acb1fdf
2 changed files with 4 additions and 7 deletions

View File

@ -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();
/*

View File

@ -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,