![]() |
FOSSology Advancing open source analysis and development |
Discovering licenses, or any other FOSSology analysis, is usually done as a set of background processes managed by the scheduler. Because of this, there needs to be a way of notifying users when their job is done. Continually checking the jobs display does not meet this need today.
Allow the user to update their user record to request email notification when their job is done. If more control is necessary, a future enhancement could allow the user to override this when they queue a job. Other potential future enhancements could include a supplementary list of addresses to notify, and added information in the email notice.
The email notification functionality will be implemented by an email agent that runs after all the other tasks for the whole job. By “whole job” I'm referring to all the tasks that make up the users request (which may be multiple entries to the job table).
The agent will be called by the UI or the CLI.
The notification agent will be called the users' profile indicates that email notification was desired.
The following UI pages will be changed by the email functionality.
Using stored session data, a smart detection of a users' profile can be accomplished. If their profile requests email notification, the box will be checked and any additional email addresses specified in the profile will be supplied automatically.
The following code will also need to change to support this functionality.
The following Data Base changes will be needed to support email notification: