Project

General

Profile

Actions

Feature #19415

open

Allow searching of content hosts by subscription name

Added by Lukas Zapletal almost 7 years ago. Updated over 5 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 almost 7 years ago

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

Also available in: Atom PDF