Project

General

Profile

« Previous | Next » 

Revision bcbc930c

Added by Matthias Dellweg almost 5 years ago

Fixes #27460 - Add comp_resource to hostgroup api

The api/v2 response of hostgroup was missing informations of the
selected compute resource.

View differences:

app/views/api/v2/hostgroups/main.json.rabl
attributes :subnet_id, :subnet_name, :operatingsystem_id, :operatingsystem_name, :domain_id, :domain_name,
:environment_id, :environment_name, :compute_profile_id, :compute_profile_name, :ancestry, :parent_id, :parent_name,
:ptable_id, :ptable_name, :medium_id, :medium_name, :pxe_loader,
:subnet6_id, :subnet6_name,
:subnet6_id, :subnet6_name, :compute_resource_id, :compute_resource_name,
:architecture_id, :architecture_name, :realm_id, :realm_name, :created_at, :updated_at
if @parameters

Also available in: Unified diff