pulp_rpm_client 3.26.5 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/docs/AcsRpmApi.md +3 -5
- data/docs/ArtifactResponse.md +0 -2
- data/docs/ContentAdvisoriesApi.md +10 -14
- data/docs/ContentDistributionTreesApi.md +9 -11
- data/docs/ContentModulemdDefaultsApi.md +9 -11
- data/docs/ContentModulemdObsoletesApi.md +9 -11
- data/docs/ContentModulemdsApi.md +9 -11
- data/docs/ContentPackagecategoriesApi.md +9 -11
- data/docs/ContentPackageenvironmentsApi.md +9 -11
- data/docs/ContentPackagegroupsApi.md +9 -11
- data/docs/ContentPackagelangpacksApi.md +9 -11
- data/docs/ContentPackagesApi.md +11 -15
- data/docs/ContentRepoMetadataFilesApi.md +9 -11
- data/docs/DistributionsRpmApi.md +3 -5
- data/docs/PatchedrpmRpmRepository.md +4 -0
- data/docs/PrunePackages.md +21 -0
- data/docs/PublicationsRpmApi.md +11 -13
- data/docs/RemotesRpmApi.md +3 -5
- data/docs/RemotesUlnApi.md +3 -5
- data/docs/RepositoriesRpmApi.md +7 -9
- data/docs/RepositoriesRpmVersionsApi.md +7 -9
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +0 -2
- data/docs/RpmModulemdObsoleteResponse.md +0 -2
- data/docs/RpmModulemdResponse.md +0 -2
- data/docs/RpmPackage.md +1 -3
- data/docs/RpmPackageCategoryResponse.md +0 -2
- data/docs/RpmPackageEnvironmentResponse.md +0 -2
- data/docs/RpmPackageGroupResponse.md +0 -2
- data/docs/RpmPackageLangpacksResponse.md +0 -2
- data/docs/RpmPackageResponse.md +0 -2
- data/docs/RpmPruneApi.md +61 -0
- data/docs/RpmRepoMetadataFileResponse.md +0 -2
- data/docs/RpmRpmAlternateContentSourceResponse.md +0 -2
- data/docs/RpmRpmDistributionResponse.md +0 -4
- data/docs/RpmRpmPublicationResponse.md +0 -2
- data/docs/RpmRpmRemoteResponse.md +0 -2
- data/docs/RpmRpmRepository.md +4 -0
- data/docs/RpmRpmRepositoryResponse.md +4 -2
- data/docs/RpmUlnRemoteResponse.md +0 -2
- data/docs/RpmUpdateRecord.md +1 -3
- data/docs/RpmUpdateRecordResponse.md +0 -2
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +8 -18
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +8 -11
- data/lib/pulp_rpm_client/api/content_packages_api.rb +10 -20
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +8 -11
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -14
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +2 -5
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +2 -5
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +6 -9
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +7 -10
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +84 -0
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +2 -12
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/prune_packages.rb +254 -0
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +2 -12
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -21
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +39 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +39 -11
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -11
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +4 -29
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -11
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +2 -0
- data/spec/api/acs_rpm_api_spec.rb +1 -2
- data/spec/api/content_advisories_api_spec.rb +4 -6
- data/spec/api/content_distribution_trees_api_spec.rb +4 -5
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -5
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -5
- data/spec/api/content_modulemds_api_spec.rb +4 -5
- data/spec/api/content_packagecategories_api_spec.rb +4 -5
- data/spec/api/content_packageenvironments_api_spec.rb +4 -5
- data/spec/api/content_packagegroups_api_spec.rb +4 -5
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -5
- data/spec/api/content_packages_api_spec.rb +5 -7
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -5
- data/spec/api/distributions_rpm_api_spec.rb +1 -2
- data/spec/api/publications_rpm_api_spec.rb +5 -6
- data/spec/api/remotes_rpm_api_spec.rb +1 -2
- data/spec/api/remotes_uln_api_spec.rb +1 -2
- data/spec/api/repositories_rpm_api_spec.rb +3 -4
- data/spec/api/repositories_rpm_versions_api_spec.rb +3 -4
- data/spec/api/rpm_prune_api_spec.rb +46 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +0 -6
- data/spec/models/patchedrpm_rpm_repository_spec.rb +12 -0
- data/spec/models/prune_packages_spec.rb +53 -0
- data/spec/models/repository_version_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +0 -6
- data/spec/models/rpm_modulemd_response_spec.rb +0 -6
- data/spec/models/rpm_package_category_response_spec.rb +0 -6
- data/spec/models/rpm_package_environment_response_spec.rb +0 -6
- data/spec/models/rpm_package_group_response_spec.rb +0 -6
- data/spec/models/rpm_package_langpacks_response_spec.rb +0 -6
- data/spec/models/rpm_package_response_spec.rb +0 -6
- data/spec/models/rpm_package_spec.rb +0 -6
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_distribution_response_spec.rb +0 -12
- data/spec/models/rpm_rpm_publication_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_remote_response_spec.rb +0 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_response_spec.rb +0 -6
- data/spec/models/rpm_update_record_spec.rb +0 -6
- metadata +105 -97
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmRpmRepositoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -50,6 +47,12 @@ module PulpRpmClient
|
|
50
47
|
# A reference to an associated signing service.
|
51
48
|
attr_accessor :metadata_signing_service
|
52
49
|
|
50
|
+
# A reference to an associated package signing service.
|
51
|
+
attr_accessor :package_signing_service
|
52
|
+
|
53
|
+
# The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository.
|
54
|
+
attr_accessor :package_signing_fingerprint
|
55
|
+
|
53
56
|
# 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.
|
54
57
|
attr_accessor :retain_package_versions
|
55
58
|
|
@@ -81,7 +84,6 @@ module PulpRpmClient
|
|
81
84
|
def self.attribute_map
|
82
85
|
{
|
83
86
|
:'pulp_href' => :'pulp_href',
|
84
|
-
:'prn' => :'prn',
|
85
87
|
:'pulp_created' => :'pulp_created',
|
86
88
|
:'pulp_last_updated' => :'pulp_last_updated',
|
87
89
|
:'versions_href' => :'versions_href',
|
@@ -93,6 +95,8 @@ module PulpRpmClient
|
|
93
95
|
:'remote' => :'remote',
|
94
96
|
:'autopublish' => :'autopublish',
|
95
97
|
:'metadata_signing_service' => :'metadata_signing_service',
|
98
|
+
:'package_signing_service' => :'package_signing_service',
|
99
|
+
:'package_signing_fingerprint' => :'package_signing_fingerprint',
|
96
100
|
:'retain_package_versions' => :'retain_package_versions',
|
97
101
|
:'checksum_type' => :'checksum_type',
|
98
102
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
@@ -109,7 +113,6 @@ module PulpRpmClient
|
|
109
113
|
def self.openapi_types
|
110
114
|
{
|
111
115
|
:'pulp_href' => :'String',
|
112
|
-
:'prn' => :'String',
|
113
116
|
:'pulp_created' => :'DateTime',
|
114
117
|
:'pulp_last_updated' => :'DateTime',
|
115
118
|
:'versions_href' => :'String',
|
@@ -121,6 +124,8 @@ module PulpRpmClient
|
|
121
124
|
:'remote' => :'String',
|
122
125
|
:'autopublish' => :'Boolean',
|
123
126
|
:'metadata_signing_service' => :'String',
|
127
|
+
:'package_signing_service' => :'String',
|
128
|
+
:'package_signing_fingerprint' => :'String',
|
124
129
|
:'retain_package_versions' => :'Integer',
|
125
130
|
:'checksum_type' => :'PackageChecksumTypeEnum',
|
126
131
|
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
@@ -140,6 +145,7 @@ module PulpRpmClient
|
|
140
145
|
:'retain_repo_versions',
|
141
146
|
:'remote',
|
142
147
|
:'metadata_signing_service',
|
148
|
+
:'package_signing_service',
|
143
149
|
:'checksum_type',
|
144
150
|
:'metadata_checksum_type',
|
145
151
|
:'package_checksum_type',
|
@@ -168,10 +174,6 @@ module PulpRpmClient
|
|
168
174
|
self.pulp_href = attributes[:'pulp_href']
|
169
175
|
end
|
170
176
|
|
171
|
-
if attributes.key?(:'prn')
|
172
|
-
self.prn = attributes[:'prn']
|
173
|
-
end
|
174
|
-
|
175
177
|
if attributes.key?(:'pulp_created')
|
176
178
|
self.pulp_created = attributes[:'pulp_created']
|
177
179
|
end
|
@@ -220,6 +222,16 @@ module PulpRpmClient
|
|
220
222
|
self.metadata_signing_service = attributes[:'metadata_signing_service']
|
221
223
|
end
|
222
224
|
|
225
|
+
if attributes.key?(:'package_signing_service')
|
226
|
+
self.package_signing_service = attributes[:'package_signing_service']
|
227
|
+
end
|
228
|
+
|
229
|
+
if attributes.key?(:'package_signing_fingerprint')
|
230
|
+
self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
|
231
|
+
else
|
232
|
+
self.package_signing_fingerprint = ''
|
233
|
+
end
|
234
|
+
|
223
235
|
if attributes.key?(:'retain_package_versions')
|
224
236
|
self.retain_package_versions = attributes[:'retain_package_versions']
|
225
237
|
end
|
@@ -271,6 +283,10 @@ module PulpRpmClient
|
|
271
283
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
272
284
|
end
|
273
285
|
|
286
|
+
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
287
|
+
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
288
|
+
end
|
289
|
+
|
274
290
|
if !@retain_package_versions.nil? && @retain_package_versions < 0
|
275
291
|
invalid_properties.push('invalid value for "retain_package_versions", must be greater than or equal to 0.')
|
276
292
|
end
|
@@ -299,6 +315,7 @@ module PulpRpmClient
|
|
299
315
|
def valid?
|
300
316
|
return false if @name.nil?
|
301
317
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
318
|
+
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
302
319
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
303
320
|
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
304
321
|
return false if !@gpgcheck.nil? && @gpgcheck < 0
|
@@ -317,6 +334,16 @@ module PulpRpmClient
|
|
317
334
|
@retain_repo_versions = retain_repo_versions
|
318
335
|
end
|
319
336
|
|
337
|
+
# Custom attribute writer method with validation
|
338
|
+
# @param [Object] package_signing_fingerprint Value to be assigned
|
339
|
+
def package_signing_fingerprint=(package_signing_fingerprint)
|
340
|
+
if !package_signing_fingerprint.nil? && package_signing_fingerprint.to_s.length > 40
|
341
|
+
fail ArgumentError, 'invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.'
|
342
|
+
end
|
343
|
+
|
344
|
+
@package_signing_fingerprint = package_signing_fingerprint
|
345
|
+
end
|
346
|
+
|
320
347
|
# Custom attribute writer method with validation
|
321
348
|
# @param [Object] retain_package_versions Value to be assigned
|
322
349
|
def retain_package_versions=(retain_package_versions)
|
@@ -361,7 +388,6 @@ module PulpRpmClient
|
|
361
388
|
return true if self.equal?(o)
|
362
389
|
self.class == o.class &&
|
363
390
|
pulp_href == o.pulp_href &&
|
364
|
-
prn == o.prn &&
|
365
391
|
pulp_created == o.pulp_created &&
|
366
392
|
pulp_last_updated == o.pulp_last_updated &&
|
367
393
|
versions_href == o.versions_href &&
|
@@ -373,6 +399,8 @@ module PulpRpmClient
|
|
373
399
|
remote == o.remote &&
|
374
400
|
autopublish == o.autopublish &&
|
375
401
|
metadata_signing_service == o.metadata_signing_service &&
|
402
|
+
package_signing_service == o.package_signing_service &&
|
403
|
+
package_signing_fingerprint == o.package_signing_fingerprint &&
|
376
404
|
retain_package_versions == o.retain_package_versions &&
|
377
405
|
checksum_type == o.checksum_type &&
|
378
406
|
metadata_checksum_type == o.metadata_checksum_type &&
|
@@ -393,7 +421,7 @@ module PulpRpmClient
|
|
393
421
|
# Calculates hash code according to all attributes.
|
394
422
|
# @return [Integer] Hash code
|
395
423
|
def hash
|
396
|
-
[pulp_href,
|
424
|
+
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
397
425
|
end
|
398
426
|
|
399
427
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmUlnRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -83,7 +80,6 @@ module PulpRpmClient
|
|
83
80
|
def self.attribute_map
|
84
81
|
{
|
85
82
|
:'pulp_href' => :'pulp_href',
|
86
|
-
:'prn' => :'prn',
|
87
83
|
:'pulp_created' => :'pulp_created',
|
88
84
|
:'pulp_last_updated' => :'pulp_last_updated',
|
89
85
|
:'name' => :'name',
|
@@ -111,7 +107,6 @@ module PulpRpmClient
|
|
111
107
|
def self.openapi_types
|
112
108
|
{
|
113
109
|
:'pulp_href' => :'String',
|
114
|
-
:'prn' => :'String',
|
115
110
|
:'pulp_created' => :'DateTime',
|
116
111
|
:'pulp_last_updated' => :'DateTime',
|
117
112
|
:'name' => :'String',
|
@@ -171,10 +166,6 @@ module PulpRpmClient
|
|
171
166
|
self.pulp_href = attributes[:'pulp_href']
|
172
167
|
end
|
173
168
|
|
174
|
-
if attributes.key?(:'prn')
|
175
|
-
self.prn = attributes[:'prn']
|
176
|
-
end
|
177
|
-
|
178
169
|
if attributes.key?(:'pulp_created')
|
179
170
|
self.pulp_created = attributes[:'pulp_created']
|
180
171
|
end
|
@@ -366,7 +357,6 @@ module PulpRpmClient
|
|
366
357
|
return true if self.equal?(o)
|
367
358
|
self.class == o.class &&
|
368
359
|
pulp_href == o.pulp_href &&
|
369
|
-
prn == o.prn &&
|
370
360
|
pulp_created == o.pulp_created &&
|
371
361
|
pulp_last_updated == o.pulp_last_updated &&
|
372
362
|
name == o.name &&
|
@@ -398,7 +388,7 @@ module PulpRpmClient
|
|
398
388
|
# Calculates hash code according to all attributes.
|
399
389
|
# @return [Integer] Hash code
|
400
390
|
def hash
|
401
|
-
[pulp_href,
|
391
|
+
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, uln_server_base_url].hash
|
402
392
|
end
|
403
393
|
|
404
394
|
# Builds the object from hash
|
@@ -24,16 +24,12 @@ module PulpRpmClient
|
|
24
24
|
# An uncommitted upload that may be turned into the content unit.
|
25
25
|
attr_accessor :upload
|
26
26
|
|
27
|
-
# A url that Pulp can download and turn into the content unit.
|
28
|
-
attr_accessor :file_url
|
29
|
-
|
30
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
28
|
def self.attribute_map
|
32
29
|
{
|
33
30
|
:'repository' => :'repository',
|
34
31
|
:'file' => :'file',
|
35
|
-
:'upload' => :'upload'
|
36
|
-
:'file_url' => :'file_url'
|
32
|
+
:'upload' => :'upload'
|
37
33
|
}
|
38
34
|
end
|
39
35
|
|
@@ -42,8 +38,7 @@ module PulpRpmClient
|
|
42
38
|
{
|
43
39
|
:'repository' => :'String',
|
44
40
|
:'file' => :'File',
|
45
|
-
:'upload' => :'String'
|
46
|
-
:'file_url' => :'String'
|
41
|
+
:'upload' => :'String'
|
47
42
|
}
|
48
43
|
end
|
49
44
|
|
@@ -79,40 +74,21 @@ module PulpRpmClient
|
|
79
74
|
if attributes.key?(:'upload')
|
80
75
|
self.upload = attributes[:'upload']
|
81
76
|
end
|
82
|
-
|
83
|
-
if attributes.key?(:'file_url')
|
84
|
-
self.file_url = attributes[:'file_url']
|
85
|
-
end
|
86
77
|
end
|
87
78
|
|
88
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
89
80
|
# @return Array for valid properties with the reasons
|
90
81
|
def list_invalid_properties
|
91
82
|
invalid_properties = Array.new
|
92
|
-
if !@file_url.nil? && @file_url.to_s.length < 1
|
93
|
-
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
94
|
-
end
|
95
|
-
|
96
83
|
invalid_properties
|
97
84
|
end
|
98
85
|
|
99
86
|
# Check to see if the all the properties in the model are valid
|
100
87
|
# @return true if the model is valid
|
101
88
|
def valid?
|
102
|
-
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
103
89
|
true
|
104
90
|
end
|
105
91
|
|
106
|
-
# Custom attribute writer method with validation
|
107
|
-
# @param [Object] file_url Value to be assigned
|
108
|
-
def file_url=(file_url)
|
109
|
-
if !file_url.nil? && file_url.to_s.length < 1
|
110
|
-
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
111
|
-
end
|
112
|
-
|
113
|
-
@file_url = file_url
|
114
|
-
end
|
115
|
-
|
116
92
|
# Checks equality by comparing each attribute.
|
117
93
|
# @param [Object] Object to be compared
|
118
94
|
def ==(o)
|
@@ -120,8 +96,7 @@ module PulpRpmClient
|
|
120
96
|
self.class == o.class &&
|
121
97
|
repository == o.repository &&
|
122
98
|
file == o.file &&
|
123
|
-
upload == o.upload
|
124
|
-
file_url == o.file_url
|
99
|
+
upload == o.upload
|
125
100
|
end
|
126
101
|
|
127
102
|
# @see the `==` method
|
@@ -133,7 +108,7 @@ module PulpRpmClient
|
|
133
108
|
# Calculates hash code according to all attributes.
|
134
109
|
# @return [Integer] Hash code
|
135
110
|
def hash
|
136
|
-
[repository, file, upload
|
111
|
+
[repository, file, upload].hash
|
137
112
|
end
|
138
113
|
|
139
114
|
# Builds the object from hash
|
@@ -17,9 +17,6 @@ module PulpRpmClient
|
|
17
17
|
class RpmUpdateRecordResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# The Pulp Resource Name (PRN).
|
21
|
-
attr_accessor :prn
|
22
|
-
|
23
20
|
# Timestamp of creation.
|
24
21
|
attr_accessor :pulp_created
|
25
22
|
|
@@ -84,7 +81,6 @@ module PulpRpmClient
|
|
84
81
|
def self.attribute_map
|
85
82
|
{
|
86
83
|
:'pulp_href' => :'pulp_href',
|
87
|
-
:'prn' => :'prn',
|
88
84
|
:'pulp_created' => :'pulp_created',
|
89
85
|
:'pulp_last_updated' => :'pulp_last_updated',
|
90
86
|
:'id' => :'id',
|
@@ -112,7 +108,6 @@ module PulpRpmClient
|
|
112
108
|
def self.openapi_types
|
113
109
|
{
|
114
110
|
:'pulp_href' => :'String',
|
115
|
-
:'prn' => :'String',
|
116
111
|
:'pulp_created' => :'DateTime',
|
117
112
|
:'pulp_last_updated' => :'DateTime',
|
118
113
|
:'id' => :'String',
|
@@ -161,10 +156,6 @@ module PulpRpmClient
|
|
161
156
|
self.pulp_href = attributes[:'pulp_href']
|
162
157
|
end
|
163
158
|
|
164
|
-
if attributes.key?(:'prn')
|
165
|
-
self.prn = attributes[:'prn']
|
166
|
-
end
|
167
|
-
|
168
159
|
if attributes.key?(:'pulp_created')
|
169
160
|
self.pulp_created = attributes[:'pulp_created']
|
170
161
|
end
|
@@ -269,7 +260,6 @@ module PulpRpmClient
|
|
269
260
|
return true if self.equal?(o)
|
270
261
|
self.class == o.class &&
|
271
262
|
pulp_href == o.pulp_href &&
|
272
|
-
prn == o.prn &&
|
273
263
|
pulp_created == o.pulp_created &&
|
274
264
|
pulp_last_updated == o.pulp_last_updated &&
|
275
265
|
id == o.id &&
|
@@ -301,7 +291,7 @@ module PulpRpmClient
|
|
301
291
|
# Calculates hash code according to all attributes.
|
302
292
|
# @return [Integer] Hash code
|
303
293
|
def hash
|
304
|
-
[pulp_href,
|
294
|
+
[pulp_href, pulp_created, pulp_last_updated, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references, reboot_suggested].hash
|
305
295
|
end
|
306
296
|
|
307
297
|
# Builds the object from hash
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -55,6 +55,7 @@ require 'pulp_rpm_client/models/patchedrpm_rpm_remote'
|
|
55
55
|
require 'pulp_rpm_client/models/patchedrpm_rpm_repository'
|
56
56
|
require 'pulp_rpm_client/models/patchedrpm_uln_remote'
|
57
57
|
require 'pulp_rpm_client/models/policy_enum'
|
58
|
+
require 'pulp_rpm_client/models/prune_packages'
|
58
59
|
require 'pulp_rpm_client/models/repair'
|
59
60
|
require 'pulp_rpm_client/models/repository_add_remove_content'
|
60
61
|
require 'pulp_rpm_client/models/repository_version_response'
|
@@ -120,6 +121,7 @@ require 'pulp_rpm_client/api/repositories_rpm_api'
|
|
120
121
|
require 'pulp_rpm_client/api/repositories_rpm_versions_api'
|
121
122
|
require 'pulp_rpm_client/api/rpm_comps_api'
|
122
123
|
require 'pulp_rpm_client/api/rpm_copy_api'
|
124
|
+
require 'pulp_rpm_client/api/rpm_prune_api'
|
123
125
|
|
124
126
|
module PulpRpmClient
|
125
127
|
class << self
|
@@ -85,10 +85,9 @@ describe 'AcsRpmApi' do
|
|
85
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
87
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
88
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
89
88
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
90
89
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
|
-
# @option opts [String] :q
|
90
|
+
# @option opts [String] :q
|
92
91
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
92
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
93
|
# @return [PaginatedrpmRpmAlternateContentSourceResponseList]
|
@@ -39,7 +39,6 @@ describe 'ContentAdvisoriesApi' do
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
41
41
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
42
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
43
42
|
# @return [AsyncOperationResponse]
|
44
43
|
describe 'create test' do
|
45
44
|
it 'should work' do
|
@@ -57,13 +56,12 @@ describe 'ContentAdvisoriesApi' do
|
|
57
56
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
57
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `id` - Id * `-id` - Id (descending) * `updated_date` - Updated date * `-updated_date` - Updated date (descending) * `description` - Description * `-description` - Description (descending) * `issued_date` - Issued date * `-issued_date` - Issued date (descending) * `fromstr` - Fromstr * `-fromstr` - Fromstr (descending) * `status` - Status * `-status` - Status (descending) * `title` - Title * `-title` - Title (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `type` - Type * `-type` - Type (descending) * `severity` - Severity * `-severity` - Severity (descending) * `solution` - Solution * `-solution` - Solution (descending) * `release` - Release * `-release` - Release (descending) * `rights` - Rights * `-rights` - Rights (descending) * `reboot_suggested` - Reboot suggested * `-reboot_suggested` - Reboot suggested (descending) * `pushcount` - Pushcount * `-pushcount` - Pushcount (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
59
58
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
60
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
61
59
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
62
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
63
|
-
# @option opts [String] :q
|
64
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
65
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
66
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :q
|
62
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
63
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
64
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
67
65
|
# @option opts [String] :severity Filter results where severity matches value
|
68
66
|
# @option opts [Array<String>] :severity__in Filter results where severity is in a comma-separated list of values
|
69
67
|
# @option opts [String] :severity__ne Filter results where severity not equal to value
|
@@ -40,13 +40,12 @@ describe 'ContentDistributionTreesApi' do
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
43
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
-
# @option opts [String] :q
|
47
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
+
# @option opts [String] :q
|
46
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
50
49
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
50
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
51
|
# @return [PaginatedrpmDistributionTreeResponseList]
|
@@ -54,13 +54,12 @@ describe 'ContentModulemdDefaultsApi' do
|
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
55
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `module` - Module * `-module` - Module (descending) * `stream` - Stream * `-stream` - Stream (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
56
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
-
# @option opts [String] :q
|
61
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
63
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
59
|
+
# @option opts [String] :q
|
60
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
61
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
62
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
64
63
|
# @option opts [String] :sha256
|
65
64
|
# @option opts [String] :stream Filter results where stream matches value
|
66
65
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
@@ -52,13 +52,12 @@ describe 'ContentModulemdObsoletesApi' do
|
|
52
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
53
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
54
54
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
55
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
56
55
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [String] :q
|
59
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
57
|
+
# @option opts [String] :q
|
58
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
62
61
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
63
62
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
64
63
|
# @return [PaginatedrpmModulemdObsoleteResponseList]
|
@@ -58,13 +58,12 @@ describe 'ContentModulemdsApi' do
|
|
58
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
59
59
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `stream` - Stream * `-stream` - Stream (descending) * `version` - Version * `-version` - Version (descending) * `context` - Context * `-context` - Context (descending) * `arch` - Arch * `-arch` - Arch (descending) * `static_context` - Static context * `-static_context` - Static context (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `artifacts` - Artifacts * `-artifacts` - Artifacts (descending) * `profiles` - Profiles * `-profiles` - Profiles (descending) * `description` - Description * `-description` - Description (descending) * `digest` - Digest * `-digest` - Digest (descending) * `snippet` - Snippet * `-snippet` - Snippet (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
60
60
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
61
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
62
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
63
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
64
|
-
# @option opts [String] :q
|
65
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
66
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
67
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
63
|
+
# @option opts [String] :q
|
64
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
65
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
66
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
68
67
|
# @option opts [String] :sha256
|
69
68
|
# @option opts [String] :stream Filter results where stream matches value
|
70
69
|
# @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
|
@@ -40,13 +40,12 @@ describe 'ContentPackagecategoriesApi' do
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
43
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
-
# @option opts [String] :q
|
47
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
+
# @option opts [String] :q
|
46
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
50
49
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
50
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
51
|
# @return [PaginatedrpmPackageCategoryResponseList]
|
@@ -40,13 +40,12 @@ describe 'ContentPackageenvironmentsApi' do
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
43
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
-
# @option opts [String] :q
|
47
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
+
# @option opts [String] :q
|
46
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
50
49
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
50
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
51
|
# @return [PaginatedrpmPackageEnvironmentResponseList]
|
@@ -40,13 +40,12 @@ describe 'ContentPackagegroupsApi' do
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
43
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
-
# @option opts [String] :q
|
47
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
+
# @option opts [String] :q
|
46
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
50
49
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
50
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
51
|
# @return [PaginatedrpmPackageGroupResponseList]
|
@@ -40,13 +40,12 @@ describe 'ContentPackagelangpacksApi' do
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
43
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
-
# @option opts [String] :q
|
47
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
+
# @option opts [String] :q
|
46
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
50
49
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
50
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
51
|
# @return [PaginatedrpmPackageLangpacksResponseList]
|
@@ -34,14 +34,13 @@ describe 'ContentPackagesApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a package
|
37
|
-
# Trigger an asynchronous task to create
|
37
|
+
# Trigger an asynchronous task to create an RPM package,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
45
44
|
# @return [AsyncOperationResponse]
|
46
45
|
describe 'create test' do
|
47
46
|
it 'should work' do
|
@@ -76,18 +75,17 @@ describe 'ContentPackagesApi' do
|
|
76
75
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
77
76
|
# @option opts [String] :pkg_id Filter results where pkgId matches value
|
78
77
|
# @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
|
79
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
80
78
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
81
79
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
-
# @option opts [String] :q
|
80
|
+
# @option opts [String] :q
|
83
81
|
# @option opts [String] :release Filter results where release matches value
|
84
82
|
# @option opts [String] :release__contains Filter results where release contains value
|
85
83
|
# @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
|
86
84
|
# @option opts [String] :release__ne Filter results where release not equal to value
|
87
85
|
# @option opts [String] :release__startswith Filter results where release starts with value
|
88
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
89
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
90
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
86
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
87
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
88
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
91
89
|
# @option opts [String] :sha256
|
92
90
|
# @option opts [String] :version Filter results where version matches value
|
93
91
|
# @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
|
@@ -40,13 +40,12 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
43
|
-
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
44
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
-
# @option opts [String] :q
|
47
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
49
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
45
|
+
# @option opts [String] :q
|
46
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
50
49
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
50
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
51
|
# @return [PaginatedrpmRepoMetadataFileResponseList]
|