Project

General

Profile

Refactor #28889

Refactor task actions to use Foreman interval middleware

Added by Jeremy Lenz over 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Branch:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

In webpack/scenes/Tasks/TaskActions.js, there are 2 functions that use API polling - pollBulkSearch and pollTaskUntilDone.

(On the previous refactor for async/await, pollTaskUntilDone was skipped due to the complexity of the function)

These should be refactored to take advantage of the new Interval middleware and API middleware in Foreman.

History

#1 Updated by John Mitsch over 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello Backlog
  • Assignee set to Jeremy Lenz

#2 Updated by Jeremy Lenz about 1 year ago

  • Status changed from New to Closed

this was already implemented a while back by jturel

Also available in: Atom PDF