4305 allow correlation attrs to be added when ingest not running

This commit is contained in:
William Schaefer
2018-10-25 16:02:39 -04:00
parent 1dda52aa03
commit b4c8abad8f
@@ -183,7 +183,10 @@ public class IngestEventsListener {
@Override
public void propertyChange(PropertyChangeEvent evt) {
if (getCeModuleInstanceCount() > 0) {
//if ingest is running we want there to check if there is a Correlation Engine module running
//sometimes artifacts are generated by DSPs or other sources while ingest is not running
//in these cases we still want to create correlation attributes for those artifacts when appropriate
if (!IngestManager.getInstance().isIngestRunning() || getCeModuleInstanceCount() > 0) {
EamDb dbManager;
try {
dbManager = EamDb.getInstance();
@@ -197,7 +200,7 @@ public class IngestEventsListener {
break;
}
}
}
}
}
}