pulp_rpm_client 3.2.0 → 3.3.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ContentModulemdDefaultsApi.md +2 -0
- data/docs/ContentModulemdsApi.md +2 -0
- data/docs/ContentPackagesApi.md +2 -0
- data/docs/Copy.md +19 -0
- data/docs/RpmCopyApi.md +62 -0
- data/docs/RpmModulemd.md +3 -1
- data/docs/RpmModulemdDefaults.md +3 -1
- data/docs/RpmPackage.md +2 -0
- data/docs/RpmRepoMetadataFile.md +3 -1
- data/docs/RpmRpmRepository.md +3 -1
- data/lib/pulp_rpm_client.rb +3 -1
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +4 -1
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +4 -1
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -1
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +1 -1
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +1 -1
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +86 -0
- data/lib/pulp_rpm_client/api_client.rb +1 -1
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +1 -1
- data/lib/pulp_rpm_client/models/addon.rb +1 -1
- data/lib/pulp_rpm_client/models/artifact.rb +1 -1
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary.rb +1 -1
- data/lib/pulp_rpm_client/models/copy.rb +224 -0
- data/lib/pulp_rpm_client/models/image.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution_tree.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +30 -5
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +30 -5
- data/lib/pulp_rpm_client/models/rpm_package.rb +27 -2
- data/lib/pulp_rpm_client/models/rpm_package_category.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_group.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file.rb +30 -5
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +17 -6
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
- data/lib/pulp_rpm_client/models/variant.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +1 -1
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +2 -1
- data/spec/api/content_modulemds_api_spec.rb +2 -1
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
- data/spec/api/rpm_copy_api_spec.rb +47 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_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/checksum_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/copy_spec.rb +47 -0
- data/spec/models/image_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/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/rpm_distribution_tree_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_spec.rb +7 -1
- data/spec/models/rpm_modulemd_spec.rb +7 -1
- data/spec/models/rpm_package_category_spec.rb +1 -1
- data/spec/models/rpm_package_environment_spec.rb +1 -1
- data/spec/models/rpm_package_group_spec.rb +1 -1
- data/spec/models/rpm_package_langpacks_spec.rb +1 -1
- data/spec/models/rpm_package_spec.rb +7 -1
- data/spec/models/rpm_repo_metadata_file_spec.rb +7 -1
- data/spec/models/rpm_repository_sync_url_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_spec.rb +1 -1
- data/spec/models/rpm_rpm_remote_spec.rb +1 -1
- data/spec/models/rpm_rpm_repository_spec.rb +7 -1
- data/spec/models/rpm_update_collection_spec.rb +1 -1
- data/spec/models/rpm_update_record_spec.rb +1 -1
- data/spec/models/variant_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +12 -4
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpRpmClient::RpmCopyApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'RpmCopyApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpRpmClient::RpmCopyApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of RpmCopyApi' do
|
30
|
+
it 'should create an instance of RpmCopyApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::RpmCopyApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for copy_content
|
36
|
+
# Copy content
|
37
|
+
# Trigger an asynchronous task to copy RPM contentfrom one repository into another, creating a newrepository version.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [AsyncOperationResponse]
|
41
|
+
describe 'copy_content test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/models/addon_spec.rb
CHANGED
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpRpmClient::Copy
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Copy' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpRpmClient::Copy.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Copy' do
|
31
|
+
it 'should create an instance of Copy' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::Copy)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "config"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "dependency_solving"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
data/spec/models/image_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -68,4 +68,10 @@ describe 'RpmModulemdDefaults' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
describe 'test attribute "sha256"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
71
77
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -98,4 +98,10 @@ describe 'RpmModulemd' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "sha256"' 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
|
end
|