Project

General

Profile

Actions

Feature #19415

open

Allow searching of content hosts by subscription name

Added by Lukas Zapletal over 7 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Subscriptions
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

The UUID is the only option, it is very complicated to get there.

pool = Katello::Pool.find(ID)
entitlements = Katello::Resources::Candlepin::Entitlement.get
uuids = entitlements.delete_if { |ent| ent["pool"]["id"] != pool.cp_id }.map { |ent| ent["consumer"]["uuid"] }
Actions #1

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release set to 114
  • Difficulty set to medium
Actions

Also available in: Atom PDF