Project

General

Profile

Feature #19415

Allow searching of content hosts by subscription name

Added by Lukas Zapletal about 2 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Subscriptions
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
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"] }

History

#1 Updated by Justin Sherrill about 2 years ago

  • Legacy Backlogs Release (now unused) set to 114
  • Difficulty set to medium

Also available in: Atom PDF