Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • the AlertsManager creates a connection with the Cassandra database at each execution
  • the AlertsManager then retrieves all the alerts with the matching frequency.
  • For each alert, the AlertsManager creates an Alert object, and delegates the execution to them.
  • An object alert will use its attributes to make a solrQuery
  • If the solrQuery contains results, it will use the email object passed at its creation to send a mail. To avoid re reading of the alerts.properties file for each alerts, this object is initialized in the alerts manager and passed as a parameter to the Alert constructor. If the configuration file is modified through the admin UI, Datafari will automatically restart the alerts, if it is manually modified, you will need to turnOff/turnOn the alerts in the alertAdmin UI to take into account the modifications.

Notewarning

The schema is wrong concerning the Datafari.properties file and mail.txt file, both files are no more used by the AlertsManager and they have been replaced by one configuration file named alerts.properties located in Datafari_Home/tomcat/conf

...