pulp_rpm_client 3.18.0.dev1662699317 → 3.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -36
- data/docs/AcsRpmApi.md +0 -228
- data/docs/DistributionsRpmApi.md +0 -228
- data/docs/PublicationsRpmApi.md +0 -228
- data/docs/RemotesRpmApi.md +0 -228
- data/docs/RemotesUlnApi.md +0 -228
- data/docs/RepositoriesRpmApi.md +0 -228
- data/docs/RpmModulemd.md +5 -1
- data/docs/RpmModulemdResponse.md +5 -1
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +1 -1
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +0 -268
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +49 -4
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +30 -4
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +0 -4
- data/spec/api/acs_rpm_api_spec.rb +0 -50
- data/spec/api/distributions_rpm_api_spec.rb +0 -50
- data/spec/api/publications_rpm_api_spec.rb +0 -50
- data/spec/api/remotes_rpm_api_spec.rb +0 -50
- data/spec/api/remotes_uln_api_spec.rb +0 -50
- data/spec/api/repositories_rpm_api_spec.rb +0 -50
- data/spec/models/rpm_modulemd_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_spec.rb +12 -0
- metadata +4 -20
- data/docs/MyPermissionsResponse.md +0 -17
- data/docs/NestedRole.md +0 -21
- data/docs/NestedRoleResponse.md +0 -21
- data/docs/ObjectRolesResponse.md +0 -17
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +0 -213
- data/lib/pulp_rpm_client/models/nested_role.rb +0 -234
- data/lib/pulp_rpm_client/models/nested_role_response.rb +0 -234
- data/lib/pulp_rpm_client/models/object_roles_response.rb +0 -213
- data/spec/models/my_permissions_response_spec.rb +0 -41
- data/spec/models/nested_role_response_spec.rb +0 -53
- data/spec/models/nested_role_spec.rb +0 -53
- data/spec/models/object_roles_response_spec.rb +0 -41
@@ -45,6 +45,12 @@ module PulpRpmClient
|
|
45
45
|
# Modulemd snippet
|
46
46
|
attr_accessor :snippet
|
47
47
|
|
48
|
+
# Modulemd profiles.
|
49
|
+
attr_accessor :profiles
|
50
|
+
|
51
|
+
# Description of module.
|
52
|
+
attr_accessor :description
|
53
|
+
|
48
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
49
55
|
def self.attribute_map
|
50
56
|
{
|
@@ -57,7 +63,9 @@ module PulpRpmClient
|
|
57
63
|
:'artifacts' => :'artifacts',
|
58
64
|
:'dependencies' => :'dependencies',
|
59
65
|
:'packages' => :'packages',
|
60
|
-
:'snippet' => :'snippet'
|
66
|
+
:'snippet' => :'snippet',
|
67
|
+
:'profiles' => :'profiles',
|
68
|
+
:'description' => :'description'
|
61
69
|
}
|
62
70
|
end
|
63
71
|
|
@@ -73,7 +81,9 @@ module PulpRpmClient
|
|
73
81
|
:'artifacts' => :'Object',
|
74
82
|
:'dependencies' => :'Object',
|
75
83
|
:'packages' => :'Array<String>',
|
76
|
-
:'snippet' => :'String'
|
84
|
+
:'snippet' => :'String',
|
85
|
+
:'profiles' => :'Object',
|
86
|
+
:'description' => :'String'
|
77
87
|
}
|
78
88
|
end
|
79
89
|
|
@@ -82,6 +92,7 @@ module PulpRpmClient
|
|
82
92
|
Set.new([
|
83
93
|
:'artifacts',
|
84
94
|
:'dependencies',
|
95
|
+
:'profiles',
|
85
96
|
])
|
86
97
|
end
|
87
98
|
|
@@ -141,6 +152,14 @@ module PulpRpmClient
|
|
141
152
|
if attributes.key?(:'snippet')
|
142
153
|
self.snippet = attributes[:'snippet']
|
143
154
|
end
|
155
|
+
|
156
|
+
if attributes.key?(:'profiles')
|
157
|
+
self.profiles = attributes[:'profiles']
|
158
|
+
end
|
159
|
+
|
160
|
+
if attributes.key?(:'description')
|
161
|
+
self.description = attributes[:'description']
|
162
|
+
end
|
144
163
|
end
|
145
164
|
|
146
165
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -195,6 +214,14 @@ module PulpRpmClient
|
|
195
214
|
invalid_properties.push('invalid value for "snippet", the character length must be great than or equal to 1.')
|
196
215
|
end
|
197
216
|
|
217
|
+
if @description.nil?
|
218
|
+
invalid_properties.push('invalid value for "description", description cannot be nil.')
|
219
|
+
end
|
220
|
+
|
221
|
+
if @description.to_s.length < 1
|
222
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
223
|
+
end
|
224
|
+
|
198
225
|
invalid_properties
|
199
226
|
end
|
200
227
|
|
@@ -213,6 +240,8 @@ module PulpRpmClient
|
|
213
240
|
return false if @arch.to_s.length < 1
|
214
241
|
return false if @snippet.nil?
|
215
242
|
return false if @snippet.to_s.length < 1
|
243
|
+
return false if @description.nil?
|
244
|
+
return false if @description.to_s.length < 1
|
216
245
|
true
|
217
246
|
end
|
218
247
|
|
@@ -300,6 +329,20 @@ module PulpRpmClient
|
|
300
329
|
@snippet = snippet
|
301
330
|
end
|
302
331
|
|
332
|
+
# Custom attribute writer method with validation
|
333
|
+
# @param [Object] description Value to be assigned
|
334
|
+
def description=(description)
|
335
|
+
if description.nil?
|
336
|
+
fail ArgumentError, 'description cannot be nil'
|
337
|
+
end
|
338
|
+
|
339
|
+
if description.to_s.length < 1
|
340
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
341
|
+
end
|
342
|
+
|
343
|
+
@description = description
|
344
|
+
end
|
345
|
+
|
303
346
|
# Checks equality by comparing each attribute.
|
304
347
|
# @param [Object] Object to be compared
|
305
348
|
def ==(o)
|
@@ -314,7 +357,9 @@ module PulpRpmClient
|
|
314
357
|
artifacts == o.artifacts &&
|
315
358
|
dependencies == o.dependencies &&
|
316
359
|
packages == o.packages &&
|
317
|
-
snippet == o.snippet
|
360
|
+
snippet == o.snippet &&
|
361
|
+
profiles == o.profiles &&
|
362
|
+
description == o.description
|
318
363
|
end
|
319
364
|
|
320
365
|
# @see the `==` method
|
@@ -326,7 +371,7 @@ module PulpRpmClient
|
|
326
371
|
# Calculates hash code according to all attributes.
|
327
372
|
# @return [Integer] Hash code
|
328
373
|
def hash
|
329
|
-
[name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet].hash
|
374
|
+
[name, stream, version, static_context, context, arch, artifacts, dependencies, packages, snippet, profiles, description].hash
|
330
375
|
end
|
331
376
|
|
332
377
|
# Builds the object from hash
|
@@ -47,6 +47,12 @@ module PulpRpmClient
|
|
47
47
|
# Modulemd artifacts' packages.
|
48
48
|
attr_accessor :packages
|
49
49
|
|
50
|
+
# Modulemd profiles.
|
51
|
+
attr_accessor :profiles
|
52
|
+
|
53
|
+
# Description of module.
|
54
|
+
attr_accessor :description
|
55
|
+
|
50
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
57
|
def self.attribute_map
|
52
58
|
{
|
@@ -60,7 +66,9 @@ module PulpRpmClient
|
|
60
66
|
:'arch' => :'arch',
|
61
67
|
:'artifacts' => :'artifacts',
|
62
68
|
:'dependencies' => :'dependencies',
|
63
|
-
:'packages' => :'packages'
|
69
|
+
:'packages' => :'packages',
|
70
|
+
:'profiles' => :'profiles',
|
71
|
+
:'description' => :'description'
|
64
72
|
}
|
65
73
|
end
|
66
74
|
|
@@ -77,7 +85,9 @@ module PulpRpmClient
|
|
77
85
|
:'arch' => :'String',
|
78
86
|
:'artifacts' => :'Object',
|
79
87
|
:'dependencies' => :'Object',
|
80
|
-
:'packages' => :'Array<String>'
|
88
|
+
:'packages' => :'Array<String>',
|
89
|
+
:'profiles' => :'Object',
|
90
|
+
:'description' => :'String'
|
81
91
|
}
|
82
92
|
end
|
83
93
|
|
@@ -86,6 +96,7 @@ module PulpRpmClient
|
|
86
96
|
Set.new([
|
87
97
|
:'artifacts',
|
88
98
|
:'dependencies',
|
99
|
+
:'profiles',
|
89
100
|
])
|
90
101
|
end
|
91
102
|
|
@@ -149,6 +160,14 @@ module PulpRpmClient
|
|
149
160
|
self.packages = value
|
150
161
|
end
|
151
162
|
end
|
163
|
+
|
164
|
+
if attributes.key?(:'profiles')
|
165
|
+
self.profiles = attributes[:'profiles']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes.key?(:'description')
|
169
|
+
self.description = attributes[:'description']
|
170
|
+
end
|
152
171
|
end
|
153
172
|
|
154
173
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -175,6 +194,10 @@ module PulpRpmClient
|
|
175
194
|
invalid_properties.push('invalid value for "arch", arch cannot be nil.')
|
176
195
|
end
|
177
196
|
|
197
|
+
if @description.nil?
|
198
|
+
invalid_properties.push('invalid value for "description", description cannot be nil.')
|
199
|
+
end
|
200
|
+
|
178
201
|
invalid_properties
|
179
202
|
end
|
180
203
|
|
@@ -186,6 +209,7 @@ module PulpRpmClient
|
|
186
209
|
return false if @version.nil?
|
187
210
|
return false if @context.nil?
|
188
211
|
return false if @arch.nil?
|
212
|
+
return false if @description.nil?
|
189
213
|
true
|
190
214
|
end
|
191
215
|
|
@@ -204,7 +228,9 @@ module PulpRpmClient
|
|
204
228
|
arch == o.arch &&
|
205
229
|
artifacts == o.artifacts &&
|
206
230
|
dependencies == o.dependencies &&
|
207
|
-
packages == o.packages
|
231
|
+
packages == o.packages &&
|
232
|
+
profiles == o.profiles &&
|
233
|
+
description == o.description
|
208
234
|
end
|
209
235
|
|
210
236
|
# @see the `==` method
|
@@ -216,7 +242,7 @@ module PulpRpmClient
|
|
216
242
|
# Calculates hash code according to all attributes.
|
217
243
|
# @return [Integer] Hash code
|
218
244
|
def hash
|
219
|
-
[pulp_href, pulp_created, name, stream, version, static_context, context, arch, artifacts, dependencies, packages].hash
|
245
|
+
[pulp_href, pulp_created, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
|
220
246
|
end
|
221
247
|
|
222
248
|
# Builds the object from hash
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -26,10 +26,6 @@ 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'
|
33
29
|
require 'pulp_rpm_client/models/package_checksum_type_enum'
|
34
30
|
require 'pulp_rpm_client/models/paginated_repository_version_response_list'
|
35
31
|
require 'pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list'
|
@@ -32,18 +32,6 @@ 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
|
-
|
47
35
|
# unit tests for create
|
48
36
|
# Create a rpm alternate content source
|
49
37
|
# ViewSet for ACS.
|
@@ -89,32 +77,6 @@ describe 'AcsRpmApi' do
|
|
89
77
|
end
|
90
78
|
end
|
91
79
|
|
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 [String] :fields A list of fields to include in the response.
|
97
|
-
# @option opts [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 [String] :fields A list of fields to include in the response.
|
110
|
-
# @option opts [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
|
-
|
118
80
|
# unit tests for partial_update
|
119
81
|
# Update a rpm alternate content source
|
120
82
|
# Trigger an asynchronous partial update task
|
@@ -153,18 +115,6 @@ describe 'AcsRpmApi' do
|
|
153
115
|
end
|
154
116
|
end
|
155
117
|
|
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
|
-
|
168
118
|
# unit tests for update
|
169
119
|
# Update a rpm alternate content source
|
170
120
|
# Trigger an asynchronous update task
|
@@ -32,18 +32,6 @@ 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
|
-
|
47
35
|
# unit tests for create
|
48
36
|
# Create a rpm distribution
|
49
37
|
# Trigger an asynchronous create task
|
@@ -95,32 +83,6 @@ describe 'DistributionsRpmApi' do
|
|
95
83
|
end
|
96
84
|
end
|
97
85
|
|
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 [String] :fields A list of fields to include in the response.
|
103
|
-
# @option opts [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 [String] :fields A list of fields to include in the response.
|
116
|
-
# @option opts [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
|
-
|
124
86
|
# unit tests for partial_update
|
125
87
|
# Update a rpm distribution
|
126
88
|
# Trigger an asynchronous partial update task
|
@@ -148,18 +110,6 @@ describe 'DistributionsRpmApi' do
|
|
148
110
|
end
|
149
111
|
end
|
150
112
|
|
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
|
-
|
163
113
|
# unit tests for update
|
164
114
|
# Update a rpm distribution
|
165
115
|
# Trigger an asynchronous update task
|
@@ -32,18 +32,6 @@ 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
|
-
|
47
35
|
# unit tests for create
|
48
36
|
# Create a rpm publication
|
49
37
|
# Trigger an asynchronous task to create a new RPM content publication.
|
@@ -94,32 +82,6 @@ describe 'PublicationsRpmApi' do
|
|
94
82
|
end
|
95
83
|
end
|
96
84
|
|
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 [String] :fields A list of fields to include in the response.
|
102
|
-
# @option opts [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 [String] :fields A list of fields to include in the response.
|
115
|
-
# @option opts [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
|
-
|
123
85
|
# unit tests for read
|
124
86
|
# Inspect a rpm publication
|
125
87
|
# ViewSet for Rpm Publications.
|
@@ -134,16 +96,4 @@ describe 'PublicationsRpmApi' do
|
|
134
96
|
end
|
135
97
|
end
|
136
98
|
|
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
|
-
|
149
99
|
end
|
@@ -32,18 +32,6 @@ 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
|
-
|
47
35
|
# unit tests for create
|
48
36
|
# Create a rpm remote
|
49
37
|
# A ViewSet for RpmRemote.
|
@@ -96,32 +84,6 @@ describe 'RemotesRpmApi' do
|
|
96
84
|
end
|
97
85
|
end
|
98
86
|
|
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 [String] :fields A list of fields to include in the response.
|
104
|
-
# @option opts [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 [String] :fields A list of fields to include in the response.
|
117
|
-
# @option opts [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
|
-
|
125
87
|
# unit tests for partial_update
|
126
88
|
# Update a rpm remote
|
127
89
|
# Trigger an asynchronous partial update task
|
@@ -149,18 +111,6 @@ describe 'RemotesRpmApi' do
|
|
149
111
|
end
|
150
112
|
end
|
151
113
|
|
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
|
-
|
164
114
|
# unit tests for update
|
165
115
|
# Update a rpm remote
|
166
116
|
# Trigger an asynchronous update task
|
@@ -32,18 +32,6 @@ 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
|
-
|
47
35
|
# unit tests for create
|
48
36
|
# Create an uln remote
|
49
37
|
# A ViewSet for UlnRemote.
|
@@ -96,32 +84,6 @@ describe 'RemotesUlnApi' do
|
|
96
84
|
end
|
97
85
|
end
|
98
86
|
|
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 [String] :fields A list of fields to include in the response.
|
104
|
-
# @option opts [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 [String] :fields A list of fields to include in the response.
|
117
|
-
# @option opts [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
|
-
|
125
87
|
# unit tests for partial_update
|
126
88
|
# Update an uln remote
|
127
89
|
# Trigger an asynchronous partial update task
|
@@ -149,18 +111,6 @@ describe 'RemotesUlnApi' do
|
|
149
111
|
end
|
150
112
|
end
|
151
113
|
|
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
|
-
|
164
114
|
# unit tests for update
|
165
115
|
# Update an uln remote
|
166
116
|
# Trigger an asynchronous update task
|
@@ -32,18 +32,6 @@ 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
|
-
|
47
35
|
# unit tests for create
|
48
36
|
# Create a rpm repository
|
49
37
|
# A ViewSet for RpmRepository.
|
@@ -91,19 +79,6 @@ describe 'RepositoriesRpmApi' do
|
|
91
79
|
end
|
92
80
|
end
|
93
81
|
|
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 [String] :fields A list of fields to include in the response.
|
99
|
-
# @option opts [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
|
-
|
107
82
|
# unit tests for modify
|
108
83
|
# Modify Repository Content
|
109
84
|
# Trigger an asynchronous task to create a new repository version.
|
@@ -117,19 +92,6 @@ describe 'RepositoriesRpmApi' do
|
|
117
92
|
end
|
118
93
|
end
|
119
94
|
|
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 [String] :fields A list of fields to include in the response.
|
125
|
-
# @option opts [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
|
-
|
133
95
|
# unit tests for partial_update
|
134
96
|
# Update a rpm repository
|
135
97
|
# Trigger an asynchronous partial update task
|
@@ -157,18 +119,6 @@ describe 'RepositoriesRpmApi' do
|
|
157
119
|
end
|
158
120
|
end
|
159
121
|
|
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
|
-
|
172
122
|
# unit tests for sync
|
173
123
|
# Sync from remote
|
174
124
|
# Trigger an asynchronous task to sync RPM content.
|
@@ -98,4 +98,16 @@ describe 'RpmModulemdResponse' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "profiles"' 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
|
+
|
107
|
+
describe 'test attribute "description"' 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
|
+
|
101
113
|
end
|