pulp_rpm_client 3.18.20 → 3.19.0.dev1675221420
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_rpm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +36 -8
- data/docs/AcsRpmApi.md +230 -6
- data/docs/ContentAdvisoriesApi.md +2 -6
- data/docs/ContentDistributionTreesApi.md +2 -6
- data/docs/ContentModulemdDefaultsApi.md +2 -6
- data/docs/ContentModulemdObsoletesApi.md +2 -6
- data/docs/ContentModulemdsApi.md +2 -6
- data/docs/ContentPackagecategoriesApi.md +2 -6
- data/docs/ContentPackageenvironmentsApi.md +2 -6
- data/docs/ContentPackagegroupsApi.md +2 -6
- data/docs/ContentPackagelangpacksApi.md +2 -6
- data/docs/ContentPackagesApi.md +4 -8
- data/docs/ContentRepoMetadataFilesApi.md +2 -6
- data/docs/DistributionsRpmApi.md +230 -6
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PatchedrpmRpmRemote.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +3 -3
- data/docs/PatchedrpmUlnRemote.md +1 -1
- data/docs/PublicationsRpmApi.md +230 -6
- data/docs/RemotesRpmApi.md +230 -6
- data/docs/RemotesUlnApi.md +230 -6
- data/docs/RepositoriesRpmApi.md +230 -6
- data/docs/RepositoriesRpmVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmModulemdObsolete.md +2 -2
- data/docs/RpmModulemdObsoleteResponse.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +1 -1
- data/docs/RpmRpmRepository.md +3 -3
- data/docs/RpmRpmRepositoryResponse.md +3 -3
- data/docs/RpmUlnRemote.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +1 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_rpm_client/models/nested_role.rb +253 -0
- data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +36 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +4 -0
- data/spec/api/acs_rpm_api_spec.rb +51 -3
- data/spec/api/content_advisories_api_spec.rb +1 -3
- data/spec/api/content_distribution_trees_api_spec.rb +1 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
- data/spec/api/content_modulemds_api_spec.rb +1 -3
- data/spec/api/content_packagecategories_api_spec.rb +1 -3
- data/spec/api/content_packageenvironments_api_spec.rb +1 -3
- data/spec/api/content_packagegroups_api_spec.rb +1 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
- data/spec/api/content_packages_api_spec.rb +2 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
- data/spec/api/distributions_rpm_api_spec.rb +51 -3
- data/spec/api/publications_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_uln_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- metadata +94 -78
@@ -23,7 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -38,10 +38,10 @@ module PulpRpmClient
|
|
38
38
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
39
39
|
attr_accessor :retain_package_versions
|
40
40
|
|
41
|
-
# The checksum type for metadata.
|
41
|
+
# The checksum type for metadata.
|
42
42
|
attr_accessor :metadata_checksum_type
|
43
43
|
|
44
|
-
# The checksum type for packages.
|
44
|
+
# The checksum type for packages.
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
47
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -32,7 +32,7 @@ module PulpRpmClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|
@@ -47,10 +47,10 @@ module PulpRpmClient
|
|
47
47
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
48
48
|
attr_accessor :retain_package_versions
|
49
49
|
|
50
|
-
# The checksum type for metadata.
|
50
|
+
# The checksum type for metadata.
|
51
51
|
attr_accessor :metadata_checksum_type
|
52
52
|
|
53
|
-
# The checksum type for packages.
|
53
|
+
# The checksum type for packages.
|
54
54
|
attr_accessor :package_checksum_type
|
55
55
|
|
56
56
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -56,7 +56,7 @@ module PulpRpmClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
59
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
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.
|
@@ -49,7 +49,7 @@ module PulpRpmClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
52
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
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.
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -26,6 +26,10 @@ require 'pulp_rpm_client/models/content_summary_response'
|
|
26
26
|
require 'pulp_rpm_client/models/copy'
|
27
27
|
require 'pulp_rpm_client/models/image_response'
|
28
28
|
require 'pulp_rpm_client/models/metadata_checksum_type_enum'
|
29
|
+
require 'pulp_rpm_client/models/my_permissions_response'
|
30
|
+
require 'pulp_rpm_client/models/nested_role'
|
31
|
+
require 'pulp_rpm_client/models/nested_role_response'
|
32
|
+
require 'pulp_rpm_client/models/object_roles_response'
|
29
33
|
require 'pulp_rpm_client/models/package_checksum_type_enum'
|
30
34
|
require 'pulp_rpm_client/models/paginated_repository_version_response_list'
|
31
35
|
require 'pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list'
|
@@ -32,6 +32,18 @@ describe 'AcsRpmApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param rpm_rpm_alternate_content_source_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role 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
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a rpm alternate content source
|
37
49
|
# ViewSet for ACS.
|
@@ -67,9 +79,7 @@ describe 'AcsRpmApi' do
|
|
67
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [Array<String>] :ordering Ordering
|
71
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
72
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
73
83
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
84
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
85
|
# @return [PaginatedrpmRpmAlternateContentSourceResponseList]
|
@@ -79,6 +89,32 @@ describe 'AcsRpmApi' do
|
|
79
89
|
end
|
80
90
|
end
|
81
91
|
|
92
|
+
# unit tests for list_roles
|
93
|
+
# List roles assigned to this object.
|
94
|
+
# @param rpm_rpm_alternate_content_source_href
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
97
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
98
|
+
# @return [ObjectRolesResponse]
|
99
|
+
describe 'list_roles test' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# unit tests for my_permissions
|
106
|
+
# List permissions available to the current user on this object.
|
107
|
+
# @param rpm_rpm_alternate_content_source_href
|
108
|
+
# @param [Hash] opts the optional parameters
|
109
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
110
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
111
|
+
# @return [MyPermissionsResponse]
|
112
|
+
describe 'my_permissions test' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
82
118
|
# unit tests for partial_update
|
83
119
|
# Update a rpm alternate content source
|
84
120
|
# Trigger an asynchronous partial update task
|
@@ -117,6 +153,18 @@ describe 'AcsRpmApi' do
|
|
117
153
|
end
|
118
154
|
end
|
119
155
|
|
156
|
+
# unit tests for remove_role
|
157
|
+
# Remove a role for this object from users/groups.
|
158
|
+
# @param rpm_rpm_alternate_content_source_href
|
159
|
+
# @param nested_role
|
160
|
+
# @param [Hash] opts the optional parameters
|
161
|
+
# @return [NestedRoleResponse]
|
162
|
+
describe 'remove_role test' do
|
163
|
+
it 'should work' do
|
164
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
120
168
|
# unit tests for update
|
121
169
|
# Update a rpm alternate content source
|
122
170
|
# Trigger an asynchronous update task
|
@@ -53,9 +53,7 @@ describe 'ContentAdvisoriesApi' do
|
|
53
53
|
# @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
-
# @option opts [Array<String>] :ordering Ordering
|
57
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
|
+
# @option opts [Array<String>] :ordering Ordering
|
59
57
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
58
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
59
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentDistributionTreesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -52,9 +52,7 @@ describe 'ContentModulemdDefaultsApi' do
|
|
52
52
|
# @option opts [String] :_module Filter results where module matches value
|
53
53
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering
|
56
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
55
|
+
# @option opts [Array<String>] :ordering Ordering
|
58
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -50,9 +50,7 @@ describe 'ContentModulemdObsoletesApi' do
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
|
-
# @option opts [Array<String>] :ordering Ordering
|
54
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
53
|
+
# @option opts [Array<String>] :ordering Ordering
|
56
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
55
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
56
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -52,9 +52,7 @@ describe 'ContentModulemdsApi' do
|
|
52
52
|
# @option opts [String] :name Filter results where name matches value
|
53
53
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering
|
56
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
55
|
+
# @option opts [Array<String>] :ordering Ordering
|
58
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackagecategoriesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackageenvironmentsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackagegroupsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackagelangpacksApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -55,7 +55,7 @@ describe 'ContentPackagesApi' do
|
|
55
55
|
# @option opts [String] :arch Filter results where arch matches value
|
56
56
|
# @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
|
57
57
|
# @option opts [String] :arch__ne Filter results where arch not equal to value
|
58
|
-
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
58
|
+
# @option opts [String] :checksum_type Filter results where checksum_type matches value
|
59
59
|
# @option opts [Array<String>] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
|
60
60
|
# @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
|
61
61
|
# @option opts [String] :epoch Filter results where epoch matches value
|
@@ -66,11 +66,9 @@ describe 'ContentPackagesApi' do
|
|
66
66
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
67
67
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
68
68
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
69
|
-
# @option opts [Array<String>] :ordering Ordering
|
69
|
+
# @option opts [Array<String>] :ordering Ordering
|
70
70
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
71
71
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
72
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
73
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
74
72
|
# @option opts [String] :release Filter results where release matches value
|
75
73
|
# @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
|
76
74
|
# @option opts [String] :release__ne Filter results where release not equal to value
|
@@ -38,9 +38,7 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -32,6 +32,18 @@ describe 'DistributionsRpmApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param rpm_rpm_distribution_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role 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
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a rpm distribution
|
37
49
|
# Trigger an asynchronous create task
|
@@ -71,9 +83,7 @@ describe 'DistributionsRpmApi' do
|
|
71
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
72
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
85
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
|
-
# @option opts [Array<String>] :ordering Ordering
|
75
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
76
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
86
|
+
# @option opts [Array<String>] :ordering Ordering
|
77
87
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
78
88
|
# @option opts [String] :repository Filter results where repository matches value
|
79
89
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
@@ -87,6 +97,32 @@ describe 'DistributionsRpmApi' do
|
|
87
97
|
end
|
88
98
|
end
|
89
99
|
|
100
|
+
# unit tests for list_roles
|
101
|
+
# List roles assigned to this object.
|
102
|
+
# @param rpm_rpm_distribution_href
|
103
|
+
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
105
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
106
|
+
# @return [ObjectRolesResponse]
|
107
|
+
describe 'list_roles test' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# unit tests for my_permissions
|
114
|
+
# List permissions available to the current user on this object.
|
115
|
+
# @param rpm_rpm_distribution_href
|
116
|
+
# @param [Hash] opts the optional parameters
|
117
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
118
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
119
|
+
# @return [MyPermissionsResponse]
|
120
|
+
describe 'my_permissions test' do
|
121
|
+
it 'should work' do
|
122
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
90
126
|
# unit tests for partial_update
|
91
127
|
# Update a rpm distribution
|
92
128
|
# Trigger an asynchronous partial update task
|
@@ -114,6 +150,18 @@ describe 'DistributionsRpmApi' do
|
|
114
150
|
end
|
115
151
|
end
|
116
152
|
|
153
|
+
# unit tests for remove_role
|
154
|
+
# Remove a role for this object from users/groups.
|
155
|
+
# @param rpm_rpm_distribution_href
|
156
|
+
# @param nested_role
|
157
|
+
# @param [Hash] opts the optional parameters
|
158
|
+
# @return [NestedRoleResponse]
|
159
|
+
describe 'remove_role test' do
|
160
|
+
it 'should work' do
|
161
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
117
165
|
# unit tests for update
|
118
166
|
# Update a rpm distribution
|
119
167
|
# Trigger an asynchronous update task
|
@@ -32,6 +32,18 @@ describe 'PublicationsRpmApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param rpm_rpm_publication_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role 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
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a rpm publication
|
37
49
|
# Trigger an asynchronous task to create a new RPM content publication.
|
@@ -64,15 +76,13 @@ describe 'PublicationsRpmApi' do
|
|
64
76
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
65
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
66
78
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
|
-
# @option opts [Array<String>] :ordering Ordering
|
79
|
+
# @option opts [Array<String>] :ordering Ordering
|
68
80
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
69
81
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
70
82
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
71
83
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
72
84
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
73
85
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
75
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
76
86
|
# @option opts [String] :repository Repository referenced by HREF
|
77
87
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
78
88
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -84,6 +94,32 @@ describe 'PublicationsRpmApi' do
|
|
84
94
|
end
|
85
95
|
end
|
86
96
|
|
97
|
+
# unit tests for list_roles
|
98
|
+
# List roles assigned to this object.
|
99
|
+
# @param rpm_rpm_publication_href
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
102
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
103
|
+
# @return [ObjectRolesResponse]
|
104
|
+
describe 'list_roles test' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# unit tests for my_permissions
|
111
|
+
# List permissions available to the current user on this object.
|
112
|
+
# @param rpm_rpm_publication_href
|
113
|
+
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
115
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
116
|
+
# @return [MyPermissionsResponse]
|
117
|
+
describe 'my_permissions test' do
|
118
|
+
it 'should work' do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
87
123
|
# unit tests for read
|
88
124
|
# Inspect a rpm publication
|
89
125
|
# ViewSet for Rpm Publications.
|
@@ -98,4 +134,16 @@ describe 'PublicationsRpmApi' do
|
|
98
134
|
end
|
99
135
|
end
|
100
136
|
|
137
|
+
# unit tests for remove_role
|
138
|
+
# Remove a role for this object from users/groups.
|
139
|
+
# @param rpm_rpm_publication_href
|
140
|
+
# @param nested_role
|
141
|
+
# @param [Hash] opts the optional parameters
|
142
|
+
# @return [NestedRoleResponse]
|
143
|
+
describe 'remove_role test' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
101
149
|
end
|
@@ -32,6 +32,18 @@ describe 'RemotesRpmApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param rpm_rpm_remote_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role 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
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a rpm remote
|
37
49
|
# A ViewSet for RpmRemote.
|
@@ -67,9 +79,7 @@ describe 'RemotesRpmApi' do
|
|
67
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [Array<String>] :ordering Ordering
|
71
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
72
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
73
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
74
84
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
75
85
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -86,6 +96,32 @@ describe 'RemotesRpmApi' do
|
|
86
96
|
end
|
87
97
|
end
|
88
98
|
|
99
|
+
# unit tests for list_roles
|
100
|
+
# List roles assigned to this object.
|
101
|
+
# @param rpm_rpm_remote_href
|
102
|
+
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @return [ObjectRolesResponse]
|
106
|
+
describe 'list_roles test' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# unit tests for my_permissions
|
113
|
+
# List permissions available to the current user on this object.
|
114
|
+
# @param rpm_rpm_remote_href
|
115
|
+
# @param [Hash] opts the optional parameters
|
116
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
|
+
# @return [MyPermissionsResponse]
|
119
|
+
describe 'my_permissions test' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
89
125
|
# unit tests for partial_update
|
90
126
|
# Update a rpm remote
|
91
127
|
# Trigger an asynchronous partial update task
|
@@ -113,6 +149,18 @@ describe 'RemotesRpmApi' do
|
|
113
149
|
end
|
114
150
|
end
|
115
151
|
|
152
|
+
# unit tests for remove_role
|
153
|
+
# Remove a role for this object from users/groups.
|
154
|
+
# @param rpm_rpm_remote_href
|
155
|
+
# @param nested_role
|
156
|
+
# @param [Hash] opts the optional parameters
|
157
|
+
# @return [NestedRoleResponse]
|
158
|
+
describe 'remove_role test' do
|
159
|
+
it 'should work' do
|
160
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
116
164
|
# unit tests for update
|
117
165
|
# Update a rpm remote
|
118
166
|
# Trigger an asynchronous update task
|