Project

General

Profile

Actions

Bug #31428

closed

Make last remote execution status clickable, leading to the last invocation

Added by Marek Hulán almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

Since #30966, the status can define a status_link method. It can return the url the status then links to. We should link to the last job invocation of the host.

To do that, we can find the job by the task id. Note that the specific status instance links to the last task, however we need to look to it's parent, which represents the overall job. We can then find the job by this parent task id. To use path helpers, we may need to include url helpers into the class.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #30966: Make host statuses clickableClosedyifat makiasActions
Actions #1

Updated by Marek Hulán almost 4 years ago

Actions #2

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominik Matoulek
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/559 added
Actions #3

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases foreman_remote_execution 4.2.2 added
Actions #4

Updated by Anonymous almost 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Adam Ruzicka over 3 years ago

  • Target version set to foreman_remote_execution-4.3.0
  • Fixed in Releases deleted (foreman_remote_execution 4.2.2)
Actions #6

Updated by Adam Ruzicka over 3 years ago

  • Fixed in Releases foreman_remote_execution-4.3.0 added
Actions

Also available in: Atom PDF