Bug #31428
Make last remote execution status clickable, leading to the last invocation
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
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
Associated revisions
History
#1
Updated by Marek Hulán over 1 year ago
- Related to Feature #30966: Make host statuses clickable added
#2
Updated by The Foreman Bot over 1 year ago
- Assignee set to Dominik Matoulek
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/559 added
#3
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases foreman_remote_execution 4.2.2 added
#4
Updated by Anonymous over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_plugin|0aa5ca70445c605ad2f70ba8da449ccd55f2cf91.
#5
Updated by Adam Ruzicka over 1 year ago
- Target version set to foreman_remote_execution-4.3.0
- Fixed in Releases deleted (
foreman_remote_execution 4.2.2)
#6
Updated by Adam Ruzicka over 1 year ago
- Fixed in Releases foreman_remote_execution-4.3.0 added
fixes #31428 - making execution status clickable (#559)
This PR introduces a clickable execution status at host detail page that leads to last job invocation of given host