pulp_deb_client 2.13.1 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/docs/DebAptRemote.md +7 -5
- data/docs/DebAptRemoteResponse.md +7 -5
- data/docs/PatcheddebAptRemote.md +7 -5
- data/docs/{RepositoriesDebVersionsApi.md → RepositoriesAptVersionsApi.md} +13 -13
- data/lib/pulp_deb_client/api/{repositories_deb_versions_api.rb → repositories_apt_versions_api.rb} +14 -14
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +18 -6
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +18 -6
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +18 -6
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +1 -1
- data/spec/api/{repositories_deb_versions_api_spec.rb → repositories_apt_versions_api_spec.rb} +6 -6
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +6 -0
- metadata +55 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb7f8b456ee217eda6978002e70c7d9078eef516904bc5f561e5982f7026b4df
|
4
|
+
data.tar.gz: 0ec13d08664572c4d1fb50c0432657245ab85c892a59ecd9f8b2d3715eff5644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb70ca71d0a8e8ed53b5bd8f1902b81d7ce1f756de382018f9770419b193df66ca02b078b7bc9b7dad5b1903adf60544cc8a20042eaf6d86136b0ecf0d0fa297
|
7
|
+
data.tar.gz: 449f0e03aebb9b4b13776a8194dd6488d31a9e0f5362126058eb0584444d2cd8e417b219503a49c27983e12cab7bbcff164fc8369371c79435124257cfdf275b
|
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: 2.
|
10
|
+
- Package version: 2.14.0
|
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_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.
|
27
|
+
gem install ./pulp_deb_client-2.14.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.14.0.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_deb_client', '~> 2.
|
36
|
+
gem 'pulp_deb_client', '~> 2.14.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -146,10 +146,10 @@ Class | Method | HTTP request | Description
|
|
146
146
|
*PulpDebClient::RepositoriesAptApi* | [**read**](docs/RepositoriesAptApi.md#read) | **GET** {deb_apt_repository_href} | Inspect an apt repository
|
147
147
|
*PulpDebClient::RepositoriesAptApi* | [**sync**](docs/RepositoriesAptApi.md#sync) | **POST** {deb_apt_repository_href}sync/ | Sync from remote
|
148
148
|
*PulpDebClient::RepositoriesAptApi* | [**update**](docs/RepositoriesAptApi.md#update) | **PUT** {deb_apt_repository_href} | Update an apt repository
|
149
|
-
*PulpDebClient::
|
150
|
-
*PulpDebClient::
|
151
|
-
*PulpDebClient::
|
152
|
-
*PulpDebClient::
|
149
|
+
*PulpDebClient::RepositoriesAptVersionsApi* | [**delete**](docs/RepositoriesAptVersionsApi.md#delete) | **DELETE** {deb_apt_repository_version_href} | Delete a repository version
|
150
|
+
*PulpDebClient::RepositoriesAptVersionsApi* | [**list**](docs/RepositoriesAptVersionsApi.md#list) | **GET** {deb_apt_repository_href}versions/ | List repository versions
|
151
|
+
*PulpDebClient::RepositoriesAptVersionsApi* | [**read**](docs/RepositoriesAptVersionsApi.md#read) | **GET** {deb_apt_repository_version_href} | Inspect a repository version
|
152
|
+
*PulpDebClient::RepositoriesAptVersionsApi* | [**repair**](docs/RepositoriesAptVersionsApi.md#repair) | **POST** {deb_apt_repository_version_href}repair/ |
|
153
153
|
|
154
154
|
|
155
155
|
## Documentation for Models
|
data/docs/DebAptRemote.md
CHANGED
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
22
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
27
28
|
**distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. |
|
@@ -51,6 +52,7 @@ instance = PulpDebClient::DebAptRemote.new(name: null,
|
|
51
52
|
password: null,
|
52
53
|
pulp_labels: null,
|
53
54
|
download_concurrency: null,
|
55
|
+
max_retries: null,
|
54
56
|
policy: null,
|
55
57
|
total_timeout: null,
|
56
58
|
connect_timeout: null,
|
@@ -14,12 +14,13 @@ Name | Type | Description | Notes
|
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
18
19
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
19
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
20
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
20
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
21
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
22
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
25
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
26
|
**distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. |
|
@@ -47,6 +48,7 @@ instance = PulpDebClient::DebAptRemoteResponse.new(pulp_href: null,
|
|
47
48
|
pulp_labels: null,
|
48
49
|
pulp_last_updated: null,
|
49
50
|
download_concurrency: null,
|
51
|
+
max_retries: null,
|
50
52
|
policy: null,
|
51
53
|
total_timeout: null,
|
52
54
|
connect_timeout: null,
|
data/docs/PatcheddebAptRemote.md
CHANGED
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
22
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
27
28
|
**distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. | [optional]
|
@@ -51,6 +52,7 @@ instance = PulpDebClient::PatcheddebAptRemote.new(name: null,
|
|
51
52
|
password: null,
|
52
53
|
pulp_labels: null,
|
53
54
|
download_concurrency: null,
|
55
|
+
max_retries: null,
|
54
56
|
policy: null,
|
55
57
|
total_timeout: null,
|
56
58
|
connect_timeout: null,
|
@@ -1,13 +1,13 @@
|
|
1
|
-
# PulpDebClient::
|
1
|
+
# PulpDebClient::RepositoriesAptVersionsApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**delete**](
|
8
|
-
[**list**](
|
9
|
-
[**read**](
|
10
|
-
[**repair**](
|
7
|
+
[**delete**](RepositoriesAptVersionsApi.md#delete) | **DELETE** {deb_apt_repository_version_href} | Delete a repository version
|
8
|
+
[**list**](RepositoriesAptVersionsApi.md#list) | **GET** {deb_apt_repository_href}versions/ | List repository versions
|
9
|
+
[**read**](RepositoriesAptVersionsApi.md#read) | **GET** {deb_apt_repository_version_href} | Inspect a repository version
|
10
|
+
[**repair**](RepositoriesAptVersionsApi.md#repair) | **POST** {deb_apt_repository_version_href}repair/ |
|
11
11
|
|
12
12
|
|
13
13
|
|
@@ -31,7 +31,7 @@ PulpDebClient.configure do |config|
|
|
31
31
|
config.password = 'YOUR PASSWORD'
|
32
32
|
end
|
33
33
|
|
34
|
-
api_instance = PulpDebClient::
|
34
|
+
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
35
35
|
deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
|
36
36
|
|
37
37
|
begin
|
@@ -39,7 +39,7 @@ begin
|
|
39
39
|
result = api_instance.delete(deb_apt_repository_version_href)
|
40
40
|
p result
|
41
41
|
rescue PulpDebClient::ApiError => e
|
42
|
-
puts "Exception when calling
|
42
|
+
puts "Exception when calling RepositoriesAptVersionsApi->delete: #{e}"
|
43
43
|
end
|
44
44
|
```
|
45
45
|
|
@@ -84,7 +84,7 @@ PulpDebClient.configure do |config|
|
|
84
84
|
config.password = 'YOUR PASSWORD'
|
85
85
|
end
|
86
86
|
|
87
|
-
api_instance = PulpDebClient::
|
87
|
+
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
88
88
|
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
89
89
|
opts = {
|
90
90
|
content: 'content_example', # String | Content Unit referenced by HREF
|
@@ -113,7 +113,7 @@ begin
|
|
113
113
|
result = api_instance.list(deb_apt_repository_href, opts)
|
114
114
|
p result
|
115
115
|
rescue PulpDebClient::ApiError => e
|
116
|
-
puts "Exception when calling
|
116
|
+
puts "Exception when calling RepositoriesAptVersionsApi->list: #{e}"
|
117
117
|
end
|
118
118
|
```
|
119
119
|
|
@@ -177,7 +177,7 @@ PulpDebClient.configure do |config|
|
|
177
177
|
config.password = 'YOUR PASSWORD'
|
178
178
|
end
|
179
179
|
|
180
|
-
api_instance = PulpDebClient::
|
180
|
+
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
181
181
|
deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
|
182
182
|
opts = {
|
183
183
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -189,7 +189,7 @@ begin
|
|
189
189
|
result = api_instance.read(deb_apt_repository_version_href, opts)
|
190
190
|
p result
|
191
191
|
rescue PulpDebClient::ApiError => e
|
192
|
-
puts "Exception when calling
|
192
|
+
puts "Exception when calling RepositoriesAptVersionsApi->read: #{e}"
|
193
193
|
end
|
194
194
|
```
|
195
195
|
|
@@ -236,7 +236,7 @@ PulpDebClient.configure do |config|
|
|
236
236
|
config.password = 'YOUR PASSWORD'
|
237
237
|
end
|
238
238
|
|
239
|
-
api_instance = PulpDebClient::
|
239
|
+
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
240
240
|
deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
|
241
241
|
repository_version = PulpDebClient::RepositoryVersion.new # RepositoryVersion |
|
242
242
|
|
@@ -244,7 +244,7 @@ begin
|
|
244
244
|
result = api_instance.repair(deb_apt_repository_version_href, repository_version)
|
245
245
|
p result
|
246
246
|
rescue PulpDebClient::ApiError => e
|
247
|
-
puts "Exception when calling
|
247
|
+
puts "Exception when calling RepositoriesAptVersionsApi->repair: #{e}"
|
248
248
|
end
|
249
249
|
```
|
250
250
|
|
data/lib/pulp_deb_client/api/{repositories_deb_versions_api.rb → repositories_apt_versions_api.rb}
RENAMED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class RepositoriesAptVersionsApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
@@ -36,11 +36,11 @@ module PulpDebClient
|
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
37
|
def delete_with_http_info(deb_apt_repository_version_href, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
39
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.delete ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'deb_apt_repository_version_href' is set
|
42
42
|
if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling
|
43
|
+
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesAptVersionsApi.delete"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '{deb_apt_repository_version_href}'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -76,7 +76,7 @@ module PulpDebClient
|
|
76
76
|
|
77
77
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
78
78
|
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug "API called:
|
79
|
+
@api_client.config.logger.debug "API called: RepositoriesAptVersionsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
81
81
|
return data, status_code, headers
|
82
82
|
end
|
@@ -136,11 +136,11 @@ module PulpDebClient
|
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
137
137
|
def list_with_http_info(deb_apt_repository_href, opts = {})
|
138
138
|
if @api_client.config.debugging
|
139
|
-
@api_client.config.logger.debug 'Calling API:
|
139
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.list ...'
|
140
140
|
end
|
141
141
|
# verify the required parameter 'deb_apt_repository_href' is set
|
142
142
|
if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
|
143
|
-
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling
|
143
|
+
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesAptVersionsApi.list"
|
144
144
|
end
|
145
145
|
# resource path
|
146
146
|
local_var_path = '{deb_apt_repository_href}versions/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
|
@@ -195,7 +195,7 @@ module PulpDebClient
|
|
195
195
|
|
196
196
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
197
197
|
if @api_client.config.debugging
|
198
|
-
@api_client.config.logger.debug "API called:
|
198
|
+
@api_client.config.logger.debug "API called: RepositoriesAptVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
199
199
|
end
|
200
200
|
return data, status_code, headers
|
201
201
|
end
|
@@ -221,11 +221,11 @@ module PulpDebClient
|
|
221
221
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
222
222
|
def read_with_http_info(deb_apt_repository_version_href, opts = {})
|
223
223
|
if @api_client.config.debugging
|
224
|
-
@api_client.config.logger.debug 'Calling API:
|
224
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.read ...'
|
225
225
|
end
|
226
226
|
# verify the required parameter 'deb_apt_repository_version_href' is set
|
227
227
|
if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
|
228
|
-
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling
|
228
|
+
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesAptVersionsApi.read"
|
229
229
|
end
|
230
230
|
# resource path
|
231
231
|
local_var_path = '{deb_apt_repository_version_href}'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -263,7 +263,7 @@ module PulpDebClient
|
|
263
263
|
|
264
264
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
265
265
|
if @api_client.config.debugging
|
266
|
-
@api_client.config.logger.debug "API called:
|
266
|
+
@api_client.config.logger.debug "API called: RepositoriesAptVersionsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
267
267
|
end
|
268
268
|
return data, status_code, headers
|
269
269
|
end
|
@@ -285,15 +285,15 @@ module PulpDebClient
|
|
285
285
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
286
286
|
def repair_with_http_info(deb_apt_repository_version_href, repository_version, opts = {})
|
287
287
|
if @api_client.config.debugging
|
288
|
-
@api_client.config.logger.debug 'Calling API:
|
288
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesAptVersionsApi.repair ...'
|
289
289
|
end
|
290
290
|
# verify the required parameter 'deb_apt_repository_version_href' is set
|
291
291
|
if @api_client.config.client_side_validation && deb_apt_repository_version_href.nil?
|
292
|
-
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling
|
292
|
+
fail ArgumentError, "Missing the required parameter 'deb_apt_repository_version_href' when calling RepositoriesAptVersionsApi.repair"
|
293
293
|
end
|
294
294
|
# verify the required parameter 'repository_version' is set
|
295
295
|
if @api_client.config.client_side_validation && repository_version.nil?
|
296
|
-
fail ArgumentError, "Missing the required parameter 'repository_version' when calling
|
296
|
+
fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesAptVersionsApi.repair"
|
297
297
|
end
|
298
298
|
# resource path
|
299
299
|
local_var_path = '{deb_apt_repository_version_href}repair/'.sub('{' + 'deb_apt_repository_version_href' + '}', CGI.escape(deb_apt_repository_version_href.to_s).gsub('%2F', '/'))
|
@@ -331,7 +331,7 @@ module PulpDebClient
|
|
331
331
|
|
332
332
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
333
333
|
if @api_client.config.debugging
|
334
|
-
@api_client.config.logger.debug "API called:
|
334
|
+
@api_client.config.logger.debug "API called: RepositoriesAptVersionsApi#repair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
335
335
|
end
|
336
336
|
return data, status_code, headers
|
337
337
|
end
|
@@ -50,22 +50,25 @@ module PulpDebClient
|
|
50
50
|
|
51
51
|
attr_accessor :pulp_labels
|
52
52
|
|
53
|
-
# Total number of simultaneous connections.
|
53
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
54
54
|
attr_accessor :download_concurrency
|
55
55
|
|
56
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
|
+
attr_accessor :max_retries
|
58
|
+
|
56
59
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
57
60
|
attr_accessor :policy
|
58
61
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
62
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
60
63
|
attr_accessor :total_timeout
|
61
64
|
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
65
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
63
66
|
attr_accessor :connect_timeout
|
64
67
|
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
68
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
66
69
|
attr_accessor :sock_connect_timeout
|
67
70
|
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
71
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
69
72
|
attr_accessor :sock_read_timeout
|
70
73
|
|
71
74
|
# Headers for aiohttp.Clientsession
|
@@ -114,6 +117,7 @@ module PulpDebClient
|
|
114
117
|
:'password' => :'password',
|
115
118
|
:'pulp_labels' => :'pulp_labels',
|
116
119
|
:'download_concurrency' => :'download_concurrency',
|
120
|
+
:'max_retries' => :'max_retries',
|
117
121
|
:'policy' => :'policy',
|
118
122
|
:'total_timeout' => :'total_timeout',
|
119
123
|
:'connect_timeout' => :'connect_timeout',
|
@@ -148,6 +152,7 @@ module PulpDebClient
|
|
148
152
|
:'password' => :'String',
|
149
153
|
:'pulp_labels' => :'Object',
|
150
154
|
:'download_concurrency' => :'Integer',
|
155
|
+
:'max_retries' => :'Integer',
|
151
156
|
:'policy' => :'PolicyEnum',
|
152
157
|
:'total_timeout' => :'Float',
|
153
158
|
:'connect_timeout' => :'Float',
|
@@ -177,6 +182,8 @@ module PulpDebClient
|
|
177
182
|
:'proxy_password',
|
178
183
|
:'username',
|
179
184
|
:'password',
|
185
|
+
:'download_concurrency',
|
186
|
+
:'max_retries',
|
180
187
|
:'total_timeout',
|
181
188
|
:'connect_timeout',
|
182
189
|
:'sock_connect_timeout',
|
@@ -255,6 +262,10 @@ module PulpDebClient
|
|
255
262
|
self.download_concurrency = attributes[:'download_concurrency']
|
256
263
|
end
|
257
264
|
|
265
|
+
if attributes.key?(:'max_retries')
|
266
|
+
self.max_retries = attributes[:'max_retries']
|
267
|
+
end
|
268
|
+
|
258
269
|
if attributes.key?(:'policy')
|
259
270
|
self.policy = attributes[:'policy']
|
260
271
|
end
|
@@ -439,6 +450,7 @@ module PulpDebClient
|
|
439
450
|
password == o.password &&
|
440
451
|
pulp_labels == o.pulp_labels &&
|
441
452
|
download_concurrency == o.download_concurrency &&
|
453
|
+
max_retries == o.max_retries &&
|
442
454
|
policy == o.policy &&
|
443
455
|
total_timeout == o.total_timeout &&
|
444
456
|
connect_timeout == o.connect_timeout &&
|
@@ -465,7 +477,7 @@ module PulpDebClient
|
|
465
477
|
# Calculates hash code according to all attributes.
|
466
478
|
# @return [Integer] Hash code
|
467
479
|
def hash
|
468
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
480
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
469
481
|
end
|
470
482
|
|
471
483
|
# Builds the object from hash
|
@@ -43,22 +43,25 @@ module PulpDebClient
|
|
43
43
|
# Timestamp of the most recent update of the remote.
|
44
44
|
attr_accessor :pulp_last_updated
|
45
45
|
|
46
|
-
# Total number of simultaneous connections.
|
46
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
47
47
|
attr_accessor :download_concurrency
|
48
48
|
|
49
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
|
+
attr_accessor :max_retries
|
51
|
+
|
49
52
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
50
53
|
attr_accessor :policy
|
51
54
|
|
52
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
55
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
53
56
|
attr_accessor :total_timeout
|
54
57
|
|
55
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
58
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
56
59
|
attr_accessor :connect_timeout
|
57
60
|
|
58
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
61
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
59
62
|
attr_accessor :sock_connect_timeout
|
60
63
|
|
61
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
64
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
62
65
|
attr_accessor :sock_read_timeout
|
63
66
|
|
64
67
|
# Headers for aiohttp.Clientsession
|
@@ -105,6 +108,7 @@ module PulpDebClient
|
|
105
108
|
:'pulp_labels' => :'pulp_labels',
|
106
109
|
:'pulp_last_updated' => :'pulp_last_updated',
|
107
110
|
:'download_concurrency' => :'download_concurrency',
|
111
|
+
:'max_retries' => :'max_retries',
|
108
112
|
:'policy' => :'policy',
|
109
113
|
:'total_timeout' => :'total_timeout',
|
110
114
|
:'connect_timeout' => :'connect_timeout',
|
@@ -137,6 +141,7 @@ module PulpDebClient
|
|
137
141
|
:'pulp_labels' => :'Object',
|
138
142
|
:'pulp_last_updated' => :'DateTime',
|
139
143
|
:'download_concurrency' => :'Integer',
|
144
|
+
:'max_retries' => :'Integer',
|
140
145
|
:'policy' => :'PolicyEnum',
|
141
146
|
:'total_timeout' => :'Float',
|
142
147
|
:'connect_timeout' => :'Float',
|
@@ -161,6 +166,8 @@ module PulpDebClient
|
|
161
166
|
:'ca_cert',
|
162
167
|
:'client_cert',
|
163
168
|
:'proxy_url',
|
169
|
+
:'download_concurrency',
|
170
|
+
:'max_retries',
|
164
171
|
:'total_timeout',
|
165
172
|
:'connect_timeout',
|
166
173
|
:'sock_connect_timeout',
|
@@ -231,6 +238,10 @@ module PulpDebClient
|
|
231
238
|
self.download_concurrency = attributes[:'download_concurrency']
|
232
239
|
end
|
233
240
|
|
241
|
+
if attributes.key?(:'max_retries')
|
242
|
+
self.max_retries = attributes[:'max_retries']
|
243
|
+
end
|
244
|
+
|
234
245
|
if attributes.key?(:'policy')
|
235
246
|
self.policy = attributes[:'policy']
|
236
247
|
end
|
@@ -413,6 +424,7 @@ module PulpDebClient
|
|
413
424
|
pulp_labels == o.pulp_labels &&
|
414
425
|
pulp_last_updated == o.pulp_last_updated &&
|
415
426
|
download_concurrency == o.download_concurrency &&
|
427
|
+
max_retries == o.max_retries &&
|
416
428
|
policy == o.policy &&
|
417
429
|
total_timeout == o.total_timeout &&
|
418
430
|
connect_timeout == o.connect_timeout &&
|
@@ -439,7 +451,7 @@ module PulpDebClient
|
|
439
451
|
# Calculates hash code according to all attributes.
|
440
452
|
# @return [Integer] Hash code
|
441
453
|
def hash
|
442
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
454
|
+
[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, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
443
455
|
end
|
444
456
|
|
445
457
|
# Builds the object from hash
|
@@ -50,22 +50,25 @@ module PulpDebClient
|
|
50
50
|
|
51
51
|
attr_accessor :pulp_labels
|
52
52
|
|
53
|
-
# Total number of simultaneous connections.
|
53
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
54
54
|
attr_accessor :download_concurrency
|
55
55
|
|
56
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
|
+
attr_accessor :max_retries
|
58
|
+
|
56
59
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
57
60
|
attr_accessor :policy
|
58
61
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
62
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
60
63
|
attr_accessor :total_timeout
|
61
64
|
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
65
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
63
66
|
attr_accessor :connect_timeout
|
64
67
|
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
68
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
66
69
|
attr_accessor :sock_connect_timeout
|
67
70
|
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
71
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
69
72
|
attr_accessor :sock_read_timeout
|
70
73
|
|
71
74
|
# Headers for aiohttp.Clientsession
|
@@ -114,6 +117,7 @@ module PulpDebClient
|
|
114
117
|
:'password' => :'password',
|
115
118
|
:'pulp_labels' => :'pulp_labels',
|
116
119
|
:'download_concurrency' => :'download_concurrency',
|
120
|
+
:'max_retries' => :'max_retries',
|
117
121
|
:'policy' => :'policy',
|
118
122
|
:'total_timeout' => :'total_timeout',
|
119
123
|
:'connect_timeout' => :'connect_timeout',
|
@@ -148,6 +152,7 @@ module PulpDebClient
|
|
148
152
|
:'password' => :'String',
|
149
153
|
:'pulp_labels' => :'Object',
|
150
154
|
:'download_concurrency' => :'Integer',
|
155
|
+
:'max_retries' => :'Integer',
|
151
156
|
:'policy' => :'PolicyEnum',
|
152
157
|
:'total_timeout' => :'Float',
|
153
158
|
:'connect_timeout' => :'Float',
|
@@ -177,6 +182,8 @@ module PulpDebClient
|
|
177
182
|
:'proxy_password',
|
178
183
|
:'username',
|
179
184
|
:'password',
|
185
|
+
:'download_concurrency',
|
186
|
+
:'max_retries',
|
180
187
|
:'total_timeout',
|
181
188
|
:'connect_timeout',
|
182
189
|
:'sock_connect_timeout',
|
@@ -255,6 +262,10 @@ module PulpDebClient
|
|
255
262
|
self.download_concurrency = attributes[:'download_concurrency']
|
256
263
|
end
|
257
264
|
|
265
|
+
if attributes.key?(:'max_retries')
|
266
|
+
self.max_retries = attributes[:'max_retries']
|
267
|
+
end
|
268
|
+
|
258
269
|
if attributes.key?(:'policy')
|
259
270
|
self.policy = attributes[:'policy']
|
260
271
|
end
|
@@ -424,6 +435,7 @@ module PulpDebClient
|
|
424
435
|
password == o.password &&
|
425
436
|
pulp_labels == o.pulp_labels &&
|
426
437
|
download_concurrency == o.download_concurrency &&
|
438
|
+
max_retries == o.max_retries &&
|
427
439
|
policy == o.policy &&
|
428
440
|
total_timeout == o.total_timeout &&
|
429
441
|
connect_timeout == o.connect_timeout &&
|
@@ -450,7 +462,7 @@ module PulpDebClient
|
|
450
462
|
# Calculates hash code according to all attributes.
|
451
463
|
# @return [Integer] Hash code
|
452
464
|
def hash
|
453
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
465
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
454
466
|
end
|
455
467
|
|
456
468
|
# Builds the object from hash
|
data/lib/pulp_deb_client.rb
CHANGED
@@ -88,7 +88,7 @@ require 'pulp_deb_client/api/publications_apt_api'
|
|
88
88
|
require 'pulp_deb_client/api/publications_verbatim_api'
|
89
89
|
require 'pulp_deb_client/api/remotes_apt_api'
|
90
90
|
require 'pulp_deb_client/api/repositories_apt_api'
|
91
|
-
require 'pulp_deb_client/api/
|
91
|
+
require 'pulp_deb_client/api/repositories_apt_versions_api'
|
92
92
|
|
93
93
|
module PulpDebClient
|
94
94
|
class << self
|
data/spec/api/{repositories_deb_versions_api_spec.rb → repositories_apt_versions_api_spec.rb}
RENAMED
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpDebClient::
|
16
|
+
# Unit tests for PulpDebClient::RepositoriesAptVersionsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'RepositoriesAptVersionsApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpDebClient::
|
22
|
+
@api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpDebClient::
|
29
|
+
describe 'test an instance of RepositoriesAptVersionsApi' do
|
30
|
+
it 'should create an instance of RepositoriesAptVersionsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::RepositoriesAptVersionsApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -98,6 +98,12 @@ describe 'DebAptRemoteResponse' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "max_retries"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
101
107
|
describe 'test attribute "policy"' do
|
102
108
|
it 'should work' do
|
103
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -110,6 +110,12 @@ describe 'DebAptRemote' do
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
+
describe 'test attribute "max_retries"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
113
119
|
describe 'test attribute "policy"' do
|
114
120
|
it 'should work' do
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -110,6 +110,12 @@ describe 'PatcheddebAptRemote' do
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
+
describe 'test attribute "max_retries"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
113
119
|
describe 'test attribute "policy"' do
|
114
120
|
it 'should work' do
|
115
121
|
# 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_deb_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -139,7 +139,7 @@ files:
|
|
139
139
|
- docs/PublicationsVerbatimApi.md
|
140
140
|
- docs/RemotesAptApi.md
|
141
141
|
- docs/RepositoriesAptApi.md
|
142
|
-
- docs/
|
142
|
+
- docs/RepositoriesAptVersionsApi.md
|
143
143
|
- docs/RepositoryAddRemoveContent.md
|
144
144
|
- docs/RepositorySyncURL.md
|
145
145
|
- docs/RepositoryVersion.md
|
@@ -161,7 +161,7 @@ files:
|
|
161
161
|
- lib/pulp_deb_client/api/publications_verbatim_api.rb
|
162
162
|
- lib/pulp_deb_client/api/remotes_apt_api.rb
|
163
163
|
- lib/pulp_deb_client/api/repositories_apt_api.rb
|
164
|
-
- lib/pulp_deb_client/api/
|
164
|
+
- lib/pulp_deb_client/api/repositories_apt_versions_api.rb
|
165
165
|
- lib/pulp_deb_client/api_client.rb
|
166
166
|
- lib/pulp_deb_client/api_error.rb
|
167
167
|
- lib/pulp_deb_client/configuration.rb
|
@@ -236,7 +236,7 @@ files:
|
|
236
236
|
- spec/api/publications_verbatim_api_spec.rb
|
237
237
|
- spec/api/remotes_apt_api_spec.rb
|
238
238
|
- spec/api/repositories_apt_api_spec.rb
|
239
|
-
- spec/api/
|
239
|
+
- spec/api/repositories_apt_versions_api_spec.rb
|
240
240
|
- spec/api_client_spec.rb
|
241
241
|
- spec/configuration_spec.rb
|
242
242
|
- spec/models/async_operation_response_spec.rb
|
@@ -318,76 +318,76 @@ signing_key:
|
|
318
318
|
specification_version: 4
|
319
319
|
summary: Pulp 3 API Ruby Gem
|
320
320
|
test_files:
|
321
|
+
- spec/api/content_release_components_api_spec.rb
|
322
|
+
- spec/api/content_installer_packages_api_spec.rb
|
321
323
|
- spec/api/content_releases_api_spec.rb
|
322
|
-
- spec/api/
|
323
|
-
- spec/api/
|
324
|
-
- spec/api/content_release_architectures_api_spec.rb
|
324
|
+
- spec/api/repositories_apt_versions_api_spec.rb
|
325
|
+
- spec/api/content_packages_api_spec.rb
|
325
326
|
- spec/api/remotes_apt_api_spec.rb
|
326
|
-
- spec/api/
|
327
|
+
- spec/api/publications_apt_api_spec.rb
|
328
|
+
- spec/api/content_package_release_components_api_spec.rb
|
327
329
|
- spec/api/content_installer_file_indices_api_spec.rb
|
330
|
+
- spec/api/content_release_architectures_api_spec.rb
|
328
331
|
- spec/api/distributions_apt_api_spec.rb
|
329
|
-
- spec/api/
|
330
|
-
- spec/api/content_package_release_components_api_spec.rb
|
331
|
-
- spec/api/repositories_deb_versions_api_spec.rb
|
332
|
-
- spec/api/content_generic_contents_api_spec.rb
|
333
|
-
- spec/api/publications_apt_api_spec.rb
|
334
|
-
- spec/api/content_packages_api_spec.rb
|
335
|
-
- spec/api/content_release_components_api_spec.rb
|
332
|
+
- spec/api/content_package_indices_api_spec.rb
|
336
333
|
- spec/api/publications_verbatim_api_spec.rb
|
334
|
+
- spec/api/content_release_files_api_spec.rb
|
335
|
+
- spec/api/content_generic_contents_api_spec.rb
|
336
|
+
- spec/api/repositories_apt_api_spec.rb
|
337
337
|
- spec/api_client_spec.rb
|
338
338
|
- spec/configuration_spec.rb
|
339
339
|
- spec/models/deb_base_package_spec.rb
|
340
|
-
- spec/models/
|
341
|
-
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
340
|
+
- spec/models/deb_apt_repository_response_spec.rb
|
342
341
|
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
343
|
-
- spec/models/
|
342
|
+
- spec/models/deb_verbatim_publication_response_spec.rb
|
344
343
|
- spec/models/deb_apt_remote_response_spec.rb
|
345
|
-
- spec/models/
|
346
|
-
- spec/models/
|
347
|
-
- spec/models/deb_installer_file_index_spec.rb
|
348
|
-
- spec/models/deb_package_release_component_response_spec.rb
|
349
|
-
- spec/models/paginateddeb_base_package_response_list_spec.rb
|
350
|
-
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
351
|
-
- spec/models/deb_apt_repository_spec.rb
|
344
|
+
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
345
|
+
- spec/models/paginateddeb_release_component_response_list_spec.rb
|
352
346
|
- spec/models/deb_generic_content_response_spec.rb
|
353
|
-
- spec/models/
|
347
|
+
- spec/models/deb_release_file_response_spec.rb
|
348
|
+
- spec/models/deb_package_release_component_response_spec.rb
|
349
|
+
- spec/models/async_operation_response_spec.rb
|
350
|
+
- spec/models/deb_release_response_spec.rb
|
351
|
+
- spec/models/deb_verbatim_publication_spec.rb
|
352
|
+
- spec/models/deb_release_spec.rb
|
353
|
+
- spec/models/deb_apt_publication_spec.rb
|
354
|
+
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
355
|
+
- spec/models/content_summary_spec.rb
|
356
|
+
- spec/models/deb_release_architecture_spec.rb
|
354
357
|
- spec/models/deb_release_component_spec.rb
|
358
|
+
- spec/models/content_summary_response_spec.rb
|
359
|
+
- spec/models/deb_apt_distribution_spec.rb
|
360
|
+
- spec/models/patcheddeb_apt_distribution_spec.rb
|
361
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
355
362
|
- spec/models/repository_version_spec.rb
|
363
|
+
- spec/models/deb_apt_distribution_response_spec.rb
|
364
|
+
- spec/models/patcheddeb_apt_repository_spec.rb
|
365
|
+
- spec/models/paginateddeb_installer_file_index_response_list_spec.rb
|
356
366
|
- spec/models/deb_release_component_response_spec.rb
|
357
|
-
- spec/models/
|
358
|
-
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
367
|
+
- spec/models/deb_release_file_spec.rb
|
359
368
|
- spec/models/policy_enum_spec.rb
|
369
|
+
- spec/models/deb_apt_repository_spec.rb
|
370
|
+
- spec/models/deb_apt_remote_spec.rb
|
371
|
+
- spec/models/paginateddeb_apt_publication_response_list_spec.rb
|
372
|
+
- spec/models/deb_release_architecture_response_spec.rb
|
373
|
+
- spec/models/deb_package_index_spec.rb
|
374
|
+
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
375
|
+
- spec/models/paginateddeb_base_package_response_list_spec.rb
|
360
376
|
- spec/models/repository_version_response_spec.rb
|
361
|
-
- spec/models/
|
362
|
-
- spec/models/
|
363
|
-
- spec/models/
|
364
|
-
- spec/models/deb_apt_distribution_response_spec.rb
|
377
|
+
- spec/models/patcheddeb_apt_remote_spec.rb
|
378
|
+
- spec/models/deb_package_release_component_spec.rb
|
379
|
+
- spec/models/deb_package_index_response_spec.rb
|
365
380
|
- spec/models/repository_sync_url_spec.rb
|
366
|
-
- spec/models/
|
381
|
+
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
382
|
+
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
367
383
|
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
368
|
-
- spec/models/
|
369
|
-
- spec/models/content_summary_response_spec.rb
|
370
|
-
- spec/models/deb_package_index_response_spec.rb
|
371
|
-
- spec/models/deb_package_release_component_spec.rb
|
384
|
+
- spec/models/repository_add_remove_content_spec.rb
|
372
385
|
- spec/models/deb_generic_content_spec.rb
|
373
|
-
- spec/models/
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/patcheddeb_apt_distribution_spec.rb
|
376
|
-
- spec/models/deb_apt_remote_spec.rb
|
377
|
-
- spec/models/deb_package_index_spec.rb
|
386
|
+
- spec/models/deb_installer_file_index_spec.rb
|
387
|
+
- spec/models/paginateddeb_release_response_list_spec.rb
|
378
388
|
- spec/models/deb_apt_publication_response_spec.rb
|
379
|
-
- spec/models/deb_release_file_response_spec.rb
|
380
|
-
- spec/models/deb_verbatim_publication_spec.rb
|
381
389
|
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
382
|
-
- spec/models/deb_apt_distribution_spec.rb
|
383
|
-
- spec/models/content_summary_spec.rb
|
384
|
-
- spec/models/deb_release_architecture_response_spec.rb
|
385
|
-
- spec/models/deb_base_package_response_spec.rb
|
386
390
|
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
387
|
-
- spec/models/
|
388
|
-
- spec/models/
|
389
|
-
- spec/models/repository_add_remove_content_spec.rb
|
390
|
-
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
391
|
-
- spec/models/paginateddeb_release_response_list_spec.rb
|
392
|
-
- spec/models/deb_release_architecture_spec.rb
|
391
|
+
- spec/models/deb_base_package_response_spec.rb
|
392
|
+
- spec/models/deb_installer_file_index_response_spec.rb
|
393
393
|
- spec/spec_helper.rb
|