Project

General

Profile

Actions

Bug #29487

open

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

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

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

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.

Actions #1

Updated by Ian Ballou about 4 years ago

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

Updated by Jonathon Turel about 4 years ago

  • Target version changed from Katello 3.16.0 to Katello 4.0.0
Actions #3

Updated by Ian Ballou about 4 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.

Actions #4

Updated by Ian Ballou almost 4 years ago

  • Target version changed from Katello 4.0.0 to Katello Backlog

Backlogging this since it's pretty low-priority.

Actions

Also available in: Atom PDF