Project

Profile

Help

Issue #5183

Updated by jsherril@redhat.com 5 months ago

When running the following ruby code:

<pre>
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')
</pre>
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:

<pre>
=> #<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">]>

</pre>

notice the name value it returned is not 'foo'

Back