pulp_rpm_client 3.31.1 → 3.32.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 +4 -4
- data/docs/ContentModulemdsApi.md +1 -1
- data/docs/Copy.md +1 -1
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/RepositoriesRpmVersionsApi.md +2 -2
- data/docs/RepositoryVersionResponse.md +3 -1
- data/docs/RpmModulemd.md +3 -3
- data/docs/RpmModulemdDefaults.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +3 -1
- data/docs/RpmModulemdObsoleteResponse.md +2 -0
- data/docs/RpmModulemdResponse.md +5 -3
- data/docs/RpmPackageCategoryResponse.md +5 -3
- data/docs/RpmPackageEnvironmentResponse.md +6 -4
- data/docs/RpmPackageGroupResponse.md +5 -3
- data/docs/RpmPackageLangpacksResponse.md +3 -1
- data/docs/RpmPackageResponse.md +12 -10
- data/docs/RpmRepoMetadataFileResponse.md +2 -0
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +1 -1
- data/docs/RpmRpmRemoteResponse.md +1 -1
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +1 -1
- data/docs/RpmUlnRemoteResponse.md +1 -1
- data/docs/RpmUpdateCollection.md +1 -1
- data/docs/RpmUpdateCollectionResponse.md +2 -2
- data/docs/RpmUpdateRecordResponse.md +4 -2
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -3
- data/lib/pulp_rpm_client/models/copy.rb +0 -1
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +0 -2
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +0 -15
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +0 -19
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +0 -15
- data/lib/pulp_rpm_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +0 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +10 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +10 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +14 -5
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +11 -2
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +10 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +10 -1
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +0 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +0 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +0 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +0 -15
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +0 -15
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +0 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +0 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +0 -15
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +0 -15
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +10 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_response_spec.rb +6 -0
- data/spec/models/rpm_package_category_response_spec.rb +6 -0
- data/spec/models/rpm_package_environment_response_spec.rb +6 -0
- data/spec/models/rpm_package_group_response_spec.rb +6 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
- data/spec/models/rpm_package_response_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
- data/spec/models/rpm_update_record_response_spec.rb +6 -0
- metadata +79 -79
@@ -30,6 +30,8 @@ module PulpRpmClient
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
31
|
attr_accessor :pulp_labels
|
32
32
|
|
33
|
+
attr_accessor :vuln_report
|
34
|
+
|
33
35
|
# PackageGroup id.
|
34
36
|
attr_accessor :id
|
35
37
|
|
@@ -71,6 +73,7 @@ module PulpRpmClient
|
|
71
73
|
:'pulp_created' => :'pulp_created',
|
72
74
|
:'pulp_last_updated' => :'pulp_last_updated',
|
73
75
|
:'pulp_labels' => :'pulp_labels',
|
76
|
+
:'vuln_report' => :'vuln_report',
|
74
77
|
:'id' => :'id',
|
75
78
|
:'default' => :'default',
|
76
79
|
:'user_visible' => :'user_visible',
|
@@ -98,16 +101,17 @@ module PulpRpmClient
|
|
98
101
|
:'pulp_created' => :'Time',
|
99
102
|
:'pulp_last_updated' => :'Time',
|
100
103
|
:'pulp_labels' => :'Hash<String, String>',
|
104
|
+
:'vuln_report' => :'String',
|
101
105
|
:'id' => :'String',
|
102
106
|
:'default' => :'Boolean',
|
103
107
|
:'user_visible' => :'Boolean',
|
104
108
|
:'display_order' => :'Integer',
|
105
109
|
:'name' => :'String',
|
106
110
|
:'description' => :'String',
|
107
|
-
:'packages' => :'
|
111
|
+
:'packages' => :'OneOf',
|
108
112
|
:'biarch_only' => :'Boolean',
|
109
|
-
:'desc_by_lang' => :'
|
110
|
-
:'name_by_lang' => :'
|
113
|
+
:'desc_by_lang' => :'OneOf',
|
114
|
+
:'name_by_lang' => :'OneOf',
|
111
115
|
:'digest' => :'String'
|
112
116
|
}
|
113
117
|
end
|
@@ -159,6 +163,10 @@ module PulpRpmClient
|
|
159
163
|
end
|
160
164
|
end
|
161
165
|
|
166
|
+
if attributes.key?(:'vuln_report')
|
167
|
+
self.vuln_report = attributes[:'vuln_report']
|
168
|
+
end
|
169
|
+
|
162
170
|
if attributes.key?(:'id')
|
163
171
|
self.id = attributes[:'id']
|
164
172
|
else
|
@@ -265,6 +273,7 @@ module PulpRpmClient
|
|
265
273
|
pulp_created == o.pulp_created &&
|
266
274
|
pulp_last_updated == o.pulp_last_updated &&
|
267
275
|
pulp_labels == o.pulp_labels &&
|
276
|
+
vuln_report == o.vuln_report &&
|
268
277
|
id == o.id &&
|
269
278
|
default == o.default &&
|
270
279
|
user_visible == o.user_visible &&
|
@@ -287,7 +296,7 @@ module PulpRpmClient
|
|
287
296
|
# Calculates hash code according to all attributes.
|
288
297
|
# @return [Integer] Hash code
|
289
298
|
def hash
|
290
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
|
299
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
|
291
300
|
end
|
292
301
|
|
293
302
|
# Builds the object from hash
|
@@ -30,6 +30,8 @@ module PulpRpmClient
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
31
|
attr_accessor :pulp_labels
|
32
32
|
|
33
|
+
attr_accessor :vuln_report
|
34
|
+
|
33
35
|
# Langpacks matches.
|
34
36
|
attr_accessor :matches
|
35
37
|
|
@@ -44,6 +46,7 @@ module PulpRpmClient
|
|
44
46
|
:'pulp_created' => :'pulp_created',
|
45
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
46
48
|
:'pulp_labels' => :'pulp_labels',
|
49
|
+
:'vuln_report' => :'vuln_report',
|
47
50
|
:'matches' => :'matches',
|
48
51
|
:'digest' => :'digest'
|
49
52
|
}
|
@@ -62,7 +65,8 @@ module PulpRpmClient
|
|
62
65
|
:'pulp_created' => :'Time',
|
63
66
|
:'pulp_last_updated' => :'Time',
|
64
67
|
:'pulp_labels' => :'Hash<String, String>',
|
65
|
-
:'
|
68
|
+
:'vuln_report' => :'String',
|
69
|
+
:'matches' => :'OneOf',
|
66
70
|
:'digest' => :'String'
|
67
71
|
}
|
68
72
|
end
|
@@ -112,6 +116,10 @@ module PulpRpmClient
|
|
112
116
|
end
|
113
117
|
end
|
114
118
|
|
119
|
+
if attributes.key?(:'vuln_report')
|
120
|
+
self.vuln_report = attributes[:'vuln_report']
|
121
|
+
end
|
122
|
+
|
115
123
|
if attributes.key?(:'matches')
|
116
124
|
self.matches = attributes[:'matches']
|
117
125
|
else
|
@@ -150,6 +158,7 @@ module PulpRpmClient
|
|
150
158
|
pulp_created == o.pulp_created &&
|
151
159
|
pulp_last_updated == o.pulp_last_updated &&
|
152
160
|
pulp_labels == o.pulp_labels &&
|
161
|
+
vuln_report == o.vuln_report &&
|
153
162
|
matches == o.matches &&
|
154
163
|
digest == o.digest
|
155
164
|
end
|
@@ -163,7 +172,7 @@ module PulpRpmClient
|
|
163
172
|
# Calculates hash code according to all attributes.
|
164
173
|
# @return [Integer] Hash code
|
165
174
|
def hash
|
166
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, matches, digest].hash
|
175
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, matches, digest].hash
|
167
176
|
end
|
168
177
|
|
169
178
|
# Builds the object from hash
|
@@ -48,6 +48,8 @@ module PulpRpmClient
|
|
48
48
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
49
49
|
attr_accessor :pulp_labels
|
50
50
|
|
51
|
+
attr_accessor :vuln_report
|
52
|
+
|
51
53
|
# Artifact file representing the physical content
|
52
54
|
attr_accessor :artifact
|
53
55
|
|
@@ -81,34 +83,24 @@ module PulpRpmClient
|
|
81
83
|
# URL with more information about the packaged software
|
82
84
|
attr_accessor :url
|
83
85
|
|
84
|
-
# Changelogs that package contains
|
85
86
|
attr_accessor :changelogs
|
86
87
|
|
87
|
-
# Files that package contains
|
88
88
|
attr_accessor :files
|
89
89
|
|
90
|
-
# Capabilities the package requires
|
91
90
|
attr_accessor :requires
|
92
91
|
|
93
|
-
# Capabilities the package provides
|
94
92
|
attr_accessor :provides
|
95
93
|
|
96
|
-
# Capabilities the package conflicts
|
97
94
|
attr_accessor :conflicts
|
98
95
|
|
99
|
-
# Capabilities the package obsoletes
|
100
96
|
attr_accessor :obsoletes
|
101
97
|
|
102
|
-
# Capabilities the package suggests
|
103
98
|
attr_accessor :suggests
|
104
99
|
|
105
|
-
# Capabilities the package enhances
|
106
100
|
attr_accessor :enhances
|
107
101
|
|
108
|
-
# Capabilities the package recommends
|
109
102
|
attr_accessor :recommends
|
110
103
|
|
111
|
-
# Capabilities the package supplements
|
112
104
|
attr_accessor :supplements
|
113
105
|
|
114
106
|
# DEPRECATED: Base location of this package. This field will be removed in a future release of pulp_rpm.
|
@@ -173,6 +165,7 @@ module PulpRpmClient
|
|
173
165
|
:'sha384' => :'sha384',
|
174
166
|
:'sha512' => :'sha512',
|
175
167
|
:'pulp_labels' => :'pulp_labels',
|
168
|
+
:'vuln_report' => :'vuln_report',
|
176
169
|
:'artifact' => :'artifact',
|
177
170
|
:'name' => :'name',
|
178
171
|
:'epoch' => :'epoch',
|
@@ -232,6 +225,7 @@ module PulpRpmClient
|
|
232
225
|
:'sha384' => :'String',
|
233
226
|
:'sha512' => :'String',
|
234
227
|
:'pulp_labels' => :'Hash<String, String>',
|
228
|
+
:'vuln_report' => :'String',
|
235
229
|
:'artifact' => :'String',
|
236
230
|
:'name' => :'String',
|
237
231
|
:'epoch' => :'String',
|
@@ -349,6 +343,10 @@ module PulpRpmClient
|
|
349
343
|
end
|
350
344
|
end
|
351
345
|
|
346
|
+
if attributes.key?(:'vuln_report')
|
347
|
+
self.vuln_report = attributes[:'vuln_report']
|
348
|
+
end
|
349
|
+
|
352
350
|
if attributes.key?(:'artifact')
|
353
351
|
self.artifact = attributes[:'artifact']
|
354
352
|
end
|
@@ -529,6 +527,7 @@ module PulpRpmClient
|
|
529
527
|
sha384 == o.sha384 &&
|
530
528
|
sha512 == o.sha512 &&
|
531
529
|
pulp_labels == o.pulp_labels &&
|
530
|
+
vuln_report == o.vuln_report &&
|
532
531
|
artifact == o.artifact &&
|
533
532
|
name == o.name &&
|
534
533
|
epoch == o.epoch &&
|
@@ -577,7 +576,7 @@ module PulpRpmClient
|
|
577
576
|
# Calculates hash code according to all attributes.
|
578
577
|
# @return [Integer] Hash code
|
579
578
|
def hash
|
580
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, pulp_labels, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file].hash
|
579
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, pulp_labels, vuln_report, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file].hash
|
581
580
|
end
|
582
581
|
|
583
582
|
# Builds the object from hash
|
@@ -48,6 +48,8 @@ module PulpRpmClient
|
|
48
48
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
49
49
|
attr_accessor :pulp_labels
|
50
50
|
|
51
|
+
attr_accessor :vuln_report
|
52
|
+
|
51
53
|
# Artifact file representing the physical content
|
52
54
|
attr_accessor :artifact
|
53
55
|
|
@@ -77,6 +79,7 @@ module PulpRpmClient
|
|
77
79
|
:'sha384' => :'sha384',
|
78
80
|
:'sha512' => :'sha512',
|
79
81
|
:'pulp_labels' => :'pulp_labels',
|
82
|
+
:'vuln_report' => :'vuln_report',
|
80
83
|
:'artifact' => :'artifact',
|
81
84
|
:'relative_path' => :'relative_path',
|
82
85
|
:'data_type' => :'data_type',
|
@@ -104,6 +107,7 @@ module PulpRpmClient
|
|
104
107
|
:'sha384' => :'String',
|
105
108
|
:'sha512' => :'String',
|
106
109
|
:'pulp_labels' => :'Hash<String, String>',
|
110
|
+
:'vuln_report' => :'String',
|
107
111
|
:'artifact' => :'String',
|
108
112
|
:'relative_path' => :'String',
|
109
113
|
:'data_type' => :'String',
|
@@ -179,6 +183,10 @@ module PulpRpmClient
|
|
179
183
|
end
|
180
184
|
end
|
181
185
|
|
186
|
+
if attributes.key?(:'vuln_report')
|
187
|
+
self.vuln_report = attributes[:'vuln_report']
|
188
|
+
end
|
189
|
+
|
182
190
|
if attributes.key?(:'artifact')
|
183
191
|
self.artifact = attributes[:'artifact']
|
184
192
|
end
|
@@ -259,6 +267,7 @@ module PulpRpmClient
|
|
259
267
|
sha384 == o.sha384 &&
|
260
268
|
sha512 == o.sha512 &&
|
261
269
|
pulp_labels == o.pulp_labels &&
|
270
|
+
vuln_report == o.vuln_report &&
|
262
271
|
artifact == o.artifact &&
|
263
272
|
relative_path == o.relative_path &&
|
264
273
|
data_type == o.data_type &&
|
@@ -275,7 +284,7 @@ module PulpRpmClient
|
|
275
284
|
# Calculates hash code according to all attributes.
|
276
285
|
# @return [Integer] Hash code
|
277
286
|
def hash
|
278
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, pulp_labels, artifact, relative_path, data_type, checksum_type, checksum].hash
|
287
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, pulp_labels, vuln_report, artifact, relative_path, data_type, checksum_type, checksum].hash
|
279
288
|
end
|
280
289
|
|
281
290
|
# Builds the object from hash
|
@@ -26,7 +26,6 @@ module PulpRpmClient
|
|
26
26
|
# The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
27
27
|
attr_accessor :checksum_type
|
28
28
|
|
29
|
-
# A JSON document describing the config.repo file Pulp should generate for this repo
|
30
29
|
attr_accessor :repo_config
|
31
30
|
|
32
31
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -92,7 +91,6 @@ module PulpRpmClient
|
|
92
91
|
def self.openapi_nullable
|
93
92
|
Set.new([
|
94
93
|
:'repo_config',
|
95
|
-
:'layout'
|
96
94
|
])
|
97
95
|
end
|
98
96
|
|
@@ -52,7 +52,6 @@ module PulpRpmClient
|
|
52
52
|
# REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operational since pulp_rpm 3.25.0 release
|
53
53
|
attr_accessor :sqlite_metadata
|
54
54
|
|
55
|
-
# A JSON document describing the config.repo file Pulp should generate for this repo
|
56
55
|
attr_accessor :repo_config
|
57
56
|
|
58
57
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -136,7 +135,6 @@ module PulpRpmClient
|
|
136
135
|
def self.openapi_nullable
|
137
136
|
Set.new([
|
138
137
|
:'repo_config',
|
139
|
-
:'layout'
|
140
138
|
])
|
141
139
|
end
|
142
140
|
|
@@ -351,10 +351,6 @@ module PulpRpmClient
|
|
351
351
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
352
352
|
end
|
353
353
|
|
354
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
355
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
356
|
-
end
|
357
|
-
|
358
354
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
359
355
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
360
356
|
end
|
@@ -394,7 +390,6 @@ module PulpRpmClient
|
|
394
390
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
395
391
|
return false if !@username.nil? && @username.to_s.length < 1
|
396
392
|
return false if !@password.nil? && @password.to_s.length < 1
|
397
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
398
393
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
399
394
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
400
395
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -511,16 +506,6 @@ module PulpRpmClient
|
|
511
506
|
@password = password
|
512
507
|
end
|
513
508
|
|
514
|
-
# Custom attribute writer method with validation
|
515
|
-
# @param [Object] download_concurrency Value to be assigned
|
516
|
-
def download_concurrency=(download_concurrency)
|
517
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
518
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
519
|
-
end
|
520
|
-
|
521
|
-
@download_concurrency = download_concurrency
|
522
|
-
end
|
523
|
-
|
524
509
|
# Custom attribute writer method with validation
|
525
510
|
# @param [Object] total_timeout Value to be assigned
|
526
511
|
def total_timeout=(total_timeout)
|
@@ -307,10 +307,6 @@ module PulpRpmClient
|
|
307
307
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
308
308
|
end
|
309
309
|
|
310
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
311
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
312
|
-
end
|
313
|
-
|
314
310
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
315
311
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
316
312
|
end
|
@@ -336,7 +332,6 @@ module PulpRpmClient
|
|
336
332
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
337
333
|
return false if @name.nil?
|
338
334
|
return false if @url.nil?
|
339
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
340
335
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
341
336
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
342
337
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -344,16 +339,6 @@ module PulpRpmClient
|
|
344
339
|
true
|
345
340
|
end
|
346
341
|
|
347
|
-
# Custom attribute writer method with validation
|
348
|
-
# @param [Object] download_concurrency Value to be assigned
|
349
|
-
def download_concurrency=(download_concurrency)
|
350
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
351
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
352
|
-
end
|
353
|
-
|
354
|
-
@download_concurrency = download_concurrency
|
355
|
-
end
|
356
|
-
|
357
342
|
# Custom attribute writer method with validation
|
358
343
|
# @param [Object] total_timeout Value to be assigned
|
359
344
|
def total_timeout=(total_timeout)
|
@@ -48,7 +48,6 @@ module PulpRpmClient
|
|
48
48
|
# The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
49
49
|
attr_accessor :checksum_type
|
50
50
|
|
51
|
-
# A JSON document describing the config.repo file Pulp should generate for this repo
|
52
51
|
attr_accessor :repo_config
|
53
52
|
|
54
53
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -132,10 +131,7 @@ module PulpRpmClient
|
|
132
131
|
:'remote',
|
133
132
|
:'metadata_signing_service',
|
134
133
|
:'package_signing_service',
|
135
|
-
:'checksum_type',
|
136
134
|
:'repo_config',
|
137
|
-
:'compression_type',
|
138
|
-
:'layout'
|
139
135
|
])
|
140
136
|
end
|
141
137
|
|
@@ -236,10 +232,6 @@ module PulpRpmClient
|
|
236
232
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
237
233
|
end
|
238
234
|
|
239
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
240
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
241
|
-
end
|
242
|
-
|
243
235
|
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
244
236
|
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
245
237
|
end
|
@@ -258,7 +250,6 @@ module PulpRpmClient
|
|
258
250
|
return false if @name.nil?
|
259
251
|
return false if @name.to_s.length < 1
|
260
252
|
return false if !@description.nil? && @description.to_s.length < 1
|
261
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
262
253
|
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
263
254
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
264
255
|
true
|
@@ -288,16 +279,6 @@ module PulpRpmClient
|
|
288
279
|
@description = description
|
289
280
|
end
|
290
281
|
|
291
|
-
# Custom attribute writer method with validation
|
292
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
293
|
-
def retain_repo_versions=(retain_repo_versions)
|
294
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
295
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
296
|
-
end
|
297
|
-
|
298
|
-
@retain_repo_versions = retain_repo_versions
|
299
|
-
end
|
300
|
-
|
301
282
|
# Custom attribute writer method with validation
|
302
283
|
# @param [Object] package_signing_fingerprint Value to be assigned
|
303
284
|
def package_signing_fingerprint=(package_signing_fingerprint)
|
@@ -78,7 +78,6 @@ module PulpRpmClient
|
|
78
78
|
# REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release
|
79
79
|
attr_accessor :sqlite_metadata
|
80
80
|
|
81
|
-
# A JSON document describing the config.repo file Pulp should generate for this repo
|
82
81
|
attr_accessor :repo_config
|
83
82
|
|
84
83
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
@@ -184,11 +183,7 @@ module PulpRpmClient
|
|
184
183
|
:'remote',
|
185
184
|
:'metadata_signing_service',
|
186
185
|
:'package_signing_service',
|
187
|
-
:'checksum_type',
|
188
|
-
:'package_checksum_type',
|
189
186
|
:'repo_config',
|
190
|
-
:'compression_type',
|
191
|
-
:'layout'
|
192
187
|
])
|
193
188
|
end
|
194
189
|
|
@@ -327,10 +322,6 @@ module PulpRpmClient
|
|
327
322
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
328
323
|
end
|
329
324
|
|
330
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
331
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
332
|
-
end
|
333
|
-
|
334
325
|
if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
335
326
|
invalid_properties.push('invalid value for "package_signing_fingerprint", the character length must be smaller than or equal to 40.')
|
336
327
|
end
|
@@ -363,7 +354,6 @@ module PulpRpmClient
|
|
363
354
|
def valid?
|
364
355
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
365
356
|
return false if @name.nil?
|
366
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
367
357
|
return false if !@package_signing_fingerprint.nil? && @package_signing_fingerprint.to_s.length > 40
|
368
358
|
return false if !@retain_package_versions.nil? && @retain_package_versions < 0
|
369
359
|
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
@@ -373,16 +363,6 @@ module PulpRpmClient
|
|
373
363
|
true
|
374
364
|
end
|
375
365
|
|
376
|
-
# Custom attribute writer method with validation
|
377
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
378
|
-
def retain_repo_versions=(retain_repo_versions)
|
379
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
380
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
381
|
-
end
|
382
|
-
|
383
|
-
@retain_repo_versions = retain_repo_versions
|
384
|
-
end
|
385
|
-
|
386
366
|
# Custom attribute writer method with validation
|
387
367
|
# @param [Object] package_signing_fingerprint Value to be assigned
|
388
368
|
def package_signing_fingerprint=(package_signing_fingerprint)
|
@@ -361,10 +361,6 @@ module PulpRpmClient
|
|
361
361
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
362
362
|
end
|
363
363
|
|
364
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
365
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
366
|
-
end
|
367
|
-
|
368
364
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
369
365
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
370
366
|
end
|
@@ -406,7 +402,6 @@ module PulpRpmClient
|
|
406
402
|
return false if @username.to_s.length < 1
|
407
403
|
return false if @password.nil?
|
408
404
|
return false if @password.to_s.length < 1
|
409
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
410
405
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
411
406
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
412
407
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -531,16 +526,6 @@ module PulpRpmClient
|
|
531
526
|
@password = password
|
532
527
|
end
|
533
528
|
|
534
|
-
# Custom attribute writer method with validation
|
535
|
-
# @param [Object] download_concurrency Value to be assigned
|
536
|
-
def download_concurrency=(download_concurrency)
|
537
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
538
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
539
|
-
end
|
540
|
-
|
541
|
-
@download_concurrency = download_concurrency
|
542
|
-
end
|
543
|
-
|
544
529
|
# Custom attribute writer method with validation
|
545
530
|
# @param [Object] total_timeout Value to be assigned
|
546
531
|
def total_timeout=(total_timeout)
|
@@ -307,10 +307,6 @@ module PulpRpmClient
|
|
307
307
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
308
308
|
end
|
309
309
|
|
310
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
311
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
312
|
-
end
|
313
|
-
|
314
310
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
315
311
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
316
312
|
end
|
@@ -336,7 +332,6 @@ module PulpRpmClient
|
|
336
332
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
337
333
|
return false if @name.nil?
|
338
334
|
return false if @url.nil?
|
339
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
340
335
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
341
336
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
342
337
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -344,16 +339,6 @@ module PulpRpmClient
|
|
344
339
|
true
|
345
340
|
end
|
346
341
|
|
347
|
-
# Custom attribute writer method with validation
|
348
|
-
# @param [Object] download_concurrency Value to be assigned
|
349
|
-
def download_concurrency=(download_concurrency)
|
350
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
351
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
352
|
-
end
|
353
|
-
|
354
|
-
@download_concurrency = download_concurrency
|
355
|
-
end
|
356
|
-
|
357
342
|
# Custom attribute writer method with validation
|
358
343
|
# @param [Object] total_timeout Value to be assigned
|
359
344
|
def total_timeout=(total_timeout)
|
@@ -30,6 +30,8 @@ module PulpRpmClient
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
31
|
attr_accessor :pulp_labels
|
32
32
|
|
33
|
+
attr_accessor :vuln_report
|
34
|
+
|
33
35
|
# Update id (short update name, e.g. RHEA-2013:1777)
|
34
36
|
attr_accessor :id
|
35
37
|
|
@@ -92,6 +94,7 @@ module PulpRpmClient
|
|
92
94
|
:'pulp_created' => :'pulp_created',
|
93
95
|
:'pulp_last_updated' => :'pulp_last_updated',
|
94
96
|
:'pulp_labels' => :'pulp_labels',
|
97
|
+
:'vuln_report' => :'vuln_report',
|
95
98
|
:'id' => :'id',
|
96
99
|
:'updated_date' => :'updated_date',
|
97
100
|
:'description' => :'description',
|
@@ -126,6 +129,7 @@ module PulpRpmClient
|
|
126
129
|
:'pulp_created' => :'Time',
|
127
130
|
:'pulp_last_updated' => :'Time',
|
128
131
|
:'pulp_labels' => :'Hash<String, String>',
|
132
|
+
:'vuln_report' => :'String',
|
129
133
|
:'id' => :'String',
|
130
134
|
:'updated_date' => :'String',
|
131
135
|
:'description' => :'String',
|
@@ -190,6 +194,10 @@ module PulpRpmClient
|
|
190
194
|
end
|
191
195
|
end
|
192
196
|
|
197
|
+
if attributes.key?(:'vuln_report')
|
198
|
+
self.vuln_report = attributes[:'vuln_report']
|
199
|
+
end
|
200
|
+
|
193
201
|
if attributes.key?(:'id')
|
194
202
|
self.id = attributes[:'id']
|
195
203
|
end
|
@@ -292,6 +300,7 @@ module PulpRpmClient
|
|
292
300
|
pulp_created == o.pulp_created &&
|
293
301
|
pulp_last_updated == o.pulp_last_updated &&
|
294
302
|
pulp_labels == o.pulp_labels &&
|
303
|
+
vuln_report == o.vuln_report &&
|
295
304
|
id == o.id &&
|
296
305
|
updated_date == o.updated_date &&
|
297
306
|
description == o.description &&
|
@@ -321,7 +330,7 @@ module PulpRpmClient
|
|
321
330
|
# Calculates hash code according to all attributes.
|
322
331
|
# @return [Integer] Hash code
|
323
332
|
def hash
|
324
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references, reboot_suggested].hash
|
333
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, id, updated_date, description, issued_date, fromstr, status, title, summary, version, type, severity, solution, release, rights, pushcount, pkglist, references, reboot_suggested].hash
|
325
334
|
end
|
326
335
|
|
327
336
|
# Builds the object from hash
|
@@ -61,7 +61,7 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
61
61
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
62
62
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
63
63
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
64
|
-
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
64
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
65
65
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
66
66
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
67
67
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -75,4 +75,10 @@ describe PulpRpmClient::RepositoryVersionResponse do
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
+
describe 'test attribute "vuln_report"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
78
84
|
end
|