pulp_rpm_client 3.0.0b71572533171 → 3.0.0rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +63 -22
- data/docs/ContentAdvisoriesApi.md +15 -7
- data/docs/ContentDistributionTreesApi.md +2 -2
- data/docs/ContentModulemdDefaultsApi.md +6 -6
- data/docs/{ContentModulemdApi.md → ContentModulemdsApi.md} +14 -14
- data/docs/ContentPackagecategoriesApi.md +189 -0
- data/docs/ContentPackageenvironmentsApi.md +189 -0
- data/docs/ContentPackagegroupsApi.md +189 -0
- data/docs/ContentPackagelangpacksApi.md +189 -0
- data/docs/ContentPackagesApi.md +4 -4
- data/docs/ContentRepoMetadataFilesApi.md +4 -4
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsRpmApi.md +10 -10
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +23 -0
- data/docs/PublicationsRpmApi.md +6 -6
- data/docs/RemotesRpmApi.md +12 -68
- data/docs/RepositoriesRpmApi.md +465 -0
- data/docs/RepositoriesRpmVersionsApi.md +214 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +2 -2
- data/docs/RepositoryVersion.md +25 -0
- data/docs/{DistributionTree.md → RpmDistributionTree.md} +2 -2
- data/docs/{Modulemd.md → RpmModulemd.md} +2 -8
- data/docs/{ModulemdDefaults.md → RpmModulemdDefaults.md} +2 -8
- data/docs/{Package.md → RpmPackage.md} +2 -8
- data/docs/RpmPackageCategory.md +33 -0
- data/docs/RpmPackageEnvironment.md +37 -0
- data/docs/RpmPackageGroup.md +39 -0
- data/docs/RpmPackageLangpacks.md +19 -0
- data/docs/{RepoMetadataFile.md → RpmRepoMetadataFile.md} +2 -8
- data/docs/{RpmDistribution.md → RpmRpmDistribution.md} +2 -2
- data/docs/{RpmPublication.md → RpmRpmPublication.md} +2 -2
- data/docs/{RpmRemote.md → RpmRpmRemote.md} +10 -14
- data/docs/RpmRpmRepository.md +27 -0
- data/docs/RpmUpdateCollection.md +21 -0
- data/docs/{UpdateRecord.md → RpmUpdateRecord.md} +24 -20
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +28 -14
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +4 -4
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -8
- data/lib/pulp_rpm_client/api/{content_modulemd_api.rb → content_modulemds_api.rb} +30 -30
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +227 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +7 -7
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +7 -7
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +13 -13
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +9 -9
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +16 -86
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +568 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +268 -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 +12 -2
- data/lib/pulp_rpm_client/models/artifact.rb +18 -2
- data/lib/pulp_rpm_client/models/async_operation_response.rb +12 -2
- data/lib/pulp_rpm_client/models/checksum.rb +12 -2
- data/lib/pulp_rpm_client/models/content_summary.rb +246 -0
- data/lib/pulp_rpm_client/models/image.rb +12 -2
- data/lib/pulp_rpm_client/models/inline_response200.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response20010.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response20014.rb +247 -0
- data/lib/pulp_rpm_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2004.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2005.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2006.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2007.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2008.rb +15 -3
- data/lib/pulp_rpm_client/models/inline_response2009.rb +247 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +231 -0
- data/lib/pulp_rpm_client/models/repository_sync_url.rb +22 -12
- data/lib/pulp_rpm_client/models/repository_version.rb +244 -0
- data/lib/pulp_rpm_client/models/{distribution_tree.rb → rpm_distribution_tree.rb} +15 -5
- data/lib/pulp_rpm_client/models/{modulemd.rb → rpm_modulemd.rb} +16 -60
- data/lib/pulp_rpm_client/models/{modulemd_defaults.rb → rpm_modulemd_defaults.rb} +16 -60
- data/lib/pulp_rpm_client/models/{package.rb → rpm_package.rb} +16 -60
- data/lib/pulp_rpm_client/models/rpm_package_category.rb +405 -0
- data/lib/pulp_rpm_client/models/rpm_package_environment.rb +432 -0
- data/lib/pulp_rpm_client/models/rpm_package_group.rb +435 -0
- data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +246 -0
- data/lib/pulp_rpm_client/models/{repo_metadata_file.rb → rpm_repo_metadata_file.rb} +16 -60
- data/lib/pulp_rpm_client/models/{rpm_distribution.rb → rpm_rpm_distribution.rb} +17 -23
- data/lib/pulp_rpm_client/models/{rpm_publication.rb → rpm_rpm_publication.rb} +16 -5
- data/lib/pulp_rpm_client/models/{rpm_remote.rb → rpm_rpm_remote.rb} +69 -105
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +294 -0
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +240 -0
- data/lib/pulp_rpm_client/models/{update_record.rb → rpm_update_record.rb} +49 -239
- data/lib/pulp_rpm_client/models/variant.rb +12 -2
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +32 -12
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +6 -3
- data/spec/api/content_distribution_trees_api_spec.rb +2 -2
- data/spec/api/content_modulemd_defaults_api_spec.rb +3 -3
- data/spec/api/{content_modulemd_api_spec.rb → content_modulemds_api_spec.rb} +9 -9
- data/spec/api/content_packagecategories_api_spec.rb +79 -0
- data/spec/api/content_packageenvironments_api_spec.rb +79 -0
- data/spec/api/content_packagegroups_api_spec.rb +79 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +79 -0
- data/spec/api/content_packages_api_spec.rb +3 -3
- data/spec/api/content_repo_metadata_files_api_spec.rb +3 -3
- data/spec/api/distributions_rpm_api_spec.rb +3 -3
- data/spec/api/publications_rpm_api_spec.rb +3 -3
- data/spec/api/remotes_rpm_api_spec.rb +4 -17
- data/spec/api/repositories_rpm_api_spec.rb +141 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +91 -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 +53 -0
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- 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 +59 -0
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/models/{distribution_tree_spec.rb → rpm_distribution_tree_spec.rb} +7 -7
- data/spec/models/{modulemd_defaults_spec.rb → rpm_modulemd_defaults_spec.rb} +7 -25
- data/spec/models/{modulemd_spec.rb → rpm_modulemd_spec.rb} +7 -25
- data/spec/models/{repo_metadata_file_spec.rb → rpm_package_category_spec.rb} +16 -16
- data/spec/models/rpm_package_environment_spec.rb +101 -0
- data/spec/models/rpm_package_group_spec.rb +107 -0
- data/spec/models/rpm_package_langpacks_spec.rb +47 -0
- data/spec/models/{package_spec.rb → rpm_package_spec.rb} +7 -25
- data/spec/models/rpm_repo_metadata_file_spec.rb +71 -0
- data/spec/models/{rpm_distribution_spec.rb → rpm_rpm_distribution_spec.rb} +7 -7
- data/spec/models/{rpm_publication_spec.rb → rpm_rpm_publication_spec.rb} +7 -7
- data/spec/models/{rpm_remote_spec.rb → rpm_rpm_remote_spec.rb} +11 -23
- data/spec/models/rpm_rpm_repository_spec.rb +71 -0
- data/spec/models/rpm_update_collection_spec.rb +53 -0
- data/spec/models/{update_record_spec.rb → rpm_update_record_spec.rb} +19 -7
- data/spec/models/variant_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +126 -46
- data/docs/RpmCopyApi.md +0 -70
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +0 -96
- data/spec/api/rpm_copy_api_spec.rb +0 -50
@@ -6,29 +6,29 @@
|
|
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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpRpmClient::
|
16
|
+
# Unit tests for PulpRpmClient::ContentModulemdsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'ContentModulemdsApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpRpmClient::
|
22
|
+
@api_instance = PulpRpmClient::ContentModulemdsApi.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(PulpRpmClient::
|
29
|
+
describe 'test an instance of ContentModulemdsApi' do
|
30
|
+
it 'should create an instance of ContentModulemdsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::ContentModulemdsApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -76,11 +76,11 @@ describe 'ContentModulemdApi' do
|
|
76
76
|
# unit tests for read
|
77
77
|
# Inspect a modulemd
|
78
78
|
# ViewSet for Modulemd.
|
79
|
-
# @param modulemd_href URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/
|
79
|
+
# @param modulemd_href URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemds/1/
|
80
80
|
# @param [Hash] opts the optional parameters
|
81
81
|
# @option opts [String] :fields A list of fields to include in the response.
|
82
82
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
-
# @return [
|
83
|
+
# @return [RpmModulemd]
|
84
84
|
describe 'read test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,79 @@
|
|
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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpRpmClient::ContentPackagecategoriesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentPackagecategoriesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpRpmClient::ContentPackagecategoriesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentPackagecategoriesApi' do
|
30
|
+
it 'should create an instance of ContentPackagecategoriesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::ContentPackagecategoriesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for delete
|
36
|
+
# Delete a package category
|
37
|
+
# PackageCategory ViewSet.
|
38
|
+
# @param package_category_href URI of Package Category. e.g.: /pulp/api/v3/content/rpm/packagecategories/1/
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [nil]
|
41
|
+
describe 'delete 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
|
+
# unit tests for list
|
48
|
+
# List package categorys
|
49
|
+
# PackageCategory ViewSet.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
53
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
57
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
58
|
+
# @return [InlineResponse2004]
|
59
|
+
describe 'list test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# unit tests for read
|
66
|
+
# Inspect a package category
|
67
|
+
# PackageCategory ViewSet.
|
68
|
+
# @param package_category_href URI of Package Category. e.g.: /pulp/api/v3/content/rpm/packagecategories/1/
|
69
|
+
# @param [Hash] opts the optional parameters
|
70
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
71
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
72
|
+
# @return [RpmPackageCategory]
|
73
|
+
describe 'read test' do
|
74
|
+
it 'should work' do
|
75
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpRpmClient::ContentPackageenvironmentsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentPackageenvironmentsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpRpmClient::ContentPackageenvironmentsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentPackageenvironmentsApi' do
|
30
|
+
it 'should create an instance of ContentPackageenvironmentsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::ContentPackageenvironmentsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for delete
|
36
|
+
# Delete a package environment
|
37
|
+
# PackageEnvironment ViewSet.
|
38
|
+
# @param package_environment_href URI of Package Environment. e.g.: /pulp/api/v3/content/rpm/packageenvironments/1/
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [nil]
|
41
|
+
describe 'delete 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
|
+
# unit tests for list
|
48
|
+
# List package environments
|
49
|
+
# PackageEnvironment ViewSet.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
53
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
57
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
58
|
+
# @return [InlineResponse2005]
|
59
|
+
describe 'list test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# unit tests for read
|
66
|
+
# Inspect a package environment
|
67
|
+
# PackageEnvironment ViewSet.
|
68
|
+
# @param package_environment_href URI of Package Environment. e.g.: /pulp/api/v3/content/rpm/packageenvironments/1/
|
69
|
+
# @param [Hash] opts the optional parameters
|
70
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
71
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
72
|
+
# @return [RpmPackageEnvironment]
|
73
|
+
describe 'read test' do
|
74
|
+
it 'should work' do
|
75
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpRpmClient::ContentPackagegroupsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentPackagegroupsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpRpmClient::ContentPackagegroupsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentPackagegroupsApi' do
|
30
|
+
it 'should create an instance of ContentPackagegroupsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::ContentPackagegroupsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for delete
|
36
|
+
# Delete a package group
|
37
|
+
# PackageGroup ViewSet.
|
38
|
+
# @param package_group_href URI of Package Group. e.g.: /pulp/api/v3/content/rpm/packagegroups/1/
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [nil]
|
41
|
+
describe 'delete 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
|
+
# unit tests for list
|
48
|
+
# List package groups
|
49
|
+
# PackageGroup ViewSet.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
53
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
57
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
58
|
+
# @return [InlineResponse2006]
|
59
|
+
describe 'list test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# unit tests for read
|
66
|
+
# Inspect a package group
|
67
|
+
# PackageGroup ViewSet.
|
68
|
+
# @param package_group_href URI of Package Group. e.g.: /pulp/api/v3/content/rpm/packagegroups/1/
|
69
|
+
# @param [Hash] opts the optional parameters
|
70
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
71
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
72
|
+
# @return [RpmPackageGroup]
|
73
|
+
describe 'read test' do
|
74
|
+
it 'should work' do
|
75
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpRpmClient::ContentPackagelangpacksApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentPackagelangpacksApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentPackagelangpacksApi' do
|
30
|
+
it 'should create an instance of ContentPackagelangpacksApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::ContentPackagelangpacksApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for delete
|
36
|
+
# Delete a package langpacks
|
37
|
+
# PackageLangpacks ViewSet.
|
38
|
+
# @param package_langpacks_href URI of Package Langpacks. e.g.: /pulp/api/v3/content/rpm/packagelangpacks/1/
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [nil]
|
41
|
+
describe 'delete 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
|
+
# unit tests for list
|
48
|
+
# List package langpackss
|
49
|
+
# PackageLangpacks ViewSet.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
52
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
53
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
54
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
57
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
58
|
+
# @return [InlineResponse2007]
|
59
|
+
describe 'list test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# unit tests for read
|
66
|
+
# Inspect a package langpacks
|
67
|
+
# PackageLangpacks ViewSet.
|
68
|
+
# @param package_langpacks_href URI of Package Langpacks. e.g.: /pulp/api/v3/content/rpm/packagelangpacks/1/
|
69
|
+
# @param [Hash] opts the optional parameters
|
70
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
71
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
72
|
+
# @return [RpmPackageLangpacks]
|
73
|
+
describe 'read test' do
|
74
|
+
it 'should work' do
|
75
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -72,7 +72,7 @@ describe 'ContentPackagesApi' do
|
|
72
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
-
# @return [
|
75
|
+
# @return [InlineResponse2008]
|
76
76
|
describe 'list test' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,7 +86,7 @@ describe 'ContentPackagesApi' do
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @option opts [String] :fields A list of fields to include in the response.
|
88
88
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
89
|
-
# @return [
|
89
|
+
# @return [RpmPackage]
|
90
90
|
describe 'read test' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -55,7 +55,7 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
55
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
56
|
# @option opts [String] :fields A list of fields to include in the response.
|
57
57
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
58
|
-
# @return [
|
58
|
+
# @return [InlineResponse2009]
|
59
59
|
describe 'list test' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -69,7 +69,7 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
70
|
# @option opts [String] :fields A list of fields to include in the response.
|
71
71
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
72
|
-
# @return [
|
72
|
+
# @return [RpmRepoMetadataFile]
|
73
73
|
describe 'read test' do
|
74
74
|
it 'should work' do
|
75
75
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -70,7 +70,7 @@ describe 'DistributionsRpmApi' do
|
|
70
70
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
71
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
72
72
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
|
-
# @return [
|
73
|
+
# @return [InlineResponse20010]
|
74
74
|
describe 'list test' do
|
75
75
|
it 'should work' do
|
76
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -97,7 +97,7 @@ describe 'DistributionsRpmApi' do
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
98
98
|
# @option opts [String] :fields A list of fields to include in the response.
|
99
99
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
100
|
-
# @return [
|
100
|
+
# @return [RpmRpmDistribution]
|
101
101
|
describe 'read test' do
|
102
102
|
it 'should work' do
|
103
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -65,7 +65,7 @@ describe 'PublicationsRpmApi' do
|
|
65
65
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
66
66
|
# @option opts [String] :fields A list of fields to include in the response.
|
67
67
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
68
|
-
# @return [
|
68
|
+
# @return [InlineResponse20011]
|
69
69
|
describe 'list test' do
|
70
70
|
it 'should work' do
|
71
71
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -79,7 +79,7 @@ describe 'PublicationsRpmApi' do
|
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
80
|
# @option opts [String] :fields A list of fields to include in the response.
|
81
81
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
82
|
-
# @return [
|
82
|
+
# @return [RpmRpmPublication]
|
83
83
|
describe 'read test' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -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.2-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,7 +37,7 @@ describe 'RemotesRpmApi' do
|
|
37
37
|
# A ViewSet for RpmRemote.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [RpmRpmRemote]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -72,7 +72,7 @@ describe 'RemotesRpmApi' do
|
|
72
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
-
# @return [
|
75
|
+
# @return [InlineResponse20012]
|
76
76
|
describe 'list test' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -99,26 +99,13 @@ describe 'RemotesRpmApi' do
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @option opts [String] :fields A list of fields to include in the response.
|
101
101
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
102
|
-
# @return [
|
102
|
+
# @return [RpmRpmRemote]
|
103
103
|
describe 'read test' do
|
104
104
|
it 'should work' do
|
105
105
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
-
# unit tests for sync
|
110
|
-
# Sync from remote
|
111
|
-
# Trigger an asynchronous task to sync RPM content.
|
112
|
-
# @param rpm_remote_href URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
|
113
|
-
# @param data
|
114
|
-
# @param [Hash] opts the optional parameters
|
115
|
-
# @return [AsyncOperationResponse]
|
116
|
-
describe 'sync test' do
|
117
|
-
it 'should work' do
|
118
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
109
|
# unit tests for update
|
123
110
|
# Update a rpm remote
|
124
111
|
# Trigger an asynchronous update task
|
@@ -0,0 +1,141 @@
|
|
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.2-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpRpmClient::RepositoriesRpmApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'RepositoriesRpmApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of RepositoriesRpmApi' do
|
30
|
+
it 'should create an instance of RepositoriesRpmApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpRpmClient::RepositoriesRpmApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a rpm repository
|
37
|
+
# A ViewSet for RpmRepository.
|
38
|
+
# @param data
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [RpmRpmRepository]
|
41
|
+
describe 'create 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
|
+
# unit tests for delete
|
48
|
+
# Delete a rpm repository
|
49
|
+
# Trigger an asynchronous task to delete a repository.
|
50
|
+
# @param rpm_repository_href URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [AsyncOperationResponse]
|
53
|
+
describe 'delete test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for list
|
60
|
+
# List rpm repositorys
|
61
|
+
# A ViewSet for RpmRepository.
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :name
|
64
|
+
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
65
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
66
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
68
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @return [InlineResponse20013]
|
70
|
+
describe 'list test' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# unit tests for modify
|
77
|
+
# Trigger an asynchronous task to create a new repository version.
|
78
|
+
# @param rpm_repository_href URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
79
|
+
# @param data
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [AsyncOperationResponse]
|
82
|
+
describe 'modify test' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for partial_update
|
89
|
+
# Partially update a rpm repository
|
90
|
+
# A ViewSet for RpmRepository.
|
91
|
+
# @param rpm_repository_href URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
92
|
+
# @param data
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [RpmRpmRepository]
|
95
|
+
describe 'partial_update test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# unit tests for read
|
102
|
+
# Inspect a rpm repository
|
103
|
+
# A ViewSet for RpmRepository.
|
104
|
+
# @param rpm_repository_href URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
107
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
108
|
+
# @return [RpmRpmRepository]
|
109
|
+
describe 'read test' do
|
110
|
+
it 'should work' do
|
111
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
# unit tests for sync
|
116
|
+
# Sync from remote
|
117
|
+
# Trigger an asynchronous task to sync RPM content.
|
118
|
+
# @param rpm_repository_href URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
119
|
+
# @param data
|
120
|
+
# @param [Hash] opts the optional parameters
|
121
|
+
# @return [AsyncOperationResponse]
|
122
|
+
describe 'sync test' do
|
123
|
+
it 'should work' do
|
124
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# unit tests for update
|
129
|
+
# Update a rpm repository
|
130
|
+
# Trigger an asynchronous task to update a repository.
|
131
|
+
# @param rpm_repository_href URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
132
|
+
# @param data
|
133
|
+
# @param [Hash] opts the optional parameters
|
134
|
+
# @return [AsyncOperationResponse]
|
135
|
+
describe 'update test' do
|
136
|
+
it 'should work' do
|
137
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
end
|