pulp_ansible_client 0.18.3 → 0.19.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 +34 -47
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +9 -15
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +25 -25
- data/docs/AnsibleGitRemoteResponse.md +23 -23
- data/docs/AnsibleRole.md +3 -3
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +1 -1
- data/docs/CollectionResponse.md +5 -3
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/CollectionVersionSignatureResponse.md +23 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -3
- data/docs/ContentCollectionMarksApi.md +2 -4
- data/docs/ContentCollectionSignaturesApi.md +3 -5
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentNamespacesApi.md +1 -19
- data/docs/ContentRolesApi.md +1 -3
- data/docs/DistributionsAnsibleApi.md +10 -136
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
- data/docs/PatchedansibleGitRemote.md +25 -25
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -135
- data/docs/RemotesGitApi.md +9 -135
- data/docs/RemotesRoleApi.md +9 -135
- data/docs/RepositoriesAnsibleApi.md +10 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +143 -143
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
- data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +216 -216
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -5
- data/spec/api/ansible_collections_api_spec.rb +0 -5
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
- data/spec/api/content_collection_marks_api_spec.rb +0 -1
- data/spec/api/content_collection_signatures_api_spec.rb +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/content_namespaces_api_spec.rb +0 -9
- data/spec/api/content_roles_api_spec.rb +0 -1
- data/spec/api/distributions_ansible_api_spec.rb +0 -35
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -35
- data/spec/api/remotes_git_api_spec.rb +0 -35
- data/spec/api/remotes_role_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/collection_version_signature_response_spec.rb +59 -0
- data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +155 -163
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
- data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/set_label_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
@@ -304,20 +304,20 @@ module PulpAnsibleClient
|
|
304
304
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
305
305
|
end
|
306
306
|
|
307
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
308
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
307
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
308
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
309
309
|
end
|
310
310
|
|
311
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
312
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
311
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
312
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
313
313
|
end
|
314
314
|
|
315
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
316
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
315
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
316
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
317
317
|
end
|
318
318
|
|
319
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
320
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
319
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
320
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
321
321
|
end
|
322
322
|
|
323
323
|
invalid_properties
|
@@ -337,10 +337,10 @@ module PulpAnsibleClient
|
|
337
337
|
return false if !@username.nil? && @username.to_s.length < 1
|
338
338
|
return false if !@password.nil? && @password.to_s.length < 1
|
339
339
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
340
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
341
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
342
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
343
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
340
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
341
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
342
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
343
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
344
344
|
true
|
345
345
|
end
|
346
346
|
|
@@ -457,8 +457,8 @@ module PulpAnsibleClient
|
|
457
457
|
# Custom attribute writer method with validation
|
458
458
|
# @param [Object] total_timeout Value to be assigned
|
459
459
|
def total_timeout=(total_timeout)
|
460
|
-
if !total_timeout.nil? && total_timeout < 0
|
461
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
460
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
461
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
462
462
|
end
|
463
463
|
|
464
464
|
@total_timeout = total_timeout
|
@@ -467,8 +467,8 @@ module PulpAnsibleClient
|
|
467
467
|
# Custom attribute writer method with validation
|
468
468
|
# @param [Object] connect_timeout Value to be assigned
|
469
469
|
def connect_timeout=(connect_timeout)
|
470
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
471
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
470
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
471
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
472
472
|
end
|
473
473
|
|
474
474
|
@connect_timeout = connect_timeout
|
@@ -477,8 +477,8 @@ module PulpAnsibleClient
|
|
477
477
|
# Custom attribute writer method with validation
|
478
478
|
# @param [Object] sock_connect_timeout Value to be assigned
|
479
479
|
def sock_connect_timeout=(sock_connect_timeout)
|
480
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
481
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
480
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
481
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
482
482
|
end
|
483
483
|
|
484
484
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -487,8 +487,8 @@ module PulpAnsibleClient
|
|
487
487
|
# Custom attribute writer method with validation
|
488
488
|
# @param [Object] sock_read_timeout Value to be assigned
|
489
489
|
def sock_read_timeout=(sock_read_timeout)
|
490
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
491
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
490
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
491
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
492
492
|
end
|
493
493
|
|
494
494
|
@sock_read_timeout = sock_read_timeout
|
@@ -85,7 +85,7 @@ module PulpAnsibleClient
|
|
85
85
|
:'download_url' => :'String',
|
86
86
|
:'name' => :'String',
|
87
87
|
:'namespace' => :'CollectionNamespaceResponse',
|
88
|
-
:'signatures' => :'
|
88
|
+
:'signatures' => :'Array<CollectionVersionSignatureResponse>',
|
89
89
|
:'metadata' => :'CollectionMetadataResponse',
|
90
90
|
:'git_url' => :'String',
|
91
91
|
:'git_commit_sha' => :'String'
|
@@ -161,7 +161,9 @@ module PulpAnsibleClient
|
|
161
161
|
end
|
162
162
|
|
163
163
|
if attributes.key?(:'signatures')
|
164
|
-
|
164
|
+
if (value = attributes[:'signatures']).is_a?(Array)
|
165
|
+
self.signatures = value
|
166
|
+
end
|
165
167
|
end
|
166
168
|
|
167
169
|
if attributes.key?(:'metadata')
|
@@ -193,6 +195,10 @@ module PulpAnsibleClient
|
|
193
195
|
invalid_properties.push('invalid value for "requires_ansible", the character length must be smaller than or equal to 255.')
|
194
196
|
end
|
195
197
|
|
198
|
+
if @signatures.nil?
|
199
|
+
invalid_properties.push('invalid value for "signatures", signatures cannot be nil.')
|
200
|
+
end
|
201
|
+
|
196
202
|
invalid_properties
|
197
203
|
end
|
198
204
|
|
@@ -202,6 +208,7 @@ module PulpAnsibleClient
|
|
202
208
|
return false if @created_at.nil?
|
203
209
|
return false if @updated_at.nil?
|
204
210
|
return false if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
211
|
+
return false if @signatures.nil?
|
205
212
|
true
|
206
213
|
end
|
207
214
|
|
data/lib/pulp_ansible_client.rb
CHANGED
@@ -61,6 +61,7 @@ require 'pulp_ansible_client/models/collection_version_list_response'
|
|
61
61
|
require 'pulp_ansible_client/models/collection_version_response'
|
62
62
|
require 'pulp_ansible_client/models/collection_version_search_list'
|
63
63
|
require 'pulp_ansible_client/models/collection_version_search_list_response'
|
64
|
+
require 'pulp_ansible_client/models/collection_version_signature_response'
|
64
65
|
require 'pulp_ansible_client/models/content_summary_response'
|
65
66
|
require 'pulp_ansible_client/models/copy'
|
66
67
|
require 'pulp_ansible_client/models/galaxy_collection'
|
@@ -96,6 +97,7 @@ require 'pulp_ansible_client/models/paginatedansible_collection_version_signatur
|
|
96
97
|
require 'pulp_ansible_client/models/paginatedansible_git_remote_response_list'
|
97
98
|
require 'pulp_ansible_client/models/paginatedansible_role_remote_response_list'
|
98
99
|
require 'pulp_ansible_client/models/paginatedansible_role_response_list'
|
100
|
+
require 'pulp_ansible_client/models/patched_collection'
|
99
101
|
require 'pulp_ansible_client/models/patchedansible_ansible_distribution'
|
100
102
|
require 'pulp_ansible_client/models/patchedansible_ansible_namespace_metadata'
|
101
103
|
require 'pulp_ansible_client/models/patchedansible_ansible_repository'
|
@@ -110,20 +112,15 @@ require 'pulp_ansible_client/models/repository'
|
|
110
112
|
require 'pulp_ansible_client/models/repository_add_remove_content'
|
111
113
|
require 'pulp_ansible_client/models/repository_response'
|
112
114
|
require 'pulp_ansible_client/models/repository_version_response'
|
113
|
-
require 'pulp_ansible_client/models/set_label'
|
114
|
-
require 'pulp_ansible_client/models/set_label_response'
|
115
115
|
require 'pulp_ansible_client/models/tag_response'
|
116
116
|
require 'pulp_ansible_client/models/task'
|
117
117
|
require 'pulp_ansible_client/models/task_response'
|
118
118
|
require 'pulp_ansible_client/models/unpaginated_collection_version_response'
|
119
|
-
require 'pulp_ansible_client/models/unset_label'
|
120
|
-
require 'pulp_ansible_client/models/unset_label_response'
|
121
119
|
|
122
120
|
# APIs
|
123
121
|
require 'pulp_ansible_client/api/ansible_collections_api'
|
124
122
|
require 'pulp_ansible_client/api/ansible_copy_api'
|
125
123
|
require 'pulp_ansible_client/api/api_collections_api'
|
126
|
-
require 'pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api'
|
127
124
|
require 'pulp_ansible_client/api/api_roles_api'
|
128
125
|
require 'pulp_ansible_client/api/collection_import_api'
|
129
126
|
require 'pulp_ansible_client/api/content_collection_deprecations_api'
|
@@ -153,6 +150,7 @@ require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_coll
|
|
153
150
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api'
|
154
151
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api'
|
155
152
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api'
|
153
|
+
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api'
|
156
154
|
require 'pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api'
|
157
155
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_api'
|
158
156
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_api'
|
@@ -33,7 +33,6 @@ describe 'AnsibleCollectionsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
-
# Add a role
|
37
36
|
# Add a role for this object to users/groups.
|
38
37
|
# @param ansible_collection_href
|
39
38
|
# @param nested_role
|
@@ -56,7 +55,6 @@ describe 'AnsibleCollectionsApi' do
|
|
56
55
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
57
56
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
58
57
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
59
|
-
# @option opts [String] :q
|
60
58
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
61
59
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
62
60
|
# @return [PaginatedansibleCollectionResponseList]
|
@@ -67,7 +65,6 @@ describe 'AnsibleCollectionsApi' do
|
|
67
65
|
end
|
68
66
|
|
69
67
|
# unit tests for list_roles
|
70
|
-
# List roles
|
71
68
|
# List roles assigned to this object.
|
72
69
|
# @param ansible_collection_href
|
73
70
|
# @param [Hash] opts the optional parameters
|
@@ -81,7 +78,6 @@ describe 'AnsibleCollectionsApi' do
|
|
81
78
|
end
|
82
79
|
|
83
80
|
# unit tests for my_permissions
|
84
|
-
# List user permissions
|
85
81
|
# List permissions available to the current user on this object.
|
86
82
|
# @param ansible_collection_href
|
87
83
|
# @param [Hash] opts the optional parameters
|
@@ -95,7 +91,6 @@ describe 'AnsibleCollectionsApi' do
|
|
95
91
|
end
|
96
92
|
|
97
93
|
# unit tests for remove_role
|
98
|
-
# Remove a role
|
99
94
|
# Remove a role for this object from users/groups.
|
100
95
|
# @param ansible_collection_href
|
101
96
|
# @param nested_role
|
@@ -53,7 +53,6 @@ describe 'ContentCollectionDeprecationsApi' do
|
|
53
53
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
54
54
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
55
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
|
-
# @option opts [String] :q
|
57
56
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
58
57
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
59
58
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -54,7 +54,6 @@ describe 'ContentCollectionMarksApi' do
|
|
54
54
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
55
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
56
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
-
# @option opts [String] :q
|
58
57
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
59
58
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
60
59
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -57,7 +57,6 @@ describe 'ContentCollectionSignaturesApi' do
|
|
57
57
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
-
# @option opts [String] :q
|
61
60
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
62
61
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
63
62
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -36,9 +36,9 @@ describe 'ContentCollectionVersionsApi' do
|
|
36
36
|
# Create a collection version
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
40
39
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
41
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
43
43
|
# @option opts [String] :expected_name The name of the collection.
|
44
44
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -59,7 +59,7 @@ describe 'ContentCollectionVersionsApi' do
|
|
59
59
|
# @option opts [String] :name
|
60
60
|
# @option opts [String] :namespace
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
62
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
63
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
64
64
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
65
65
|
# @option opts [String] :q
|
@@ -52,11 +52,7 @@ describe 'ContentNamespacesApi' do
|
|
52
52
|
# @option opts [String] :company Filter results where company matches value
|
53
53
|
# @option opts [String] :company__contains Filter results where company contains value
|
54
54
|
# @option opts [String] :company__icontains Filter results where company contains value
|
55
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
56
55
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
57
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
58
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
59
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
60
56
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
61
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
62
58
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -64,17 +60,12 @@ describe 'ContentNamespacesApi' do
|
|
64
60
|
# @option opts [String] :name Filter results where name matches value
|
65
61
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
62
|
# @option opts [String] :name__icontains Filter results where name contains value
|
67
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
68
63
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
69
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
70
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
71
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
72
64
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
65
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
66
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
75
67
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
76
68
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
77
|
-
# @option opts [String] :q
|
78
69
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
79
70
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
80
71
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -55,7 +55,6 @@ describe 'ContentRolesApi' do
|
|
55
55
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
56
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
57
57
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
58
|
-
# @option opts [String] :q
|
59
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
60
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
61
60
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -33,7 +33,6 @@ describe 'DistributionsAnsibleApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
-
# Add a role
|
37
36
|
# Add a role for this object to users/groups.
|
38
37
|
# @param ansible_ansible_distribution_href
|
39
38
|
# @param nested_role
|
@@ -81,18 +80,13 @@ describe 'DistributionsAnsibleApi' do
|
|
81
80
|
# @option opts [String] :name Filter results where name matches value
|
82
81
|
# @option opts [String] :name__contains Filter results where name contains value
|
83
82
|
# @option opts [String] :name__icontains Filter results where name contains value
|
84
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
85
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
86
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
87
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
88
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
89
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
90
85
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
86
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
92
87
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
93
88
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
89
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
95
|
-
# @option opts [String] :q
|
96
90
|
# @option opts [String] :repository Filter results where repository matches value
|
97
91
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
98
92
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -106,7 +100,6 @@ describe 'DistributionsAnsibleApi' do
|
|
106
100
|
end
|
107
101
|
|
108
102
|
# unit tests for list_roles
|
109
|
-
# List roles
|
110
103
|
# List roles assigned to this object.
|
111
104
|
# @param ansible_ansible_distribution_href
|
112
105
|
# @param [Hash] opts the optional parameters
|
@@ -120,7 +113,6 @@ describe 'DistributionsAnsibleApi' do
|
|
120
113
|
end
|
121
114
|
|
122
115
|
# unit tests for my_permissions
|
123
|
-
# List user permissions
|
124
116
|
# List permissions available to the current user on this object.
|
125
117
|
# @param ansible_ansible_distribution_href
|
126
118
|
# @param [Hash] opts the optional parameters
|
@@ -161,7 +153,6 @@ describe 'DistributionsAnsibleApi' do
|
|
161
153
|
end
|
162
154
|
|
163
155
|
# unit tests for remove_role
|
164
|
-
# Remove a role
|
165
156
|
# Remove a role for this object from users/groups.
|
166
157
|
# @param ansible_ansible_distribution_href
|
167
158
|
# @param nested_role
|
@@ -173,32 +164,6 @@ describe 'DistributionsAnsibleApi' do
|
|
173
164
|
end
|
174
165
|
end
|
175
166
|
|
176
|
-
# unit tests for set_label
|
177
|
-
# Set a label
|
178
|
-
# Set a single pulp_label on the object to a specific value or null.
|
179
|
-
# @param ansible_ansible_distribution_href
|
180
|
-
# @param set_label
|
181
|
-
# @param [Hash] opts the optional parameters
|
182
|
-
# @return [SetLabelResponse]
|
183
|
-
describe 'set_label test' do
|
184
|
-
it 'should work' do
|
185
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
186
|
-
end
|
187
|
-
end
|
188
|
-
|
189
|
-
# unit tests for unset_label
|
190
|
-
# Unset a label
|
191
|
-
# Unset a single pulp_label on the object.
|
192
|
-
# @param ansible_ansible_distribution_href
|
193
|
-
# @param unset_label
|
194
|
-
# @param [Hash] opts the optional parameters
|
195
|
-
# @return [UnsetLabelResponse]
|
196
|
-
describe 'unset_label test' do
|
197
|
-
it 'should work' do
|
198
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
199
|
-
end
|
200
|
-
end
|
201
|
-
|
202
167
|
# unit tests for update
|
203
168
|
# Update an ansible distribution
|
204
169
|
# Trigger an asynchronous update task
|
@@ -42,7 +42,6 @@ describe 'PulpAnsibleApiV3CollectionsAllApi' do
|
|
42
42
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
43
43
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
44
44
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
45
|
-
# @option opts [String] :q
|
46
45
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
46
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
48
47
|
# @return [Array<CollectionResponse>]
|
@@ -57,7 +57,6 @@ describe 'PulpAnsibleApiV3CollectionsApi' do
|
|
57
57
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
58
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
59
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
-
# @option opts [String] :q
|
61
60
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
62
61
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
63
62
|
# @return [PaginatedCollectionResponseList]
|
@@ -87,7 +86,7 @@ describe 'PulpAnsibleApiV3CollectionsApi' do
|
|
87
86
|
# @param name
|
88
87
|
# @param namespace
|
89
88
|
# @param path
|
90
|
-
# @param
|
89
|
+
# @param patched_collection
|
91
90
|
# @param [Hash] opts the optional parameters
|
92
91
|
# @return [AsyncOperationResponse]
|
93
92
|
describe 'update test' do
|
@@ -57,7 +57,7 @@ describe 'PulpAnsibleApiV3CollectionsVersionsApi' do
|
|
57
57
|
# @option opts [String] :name2
|
58
58
|
# @option opts [String] :namespace2
|
59
59
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
60
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
60
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
61
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
62
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
63
63
|
# @option opts [String] :q
|
@@ -39,11 +39,7 @@ describe 'PulpAnsibleApiV3NamespacesApi' do
|
|
39
39
|
# @option opts [String] :company Filter results where company matches value
|
40
40
|
# @option opts [String] :company__contains Filter results where company contains value
|
41
41
|
# @option opts [String] :company__icontains Filter results where company contains value
|
42
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
43
42
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
44
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
45
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
46
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
47
43
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
48
44
|
# @option opts [Integer] :limit Number of results to return per page.
|
49
45
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -51,17 +47,12 @@ describe 'PulpAnsibleApiV3NamespacesApi' do
|
|
51
47
|
# @option opts [String] :name Filter results where name matches value
|
52
48
|
# @option opts [String] :name__contains Filter results where name contains value
|
53
49
|
# @option opts [String] :name__icontains Filter results where name contains value
|
54
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
55
50
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
56
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
57
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
58
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
59
51
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
60
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
61
53
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
62
54
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
63
55
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
64
|
-
# @option opts [String] :q
|
65
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
66
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
67
58
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
CHANGED
@@ -43,7 +43,6 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi' do
|
|
43
43
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
44
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
-
# @option opts [String] :q
|
47
46
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
48
47
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
49
48
|
# @return [Array<CollectionResponse>]
|
@@ -59,7 +59,6 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi' do
|
|
59
59
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
60
60
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
61
61
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
62
|
-
# @option opts [String] :q
|
63
62
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
64
63
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
65
64
|
# @return [PaginatedCollectionResponseList]
|
@@ -91,7 +90,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi' do
|
|
91
90
|
# @param name
|
92
91
|
# @param namespace
|
93
92
|
# @param path
|
94
|
-
# @param
|
93
|
+
# @param patched_collection
|
95
94
|
# @param [Hash] opts the optional parameters
|
96
95
|
# @return [AsyncOperationResponse]
|
97
96
|
describe 'update test' do
|
data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
CHANGED
@@ -59,7 +59,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi' do
|
|
59
59
|
# @option opts [String] :name2
|
60
60
|
# @option opts [String] :namespace2
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
62
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
63
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
64
64
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
65
65
|
# @option opts [String] :q
|
@@ -33,7 +33,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
-
#
|
36
|
+
# Custom exception handler mixin class.
|
37
37
|
# @param distro_base_path
|
38
38
|
# @param path
|
39
39
|
# @param name Required named, only accepts lowercase, numbers and underscores.
|
@@ -65,18 +65,14 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
65
65
|
end
|
66
66
|
|
67
67
|
# unit tests for list
|
68
|
-
#
|
68
|
+
# Custom exception handler mixin class.
|
69
69
|
# @param distro_base_path
|
70
70
|
# @param path
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @option opts [String] :company Filter results where company matches value
|
73
73
|
# @option opts [String] :company__contains Filter results where company contains value
|
74
74
|
# @option opts [String] :company__icontains Filter results where company contains value
|
75
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
76
75
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
77
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
78
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
79
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
80
76
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
81
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
82
78
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -84,17 +80,12 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
84
80
|
# @option opts [String] :name Filter results where name matches value
|
85
81
|
# @option opts [String] :name__contains Filter results where name contains value
|
86
82
|
# @option opts [String] :name__icontains Filter results where name contains value
|
87
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
88
83
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
89
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
90
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
91
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
92
84
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
93
85
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
94
86
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
95
87
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
96
88
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
97
|
-
# @option opts [String] :q
|
98
89
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
90
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
91
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -105,7 +96,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
105
96
|
end
|
106
97
|
|
107
98
|
# unit tests for partial_update
|
108
|
-
#
|
99
|
+
# Custom exception handler mixin class.
|
109
100
|
# @param distro_base_path
|
110
101
|
# @param name
|
111
102
|
# @param path
|
@@ -125,7 +116,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentNamespacesApi' do
|
|
125
116
|
end
|
126
117
|
|
127
118
|
# unit tests for read
|
128
|
-
#
|
119
|
+
# Custom exception handler mixin class.
|
129
120
|
# @param distro_base_path
|
130
121
|
# @param name
|
131
122
|
# @param path
|