Project

General

Profile

Feature #9031

Missing API call to list config_template combinations per hostgroup or environment

Added by Shlomi Zadok about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1162143
Description of problem:
The template combinations provide a relation between hostgroup or environment and the template. Currently only retrieval of combinations is possible by specifying the template_id:

GET /api/v2/config_templates/:config_template_id/template_combinations

There are no API requests available to search per hostgroup_id or environment_id

This makes it complex to retrieve all combinations from the hostgroup to templates to analyse which combinations are existing.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Additional info:


Related issues

Related to Foreman - Bug #16397: API template_combinations GET and DELETE by id not workingClosed2016-08-31

Associated revisions

Revision ee66b3af (diff)
Added by Shlomi Zadok almost 8 years ago

fixes #9031 - Add routes to view template_combinations per hostgroup / environment

History

#1 Updated by Dominic Cleal about 8 years ago

  • Tracker changed from Bug to Feature
  • Category set to API

#2 Updated by Shlomi Zadok about 8 years ago

  • Assignee set to Shlomi Zadok

#3 Updated by The Foreman Bot about 8 years ago

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

#4 Updated by Dominic Cleal almost 8 years ago

  • Legacy Backlogs Release (now unused) set to 35

#5 Updated by Shlomi Zadok almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Shimon Shtein over 6 years ago

  • Related to Bug #16397: API template_combinations GET and DELETE by id not working added

Also available in: Atom PDF