Skip to content

UI for LongTaskRunner (list only) #44

Description

@fdaugan

Class org.ligoj.app.resource.plugin.LongTaskRunner defines a runner able to execute long tasks.
There is two specific implementations (but not limited to):

  • org.ligoj.app.resource.node.LongTaskRunnerNode: when a task is associated to a node
  • org.ligoj.app.resource.subscription.LongTaskRunnerSubscription: when a task is associated to a subscription

In the UI display all beans extending LongTaskRunner, group them by LongTaskRunnerNode, LongTaskRunnerSubscription and other to apply a specific renderer. For each bean:

  • LongTaskRunnerNode: display the NodeIcon. Node must be visible
  • LongTaskRunnerSubscription: display the NodeICon and project link. Project must be visible.

For each display a progressbar representing the associated tasks depending on their status.
Each task extends org.ligoj.app.model.AbstractLongTask and contains details: status,..

On click on the bean row, display a dialog.

  • This dialog recall the selected bean, node, project, subcription id.
  • a table with all filtered tasks, with pagination, and status fltering. ordered by creation date desc
  • display scalar properties of AbstractLongTask
  • for the temporal values, render the start (x ago), duration, details in tooltips

The tasks list and details can be retrieved with "getTaskRepository().findAllVisible(user)"

The UI must show statistics using a modern design the HomeView.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions