pulpcore_client 3.7.5 → 3.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/docs/PulpExportResponse.md +1 -1
- data/docs/WorkerResponse.md +3 -3
- data/lib/pulpcore_client/api/access_policies_api.rb +1 -1
- data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +1 -1
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +1 -1
- data/lib/pulpcore_client/api/groups_users_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +1 -1
- data/lib/pulpcore_client/api/importers_pulp_api.rb +1 -1
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/signing_services_api.rb +1 -1
- data/lib/pulpcore_client/api/status_api.rb +1 -1
- data/lib/pulpcore_client/api/task_groups_api.rb +1 -1
- data/lib/pulpcore_client/api/tasks_api.rb +1 -1
- data/lib/pulpcore_client/api/uploads_api.rb +1 -1
- data/lib/pulpcore_client/api/users_api.rb +1 -1
- data/lib/pulpcore_client/api/workers_api.rb +1 -1
- data/lib/pulpcore_client/api_client.rb +12 -8
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +8 -1
- data/lib/pulpcore_client/models/access_policy.rb +1 -1
- data/lib/pulpcore_client/models/access_policy_response.rb +1 -1
- data/lib/pulpcore_client/models/artifact.rb +1 -1
- data/lib/pulpcore_client/models/artifact_response.rb +1 -1
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status_response.rb +1 -1
- data/lib/pulpcore_client/models/database_connection_response.rb +1 -1
- data/lib/pulpcore_client/models/group.rb +1 -1
- data/lib/pulpcore_client/models/group_progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/group_response.rb +1 -1
- data/lib/pulpcore_client/models/group_user.rb +1 -1
- data/lib/pulpcore_client/models/group_user_response.rb +1 -1
- data/lib/pulpcore_client/models/import_response.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20010.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20011.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20012.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20013.rb +1 -1
- data/lib/pulpcore_client/models/inline_response20014.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
- data/lib/pulpcore_client/models/patched_access_policy.rb +1 -1
- data/lib/pulpcore_client/models/patched_group.rb +1 -1
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +1 -1
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +1 -1
- data/lib/pulpcore_client/models/patched_task_cancel.rb +1 -1
- data/lib/pulpcore_client/models/permission_response.rb +1 -1
- data/lib/pulpcore_client/models/progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export_response.rb +2 -2
- data/lib/pulpcore_client/models/pulp_exporter.rb +1 -1
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +1 -1
- data/lib/pulpcore_client/models/pulp_import.rb +1 -1
- data/lib/pulpcore_client/models/pulp_importer.rb +1 -1
- data/lib/pulpcore_client/models/pulp_importer_response.rb +1 -1
- data/lib/pulpcore_client/models/redis_connection_response.rb +1 -1
- data/lib/pulpcore_client/models/signing_service_response.rb +1 -1
- data/lib/pulpcore_client/models/status_response.rb +1 -1
- data/lib/pulpcore_client/models/storage_response.rb +1 -1
- data/lib/pulpcore_client/models/task_group_response.rb +1 -1
- data/lib/pulpcore_client/models/task_response.rb +1 -1
- data/lib/pulpcore_client/models/upload.rb +1 -1
- data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
- data/lib/pulpcore_client/models/upload_chunk_response.rb +1 -1
- data/lib/pulpcore_client/models/upload_commit.rb +1 -1
- data/lib/pulpcore_client/models/upload_detail_response.rb +1 -1
- data/lib/pulpcore_client/models/upload_response.rb +1 -1
- data/lib/pulpcore_client/models/user_group_response.rb +1 -1
- data/lib/pulpcore_client/models/user_response.rb +1 -1
- data/lib/pulpcore_client/models/version_response.rb +1 -1
- data/lib/pulpcore_client/models/worker_response.rb +11 -11
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +1 -1
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/exporters_core_exports_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/groups_api_spec.rb +1 -1
- data/spec/api/groups_model_permissions_api_spec.rb +1 -1
- data/spec/api/groups_object_permissions_api_spec.rb +1 -1
- data/spec/api/groups_users_api_spec.rb +1 -1
- data/spec/api/importers_core_imports_api_spec.rb +1 -1
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/signing_services_api_spec.rb +1 -1
- data/spec/api/status_api_spec.rb +1 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_policy_response_spec.rb +1 -1
- data/spec/models/access_policy_spec.rb +1 -1
- data/spec/models/artifact_response_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_response_spec.rb +1 -1
- data/spec/models/database_connection_response_spec.rb +1 -1
- data/spec/models/group_progress_report_response_spec.rb +1 -1
- data/spec/models/group_response_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/group_user_response_spec.rb +1 -1
- data/spec/models/group_user_spec.rb +1 -1
- data/spec/models/import_response_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20012_spec.rb +1 -1
- data/spec/models/inline_response20013_spec.rb +1 -1
- data/spec/models/inline_response20014_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/patched_access_policy_spec.rb +1 -1
- data/spec/models/patched_group_spec.rb +1 -1
- data/spec/models/patched_pulp_exporter_spec.rb +1 -1
- data/spec/models/patched_pulp_importer_spec.rb +1 -1
- data/spec/models/patched_task_cancel_spec.rb +1 -1
- data/spec/models/permission_response_spec.rb +1 -1
- data/spec/models/progress_report_response_spec.rb +1 -1
- data/spec/models/pulp_export_response_spec.rb +1 -1
- data/spec/models/pulp_export_spec.rb +1 -1
- data/spec/models/pulp_exporter_response_spec.rb +1 -1
- data/spec/models/pulp_exporter_spec.rb +1 -1
- data/spec/models/pulp_import_spec.rb +1 -1
- data/spec/models/pulp_importer_response_spec.rb +1 -1
- data/spec/models/pulp_importer_spec.rb +1 -1
- data/spec/models/redis_connection_response_spec.rb +1 -1
- data/spec/models/signing_service_response_spec.rb +1 -1
- data/spec/models/status_response_spec.rb +1 -1
- data/spec/models/storage_response_spec.rb +1 -1
- data/spec/models/task_group_response_spec.rb +1 -1
- data/spec/models/task_response_spec.rb +1 -1
- data/spec/models/upload_chunk_response_spec.rb +1 -1
- data/spec/models/upload_chunk_spec.rb +1 -1
- data/spec/models/upload_commit_spec.rb +1 -1
- data/spec/models/upload_detail_response_spec.rb +1 -1
- data/spec/models/upload_response_spec.rb +1 -1
- data/spec/models/upload_spec.rb +1 -1
- data/spec/models/user_group_response_spec.rb +1 -1
- data/spec/models/user_response_spec.rb +1 -1
- data/spec/models/version_response_spec.rb +1 -1
- data/spec/models/worker_response_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- metadata +59 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce42ef6dcb498531be15945d9d83810426484f309ab223622298a1e008fe43ce
|
4
|
+
data.tar.gz: '081095ec63656b94968be7430c13bd42c711e5fc0c8258ad7106a5cf0ee0fb46'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a42ddd22afbe699b1ba2504a243620b5bc9512f1dc6d1f4e91da0b18e11315515814bac9ddc884b4c4cfe1db9a350521ebfe9ac5871435a7149ce5f92d628b2
|
7
|
+
data.tar.gz: f29da0d1ce965d2a10b60b43c239845f61daa2a0742c575718a34cabbd21da105f88edfcafdfd1fbab7dc3087685f75a91a7d2c6b7ef141e667a3e468faa05b1
|
data/Gemfile
CHANGED
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.7.
|
10
|
+
- Package version: 3.7.9
|
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 pulpcore_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulpcore_client-3.7.
|
27
|
+
gem install ./pulpcore_client-3.7.9.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.7.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.7.9.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 'pulpcore_client', '~> 3.7.
|
36
|
+
gem 'pulpcore_client', '~> 3.7.9'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/PulpExportResponse.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**task** | **String** | A URI of the task that ran the Export. | [optional]
|
10
|
-
**exported_resources** | **Array<
|
10
|
+
**exported_resources** | [**Array<AnyType>**](AnyType.md) | Resources that were exported. | [optional] [readonly]
|
11
11
|
**params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
|
12
12
|
**output_file_info** | [**Object**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
|
13
13
|
**toc_info** | [**Object**](.md) | Filename and sha256-checksum of table-of-contents for this export | [optional] [readonly]
|
data/docs/WorkerResponse.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**name** | **String** | The name of the worker. | [optional] [readonly]
|
10
10
|
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
|
11
11
|
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpcoreClient'
|
16
16
|
|
17
|
-
instance = PulpcoreClient::WorkerResponse.new(
|
18
|
-
|
17
|
+
instance = PulpcoreClient::WorkerResponse.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
19
|
name: null,
|
20
20
|
last_heartbeat: null)
|
21
21
|
```
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,8 +53,10 @@ module PulpcoreClient
|
|
53
53
|
:client_cert => @config.ssl_client_cert,
|
54
54
|
:client_key => @config.ssl_client_key
|
55
55
|
}
|
56
|
-
|
57
|
-
|
56
|
+
request_options = {
|
57
|
+
:params_encoder => @config.params_encoder
|
58
|
+
}
|
59
|
+
connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
|
58
60
|
conn.basic_auth(config.username, config.password)
|
59
61
|
if opts[:header_params]["Content-Type"] == "multipart/form-data"
|
60
62
|
conn.request :multipart
|
@@ -285,11 +287,13 @@ module PulpcoreClient
|
|
285
287
|
tempfile.write(chunk)
|
286
288
|
end
|
287
289
|
request.on_complete do |response|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
290
|
+
if tempfile
|
291
|
+
tempfile.close
|
292
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
293
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
294
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
295
|
+
"explicitly with `tempfile.delete`"
|
296
|
+
end
|
293
297
|
end
|
294
298
|
end
|
295
299
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -109,6 +109,12 @@ module PulpcoreClient
|
|
109
109
|
# Client private key file (for client certificate)
|
110
110
|
attr_accessor :ssl_client_key
|
111
111
|
|
112
|
+
# Set this to customize parameters encoder of array parameter.
|
113
|
+
# Default to nil. Faraday uses NestedParamsEncoder when nil.
|
114
|
+
#
|
115
|
+
# @see The params_encoder option of Faraday. Related source code:
|
116
|
+
# https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
|
117
|
+
attr_accessor :params_encoder
|
112
118
|
# Set this to customize parameters encoding of array parameter with multi collectionFormat.
|
113
119
|
# Default to nil.
|
114
120
|
#
|
@@ -133,6 +139,7 @@ module PulpcoreClient
|
|
133
139
|
@ssl_ca_file = nil
|
134
140
|
@ssl_client_cert = nil
|
135
141
|
@ssl_client_key = nil
|
142
|
+
@params_encoder = nil
|
136
143
|
@debugging = false
|
137
144
|
@inject_format = false
|
138
145
|
@force_ending_format = false
|