Project

General

Profile

Actions

Feature #26399

closed

Summary endpoint for tasks dashboard

Added by Ivan Necas about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

To support showing new tasks dashboard, we need the following endpoint:


# GET /foreman_tasks/tasks/summary/24
 running:   { recent: 3, total: 6 },
 paused:    { recent: 1, total: 3 },
 stopped:   { recent: 3, total: 7,
              by_result: {
               success: { recent: 2, total: 4 },
               warning: { recent: 1, total: 2 },
               error:   { recent: 0, total: 1 },
              }}
 scheduled: { recent: 0, total: 3 }}
Actions #1

Updated by The Foreman Bot about 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-tasks/pull/400 added
Actions #2

Updated by Anonymous about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF