pulp_rpm_client 3.18.20 → 3.19.0.dev1669778102
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 -10
- 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/PatchedrpmRpmDistribution.md +1 -1
- data/docs/PatchedrpmRpmRemote.md +2 -2
- data/docs/PatchedrpmRpmRepository.md +4 -4
- data/docs/PatchedrpmUlnRemote.md +2 -2
- data/docs/PublicationsRpmApi.md +230 -6
- data/docs/RemotesRpmApi.md +230 -6
- data/docs/RemotesUlnApi.md +230 -6
- data/docs/RepositoriesRpmApi.md +230 -22
- data/docs/RepositoriesRpmVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmDistribution.md +1 -1
- data/docs/RpmRpmDistributionResponse.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +2 -2
- data/docs/RpmRpmRemoteResponse.md +2 -2
- data/docs/RpmRpmRepository.md +4 -4
- data/docs/RpmRpmRepositoryResponse.md +4 -4
- data/docs/RpmUlnRemote.md +2 -2
- data/docs/RpmUlnRemoteResponse.md +2 -2
- 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 +271 -15
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +271 -9
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +271 -9
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +271 -33
- 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 +234 -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_distribution.rb +2 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +5 -7
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -4
- 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 +3 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +3 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +5 -7
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +5 -7
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +3 -5
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -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 -5
- 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 -11
- 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 +92 -76
@@ -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,12 +83,8 @@ 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
|
-
# @option opts [String] :repository Filter results where repository matches value
|
79
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
80
88
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
81
89
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
82
90
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -87,6 +95,32 @@ describe 'DistributionsRpmApi' do
|
|
87
95
|
end
|
88
96
|
end
|
89
97
|
|
98
|
+
# unit tests for list_roles
|
99
|
+
# List roles assigned to this object.
|
100
|
+
# @param rpm_rpm_distribution_href
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
103
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
104
|
+
# @return [ObjectRolesResponse]
|
105
|
+
describe 'list_roles test' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# unit tests for my_permissions
|
112
|
+
# List permissions available to the current user on this object.
|
113
|
+
# @param rpm_rpm_distribution_href
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
116
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
117
|
+
# @return [MyPermissionsResponse]
|
118
|
+
describe 'my_permissions test' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
90
124
|
# unit tests for partial_update
|
91
125
|
# Update a rpm distribution
|
92
126
|
# Trigger an asynchronous partial update task
|
@@ -114,6 +148,18 @@ describe 'DistributionsRpmApi' do
|
|
114
148
|
end
|
115
149
|
end
|
116
150
|
|
151
|
+
# unit tests for remove_role
|
152
|
+
# Remove a role for this object from users/groups.
|
153
|
+
# @param rpm_rpm_distribution_href
|
154
|
+
# @param nested_role
|
155
|
+
# @param [Hash] opts the optional parameters
|
156
|
+
# @return [NestedRoleResponse]
|
157
|
+
describe 'remove_role test' do
|
158
|
+
it 'should work' do
|
159
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
117
163
|
# unit tests for update
|
118
164
|
# Update a rpm distribution
|
119
165
|
# 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
|
@@ -32,6 +32,18 @@ describe 'RemotesUlnApi' 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_uln_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 an uln remote
|
37
49
|
# A ViewSet for UlnRemote.
|
@@ -67,9 +79,7 @@ describe 'RemotesUlnApi' 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 'RemotesUlnApi' 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_uln_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_uln_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 an uln remote
|
91
127
|
# Trigger an asynchronous partial update task
|
@@ -113,6 +149,18 @@ describe 'RemotesUlnApi' 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_uln_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 an uln remote
|
118
166
|
# Trigger an asynchronous update task
|
@@ -32,6 +32,18 @@ describe 'RepositoriesRpmApi' 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_repository_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 repository
|
37
49
|
# A ViewSet for RpmRepository.
|
@@ -67,19 +79,9 @@ describe 'RepositoriesRpmApi' 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 [String] :remote Foreign Key referenced by HREF
|
75
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
76
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
77
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
78
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
79
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
80
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
81
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
82
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
83
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
87
|
# @return [PaginatedrpmRpmRepositoryResponseList]
|
@@ -89,6 +91,19 @@ describe 'RepositoriesRpmApi' do
|
|
89
91
|
end
|
90
92
|
end
|
91
93
|
|
94
|
+
# unit tests for list_roles
|
95
|
+
# List roles assigned to this object.
|
96
|
+
# @param rpm_rpm_repository_href
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
|
+
# @return [ObjectRolesResponse]
|
101
|
+
describe 'list_roles test' 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
|
+
|
92
107
|
# unit tests for modify
|
93
108
|
# Modify Repository Content
|
94
109
|
# Trigger an asynchronous task to create a new repository version.
|
@@ -102,6 +117,19 @@ describe 'RepositoriesRpmApi' do
|
|
102
117
|
end
|
103
118
|
end
|
104
119
|
|
120
|
+
# unit tests for my_permissions
|
121
|
+
# List permissions available to the current user on this object.
|
122
|
+
# @param rpm_rpm_repository_href
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
126
|
+
# @return [MyPermissionsResponse]
|
127
|
+
describe 'my_permissions test' do
|
128
|
+
it 'should work' do
|
129
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
105
133
|
# unit tests for partial_update
|
106
134
|
# Update a rpm repository
|
107
135
|
# Trigger an asynchronous partial update task
|
@@ -129,6 +157,18 @@ describe 'RepositoriesRpmApi' do
|
|
129
157
|
end
|
130
158
|
end
|
131
159
|
|
160
|
+
# unit tests for remove_role
|
161
|
+
# Remove a role for this object from users/groups.
|
162
|
+
# @param rpm_rpm_repository_href
|
163
|
+
# @param nested_role
|
164
|
+
# @param [Hash] opts the optional parameters
|
165
|
+
# @return [NestedRoleResponse]
|
166
|
+
describe 'remove_role test' do
|
167
|
+
it 'should work' do
|
168
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
132
172
|
# unit tests for sync
|
133
173
|
# Sync from remote
|
134
174
|
# Trigger an asynchronous task to sync RPM content.
|
@@ -59,14 +59,13 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
63
63
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
71
70
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
72
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -0,0 +1,41 @@
|
|
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::MyPermissionsResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MyPermissionsResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpRpmClient::MyPermissionsResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MyPermissionsResponse' do
|
31
|
+
it 'should create an instance of MyPermissionsResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::MyPermissionsResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "permissions"' 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
|
+
end
|
@@ -0,0 +1,53 @@
|
|
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::NestedRoleResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'NestedRoleResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpRpmClient::NestedRoleResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of NestedRoleResponse' do
|
31
|
+
it 'should create an instance of NestedRoleResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::NestedRoleResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "users"' 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 "groups"' 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
|
+
describe 'test attribute "role"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|