Sha256: 258efe15be6cf87f4681ebb5c414d444161815283048faac08f1ec64b502560b

Contents?: true

Size: 646 Bytes

Versions: 7

Compression:

Stored size: 646 Bytes

Contents

child :subscription_facet => :subscription_facet_attributes do |_facet|
  extends 'katello/api/v2/subscription_facet/base'

  node :compliance_reasons do |sub_facet|
    sub_facet.compliance_reasons.pluck(:reason)
  end

  child :hypervisor_host => :virtual_host do
    attributes :id, :name
  end

  child :virtual_guests => :virtual_guests do
    attributes :id, :name
  end

  child :installed_products => :installed_products do
    attributes :name => :productName, :cp_product_id => :productId
    attributes :arch, :version
  end

  child :activation_keys => :activation_keys do
    attributes :id, :name
  end

  attributes :host_type
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katello-3.12.3 app/views/katello/api/v2/subscription_facet/show.json.rabl
katello-3.12.2 app/views/katello/api/v2/subscription_facet/show.json.rabl
katello-3.13.0.rc1 app/views/katello/api/v2/subscription_facet/show.json.rabl
katello-3.12.1 app/views/katello/api/v2/subscription_facet/show.json.rabl
katello-3.12.0 app/views/katello/api/v2/subscription_facet/show.json.rabl
katello-3.12.0.rc2 app/views/katello/api/v2/subscription_facet/show.json.rabl
katello-3.12.0.rc1 app/views/katello/api/v2/subscription_facet/show.json.rabl