Hide Forgot
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:
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
There is no index function for /api/v2/template_combinations, it has only Show ID and Delete ID
Per 6.3 planning, moving out non acked bugs to the backlog
This is released in 6.2. There are much more API access points to retrieve the tempalte combinations: Template combinations Resource Description GET /api/provisioning_templates/:provisioning_template_id/template_combinations List template combination GET /api/hostgroups/:hostgroup_id/template_combinations List template combination GET /api/environments/:environment_id/template_combinations List template combination POST /api/provisioning_templates/:provisioning_template_id/template_combinations Add a template combination POST /api/hostgroups/:hostgroup_id/template_combinations Add a template combination POST /api/environments/:environment_id/template_combinations Add a template combination GET /api/template_combinations/:id Show template combination GET /api/provisioning_templates/:provisioning_template_id/template_combinations/:id Show template combination GET /api/hostgroups/:hostgroup_id/template_combinations/:id Show template combination GET /api/environments/:environment_id/template_combinations/:id Show template combination PUT /api/provisioning_templates/:provisioning_template_id/template_combinations/:id Update template combination PUT /api/hostgroups/:hostgroup_id/template_combinations/:id Update template combination PUT /api/environments/:environment_id/template_combinations/:id Update template combination DELETE /api/template_combinations/:id Delete a template combination