Project

Profile

Help

Issue #5760

Cannot list repository versions using Ruby bindings

Added by iballou 5 months ago. Updated 4 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Katello-P1
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Target Release - File:
Sprint:
Sprint 62

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'

Associated revisions

Revision f40582d5 View on GitHub
Added by dkliban@redhat.com 4 months ago

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

Revision 85f7616b View on GitHub
Added by dkliban@redhat.com 4 months ago

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)

History

#1 Updated by dkliban@redhat.com 4 months ago

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

#2 Updated by dkliban@redhat.com 4 months ago

  • Status changed from ASSIGNED to POST

#3 Updated by dkliban@redhat.com 4 months ago

  • Status changed from POST to MODIFIED
  • Triaged changed from No to Yes

#4 Updated by bmbouter 4 months ago

  • Sprint/Milestone set to 0.1.0

#5 Updated by bmbouter 4 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF