pulp_rpm_client 3.18.0.dev1647921227 → 3.18.0.dev1648352669
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_rpm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmUlnRemoteResponse.md +0 -4
- data/lib/pulp_rpm_client/api_client.rb +1 -4
- data/lib/pulp_rpm_client/configuration.rb +1 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +0 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +0 -4
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -31
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/models/rpm_uln_remote_response_spec.rb +0 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 342d5b84b33f3e82b43678228178247591b5c6aeba4fd44ae6c1fb8bddd1290c
|
4
|
+
data.tar.gz: 767dad96d6451d68d3766fccf083922fea89f823bcfbf8262f382c8b1d3a1947
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa7fc6f10a89de389dd60f65bdbd0919e61b910e26360511f436aef7bbe89e2375adf6b8ae55199652687c0136fbb5d91093aba9704ad3988bd31066cb4817fb
|
7
|
+
data.tar.gz: 8ec3d41e7eb88d47c2ab215c484a19f9fd8773fe5e416adeff670fc6f300c39cf4f3f4fc738f1ac4ac38ad44eddce3bcf7372e1197c38b810977efffa7a6208d
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.18.0.
|
10
|
+
- Package version: 3.18.0.dev1648352669
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_rpm_client-3.18.0.
|
27
|
+
gem install ./pulp_rpm_client-3.18.0.dev1648352669.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.18.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.18.0.dev1648352669.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_rpm_client', '~> 3.18.0.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.18.0.dev1648352669'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
8
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
9
9
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
|
10
10
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
|
11
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
11
|
+
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
12
|
+
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
13
|
**sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
14
14
|
|
15
15
|
## Code Sample
|
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
|
|
10
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
11
|
**metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
|
12
12
|
**package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
|
13
|
-
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
|
-
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
13
|
+
**gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional]
|
14
|
+
**repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional]
|
15
15
|
**sqlite_metadata** | **Boolean** | An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
|
16
16
|
|
17
17
|
## Code Sample
|
@@ -12,8 +12,6 @@ Name | Type | Description | Notes
|
|
12
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
13
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
-
**username** | **String** | Your ULN account username. |
|
16
|
-
**password** | **String** | Your ULN account password. |
|
17
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
@@ -40,8 +38,6 @@ instance = PulpRpmClient::RpmUlnRemoteResponse.new(pulp_href: null,
|
|
40
38
|
client_cert: null,
|
41
39
|
tls_validation: null,
|
42
40
|
proxy_url: null,
|
43
|
-
username: null,
|
44
|
-
password: null,
|
45
41
|
pulp_labels: null,
|
46
42
|
pulp_last_updated: null,
|
47
43
|
download_concurrency: null,
|
@@ -118,9 +118,6 @@ module PulpRpmClient
|
|
118
118
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
119
119
|
|
120
120
|
req_opts = {
|
121
|
-
:method => http_method,
|
122
|
-
:headers => header_params,
|
123
|
-
:params => query_params,
|
124
121
|
:params_encoding => @config.params_encoding,
|
125
122
|
:timeout => @config.timeout,
|
126
123
|
:verbose => @config.debugging
|
@@ -128,13 +125,13 @@ module PulpRpmClient
|
|
128
125
|
|
129
126
|
if [:post, :patch, :put, :delete].include?(http_method)
|
130
127
|
req_body = build_request_body(header_params, form_params, opts[:body])
|
131
|
-
req_opts.update :body => req_body
|
132
128
|
if @config.debugging
|
133
129
|
@config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
|
134
130
|
end
|
135
131
|
end
|
136
132
|
request.headers = header_params
|
137
133
|
request.body = req_body
|
134
|
+
request.options = OpenStruct.new(req_opts)
|
138
135
|
request.url url
|
139
136
|
request.params = query_params
|
140
137
|
download_file(request) if opts[:return_type] == 'File'
|
@@ -100,14 +100,10 @@ module PulpRpmClient
|
|
100
100
|
|
101
101
|
if attributes.key?(:'gpgcheck')
|
102
102
|
self.gpgcheck = attributes[:'gpgcheck']
|
103
|
-
else
|
104
|
-
self.gpgcheck = 0
|
105
103
|
end
|
106
104
|
|
107
105
|
if attributes.key?(:'repo_gpgcheck')
|
108
106
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
109
|
-
else
|
110
|
-
self.repo_gpgcheck = 0
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'sqlite_metadata')
|
@@ -117,14 +117,10 @@ module PulpRpmClient
|
|
117
117
|
|
118
118
|
if attributes.key?(:'gpgcheck')
|
119
119
|
self.gpgcheck = attributes[:'gpgcheck']
|
120
|
-
else
|
121
|
-
self.gpgcheck = 0
|
122
120
|
end
|
123
121
|
|
124
122
|
if attributes.key?(:'repo_gpgcheck')
|
125
123
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
126
|
-
else
|
127
|
-
self.repo_gpgcheck = 0
|
128
124
|
end
|
129
125
|
|
130
126
|
if attributes.key?(:'sqlite_metadata')
|
@@ -38,12 +38,6 @@ module PulpRpmClient
|
|
38
38
|
# The proxy URL. Format: scheme://host:port
|
39
39
|
attr_accessor :proxy_url
|
40
40
|
|
41
|
-
# Your ULN account username.
|
42
|
-
attr_accessor :username
|
43
|
-
|
44
|
-
# Your ULN account password.
|
45
|
-
attr_accessor :password
|
46
|
-
|
47
41
|
attr_accessor :pulp_labels
|
48
42
|
|
49
43
|
# Timestamp of the most recent update of the remote.
|
@@ -90,8 +84,6 @@ module PulpRpmClient
|
|
90
84
|
:'client_cert' => :'client_cert',
|
91
85
|
:'tls_validation' => :'tls_validation',
|
92
86
|
:'proxy_url' => :'proxy_url',
|
93
|
-
:'username' => :'username',
|
94
|
-
:'password' => :'password',
|
95
87
|
:'pulp_labels' => :'pulp_labels',
|
96
88
|
:'pulp_last_updated' => :'pulp_last_updated',
|
97
89
|
:'download_concurrency' => :'download_concurrency',
|
@@ -118,8 +110,6 @@ module PulpRpmClient
|
|
118
110
|
:'client_cert' => :'String',
|
119
111
|
:'tls_validation' => :'Boolean',
|
120
112
|
:'proxy_url' => :'String',
|
121
|
-
:'username' => :'String',
|
122
|
-
:'password' => :'String',
|
123
113
|
:'pulp_labels' => :'Object',
|
124
114
|
:'pulp_last_updated' => :'DateTime',
|
125
115
|
:'download_concurrency' => :'Integer',
|
@@ -199,14 +189,6 @@ module PulpRpmClient
|
|
199
189
|
self.proxy_url = attributes[:'proxy_url']
|
200
190
|
end
|
201
191
|
|
202
|
-
if attributes.key?(:'username')
|
203
|
-
self.username = attributes[:'username']
|
204
|
-
end
|
205
|
-
|
206
|
-
if attributes.key?(:'password')
|
207
|
-
self.password = attributes[:'password']
|
208
|
-
end
|
209
|
-
|
210
192
|
if attributes.key?(:'pulp_labels')
|
211
193
|
self.pulp_labels = attributes[:'pulp_labels']
|
212
194
|
end
|
@@ -270,14 +252,6 @@ module PulpRpmClient
|
|
270
252
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
271
253
|
end
|
272
254
|
|
273
|
-
if @username.nil?
|
274
|
-
invalid_properties.push('invalid value for "username", username cannot be nil.')
|
275
|
-
end
|
276
|
-
|
277
|
-
if @password.nil?
|
278
|
-
invalid_properties.push('invalid value for "password", password cannot be nil.')
|
279
|
-
end
|
280
|
-
|
281
255
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
282
256
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
283
257
|
end
|
@@ -306,8 +280,6 @@ module PulpRpmClient
|
|
306
280
|
def valid?
|
307
281
|
return false if @name.nil?
|
308
282
|
return false if @url.nil?
|
309
|
-
return false if @username.nil?
|
310
|
-
return false if @password.nil?
|
311
283
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
312
284
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
313
285
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
@@ -379,8 +351,6 @@ module PulpRpmClient
|
|
379
351
|
client_cert == o.client_cert &&
|
380
352
|
tls_validation == o.tls_validation &&
|
381
353
|
proxy_url == o.proxy_url &&
|
382
|
-
username == o.username &&
|
383
|
-
password == o.password &&
|
384
354
|
pulp_labels == o.pulp_labels &&
|
385
355
|
pulp_last_updated == o.pulp_last_updated &&
|
386
356
|
download_concurrency == o.download_concurrency &&
|
@@ -404,7 +374,7 @@ module PulpRpmClient
|
|
404
374
|
# Calculates hash code according to all attributes.
|
405
375
|
# @return [Integer] Hash code
|
406
376
|
def hash
|
407
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url,
|
377
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, uln_server_base_url].hash
|
408
378
|
end
|
409
379
|
|
410
380
|
# Builds the object from hash
|
@@ -80,18 +80,6 @@ describe 'RpmUlnRemoteResponse' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "username"' do
|
84
|
-
it 'should work' do
|
85
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
describe 'test attribute "password"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
83
|
describe 'test attribute "pulp_labels"' do
|
96
84
|
it 'should work' do
|
97
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_rpm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.18.0.
|
4
|
+
version: 3.18.0.dev1648352669
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|