[TE] fix for the monitoring task scheduler
The monitoring task scheduler couldn't start due to a NullPointerException. This is caused by the code clean up in This PR fixes the issue.
@@ -50,6 +50,7 @@ public class MonitorJobScheduler {
monitorJobContext = new MonitorJobContext();
monitorJobContext.setTaskDAO(anomalyTaskDAO);
monitorJobContext.setMonitorConfiguration(monitorConfiguration);
+ monitorJobContext.setJobDAO(DAO_REGISTRY.getJobDAO());
monitorJobRunner = new MonitorJobRunner(monitorJobContext);
scheduledExecutorService
