pulp_deb_client 3.10.0 → 3.11.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 +5 -5
- data/docs/{RepositoryAddRemoveContent.md → AptRepositoryAddRemoveContent.md} +7 -3
- data/docs/AptRepositorySyncURL.md +1 -1
- data/docs/ContentInstallerPackagesApi.md +2 -2
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemote.md +3 -1
- data/docs/DebAptRemoteResponse.md +3 -1
- data/docs/DebAptRepository.md +3 -1
- data/docs/DebAptRepositoryResponse.md +3 -1
- data/docs/DebInstallerPackageResponse.md +3 -1
- data/docs/DebPackageResponse.md +3 -1
- data/docs/PatcheddebAptRemote.md +3 -1
- data/docs/PatcheddebAptRepository.md +3 -1
- data/docs/RepositoriesAptApi.md +6 -6
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +9 -9
- data/lib/pulp_deb_client/models/{repository_add_remove_content.rb → apt_repository_add_remove_content.rb} +66 -8
- data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +16 -4
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +16 -4
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +17 -5
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +17 -5
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_package_response.rb +14 -5
- data/lib/pulp_deb_client/models/nested_role.rb +1 -1
- data/lib/pulp_deb_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +16 -4
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +17 -5
- data/lib/pulp_deb_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/repositories_apt_api_spec.rb +1 -1
- data/spec/models/{repository_add_remove_content_spec.rb → apt_repository_add_remove_content_spec.rb} +18 -6
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +6 -0
- metadata +88 -88
|
@@ -123,6 +123,8 @@ module PulpDebClient
|
|
|
123
123
|
# List of signing key fingerprints used to sign this package.
|
|
124
124
|
attr_accessor :signing_keys
|
|
125
125
|
|
|
126
|
+
attr_accessor :metadata_sha256
|
|
127
|
+
|
|
126
128
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
127
129
|
def self.attribute_map
|
|
128
130
|
{
|
|
@@ -171,7 +173,8 @@ module PulpDebClient
|
|
|
171
173
|
:'pre_depends' => :'pre_depends',
|
|
172
174
|
:'provides' => :'provides',
|
|
173
175
|
:'replaces' => :'replaces',
|
|
174
|
-
:'signing_keys' => :'signing_keys'
|
|
176
|
+
:'signing_keys' => :'signing_keys',
|
|
177
|
+
:'metadata_sha256' => :'metadata_sha256'
|
|
175
178
|
}
|
|
176
179
|
end
|
|
177
180
|
|
|
@@ -228,14 +231,15 @@ module PulpDebClient
|
|
|
228
231
|
:'pre_depends' => :'String',
|
|
229
232
|
:'provides' => :'String',
|
|
230
233
|
:'replaces' => :'String',
|
|
231
|
-
:'signing_keys' => :'Array<String>'
|
|
234
|
+
:'signing_keys' => :'Array<String>',
|
|
235
|
+
:'metadata_sha256' => :'String'
|
|
232
236
|
}
|
|
233
237
|
end
|
|
234
238
|
|
|
235
239
|
# List of attributes with nullable: true
|
|
236
240
|
def self.openapi_nullable
|
|
237
241
|
Set.new([
|
|
238
|
-
:'signing_keys'
|
|
242
|
+
:'signing_keys',
|
|
239
243
|
])
|
|
240
244
|
end
|
|
241
245
|
|
|
@@ -441,6 +445,10 @@ module PulpDebClient
|
|
|
441
445
|
self.signing_keys = value
|
|
442
446
|
end
|
|
443
447
|
end
|
|
448
|
+
|
|
449
|
+
if attributes.key?(:'metadata_sha256')
|
|
450
|
+
self.metadata_sha256 = attributes[:'metadata_sha256']
|
|
451
|
+
end
|
|
444
452
|
end
|
|
445
453
|
|
|
446
454
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -508,7 +516,8 @@ module PulpDebClient
|
|
|
508
516
|
pre_depends == o.pre_depends &&
|
|
509
517
|
provides == o.provides &&
|
|
510
518
|
replaces == o.replaces &&
|
|
511
|
-
signing_keys == o.signing_keys
|
|
519
|
+
signing_keys == o.signing_keys &&
|
|
520
|
+
metadata_sha256 == o.metadata_sha256
|
|
512
521
|
end
|
|
513
522
|
|
|
514
523
|
# @see the `==` method
|
|
@@ -520,7 +529,7 @@ module PulpDebClient
|
|
|
520
529
|
# Calculates hash code according to all attributes.
|
|
521
530
|
# @return [Integer] Hash code
|
|
522
531
|
def hash
|
|
523
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces, signing_keys].hash
|
|
532
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces, signing_keys, metadata_sha256].hash
|
|
524
533
|
end
|
|
525
534
|
|
|
526
535
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpDebClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRole
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpDebClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRoleResponse
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -102,6 +102,9 @@ module PulpDebClient
|
|
|
102
102
|
# By default, upstream repositories that declare architectures and corresponding package indices in their Release files without actually publishing them, will fail to synchronize. Set this flag to True to allow the synchronization of such \"partial mirrors\" instead. Alternatively, you could make your remote filter by architectures for which the upstream repository does have indices.
|
|
103
103
|
attr_accessor :ignore_missing_package_indices
|
|
104
104
|
|
|
105
|
+
# Package metadata field names to drop while syncing package indices. Only custom package metadata fields are affected. Core fields such as Package, Version, Architecture, Filename, checksums, and Size are never filtered. Matching is case-insensitive. Example: ['Phased-Update-Percentage'].
|
|
106
|
+
attr_accessor :excluded_package_metadata_fields
|
|
107
|
+
|
|
105
108
|
class EnumAttributeValidator
|
|
106
109
|
attr_reader :datatype
|
|
107
110
|
attr_reader :allowable_values
|
|
@@ -155,7 +158,8 @@ module PulpDebClient
|
|
|
155
158
|
:'sync_udebs' => :'sync_udebs',
|
|
156
159
|
:'sync_installer' => :'sync_installer',
|
|
157
160
|
:'gpgkey' => :'gpgkey',
|
|
158
|
-
:'ignore_missing_package_indices' => :'ignore_missing_package_indices'
|
|
161
|
+
:'ignore_missing_package_indices' => :'ignore_missing_package_indices',
|
|
162
|
+
:'excluded_package_metadata_fields' => :'excluded_package_metadata_fields'
|
|
159
163
|
}
|
|
160
164
|
end
|
|
161
165
|
|
|
@@ -195,7 +199,8 @@ module PulpDebClient
|
|
|
195
199
|
:'sync_udebs' => :'Boolean',
|
|
196
200
|
:'sync_installer' => :'Boolean',
|
|
197
201
|
:'gpgkey' => :'String',
|
|
198
|
-
:'ignore_missing_package_indices' => :'Boolean'
|
|
202
|
+
:'ignore_missing_package_indices' => :'Boolean',
|
|
203
|
+
:'excluded_package_metadata_fields' => :'Array<String>'
|
|
199
204
|
}
|
|
200
205
|
end
|
|
201
206
|
|
|
@@ -357,6 +362,12 @@ module PulpDebClient
|
|
|
357
362
|
if attributes.key?(:'ignore_missing_package_indices')
|
|
358
363
|
self.ignore_missing_package_indices = attributes[:'ignore_missing_package_indices']
|
|
359
364
|
end
|
|
365
|
+
|
|
366
|
+
if attributes.key?(:'excluded_package_metadata_fields')
|
|
367
|
+
if (value = attributes[:'excluded_package_metadata_fields']).is_a?(Array)
|
|
368
|
+
self.excluded_package_metadata_fields = value
|
|
369
|
+
end
|
|
370
|
+
end
|
|
360
371
|
end
|
|
361
372
|
|
|
362
373
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -704,7 +715,8 @@ module PulpDebClient
|
|
|
704
715
|
sync_udebs == o.sync_udebs &&
|
|
705
716
|
sync_installer == o.sync_installer &&
|
|
706
717
|
gpgkey == o.gpgkey &&
|
|
707
|
-
ignore_missing_package_indices == o.ignore_missing_package_indices
|
|
718
|
+
ignore_missing_package_indices == o.ignore_missing_package_indices &&
|
|
719
|
+
excluded_package_metadata_fields == o.excluded_package_metadata_fields
|
|
708
720
|
end
|
|
709
721
|
|
|
710
722
|
# @see the `==` method
|
|
@@ -716,7 +728,7 @@ module PulpDebClient
|
|
|
716
728
|
# Calculates hash code according to all attributes.
|
|
717
729
|
# @return [Integer] Hash code
|
|
718
730
|
def hash
|
|
719
|
-
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
|
|
731
|
+
[name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices, excluded_package_metadata_fields].hash
|
|
720
732
|
end
|
|
721
733
|
|
|
722
734
|
# Builds the object from hash
|
|
@@ -54,6 +54,9 @@ module PulpDebClient
|
|
|
54
54
|
# The pubkey fingerprint to be passed to the package signing service. Format: 'v<N>:<hex-fingerprint>' or 'keyid:<16-hex-char>'. Example: 'v4:ABCDEF1234567890ABCDEF1234567890ABCDEF12'. The signing service will use that on signing operations related to this repository.
|
|
55
55
|
attr_accessor :package_signing_fingerprint
|
|
56
56
|
|
|
57
|
+
# Default package metadata field names to omit from generated Packages indices. This repository level setting is used when a publication does not specify its own excluded_package_metadata_fields. Only custom package metadata fields are affected. Core fields are never filtered. Matching is case-insensitive. Example: ['Phased-Update-Percentage'].
|
|
58
|
+
attr_accessor :excluded_package_metadata_fields
|
|
59
|
+
|
|
57
60
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
58
61
|
def self.attribute_map
|
|
59
62
|
{
|
|
@@ -69,7 +72,8 @@ module PulpDebClient
|
|
|
69
72
|
:'signing_service_release_overrides' => :'signing_service_release_overrides',
|
|
70
73
|
:'package_signing_fingerprint_release_overrides' => :'package_signing_fingerprint_release_overrides',
|
|
71
74
|
:'package_signing_service' => :'package_signing_service',
|
|
72
|
-
:'package_signing_fingerprint' => :'package_signing_fingerprint'
|
|
75
|
+
:'package_signing_fingerprint' => :'package_signing_fingerprint',
|
|
76
|
+
:'excluded_package_metadata_fields' => :'excluded_package_metadata_fields'
|
|
73
77
|
}
|
|
74
78
|
end
|
|
75
79
|
|
|
@@ -93,7 +97,8 @@ module PulpDebClient
|
|
|
93
97
|
:'signing_service_release_overrides' => :'Hash<String, String>',
|
|
94
98
|
:'package_signing_fingerprint_release_overrides' => :'Hash<String, String>',
|
|
95
99
|
:'package_signing_service' => :'String',
|
|
96
|
-
:'package_signing_fingerprint' => :'String'
|
|
100
|
+
:'package_signing_fingerprint' => :'String',
|
|
101
|
+
:'excluded_package_metadata_fields' => :'Array<String>'
|
|
97
102
|
}
|
|
98
103
|
end
|
|
99
104
|
|
|
@@ -106,7 +111,7 @@ module PulpDebClient
|
|
|
106
111
|
:'remote',
|
|
107
112
|
:'signing_service',
|
|
108
113
|
:'package_signing_service',
|
|
109
|
-
:'package_signing_fingerprint'
|
|
114
|
+
:'package_signing_fingerprint',
|
|
110
115
|
])
|
|
111
116
|
end
|
|
112
117
|
|
|
@@ -184,6 +189,12 @@ module PulpDebClient
|
|
|
184
189
|
if attributes.key?(:'package_signing_fingerprint')
|
|
185
190
|
self.package_signing_fingerprint = attributes[:'package_signing_fingerprint']
|
|
186
191
|
end
|
|
192
|
+
|
|
193
|
+
if attributes.key?(:'excluded_package_metadata_fields')
|
|
194
|
+
if (value = attributes[:'excluded_package_metadata_fields']).is_a?(Array)
|
|
195
|
+
self.excluded_package_metadata_fields = value
|
|
196
|
+
end
|
|
197
|
+
end
|
|
187
198
|
end
|
|
188
199
|
|
|
189
200
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -306,7 +317,8 @@ module PulpDebClient
|
|
|
306
317
|
signing_service_release_overrides == o.signing_service_release_overrides &&
|
|
307
318
|
package_signing_fingerprint_release_overrides == o.package_signing_fingerprint_release_overrides &&
|
|
308
319
|
package_signing_service == o.package_signing_service &&
|
|
309
|
-
package_signing_fingerprint == o.package_signing_fingerprint
|
|
320
|
+
package_signing_fingerprint == o.package_signing_fingerprint &&
|
|
321
|
+
excluded_package_metadata_fields == o.excluded_package_metadata_fields
|
|
310
322
|
end
|
|
311
323
|
|
|
312
324
|
# @see the `==` method
|
|
@@ -318,7 +330,7 @@ module PulpDebClient
|
|
|
318
330
|
# Calculates hash code according to all attributes.
|
|
319
331
|
# @return [Integer] Hash code
|
|
320
332
|
def hash
|
|
321
|
-
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, publish_upstream_release_fields, signing_service, signing_service_release_overrides, package_signing_fingerprint_release_overrides, package_signing_service, package_signing_fingerprint].hash
|
|
333
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish, publish_upstream_release_fields, signing_service, signing_service_release_overrides, package_signing_fingerprint_release_overrides, package_signing_service, package_signing_fingerprint, excluded_package_metadata_fields].hash
|
|
322
334
|
end
|
|
323
335
|
|
|
324
336
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpDebClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class RepositoryVersionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
data/lib/pulp_deb_client.rb
CHANGED
|
@@ -17,6 +17,7 @@ require 'pulp_deb_client/version'
|
|
|
17
17
|
require 'pulp_deb_client/configuration'
|
|
18
18
|
|
|
19
19
|
# Models
|
|
20
|
+
require 'pulp_deb_client/models/apt_repository_add_remove_content'
|
|
20
21
|
require 'pulp_deb_client/models/apt_repository_sync_url'
|
|
21
22
|
require 'pulp_deb_client/models/async_operation_response'
|
|
22
23
|
require 'pulp_deb_client/models/content_summary_response'
|
|
@@ -90,7 +91,6 @@ require 'pulp_deb_client/models/policy_enum'
|
|
|
90
91
|
require 'pulp_deb_client/models/remote_network_config'
|
|
91
92
|
require 'pulp_deb_client/models/remote_network_config_response'
|
|
92
93
|
require 'pulp_deb_client/models/repair'
|
|
93
|
-
require 'pulp_deb_client/models/repository_add_remove_content'
|
|
94
94
|
require 'pulp_deb_client/models/repository_version_response'
|
|
95
95
|
require 'pulp_deb_client/models/set_label'
|
|
96
96
|
require 'pulp_deb_client/models/set_label_response'
|
|
@@ -68,7 +68,7 @@ describe 'ContentInstallerPackagesApi' do
|
|
|
68
68
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
|
69
69
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
|
70
70
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
71
|
-
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `architecture_variant` - Architecture variant * `-architecture_variant` - Architecture variant (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
71
|
+
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `architecture_variant` - Architecture variant * `-architecture_variant` - Architecture variant (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
72
72
|
# @option opts [String] :origin Filter results where origin matches value
|
|
73
73
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
|
74
74
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
@@ -70,7 +70,7 @@ describe 'ContentPackagesApi' do
|
|
|
70
70
|
# @option opts [String] :maintainer Filter results where maintainer matches value
|
|
71
71
|
# @option opts [String] :multi_arch Filter results where multi_arch matches value * `no` - no * `same` - same * `foreign` - foreign * `allowed` - allowed
|
|
72
72
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
73
|
-
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `architecture_variant` - Architecture variant * `-architecture_variant` - Architecture variant (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
73
|
+
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `package` - Package * `-package` - Package (descending) * `source` - Source * `-source` - Source (descending) * `version` - Version * `-version` - Version (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `architecture_variant` - Architecture variant * `-architecture_variant` - Architecture variant (descending) * `section` - Section * `-section` - Section (descending) * `priority` - Priority * `-priority` - Priority (descending) * `origin` - Origin * `-origin` - Origin (descending) * `tag` - Tag * `-tag` - Tag (descending) * `bugs` - Bugs * `-bugs` - Bugs (descending) * `essential` - Essential * `-essential` - Essential (descending) * `build_essential` - Build essential * `-build_essential` - Build essential (descending) * `installed_size` - Installed size * `-installed_size` - Installed size (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `original_maintainer` - Original maintainer * `-original_maintainer` - Original maintainer (descending) * `description` - Description * `-description` - Description (descending) * `description_md5` - Description md5 * `-description_md5` - Description md5 (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `built_using` - Built using * `-built_using` - Built using (descending) * `auto_built_package` - Auto built package * `-auto_built_package` - Auto built package (descending) * `multi_arch` - Multi arch * `-multi_arch` - Multi arch (descending) * `breaks` - Breaks * `-breaks` - Breaks (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `depends` - Depends * `-depends` - Depends (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `pre_depends` - Pre depends * `-pre_depends` - Pre depends (descending) * `provides` - Provides * `-provides` - Provides (descending) * `replaces` - Replaces * `-replaces` - Replaces (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `signing_keys` - Signing keys * `-signing_keys` - Signing keys (descending) * `custom_fields` - Custom fields * `-custom_fields` - Custom fields (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
74
74
|
# @option opts [String] :origin Filter results where origin matches value
|
|
75
75
|
# @option opts [String] :original_maintainer Filter results where original_maintainer matches value
|
|
76
76
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
@@ -141,7 +141,7 @@ describe 'RepositoriesAptApi' do
|
|
|
141
141
|
# Modify Repository Content
|
|
142
142
|
# Trigger an asynchronous task to create a new repository version.
|
|
143
143
|
# @param deb_apt_repository_href
|
|
144
|
-
# @param
|
|
144
|
+
# @param apt_repository_add_remove_content
|
|
145
145
|
# @param [Hash] opts the optional parameters
|
|
146
146
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
147
147
|
# @return [AsyncOperationResponse]
|
data/spec/models/{repository_add_remove_content_spec.rb → apt_repository_add_remove_content_spec.rb}
RENAMED
|
@@ -14,16 +14,16 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpDebClient::
|
|
17
|
+
# Unit tests for PulpDebClient::AptRepositoryAddRemoveContent
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe PulpDebClient::
|
|
21
|
-
let(:instance) { PulpDebClient::
|
|
20
|
+
describe PulpDebClient::AptRepositoryAddRemoveContent do
|
|
21
|
+
let(:instance) { PulpDebClient::AptRepositoryAddRemoveContent.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of AptRepositoryAddRemoveContent' do
|
|
24
|
+
it 'should create an instance of AptRepositoryAddRemoveContent' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(PulpDebClient::
|
|
26
|
+
#expect(instance).to be_instance_of(PulpDebClient::AptRepositoryAddRemoveContent)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
@@ -51,4 +51,16 @@ describe PulpDebClient::RepositoryAddRemoveContent do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "distribution"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "component"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
54
66
|
end
|
|
@@ -99,6 +99,12 @@ describe PulpDebClient::DebAptPublicationResponse do
|
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
describe 'test attribute "excluded_package_metadata_fields"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
102
108
|
describe 'test attribute "layout"' do
|
|
103
109
|
it 'should work' do
|
|
104
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -75,6 +75,12 @@ describe PulpDebClient::DebAptPublication do
|
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
describe 'test attribute "excluded_package_metadata_fields"' 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
|
describe 'test attribute "layout"' do
|
|
79
85
|
it 'should work' do
|
|
80
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -201,4 +201,10 @@ describe PulpDebClient::DebAptRemoteResponse do
|
|
|
201
201
|
end
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
+
describe 'test attribute "excluded_package_metadata_fields"' do
|
|
205
|
+
it 'should work' do
|
|
206
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
|
|
204
210
|
end
|
|
@@ -201,4 +201,10 @@ describe PulpDebClient::DebAptRemote do
|
|
|
201
201
|
end
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
+
describe 'test attribute "excluded_package_metadata_fields"' do
|
|
205
|
+
it 'should work' do
|
|
206
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
|
|
204
210
|
end
|
|
@@ -141,4 +141,10 @@ describe PulpDebClient::DebAptRepositoryResponse do
|
|
|
141
141
|
end
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
+
describe 'test attribute "excluded_package_metadata_fields"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
144
150
|
end
|
|
@@ -105,4 +105,10 @@ describe PulpDebClient::DebAptRepository do
|
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
describe 'test attribute "excluded_package_metadata_fields"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
108
114
|
end
|
|
@@ -291,4 +291,10 @@ describe PulpDebClient::DebInstallerPackageResponse do
|
|
|
291
291
|
end
|
|
292
292
|
end
|
|
293
293
|
|
|
294
|
+
describe 'test attribute "metadata_sha256"' do
|
|
295
|
+
it 'should work' do
|
|
296
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
|
|
294
300
|
end
|
|
@@ -303,4 +303,10 @@ describe PulpDebClient::DebPackageResponse do
|
|
|
303
303
|
end
|
|
304
304
|
end
|
|
305
305
|
|
|
306
|
+
describe 'test attribute "metadata_sha256"' do
|
|
307
|
+
it 'should work' do
|
|
308
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
309
|
+
end
|
|
310
|
+
end
|
|
311
|
+
|
|
306
312
|
end
|
|
@@ -201,4 +201,10 @@ describe PulpDebClient::PatcheddebAptRemote do
|
|
|
201
201
|
end
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
+
describe 'test attribute "excluded_package_metadata_fields"' do
|
|
205
|
+
it 'should work' do
|
|
206
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
|
|
204
210
|
end
|
|
@@ -105,4 +105,10 @@ describe PulpDebClient::PatcheddebAptRepository do
|
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
describe 'test attribute "excluded_package_metadata_fields"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
108
114
|
end
|