pulp_rpm_client 3.24.0 → 3.25.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 +5 -5
- data/docs/{MetadataChecksumTypeEnum.md → CompressionTypeEnum.md} +2 -2
- data/docs/PatchedrpmRpmRepository.md +7 -5
- data/docs/RpmRpmPublication.md +7 -5
- data/docs/RpmRpmPublicationResponse.md +8 -4
- data/docs/RpmRpmRepository.md +7 -5
- data/docs/RpmRpmRepositoryResponse.md +8 -4
- data/lib/pulp_rpm_client/models/{metadata_checksum_type_enum.rb → compression_type_enum.rb} +5 -10
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +29 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +27 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +28 -8
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +29 -19
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +30 -8
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -1
- data/spec/models/{metadata_checksum_type_enum_spec.rb → compression_type_enum_spec.rb} +6 -6
- data/spec/models/patchedrpm_rpm_repository_spec.rb +8 -2
- data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_publication_spec.rb +8 -2
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_repository_spec.rb +8 -2
- metadata +88 -88
@@ -25,10 +25,13 @@ module PulpRpmClient
|
|
25
25
|
# A URI of the repository to be published.
|
26
26
|
attr_accessor :repository
|
27
27
|
|
28
|
-
# The checksum type
|
28
|
+
# The preferred checksum type used during repo publishes. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
29
|
+
attr_accessor :checksum_type
|
30
|
+
|
31
|
+
# DEPRECATED: The checksum type for metadata. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
29
32
|
attr_accessor :metadata_checksum_type
|
30
33
|
|
31
|
-
# The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
34
|
+
# DEPRECATED: The checksum type for packages. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
32
35
|
attr_accessor :package_checksum_type
|
33
36
|
|
34
37
|
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -37,12 +40,15 @@ module PulpRpmClient
|
|
37
40
|
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
38
41
|
attr_accessor :repo_gpgcheck
|
39
42
|
|
40
|
-
#
|
43
|
+
# REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release
|
41
44
|
attr_accessor :sqlite_metadata
|
42
45
|
|
43
46
|
# A JSON document describing config.repo file
|
44
47
|
attr_accessor :repo_config
|
45
48
|
|
49
|
+
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
50
|
+
attr_accessor :compression_type
|
51
|
+
|
46
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
53
|
def self.attribute_map
|
48
54
|
{
|
@@ -50,12 +56,14 @@ module PulpRpmClient
|
|
50
56
|
:'pulp_created' => :'pulp_created',
|
51
57
|
:'repository_version' => :'repository_version',
|
52
58
|
:'repository' => :'repository',
|
59
|
+
:'checksum_type' => :'checksum_type',
|
53
60
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
54
61
|
:'package_checksum_type' => :'package_checksum_type',
|
55
62
|
:'gpgcheck' => :'gpgcheck',
|
56
63
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
57
64
|
:'sqlite_metadata' => :'sqlite_metadata',
|
58
|
-
:'repo_config' => :'repo_config'
|
65
|
+
:'repo_config' => :'repo_config',
|
66
|
+
:'compression_type' => :'compression_type'
|
59
67
|
}
|
60
68
|
end
|
61
69
|
|
@@ -66,12 +74,14 @@ module PulpRpmClient
|
|
66
74
|
:'pulp_created' => :'DateTime',
|
67
75
|
:'repository_version' => :'String',
|
68
76
|
:'repository' => :'String',
|
69
|
-
:'
|
77
|
+
:'checksum_type' => :'PackageChecksumTypeEnum',
|
78
|
+
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
70
79
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
71
80
|
:'gpgcheck' => :'Integer',
|
72
81
|
:'repo_gpgcheck' => :'Integer',
|
73
82
|
:'sqlite_metadata' => :'Boolean',
|
74
|
-
:'repo_config' => :'Object'
|
83
|
+
:'repo_config' => :'Object',
|
84
|
+
:'compression_type' => :'CompressionTypeEnum'
|
75
85
|
}
|
76
86
|
end
|
77
87
|
|
@@ -114,6 +124,10 @@ module PulpRpmClient
|
|
114
124
|
self.repository = attributes[:'repository']
|
115
125
|
end
|
116
126
|
|
127
|
+
if attributes.key?(:'checksum_type')
|
128
|
+
self.checksum_type = attributes[:'checksum_type']
|
129
|
+
end
|
130
|
+
|
117
131
|
if attributes.key?(:'metadata_checksum_type')
|
118
132
|
self.metadata_checksum_type = attributes[:'metadata_checksum_type']
|
119
133
|
end
|
@@ -139,6 +153,10 @@ module PulpRpmClient
|
|
139
153
|
if attributes.key?(:'repo_config')
|
140
154
|
self.repo_config = attributes[:'repo_config']
|
141
155
|
end
|
156
|
+
|
157
|
+
if attributes.key?(:'compression_type')
|
158
|
+
self.compression_type = attributes[:'compression_type']
|
159
|
+
end
|
142
160
|
end
|
143
161
|
|
144
162
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -211,12 +229,14 @@ module PulpRpmClient
|
|
211
229
|
pulp_created == o.pulp_created &&
|
212
230
|
repository_version == o.repository_version &&
|
213
231
|
repository == o.repository &&
|
232
|
+
checksum_type == o.checksum_type &&
|
214
233
|
metadata_checksum_type == o.metadata_checksum_type &&
|
215
234
|
package_checksum_type == o.package_checksum_type &&
|
216
235
|
gpgcheck == o.gpgcheck &&
|
217
236
|
repo_gpgcheck == o.repo_gpgcheck &&
|
218
237
|
sqlite_metadata == o.sqlite_metadata &&
|
219
|
-
repo_config == o.repo_config
|
238
|
+
repo_config == o.repo_config &&
|
239
|
+
compression_type == o.compression_type
|
220
240
|
end
|
221
241
|
|
222
242
|
# @see the `==` method
|
@@ -228,7 +248,7 @@ module PulpRpmClient
|
|
228
248
|
# Calculates hash code according to all attributes.
|
229
249
|
# @return [Integer] Hash code
|
230
250
|
def hash
|
231
|
-
[pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
251
|
+
[pulp_href, pulp_created, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
232
252
|
end
|
233
253
|
|
234
254
|
# Builds the object from hash
|
@@ -38,10 +38,13 @@ module PulpRpmClient
|
|
38
38
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
39
39
|
attr_accessor :retain_package_versions
|
40
40
|
|
41
|
-
# The checksum type
|
41
|
+
# The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
42
|
+
attr_accessor :checksum_type
|
43
|
+
|
44
|
+
# DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
42
45
|
attr_accessor :metadata_checksum_type
|
43
46
|
|
44
|
-
#
|
47
|
+
# DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
45
48
|
attr_accessor :package_checksum_type
|
46
49
|
|
47
50
|
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -50,12 +53,12 @@ module PulpRpmClient
|
|
50
53
|
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
51
54
|
attr_accessor :repo_gpgcheck
|
52
55
|
|
53
|
-
# DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
|
54
|
-
attr_accessor :sqlite_metadata
|
55
|
-
|
56
56
|
# A JSON document describing config.repo file
|
57
57
|
attr_accessor :repo_config
|
58
58
|
|
59
|
+
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
60
|
+
attr_accessor :compression_type
|
61
|
+
|
59
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
60
63
|
def self.attribute_map
|
61
64
|
{
|
@@ -67,12 +70,13 @@ module PulpRpmClient
|
|
67
70
|
:'autopublish' => :'autopublish',
|
68
71
|
:'metadata_signing_service' => :'metadata_signing_service',
|
69
72
|
:'retain_package_versions' => :'retain_package_versions',
|
73
|
+
:'checksum_type' => :'checksum_type',
|
70
74
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
71
75
|
:'package_checksum_type' => :'package_checksum_type',
|
72
76
|
:'gpgcheck' => :'gpgcheck',
|
73
77
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
74
|
-
:'
|
75
|
-
:'
|
78
|
+
:'repo_config' => :'repo_config',
|
79
|
+
:'compression_type' => :'compression_type'
|
76
80
|
}
|
77
81
|
end
|
78
82
|
|
@@ -87,12 +91,13 @@ module PulpRpmClient
|
|
87
91
|
:'autopublish' => :'Boolean',
|
88
92
|
:'metadata_signing_service' => :'String',
|
89
93
|
:'retain_package_versions' => :'Integer',
|
90
|
-
:'
|
94
|
+
:'checksum_type' => :'PackageChecksumTypeEnum',
|
95
|
+
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
91
96
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
92
97
|
:'gpgcheck' => :'Integer',
|
93
98
|
:'repo_gpgcheck' => :'Integer',
|
94
|
-
:'
|
95
|
-
:'
|
99
|
+
:'repo_config' => :'Object',
|
100
|
+
:'compression_type' => :'CompressionTypeEnum'
|
96
101
|
}
|
97
102
|
end
|
98
103
|
|
@@ -103,10 +108,12 @@ module PulpRpmClient
|
|
103
108
|
:'retain_repo_versions',
|
104
109
|
:'remote',
|
105
110
|
:'metadata_signing_service',
|
111
|
+
:'checksum_type',
|
106
112
|
:'metadata_checksum_type',
|
107
113
|
:'package_checksum_type',
|
108
114
|
:'gpgcheck',
|
109
115
|
:'repo_gpgcheck',
|
116
|
+
:'compression_type'
|
110
117
|
])
|
111
118
|
end
|
112
119
|
|
@@ -161,6 +168,10 @@ module PulpRpmClient
|
|
161
168
|
self.retain_package_versions = attributes[:'retain_package_versions']
|
162
169
|
end
|
163
170
|
|
171
|
+
if attributes.key?(:'checksum_type')
|
172
|
+
self.checksum_type = attributes[:'checksum_type']
|
173
|
+
end
|
174
|
+
|
164
175
|
if attributes.key?(:'metadata_checksum_type')
|
165
176
|
self.metadata_checksum_type = attributes[:'metadata_checksum_type']
|
166
177
|
end
|
@@ -177,15 +188,13 @@ module PulpRpmClient
|
|
177
188
|
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
178
189
|
end
|
179
190
|
|
180
|
-
if attributes.key?(:'sqlite_metadata')
|
181
|
-
self.sqlite_metadata = attributes[:'sqlite_metadata']
|
182
|
-
else
|
183
|
-
self.sqlite_metadata = false
|
184
|
-
end
|
185
|
-
|
186
191
|
if attributes.key?(:'repo_config')
|
187
192
|
self.repo_config = attributes[:'repo_config']
|
188
193
|
end
|
194
|
+
|
195
|
+
if attributes.key?(:'compression_type')
|
196
|
+
self.compression_type = attributes[:'compression_type']
|
197
|
+
end
|
189
198
|
end
|
190
199
|
|
191
200
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -331,12 +340,13 @@ module PulpRpmClient
|
|
331
340
|
autopublish == o.autopublish &&
|
332
341
|
metadata_signing_service == o.metadata_signing_service &&
|
333
342
|
retain_package_versions == o.retain_package_versions &&
|
343
|
+
checksum_type == o.checksum_type &&
|
334
344
|
metadata_checksum_type == o.metadata_checksum_type &&
|
335
345
|
package_checksum_type == o.package_checksum_type &&
|
336
346
|
gpgcheck == o.gpgcheck &&
|
337
347
|
repo_gpgcheck == o.repo_gpgcheck &&
|
338
|
-
|
339
|
-
|
348
|
+
repo_config == o.repo_config &&
|
349
|
+
compression_type == o.compression_type
|
340
350
|
end
|
341
351
|
|
342
352
|
# @see the `==` method
|
@@ -348,7 +358,7 @@ module PulpRpmClient
|
|
348
358
|
# Calculates hash code according to all attributes.
|
349
359
|
# @return [Integer] Hash code
|
350
360
|
def hash
|
351
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck,
|
361
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
352
362
|
end
|
353
363
|
|
354
364
|
# Builds the object from hash
|
@@ -47,10 +47,13 @@ module PulpRpmClient
|
|
47
47
|
# The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package.
|
48
48
|
attr_accessor :retain_package_versions
|
49
49
|
|
50
|
-
# The checksum type
|
50
|
+
# The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
51
|
+
attr_accessor :checksum_type
|
52
|
+
|
53
|
+
# DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
51
54
|
attr_accessor :metadata_checksum_type
|
52
55
|
|
53
|
-
#
|
56
|
+
# DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
|
54
57
|
attr_accessor :package_checksum_type
|
55
58
|
|
56
59
|
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -59,12 +62,15 @@ module PulpRpmClient
|
|
59
62
|
# DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata.
|
60
63
|
attr_accessor :repo_gpgcheck
|
61
64
|
|
62
|
-
#
|
65
|
+
# REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release
|
63
66
|
attr_accessor :sqlite_metadata
|
64
67
|
|
65
68
|
# A JSON document describing config.repo file
|
66
69
|
attr_accessor :repo_config
|
67
70
|
|
71
|
+
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
72
|
+
attr_accessor :compression_type
|
73
|
+
|
68
74
|
# Attribute mapping from ruby-style variable name to JSON key.
|
69
75
|
def self.attribute_map
|
70
76
|
{
|
@@ -80,12 +86,14 @@ module PulpRpmClient
|
|
80
86
|
:'autopublish' => :'autopublish',
|
81
87
|
:'metadata_signing_service' => :'metadata_signing_service',
|
82
88
|
:'retain_package_versions' => :'retain_package_versions',
|
89
|
+
:'checksum_type' => :'checksum_type',
|
83
90
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
84
91
|
:'package_checksum_type' => :'package_checksum_type',
|
85
92
|
:'gpgcheck' => :'gpgcheck',
|
86
93
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
87
94
|
:'sqlite_metadata' => :'sqlite_metadata',
|
88
|
-
:'repo_config' => :'repo_config'
|
95
|
+
:'repo_config' => :'repo_config',
|
96
|
+
:'compression_type' => :'compression_type'
|
89
97
|
}
|
90
98
|
end
|
91
99
|
|
@@ -104,12 +112,14 @@ module PulpRpmClient
|
|
104
112
|
:'autopublish' => :'Boolean',
|
105
113
|
:'metadata_signing_service' => :'String',
|
106
114
|
:'retain_package_versions' => :'Integer',
|
107
|
-
:'
|
115
|
+
:'checksum_type' => :'PackageChecksumTypeEnum',
|
116
|
+
:'metadata_checksum_type' => :'PackageChecksumTypeEnum',
|
108
117
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
109
118
|
:'gpgcheck' => :'Integer',
|
110
119
|
:'repo_gpgcheck' => :'Integer',
|
111
120
|
:'sqlite_metadata' => :'Boolean',
|
112
|
-
:'repo_config' => :'Object'
|
121
|
+
:'repo_config' => :'Object',
|
122
|
+
:'compression_type' => :'CompressionTypeEnum'
|
113
123
|
}
|
114
124
|
end
|
115
125
|
|
@@ -120,10 +130,12 @@ module PulpRpmClient
|
|
120
130
|
:'retain_repo_versions',
|
121
131
|
:'remote',
|
122
132
|
:'metadata_signing_service',
|
133
|
+
:'checksum_type',
|
123
134
|
:'metadata_checksum_type',
|
124
135
|
:'package_checksum_type',
|
125
136
|
:'gpgcheck',
|
126
137
|
:'repo_gpgcheck',
|
138
|
+
:'compression_type'
|
127
139
|
])
|
128
140
|
end
|
129
141
|
|
@@ -194,6 +206,10 @@ module PulpRpmClient
|
|
194
206
|
self.retain_package_versions = attributes[:'retain_package_versions']
|
195
207
|
end
|
196
208
|
|
209
|
+
if attributes.key?(:'checksum_type')
|
210
|
+
self.checksum_type = attributes[:'checksum_type']
|
211
|
+
end
|
212
|
+
|
197
213
|
if attributes.key?(:'metadata_checksum_type')
|
198
214
|
self.metadata_checksum_type = attributes[:'metadata_checksum_type']
|
199
215
|
end
|
@@ -219,6 +235,10 @@ module PulpRpmClient
|
|
219
235
|
if attributes.key?(:'repo_config')
|
220
236
|
self.repo_config = attributes[:'repo_config']
|
221
237
|
end
|
238
|
+
|
239
|
+
if attributes.key?(:'compression_type')
|
240
|
+
self.compression_type = attributes[:'compression_type']
|
241
|
+
end
|
222
242
|
end
|
223
243
|
|
224
244
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -334,12 +354,14 @@ module PulpRpmClient
|
|
334
354
|
autopublish == o.autopublish &&
|
335
355
|
metadata_signing_service == o.metadata_signing_service &&
|
336
356
|
retain_package_versions == o.retain_package_versions &&
|
357
|
+
checksum_type == o.checksum_type &&
|
337
358
|
metadata_checksum_type == o.metadata_checksum_type &&
|
338
359
|
package_checksum_type == o.package_checksum_type &&
|
339
360
|
gpgcheck == o.gpgcheck &&
|
340
361
|
repo_gpgcheck == o.repo_gpgcheck &&
|
341
362
|
sqlite_metadata == o.sqlite_metadata &&
|
342
|
-
repo_config == o.repo_config
|
363
|
+
repo_config == o.repo_config &&
|
364
|
+
compression_type == o.compression_type
|
343
365
|
end
|
344
366
|
|
345
367
|
# @see the `==` method
|
@@ -351,7 +373,7 @@ module PulpRpmClient
|
|
351
373
|
# Calculates hash code according to all attributes.
|
352
374
|
# @return [Integer] Hash code
|
353
375
|
def hash
|
354
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config].hash
|
376
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
355
377
|
end
|
356
378
|
|
357
379
|
# Builds the object from hash
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -21,11 +21,11 @@ require 'pulp_rpm_client/models/addon_response'
|
|
21
21
|
require 'pulp_rpm_client/models/artifact_response'
|
22
22
|
require 'pulp_rpm_client/models/async_operation_response'
|
23
23
|
require 'pulp_rpm_client/models/checksum_response'
|
24
|
+
require 'pulp_rpm_client/models/compression_type_enum'
|
24
25
|
require 'pulp_rpm_client/models/comps_xml'
|
25
26
|
require 'pulp_rpm_client/models/content_summary_response'
|
26
27
|
require 'pulp_rpm_client/models/copy'
|
27
28
|
require 'pulp_rpm_client/models/image_response'
|
28
|
-
require 'pulp_rpm_client/models/metadata_checksum_type_enum'
|
29
29
|
require 'pulp_rpm_client/models/my_permissions_response'
|
30
30
|
require 'pulp_rpm_client/models/nested_role'
|
31
31
|
require 'pulp_rpm_client/models/nested_role_response'
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpRpmClient::
|
17
|
+
# Unit tests for PulpRpmClient::CompressionTypeEnum
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'CompressionTypeEnum' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpRpmClient::
|
23
|
+
@instance = PulpRpmClient::CompressionTypeEnum.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpRpmClient::
|
30
|
+
describe 'test an instance of CompressionTypeEnum' do
|
31
|
+
it 'should create an instance of CompressionTypeEnum' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::CompressionTypeEnum)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -80,6 +80,12 @@ describe 'PatchedrpmRpmRepository' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
describe 'test attribute "checksum_type"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
83
89
|
describe 'test attribute "metadata_checksum_type"' do
|
84
90
|
it 'should work' do
|
85
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -104,13 +110,13 @@ describe 'PatchedrpmRpmRepository' do
|
|
104
110
|
end
|
105
111
|
end
|
106
112
|
|
107
|
-
describe 'test attribute "
|
113
|
+
describe 'test attribute "repo_config"' do
|
108
114
|
it 'should work' do
|
109
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
116
|
end
|
111
117
|
end
|
112
118
|
|
113
|
-
describe 'test attribute "
|
119
|
+
describe 'test attribute "compression_type"' do
|
114
120
|
it 'should work' do
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
122
|
end
|
@@ -56,6 +56,12 @@ describe 'RpmRpmPublicationResponse' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "checksum_type"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "metadata_checksum_type"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -92,4 +98,10 @@ describe 'RpmRpmPublicationResponse' do
|
|
92
98
|
end
|
93
99
|
end
|
94
100
|
|
101
|
+
describe 'test attribute "compression_type"' 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
|
+
|
95
107
|
end
|
@@ -44,6 +44,12 @@ describe 'RpmRpmPublication' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "checksum_type"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "metadata_checksum_type"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -68,13 +74,13 @@ describe 'RpmRpmPublication' do
|
|
68
74
|
end
|
69
75
|
end
|
70
76
|
|
71
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "repo_config"' do
|
72
78
|
it 'should work' do
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
80
|
end
|
75
81
|
end
|
76
82
|
|
77
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "compression_type"' do
|
78
84
|
it 'should work' do
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
86
|
end
|
@@ -104,6 +104,12 @@ describe 'RpmRpmRepositoryResponse' do
|
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
107
|
+
describe 'test attribute "checksum_type"' 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
|
+
|
107
113
|
describe 'test attribute "metadata_checksum_type"' do
|
108
114
|
it 'should work' do
|
109
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -140,4 +146,10 @@ describe 'RpmRpmRepositoryResponse' do
|
|
140
146
|
end
|
141
147
|
end
|
142
148
|
|
149
|
+
describe 'test attribute "compression_type"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
143
155
|
end
|
@@ -80,6 +80,12 @@ describe 'RpmRpmRepository' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
describe 'test attribute "checksum_type"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
83
89
|
describe 'test attribute "metadata_checksum_type"' do
|
84
90
|
it 'should work' do
|
85
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -104,13 +110,13 @@ describe 'RpmRpmRepository' do
|
|
104
110
|
end
|
105
111
|
end
|
106
112
|
|
107
|
-
describe 'test attribute "
|
113
|
+
describe 'test attribute "repo_config"' do
|
108
114
|
it 'should work' do
|
109
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
116
|
end
|
111
117
|
end
|
112
118
|
|
113
|
-
describe 'test attribute "
|
119
|
+
describe 'test attribute "compression_type"' do
|
114
120
|
it 'should work' do
|
115
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
122
|
end
|