Actions
Feature #19415
openAllow searching of content hosts by subscription name
Status:
New
Priority:
Normal
Assignee:
-
Category:
Subscriptions
Target version:
-
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