Project

General

Profile

Bug #29487

API v2 repositories controller index_relation_environment cannot return non-default-view repositories

Added by Ian Ballou about 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Unless I've missed it, it seems there is no way currently to return all repositories from the repositories API. In the least, it returns Katello::Repository.in_default_view.

History

#1 Updated by Ian Ballou about 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.16.0

#2 Updated by Jonathon Turel about 2 years ago

  • Target version changed from Katello 3.16.0 to Katello 4.0.0

#3 Updated by Ian Ballou about 2 years ago

The core of the issue is that, in the default case, Repository.in_default_view is returned by the repositories controller: https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/repositories_controller.rb#L165

I want to be able to have all content views returned, not just the default ones.

#4 Updated by Ian Ballou almost 2 years ago

  • Target version changed from Katello 4.0.0 to Katello Backlog

Backlogging this since it's pretty low-priority.

Also available in: Atom PDF