Sha256: 1ecc96248263c2ab2e8c80fc55ed5bcea0fd8fca245beb85f69476cc74eba1a0

Contents?: true

Size: 829 Bytes

Versions: 10

Compression:

Stored size: 829 Bytes

Contents

object @resource

@resource ||= @object

node(:id) { |resource| resource.uuid }
attributes :id => :katello_id
attributes :uuid, :name, :description
attributes :location
attributes :content_view, :content_view_id
attributes :distribution
attributes :katello_agent_installed? => :katello_agent_installed
attributes :registered_by

child :environment => :environment do
  extends 'katello/api/v2/environments/show'
end

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

# Candlepin attributes
attributes :entitlementStatus
attributes :autoheal
attributes :release, :ipv4_address
attributes :checkin_time, :created
attributes :installedProducts

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-2.4.5 app/views/katello/api/v2/systems/base.json.rabl
katello-2.4.4 app/views/katello/api/v2/systems/base.json.rabl
katello-2.4.3 app/views/katello/api/v2/systems/base.json.rabl
katello-2.4.2 app/views/katello/api/v2/systems/base.json.rabl
katello-2.4.1 app/views/katello/api/v2/systems/base.json.rabl
katello-2.4.0 app/views/katello/api/v2/systems/base.json.rabl
katello-2.4.0.rc3 app/views/katello/api/v2/systems/base.json.rabl
katello-2.4.0.rc2 app/views/katello/api/v2/systems/base.json.rabl
katello-2.4.0.rc1 app/views/katello/api/v2/systems/base.json.rabl
katello-2.2.2 app/views/katello/api/v2/systems/base.json.rabl