Project

General

Profile

« Previous | Next » 

Revision 7967034d

Added by Brad Buckingham over 10 years ago

Content Views Rework: APIs for available/current content

This commit contains support for several additional APIs
to support the content view rework. This includes:

ContentView - GET puppet_modules & available_puppet_modules
Filter - GET package_groups & available_package_groups
GET errat & available_errata

It also contains a few small fixes for issues found while
working on the new APIs.

View differences:

app/views/katello/api/v2/filter_rules/show.json.rabl
extends 'katello/api/v2/common/identifier'
attributes :filter_id
attributes :version, :if => lambda { |rule| rule.respond_to?(:version) && !rule.version.blank? }
attributes :min_version, :if => lambda { |rule| rule.respond_to?(:min_version) && !rule.min_version.blank? }
attributes :max_version, :if => lambda { |rule| rule.respond_to?(:max_version) && !rule.max_version.blank? }

Also available in: Unified diff