Project

Profile

Help

Issue #5760

closed

Cannot list repository versions using Ruby bindings

Added by iballou about 3 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Katello
Sprint:
Sprint 62
Quarter:

Description

[3] pry(#<Katello::Pulp3::Api::File>)> api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
[4] pry(#<Katello::Pulp3::Api::File>)> api_instance.list("/pulp/api/v3/repositories/file/file/ceae8490-d6ce-4092-ace5-f0e1591ac447/")
URI::InvalidURIError: bad URI(is not URI?): http://localhost/{file_repository_href}versions/
from /opt/rh/rh-ruby25/root/usr/share/ruby/uri/rfc3986_parser.rb:67:in `split'
Actions #1

Updated by dkliban@redhat.com about 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
  • Sprint set to Sprint 62
Actions #2

Updated by dkliban@redhat.com about 3 years ago

  • Status changed from ASSIGNED to POST

Added by dkliban@redhat.com about 3 years ago

Revision f40582d5

Fix repository parameter name in OpenAPI schema

The prefix for the *_repository_version_href was getting applied to *_repository_href slug names. This patch limits it to only *_repository_version_href.

re: #5760 https://pulp.plan.io/issues/5760

Added by dkliban@redhat.com about 3 years ago

Revision 85f7616b

Fix repository parameter name in OpenAPI schema

The prefix for the *_repository_version_href was getting applied to *_repository_href slug names. This patch limits it to only *_repository_version_href.

re: #5760 https://pulp.plan.io/issues/5760 (cherry picked from commit f40582d5212fc092edfabd761cf02407138f30e5)

Actions #3

Updated by dkliban@redhat.com about 3 years ago

  • Status changed from POST to MODIFIED
  • Triaged changed from No to Yes
Actions #4

Updated by bmbouter about 3 years ago

  • Sprint/Milestone set to 0.1.0
Actions #5

Updated by bmbouter about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #6

Updated by ggainey over 2 years ago

  • Tags Katello added
  • Tags deleted (Katello-P1)

Also available in: Atom PDF