pulp_rpm_client 3.18.20 → 3.19.0.dev1669865102
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_rpm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +36 -8
- data/docs/AcsRpmApi.md +230 -6
- data/docs/ContentAdvisoriesApi.md +2 -6
- data/docs/ContentDistributionTreesApi.md +2 -6
- data/docs/ContentModulemdDefaultsApi.md +2 -6
- data/docs/ContentModulemdObsoletesApi.md +2 -6
- data/docs/ContentModulemdsApi.md +2 -6
- data/docs/ContentPackagecategoriesApi.md +2 -6
- data/docs/ContentPackageenvironmentsApi.md +2 -6
- data/docs/ContentPackagegroupsApi.md +2 -6
- data/docs/ContentPackagelangpacksApi.md +2 -6
- data/docs/ContentPackagesApi.md +4 -8
- data/docs/ContentRepoMetadataFilesApi.md +2 -6
- data/docs/DistributionsRpmApi.md +230 -10
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PatchedrpmRpmDistribution.md +1 -1
- data/docs/PatchedrpmRpmRemote.md +2 -2
- data/docs/PatchedrpmRpmRepository.md +4 -4
- data/docs/PatchedrpmUlnRemote.md +2 -2
- data/docs/PublicationsRpmApi.md +230 -6
- data/docs/RemotesRpmApi.md +230 -6
- data/docs/RemotesUlnApi.md +230 -6
- data/docs/RepositoriesRpmApi.md +230 -22
- data/docs/RepositoriesRpmVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmDistribution.md +1 -1
- data/docs/RpmRpmDistributionResponse.md +1 -1
- data/docs/RpmRpmPublication.md +2 -2
- data/docs/RpmRpmPublicationResponse.md +2 -2
- data/docs/RpmRpmRemote.md +2 -2
- data/docs/RpmRpmRemoteResponse.md +2 -2
- data/docs/RpmRpmRepository.md +4 -4
- data/docs/RpmRpmRepositoryResponse.md +4 -4
- data/docs/RpmUlnRemote.md +2 -2
- data/docs/RpmUlnRemoteResponse.md +2 -2
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +271 -15
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +271 -9
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +271 -9
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +271 -33
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_rpm_client/models/nested_role.rb +234 -0
- data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +5 -7
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +3 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +5 -7
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +5 -7
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +3 -5
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +3 -5
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +4 -0
- data/spec/api/acs_rpm_api_spec.rb +51 -3
- data/spec/api/content_advisories_api_spec.rb +1 -3
- data/spec/api/content_distribution_trees_api_spec.rb +1 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
- data/spec/api/content_modulemds_api_spec.rb +1 -3
- data/spec/api/content_packagecategories_api_spec.rb +1 -3
- data/spec/api/content_packageenvironments_api_spec.rb +1 -3
- data/spec/api/content_packagegroups_api_spec.rb +1 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
- data/spec/api/content_packages_api_spec.rb +2 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
- data/spec/api/distributions_rpm_api_spec.rb +51 -5
- data/spec/api/publications_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_rpm_api_spec.rb +51 -3
- data/spec/api/remotes_uln_api_spec.rb +51 -3
- data/spec/api/repositories_rpm_api_spec.rb +51 -11
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- metadata +92 -76
@@ -56,7 +56,7 @@ module PulpRpmClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
59
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -122,7 +122,7 @@ module PulpRpmClient
|
|
122
122
|
:'proxy_password' => :'String',
|
123
123
|
:'username' => :'String',
|
124
124
|
:'password' => :'String',
|
125
|
-
:'pulp_labels' => :'
|
125
|
+
:'pulp_labels' => :'Object',
|
126
126
|
:'download_concurrency' => :'Integer',
|
127
127
|
:'max_retries' => :'Integer',
|
128
128
|
:'policy' => :'PolicyEnum',
|
@@ -218,9 +218,7 @@ module PulpRpmClient
|
|
218
218
|
end
|
219
219
|
|
220
220
|
if attributes.key?(:'pulp_labels')
|
221
|
-
|
222
|
-
self.pulp_labels = value
|
223
|
-
end
|
221
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
224
222
|
end
|
225
223
|
|
226
224
|
if attributes.key?(:'download_concurrency')
|
@@ -23,7 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -38,10 +38,10 @@ 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 for metadata.
|
41
|
+
# The checksum type for metadata.
|
42
42
|
attr_accessor :metadata_checksum_type
|
43
43
|
|
44
|
-
# The checksum type for packages.
|
44
|
+
# The checksum type for packages.
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
47
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -75,7 +75,7 @@ module PulpRpmClient
|
|
75
75
|
# Attribute type mapping.
|
76
76
|
def self.openapi_types
|
77
77
|
{
|
78
|
-
:'pulp_labels' => :'
|
78
|
+
:'pulp_labels' => :'Object',
|
79
79
|
:'name' => :'String',
|
80
80
|
:'description' => :'String',
|
81
81
|
:'retain_repo_versions' => :'Integer',
|
@@ -119,9 +119,7 @@ module PulpRpmClient
|
|
119
119
|
}
|
120
120
|
|
121
121
|
if attributes.key?(:'pulp_labels')
|
122
|
-
|
123
|
-
self.pulp_labels = value
|
124
|
-
end
|
122
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
125
123
|
end
|
126
124
|
|
127
125
|
if attributes.key?(:'name')
|
@@ -56,7 +56,7 @@ module PulpRpmClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
59
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -122,7 +122,7 @@ module PulpRpmClient
|
|
122
122
|
:'proxy_password' => :'String',
|
123
123
|
:'username' => :'String',
|
124
124
|
:'password' => :'String',
|
125
|
-
:'pulp_labels' => :'
|
125
|
+
:'pulp_labels' => :'Object',
|
126
126
|
:'download_concurrency' => :'Integer',
|
127
127
|
:'max_retries' => :'Integer',
|
128
128
|
:'policy' => :'PolicyEnum',
|
@@ -216,9 +216,7 @@ module PulpRpmClient
|
|
216
216
|
end
|
217
217
|
|
218
218
|
if attributes.key?(:'pulp_labels')
|
219
|
-
|
220
|
-
self.pulp_labels = value
|
221
|
-
end
|
219
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
222
220
|
end
|
223
221
|
|
224
222
|
if attributes.key?(:'download_concurrency')
|
@@ -36,8 +36,8 @@ module PulpRpmClient
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'add_content_units' => :'Array<
|
40
|
-
:'remove_content_units' => :'Array<
|
39
|
+
:'add_content_units' => :'Array<AnyType>',
|
40
|
+
:'remove_content_units' => :'Array<AnyType>',
|
41
41
|
:'base_version' => :'String'
|
42
42
|
}
|
43
43
|
end
|
@@ -21,7 +21,7 @@ module PulpRpmClient
|
|
21
21
|
# DEPRECATED: If ``True``, ``sync_policy`` will default to 'mirror_complete' instead of 'additive'.
|
22
22
|
attr_accessor :mirror
|
23
23
|
|
24
|
-
# Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced.
|
24
|
+
# Options: 'additive', 'mirror_complete', 'mirror_content_only'. Default: 'additive'. Modifies how the sync is performed. 'mirror_complete' will clone the original metadata and create an automatic publication from it, but comes with some limitations and does not work for certain repositories. 'mirror_content_only' will change the repository contents to match the remote but the metadata will be regenerated and will not be bit-for-bit identical. 'additive' will retain the existing contents of the repository and add the contents of the repository being synced.
|
25
25
|
attr_accessor :sync_policy
|
26
26
|
|
27
27
|
# List of content types to skip during sync.
|
@@ -49,7 +49,7 @@ module PulpRpmClient
|
|
49
49
|
{
|
50
50
|
:'base_path' => :'String',
|
51
51
|
:'content_guard' => :'String',
|
52
|
-
:'pulp_labels' => :'
|
52
|
+
:'pulp_labels' => :'Object',
|
53
53
|
:'name' => :'String',
|
54
54
|
:'repository' => :'String',
|
55
55
|
:'publication' => :'String'
|
@@ -89,9 +89,7 @@ module PulpRpmClient
|
|
89
89
|
end
|
90
90
|
|
91
91
|
if attributes.key?(:'pulp_labels')
|
92
|
-
|
93
|
-
self.pulp_labels = value
|
94
|
-
end
|
92
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
95
93
|
end
|
96
94
|
|
97
95
|
if attributes.key?(:'name')
|
@@ -63,7 +63,7 @@ module PulpRpmClient
|
|
63
63
|
:'base_path' => :'String',
|
64
64
|
:'base_url' => :'String',
|
65
65
|
:'content_guard' => :'String',
|
66
|
-
:'pulp_labels' => :'
|
66
|
+
:'pulp_labels' => :'Object',
|
67
67
|
:'name' => :'String',
|
68
68
|
:'repository' => :'String',
|
69
69
|
:'publication' => :'String'
|
@@ -115,9 +115,7 @@ module PulpRpmClient
|
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'pulp_labels')
|
118
|
-
|
119
|
-
self.pulp_labels = value
|
120
|
-
end
|
118
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
121
119
|
end
|
122
120
|
|
123
121
|
if attributes.key?(:'name')
|
@@ -20,10 +20,10 @@ module PulpRpmClient
|
|
20
20
|
# A URI of the repository to be published.
|
21
21
|
attr_accessor :repository
|
22
22
|
|
23
|
-
# The checksum type for metadata.
|
23
|
+
# The checksum type for metadata.
|
24
24
|
attr_accessor :metadata_checksum_type
|
25
25
|
|
26
|
-
# The checksum type for packages.
|
26
|
+
# The checksum type for packages.
|
27
27
|
attr_accessor :package_checksum_type
|
28
28
|
|
29
29
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -25,10 +25,10 @@ module PulpRpmClient
|
|
25
25
|
# A URI of the repository to be published.
|
26
26
|
attr_accessor :repository
|
27
27
|
|
28
|
-
# The checksum type for metadata.
|
28
|
+
# The checksum type for metadata.
|
29
29
|
attr_accessor :metadata_checksum_type
|
30
30
|
|
31
|
-
# The checksum type for packages.
|
31
|
+
# The checksum type for packages.
|
32
32
|
attr_accessor :package_checksum_type
|
33
33
|
|
34
34
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -56,7 +56,7 @@ module PulpRpmClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
59
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -122,7 +122,7 @@ module PulpRpmClient
|
|
122
122
|
:'proxy_password' => :'String',
|
123
123
|
:'username' => :'String',
|
124
124
|
:'password' => :'String',
|
125
|
-
:'pulp_labels' => :'
|
125
|
+
:'pulp_labels' => :'Object',
|
126
126
|
:'download_concurrency' => :'Integer',
|
127
127
|
:'max_retries' => :'Integer',
|
128
128
|
:'policy' => :'PolicyEnum',
|
@@ -218,9 +218,7 @@ module PulpRpmClient
|
|
218
218
|
end
|
219
219
|
|
220
220
|
if attributes.key?(:'pulp_labels')
|
221
|
-
|
222
|
-
self.pulp_labels = value
|
223
|
-
end
|
221
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
224
222
|
end
|
225
223
|
|
226
224
|
if attributes.key?(:'download_concurrency')
|
@@ -49,7 +49,7 @@ module PulpRpmClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
52
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -114,7 +114,7 @@ module PulpRpmClient
|
|
114
114
|
:'client_cert' => :'String',
|
115
115
|
:'tls_validation' => :'Boolean',
|
116
116
|
:'proxy_url' => :'String',
|
117
|
-
:'pulp_labels' => :'
|
117
|
+
:'pulp_labels' => :'Object',
|
118
118
|
:'pulp_last_updated' => :'DateTime',
|
119
119
|
:'download_concurrency' => :'Integer',
|
120
120
|
:'max_retries' => :'Integer',
|
@@ -195,9 +195,7 @@ module PulpRpmClient
|
|
195
195
|
end
|
196
196
|
|
197
197
|
if attributes.key?(:'pulp_labels')
|
198
|
-
|
199
|
-
self.pulp_labels = value
|
200
|
-
end
|
198
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
201
199
|
end
|
202
200
|
|
203
201
|
if attributes.key?(:'pulp_last_updated')
|
@@ -23,7 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -38,10 +38,10 @@ 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 for metadata.
|
41
|
+
# The checksum type for metadata.
|
42
42
|
attr_accessor :metadata_checksum_type
|
43
43
|
|
44
|
-
# The checksum type for packages.
|
44
|
+
# The checksum type for packages.
|
45
45
|
attr_accessor :package_checksum_type
|
46
46
|
|
47
47
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -75,7 +75,7 @@ module PulpRpmClient
|
|
75
75
|
# Attribute type mapping.
|
76
76
|
def self.openapi_types
|
77
77
|
{
|
78
|
-
:'pulp_labels' => :'
|
78
|
+
:'pulp_labels' => :'Object',
|
79
79
|
:'name' => :'String',
|
80
80
|
:'description' => :'String',
|
81
81
|
:'retain_repo_versions' => :'Integer',
|
@@ -119,9 +119,7 @@ module PulpRpmClient
|
|
119
119
|
}
|
120
120
|
|
121
121
|
if attributes.key?(:'pulp_labels')
|
122
|
-
|
123
|
-
self.pulp_labels = value
|
124
|
-
end
|
122
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
125
123
|
end
|
126
124
|
|
127
125
|
if attributes.key?(:'name')
|
@@ -32,7 +32,7 @@ module PulpRpmClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|
@@ -47,10 +47,10 @@ 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 for metadata.
|
50
|
+
# The checksum type for metadata.
|
51
51
|
attr_accessor :metadata_checksum_type
|
52
52
|
|
53
|
-
# The checksum type for packages.
|
53
|
+
# The checksum type for packages.
|
54
54
|
attr_accessor :package_checksum_type
|
55
55
|
|
56
56
|
# An option specifying whether a client should perform a GPG signature check on packages.
|
@@ -91,7 +91,7 @@ module PulpRpmClient
|
|
91
91
|
:'pulp_href' => :'String',
|
92
92
|
:'pulp_created' => :'DateTime',
|
93
93
|
:'versions_href' => :'String',
|
94
|
-
:'pulp_labels' => :'
|
94
|
+
:'pulp_labels' => :'Object',
|
95
95
|
:'latest_version_href' => :'String',
|
96
96
|
:'name' => :'String',
|
97
97
|
:'description' => :'String',
|
@@ -148,9 +148,7 @@ module PulpRpmClient
|
|
148
148
|
end
|
149
149
|
|
150
150
|
if attributes.key?(:'pulp_labels')
|
151
|
-
|
152
|
-
self.pulp_labels = value
|
153
|
-
end
|
151
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
154
152
|
end
|
155
153
|
|
156
154
|
if attributes.key?(:'latest_version_href')
|
@@ -56,7 +56,7 @@ module PulpRpmClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
59
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -122,7 +122,7 @@ module PulpRpmClient
|
|
122
122
|
:'proxy_password' => :'String',
|
123
123
|
:'username' => :'String',
|
124
124
|
:'password' => :'String',
|
125
|
-
:'pulp_labels' => :'
|
125
|
+
:'pulp_labels' => :'Object',
|
126
126
|
:'download_concurrency' => :'Integer',
|
127
127
|
:'max_retries' => :'Integer',
|
128
128
|
:'policy' => :'PolicyEnum',
|
@@ -216,9 +216,7 @@ module PulpRpmClient
|
|
216
216
|
end
|
217
217
|
|
218
218
|
if attributes.key?(:'pulp_labels')
|
219
|
-
|
220
|
-
self.pulp_labels = value
|
221
|
-
end
|
219
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
222
220
|
end
|
223
221
|
|
224
222
|
if attributes.key?(:'download_concurrency')
|
@@ -49,7 +49,7 @@ module PulpRpmClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
52
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -114,7 +114,7 @@ module PulpRpmClient
|
|
114
114
|
:'client_cert' => :'String',
|
115
115
|
:'tls_validation' => :'Boolean',
|
116
116
|
:'proxy_url' => :'String',
|
117
|
-
:'pulp_labels' => :'
|
117
|
+
:'pulp_labels' => :'Object',
|
118
118
|
:'pulp_last_updated' => :'DateTime',
|
119
119
|
:'download_concurrency' => :'Integer',
|
120
120
|
:'max_retries' => :'Integer',
|
@@ -195,9 +195,7 @@ module PulpRpmClient
|
|
195
195
|
end
|
196
196
|
|
197
197
|
if attributes.key?(:'pulp_labels')
|
198
|
-
|
199
|
-
self.pulp_labels = value
|
200
|
-
end
|
198
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
201
199
|
end
|
202
200
|
|
203
201
|
if attributes.key?(:'pulp_last_updated')
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -26,6 +26,10 @@ require 'pulp_rpm_client/models/content_summary_response'
|
|
26
26
|
require 'pulp_rpm_client/models/copy'
|
27
27
|
require 'pulp_rpm_client/models/image_response'
|
28
28
|
require 'pulp_rpm_client/models/metadata_checksum_type_enum'
|
29
|
+
require 'pulp_rpm_client/models/my_permissions_response'
|
30
|
+
require 'pulp_rpm_client/models/nested_role'
|
31
|
+
require 'pulp_rpm_client/models/nested_role_response'
|
32
|
+
require 'pulp_rpm_client/models/object_roles_response'
|
29
33
|
require 'pulp_rpm_client/models/package_checksum_type_enum'
|
30
34
|
require 'pulp_rpm_client/models/paginated_repository_version_response_list'
|
31
35
|
require 'pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list'
|
@@ -32,6 +32,18 @@ describe 'AcsRpmApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param rpm_rpm_alternate_content_source_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
35
47
|
# unit tests for create
|
36
48
|
# Create a rpm alternate content source
|
37
49
|
# ViewSet for ACS.
|
@@ -67,9 +79,7 @@ describe 'AcsRpmApi' do
|
|
67
79
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
68
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [Array<String>] :ordering Ordering
|
71
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
72
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
82
|
+
# @option opts [Array<String>] :ordering Ordering
|
73
83
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
84
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
85
|
# @return [PaginatedrpmRpmAlternateContentSourceResponseList]
|
@@ -79,6 +89,32 @@ describe 'AcsRpmApi' do
|
|
79
89
|
end
|
80
90
|
end
|
81
91
|
|
92
|
+
# unit tests for list_roles
|
93
|
+
# List roles assigned to this object.
|
94
|
+
# @param rpm_rpm_alternate_content_source_href
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
97
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
98
|
+
# @return [ObjectRolesResponse]
|
99
|
+
describe 'list_roles test' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# unit tests for my_permissions
|
106
|
+
# List permissions available to the current user on this object.
|
107
|
+
# @param rpm_rpm_alternate_content_source_href
|
108
|
+
# @param [Hash] opts the optional parameters
|
109
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
110
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
111
|
+
# @return [MyPermissionsResponse]
|
112
|
+
describe 'my_permissions test' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
82
118
|
# unit tests for partial_update
|
83
119
|
# Update a rpm alternate content source
|
84
120
|
# Trigger an asynchronous partial update task
|
@@ -117,6 +153,18 @@ describe 'AcsRpmApi' do
|
|
117
153
|
end
|
118
154
|
end
|
119
155
|
|
156
|
+
# unit tests for remove_role
|
157
|
+
# Remove a role for this object from users/groups.
|
158
|
+
# @param rpm_rpm_alternate_content_source_href
|
159
|
+
# @param nested_role
|
160
|
+
# @param [Hash] opts the optional parameters
|
161
|
+
# @return [NestedRoleResponse]
|
162
|
+
describe 'remove_role test' do
|
163
|
+
it 'should work' do
|
164
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
120
168
|
# unit tests for update
|
121
169
|
# Update a rpm alternate content source
|
122
170
|
# Trigger an asynchronous update task
|
@@ -53,9 +53,7 @@ describe 'ContentAdvisoriesApi' do
|
|
53
53
|
# @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
56
|
-
# @option opts [Array<String>] :ordering Ordering
|
57
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
|
+
# @option opts [Array<String>] :ordering Ordering
|
59
57
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
58
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
59
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentDistributionTreesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -52,9 +52,7 @@ describe 'ContentModulemdDefaultsApi' do
|
|
52
52
|
# @option opts [String] :_module Filter results where module matches value
|
53
53
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering
|
56
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
55
|
+
# @option opts [Array<String>] :ordering Ordering
|
58
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -50,9 +50,7 @@ describe 'ContentModulemdObsoletesApi' do
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
|
-
# @option opts [Array<String>] :ordering Ordering
|
54
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
53
|
+
# @option opts [Array<String>] :ordering Ordering
|
56
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
55
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
56
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -52,9 +52,7 @@ describe 'ContentModulemdsApi' do
|
|
52
52
|
# @option opts [String] :name Filter results where name matches value
|
53
53
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
-
# @option opts [Array<String>] :ordering Ordering
|
56
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
55
|
+
# @option opts [Array<String>] :ordering Ordering
|
58
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackagecategoriesApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackageenvironmentsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -38,9 +38,7 @@ describe 'ContentPackagegroupsApi' do
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
42
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
45
43
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
46
44
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|