Sha256: febf3c37bbc53fa5f2b059871b1a7850018ba00ab27f8d36f8f16c4489e8dd60

Contents?: true

Size: 628 Bytes

Versions: 2

Compression:

Stored size: 628 Bytes

Contents

attributes :id, :uuid
attributes :content_view_id, :content_view_name
attributes :lifecycle_environment_id, :lifecycle_environment_name

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

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

node :errata_counts do |content_facet|
  errata = content_facet.installable_errata
  partial('katello/api/v2/errata/counts', :object => Katello::RelationPresenter.new(errata))
end

node :applicable_package_count do |facet|
  facet.applicable_rpms.count
end

node :upgradable_package_count do |facet|
  facet.installable_rpms.count
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katello-3.3.0.rc1.1 app/views/katello/api/v2/content_facet/base.json.rabl
katello-3.3.0.rc1 app/views/katello/api/v2/content_facet/base.json.rabl