Project

Profile

Help

Issue #5183

docker ruby bindings remote list ignores arguments

Added by jsherril@redhat.com 7 months ago. Updated about 1 month 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:
Katello-P1
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 56

Description

When running the following ruby code:

require 'pulp_docker_client'

config = PulpDockerClient::Configuration.new do |c|
          c.username = 'admin'
          c.password = 'password'
          c.debugging = true
      c.host = 'localhost:24817'
end

api = PulpDockerClient::RemotesDockerApi.new(PulpDockerClient::ApiClient.new(config))
api.list(:name => 'foo')

the following request was previously generated:

GET https://localhost/pulp/api/v3/remotes/docker/docker/?name=foo

but now, starting with 4.0.0b6.dev01563975458 it generates this request:

GET https://localhost/pulp/api/v3/remotes/docker/docker/

which no longer filters on the name.

Here's the output from the latest gem showing it returning a remote that does not match:

=> #<PulpDockerClient::InlineResponse2004:0x00000000076fbd58 @count=1, @results=[#<PulpDockerClient::DockerRemote:0x00000000076fb998 @policy="immediate", @_href="/pulp/api/v3/remotes/docker/docker/db219d5c-fe24-4c30-9ee9-44a361ed14a7/", @_created=Wed, 24 Jul 2019 15:10:42 +0000, @_type="docker.docker", @name="Default_Organization-Test-busybox-library", @url="http://docker.io", @ssl_validation=true, @_last_updated=Wed, 24 Jul 2019 15:10:42 +0000, @download_concurrency=20, @upstream_name="busybox">]>

notice the name value it returned is not 'foo'

History

#1 Updated by jsherril@redhat.com 7 months ago

  • Description updated (diff)

#2 Updated by jsherril@redhat.com 7 months ago

  • Description updated (diff)

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

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
  • Triaged changed from No to Yes
  • Sprint set to Sprint 56

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

  • Status changed from ASSIGNED to MODIFIED

I've pushed a new openapi-generator-cli.jar to fedorapeople.org[0]. I'll update my openapi-generator PR[1] with the change also.

[0] https://repos.fedorapeople.org/repos/pulp/pulp/openapi/openapi-generator-cli.jar
[1] https://github.com/OpenAPITools/openapi-generator/pull/3405/

#5 Updated by CarmenNishida 4 months ago

This article teaches a lesson to spread love don’t hate anybody and don’t call anyone your enemy because us all have to take this initiative to spread love and stop our arguments but now I'm happy to visit https://edubirdie.net/howitworks in order to manage the task. So I really like the article because it has described some major facts that probably help us a lot. But really an eye catching up in the material used to write the article.

#6 Updated by ipanova@redhat.com 3 months ago

  • Project changed from Docker Support to Container Support

#7 Updated by KateBell 3 months ago

yes you are right, this material is great for writing the article. I had this topic in my homework at the university. To deal with her at that time was hard, it took a lot of time to delve into, and at that time I worked part time as a courier. Therefore, I turned to the writing service for help. I was advised to choose iwriter.com. Unfortunately, at that time there were not so many review websites that could warn me that iwriter scam ( you can find info here: https://essayservicescanner.com/iwriter-review/ ). Received a fairly low rating for the paper '(

#8 Updated by ipanova@redhat.com 3 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#9 Updated by ipanova@redhat.com about 1 month ago

  • Sprint/Milestone set to 1.0.0

Please register to edit this issue

Also available in: Atom PDF