pulp_rpm_client 3.13.3 → 3.15.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 +5 -6
- data/docs/ContentAdvisoriesApi.md +1 -1
- data/docs/ContentDistributionTreesApi.md +1 -1
- data/docs/ContentModulemdDefaultsApi.md +1 -1
- data/docs/ContentModulemdsApi.md +1 -1
- data/docs/ContentPackagecategoriesApi.md +1 -1
- data/docs/ContentPackageenvironmentsApi.md +1 -1
- data/docs/ContentPackagegroupsApi.md +1 -1
- data/docs/ContentPackagelangpacksApi.md +1 -1
- data/docs/ContentPackagesApi.md +1 -1
- data/docs/ContentRepoMetadataFilesApi.md +1 -1
- data/docs/DistributionsRpmApi.md +1 -1
- data/docs/PatchedrpmRpmRemote.md +7 -5
- data/docs/PatchedrpmRpmRepository.md +5 -5
- data/docs/PatchedrpmUlnRemote.md +7 -5
- data/docs/PublicationsRpmApi.md +1 -1
- data/docs/RemotesRpmApi.md +1 -1
- data/docs/RemotesUlnApi.md +1 -1
- data/docs/RepositoriesRpmApi.md +1 -1
- data/docs/RepositoriesRpmVersionsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmRpmRemote.md +7 -5
- data/docs/RpmRpmRemoteResponse.md +7 -5
- data/docs/RpmRpmRepository.md +5 -5
- data/docs/RpmRpmRepositoryResponse.md +5 -5
- data/docs/RpmUlnRemote.md +7 -5
- data/docs/RpmUlnRemoteResponse.md +7 -5
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +19 -18
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +19 -18
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +19 -18
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +18 -6
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +18 -6
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/patchedrpm_rpm_remote_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -1
- data/spec/models/patchedrpm_uln_remote_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +1 -1
- data/spec/models/rpm_rpm_repository_spec.rb +1 -1
- data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
- data/spec/models/rpm_uln_remote_spec.rb +6 -0
- metadata +65 -69
- data/docs/NullEnum.md +0 -16
- data/lib/pulp_rpm_client/models/null_enum.rb +0 -35
- data/spec/models/null_enum_spec.rb +0 -35
@@ -110,6 +110,12 @@ describe 'PatchedrpmUlnRemote' 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
|
@@ -98,6 +98,12 @@ describe 'RpmRpmRemoteResponse' 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 'RpmRpmRemote' 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
|
@@ -74,7 +74,7 @@ describe 'RpmRpmRepositoryResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "retain_repo_versions"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -50,7 +50,7 @@ describe 'RpmRpmRepository' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "retain_repo_versions"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -110,6 +110,12 @@ describe 'RpmUlnRemoteResponse' 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 'RpmUlnRemote' 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_rpm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.15.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-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -94,7 +94,6 @@ files:
|
|
94
94
|
- docs/DistributionsRpmApi.md
|
95
95
|
- docs/ImageResponse.md
|
96
96
|
- docs/MetadataChecksumTypeEnum.md
|
97
|
-
- docs/NullEnum.md
|
98
97
|
- docs/PackageChecksumTypeEnum.md
|
99
98
|
- docs/PaginatedRepositoryVersionResponseList.md
|
100
99
|
- docs/PaginatedrpmDistributionTreeResponseList.md
|
@@ -186,7 +185,6 @@ files:
|
|
186
185
|
- lib/pulp_rpm_client/models/copy.rb
|
187
186
|
- lib/pulp_rpm_client/models/image_response.rb
|
188
187
|
- lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb
|
189
|
-
- lib/pulp_rpm_client/models/null_enum.rb
|
190
188
|
- lib/pulp_rpm_client/models/package_checksum_type_enum.rb
|
191
189
|
- lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb
|
192
190
|
- lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb
|
@@ -271,7 +269,6 @@ files:
|
|
271
269
|
- spec/models/copy_spec.rb
|
272
270
|
- spec/models/image_response_spec.rb
|
273
271
|
- spec/models/metadata_checksum_type_enum_spec.rb
|
274
|
-
- spec/models/null_enum_spec.rb
|
275
272
|
- spec/models/package_checksum_type_enum_spec.rb
|
276
273
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
277
274
|
- spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
|
@@ -351,87 +348,86 @@ signing_key:
|
|
351
348
|
specification_version: 4
|
352
349
|
summary: Pulp 3 API Ruby Gem
|
353
350
|
test_files:
|
354
|
-
- spec/api/
|
355
|
-
- spec/api/content_packagegroups_api_spec.rb
|
356
|
-
- spec/api/repositories_rpm_api_spec.rb
|
357
|
-
- spec/api/content_packagelangpacks_api_spec.rb
|
358
|
-
- spec/api/content_advisories_api_spec.rb
|
351
|
+
- spec/api/content_distribution_trees_api_spec.rb
|
359
352
|
- spec/api/publications_rpm_api_spec.rb
|
360
|
-
- spec/api/content_packages_api_spec.rb
|
361
|
-
- spec/api/content_packagecategories_api_spec.rb
|
362
353
|
- spec/api/content_packageenvironments_api_spec.rb
|
363
|
-
- spec/api/remotes_uln_api_spec.rb
|
364
354
|
- spec/api/content_modulemd_defaults_api_spec.rb
|
365
|
-
- spec/api/
|
366
|
-
- spec/api/
|
367
|
-
- spec/api/content_repo_metadata_files_api_spec.rb
|
368
|
-
- spec/api/content_distribution_trees_api_spec.rb
|
355
|
+
- spec/api/content_packagelangpacks_api_spec.rb
|
356
|
+
- spec/api/remotes_uln_api_spec.rb
|
369
357
|
- spec/api/rpm_copy_api_spec.rb
|
370
358
|
- spec/api/content_modulemds_api_spec.rb
|
359
|
+
- spec/api/repositories_rpm_versions_api_spec.rb
|
360
|
+
- spec/api/content_advisories_api_spec.rb
|
361
|
+
- spec/api/content_packagegroups_api_spec.rb
|
362
|
+
- spec/api/repositories_rpm_api_spec.rb
|
363
|
+
- spec/api/content_packagecategories_api_spec.rb
|
364
|
+
- spec/api/content_packages_api_spec.rb
|
365
|
+
- spec/api/content_repo_metadata_files_api_spec.rb
|
366
|
+
- spec/api/distributions_rpm_api_spec.rb
|
367
|
+
- spec/api/remotes_rpm_api_spec.rb
|
371
368
|
- spec/api_client_spec.rb
|
372
369
|
- spec/configuration_spec.rb
|
373
|
-
- spec/models/
|
374
|
-
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
375
|
-
- spec/models/rpm_package_spec.rb
|
376
|
-
- spec/models/rpm_update_record_spec.rb
|
377
|
-
- spec/models/checksum_response_spec.rb
|
370
|
+
- spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb
|
378
371
|
- spec/models/rpm_repository_sync_url_spec.rb
|
379
|
-
- spec/models/
|
380
|
-
- spec/models/
|
381
|
-
- spec/models/
|
382
|
-
- spec/models/rpm_update_record_response_spec.rb
|
383
|
-
- spec/models/paginatedrpm_package_group_response_list_spec.rb
|
384
|
-
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
385
|
-
- spec/models/rpm_rpm_repository_response_spec.rb
|
386
|
-
- spec/models/content_summary_spec.rb
|
387
|
-
- spec/models/copy_spec.rb
|
388
|
-
- spec/models/rpm_modulemd_response_spec.rb
|
389
|
-
- spec/models/rpm_rpm_distribution_response_spec.rb
|
390
|
-
- spec/models/content_summary_response_spec.rb
|
391
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
392
|
-
- spec/models/rpm_rpm_publication_response_spec.rb
|
393
|
-
- spec/models/repository_version_spec.rb
|
394
|
-
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
395
|
-
- spec/models/policy_enum_spec.rb
|
372
|
+
- spec/models/rpm_modulemd_defaults_spec.rb
|
373
|
+
- spec/models/variant_response_spec.rb
|
374
|
+
- spec/models/rpm_package_response_spec.rb
|
396
375
|
- spec/models/rpm_rpm_remote_response_spec.rb
|
397
|
-
- spec/models/
|
376
|
+
- spec/models/copy_spec.rb
|
377
|
+
- spec/models/rpm_distribution_tree_response_spec.rb
|
378
|
+
- spec/models/rpm_package_group_response_spec.rb
|
398
379
|
- spec/models/paginatedrpm_package_response_list_spec.rb
|
399
|
-
- spec/models/
|
400
|
-
- spec/models/
|
401
|
-
- spec/models/
|
402
|
-
- spec/models/
|
403
|
-
- spec/models/
|
404
|
-
- spec/models/
|
405
|
-
- spec/models/paginatedrpm_update_record_response_list_spec.rb
|
406
|
-
- spec/models/patchedrpm_rpm_repository_spec.rb
|
380
|
+
- spec/models/rpm_rpm_publication_response_spec.rb
|
381
|
+
- spec/models/skip_types_enum_spec.rb
|
382
|
+
- spec/models/package_checksum_type_enum_spec.rb
|
383
|
+
- spec/models/rpm_rpm_repository_spec.rb
|
384
|
+
- spec/models/rpm_uln_remote_response_spec.rb
|
385
|
+
- spec/models/paginatedrpm_package_environment_response_list_spec.rb
|
407
386
|
- spec/models/paginatedrpm_uln_remote_response_list_spec.rb
|
408
387
|
- spec/models/metadata_checksum_type_enum_spec.rb
|
409
|
-
- spec/models/
|
410
|
-
- spec/models/
|
411
|
-
- spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
|
388
|
+
- spec/models/repository_version_spec.rb
|
389
|
+
- spec/models/image_response_spec.rb
|
412
390
|
- spec/models/rpm_uln_remote_spec.rb
|
413
|
-
- spec/models/
|
414
|
-
- spec/models/
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/
|
417
|
-
- spec/models/
|
418
|
-
- spec/models/
|
419
|
-
- spec/models/patchedrpm_uln_remote_spec.rb
|
420
|
-
- spec/models/rpm_package_category_response_spec.rb
|
421
|
-
- spec/models/paginatedrpm_package_category_response_list_spec.rb
|
422
|
-
- spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
|
391
|
+
- spec/models/policy_enum_spec.rb
|
392
|
+
- spec/models/repository_version_response_spec.rb
|
393
|
+
- spec/models/rpm_update_record_spec.rb
|
394
|
+
- spec/models/paginatedrpm_package_group_response_list_spec.rb
|
395
|
+
- spec/models/rpm_package_environment_response_spec.rb
|
396
|
+
- spec/models/addon_response_spec.rb
|
423
397
|
- spec/models/rpm_repo_metadata_file_response_spec.rb
|
424
398
|
- spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb
|
425
|
-
- spec/models/
|
399
|
+
- spec/models/rpm_package_langpacks_response_spec.rb
|
400
|
+
- spec/models/content_summary_response_spec.rb
|
401
|
+
- spec/models/async_operation_response_spec.rb
|
402
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
426
403
|
- spec/models/patchedrpm_rpm_remote_spec.rb
|
427
|
-
- spec/models/addon_response_spec.rb
|
428
|
-
- spec/models/rpm_rpm_distribution_spec.rb
|
429
|
-
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
430
|
-
- spec/models/skip_types_enum_spec.rb
|
431
404
|
- spec/models/patchedrpm_rpm_distribution_spec.rb
|
405
|
+
- spec/models/rpm_package_spec.rb
|
406
|
+
- spec/models/rpm_update_collection_spec.rb
|
407
|
+
- spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb
|
408
|
+
- spec/models/paginatedrpm_rpm_remote_response_list_spec.rb
|
409
|
+
- spec/models/paginatedrpm_distribution_tree_response_list_spec.rb
|
432
410
|
- spec/models/artifact_response_spec.rb
|
433
|
-
- spec/models/
|
434
|
-
- spec/models/
|
411
|
+
- spec/models/paginatedrpm_package_langpacks_response_list_spec.rb
|
412
|
+
- spec/models/patchedrpm_rpm_repository_spec.rb
|
413
|
+
- spec/models/patchedrpm_uln_remote_spec.rb
|
414
|
+
- spec/models/rpm_modulemd_defaults_response_spec.rb
|
415
|
+
- spec/models/paginatedrpm_modulemd_response_list_spec.rb
|
416
|
+
- spec/models/content_summary_spec.rb
|
417
|
+
- spec/models/rpm_package_category_response_spec.rb
|
418
|
+
- spec/models/rpm_rpm_repository_response_spec.rb
|
419
|
+
- spec/models/paginatedrpm_rpm_publication_response_list_spec.rb
|
420
|
+
- spec/models/paginatedrpm_rpm_repository_response_list_spec.rb
|
421
|
+
- spec/models/rpm_update_collection_response_spec.rb
|
422
|
+
- spec/models/rpm_modulemd_response_spec.rb
|
423
|
+
- spec/models/rpm_rpm_distribution_response_spec.rb
|
424
|
+
- spec/models/paginatedrpm_package_category_response_list_spec.rb
|
425
|
+
- spec/models/paginatedrpm_update_record_response_list_spec.rb
|
435
426
|
- spec/models/rpm_rpm_remote_spec.rb
|
436
|
-
- spec/models/
|
427
|
+
- spec/models/repository_add_remove_content_spec.rb
|
428
|
+
- spec/models/rpm_rpm_distribution_spec.rb
|
429
|
+
- spec/models/rpm_modulemd_spec.rb
|
430
|
+
- spec/models/checksum_response_spec.rb
|
431
|
+
- spec/models/rpm_update_record_response_spec.rb
|
432
|
+
- spec/models/rpm_rpm_publication_spec.rb
|
437
433
|
- spec/spec_helper.rb
|
data/docs/NullEnum.md
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# PulpRpmClient::NullEnum
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
|
8
|
-
## Code Sample
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
require 'PulpRpmClient'
|
12
|
-
|
13
|
-
instance = PulpRpmClient::NullEnum.new()
|
14
|
-
```
|
15
|
-
|
16
|
-
|
@@ -1,35 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
Contact: pulp-list@redhat.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
|
15
|
-
module PulpRpmClient
|
16
|
-
class NullEnum
|
17
|
-
NULL = "null".freeze
|
18
|
-
|
19
|
-
# Builds the enum from string
|
20
|
-
# @param [String] The enum value in the form of the string
|
21
|
-
# @return [String] The enum value
|
22
|
-
def self.build_from_hash(value)
|
23
|
-
new.build_from_hash(value)
|
24
|
-
end
|
25
|
-
|
26
|
-
# Builds the enum from string
|
27
|
-
# @param [String] The enum value in the form of the string
|
28
|
-
# @return [String] The enum value
|
29
|
-
def build_from_hash(value)
|
30
|
-
constantValues = NullEnum.constants.select { |c| NullEnum::const_get(c) == value }
|
31
|
-
raise "Invalid ENUM value #{value} for class #NullEnum" if constantValues.empty?
|
32
|
-
value
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
@@ -1,35 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
Contact: pulp-list@redhat.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for PulpRpmClient::NullEnum
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'NullEnum' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = PulpRpmClient::NullEnum.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of NullEnum' do
|
31
|
-
it 'should create an instance of NullEnum' do
|
32
|
-
expect(@instance).to be_instance_of(PulpRpmClient::NullEnum)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|