Katello/katello — pull request #199 by bbuckingham (2012-06-12 21:52:26+00:00)
Title: system groups - introduce system group event history in the UI

This pull request contains changes to add to the UI system group event history. Prior to this request, users could schedule actions on a system group (e.g. pkg install); however, they did not have a way to view the history of those actions in the UI.

With these changes, a user will navigate to System Groups -> [groupX] -> Details -> Events and they may see the list of "completed" or "in progress" events/actions for the group. For any in progress actions, the status will be updated as they complete. The user may also select an action/event to see details on it. If that action has any systems that are still processing the action (i.e. in progress), status polling will continue until completion. When the action is completed, the user can hover on an icon for the system to specific details associated with that request.

With this merge, we are eliminating the system_task model and replacing it with a polymorphic association between task_status and the owner (e.g. system). This will make it easier for future users of the task_status, but with this change comes the need for developers to run "db:migrate" to update the schema. Also, since we are removing the system_task model, this merge requires changes to any existing users (e.g. system packages, system errata...etc).