Project

General

Profile

Feature #32822

Resource template input for job templates

Added by Leos Stejskal 7 months ago. Updated 6 months ago.

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

Description

From https://issues.redhat.com/browse/SAT-3236:

It would be a user input similar to the Value Type search, requiring a Resource Type.
When such input is rendered in the invocation form, it creates a select2 (or similar) drop down field
allowing to search in all resources of a given type, e.g. ActivationKey.
The macro loading such input, e.g. input(‘registration_activation_key) would then return
the selected ActiveRecord instance of a selected ActivationKey, so the value would be stored as its id.


Related issues

Related to Foreman Remote Execution - Feature #32890: job wizard add resource pickerClosed

Associated revisions

Revision 989e0aad (diff)
Added by Leos Stejskal 6 months ago

Fixes #32822 - Job templates and resource picker

New `resource` user input type for templates with
template macro `input_resource` returning the resource object

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8600 added

#2 Updated by Maria Agaphontzev 7 months ago

#3 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 3.1.0 added

#4 Updated by Leos Stejskal 6 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF