pulp_ansible_client 0.15.4 → 0.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -8
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +3 -7
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +3 -7
- data/docs/ContentCollectionSignaturesApi.md +3 -7
- data/docs/ContentCollectionVersionsApi.md +5 -9
- data/docs/ContentRolesApi.md +3 -7
- data/docs/DistributionsAnsibleApi.md +3 -11
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PatchedansibleRoleRemote.md +1 -1
- 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 +3 -7
- data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- 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 +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +3 -7
- data/docs/RemotesGitApi.md +3 -7
- data/docs/RemotesRoleApi.md +3 -7
- data/docs/RepositoriesAnsibleApi.md +3 -23
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -5
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -11
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +2 -14
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +2 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +2 -32
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
- 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 +244 -244
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +157 -157
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +236 -236
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +1 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +2 -4
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +1 -5
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/remotes_collection_api_spec.rb +1 -3
- data/spec/api/remotes_git_api_spec.rb +1 -3
- data/spec/api/remotes_role_api_spec.rb +1 -3
- data/spec/api/repositories_ansible_api_spec.rb +1 -11
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +17 -17
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +17 -17
- metadata +111 -111
|
@@ -56,7 +56,7 @@ module PulpAnsibleClient
|
|
|
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.
|
|
59
|
+
# The policy to use when downloading content.
|
|
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.
|
|
@@ -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
|
|
308
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 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
|
|
312
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 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
|
|
316
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 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
|
|
320
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 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
|
|
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
|
|
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
|
|
461
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 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
|
|
471
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 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
|
|
481
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 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
|
|
491
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
|
492
492
|
end
|
|
493
493
|
|
|
494
494
|
@sock_read_timeout = sock_read_timeout
|
|
@@ -36,8 +36,8 @@ module PulpAnsibleClient
|
|
|
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
|
|
@@ -17,7 +17,6 @@ module PulpAnsibleClient
|
|
|
17
17
|
class UnpaginatedCollectionVersionResponse
|
|
18
18
|
attr_accessor :version
|
|
19
19
|
|
|
20
|
-
# Get href.
|
|
21
20
|
attr_accessor :href
|
|
22
21
|
|
|
23
22
|
attr_accessor :created_at
|
|
@@ -30,7 +29,6 @@ module PulpAnsibleClient
|
|
|
30
29
|
|
|
31
30
|
attr_accessor :collection
|
|
32
31
|
|
|
33
|
-
# Get artifact download URL.
|
|
34
32
|
attr_accessor :download_url
|
|
35
33
|
|
|
36
34
|
attr_accessor :name
|
|
@@ -41,10 +39,8 @@ module PulpAnsibleClient
|
|
|
41
39
|
|
|
42
40
|
attr_accessor :metadata
|
|
43
41
|
|
|
44
|
-
# Get the git URL.
|
|
45
42
|
attr_accessor :git_url
|
|
46
43
|
|
|
47
|
-
# Get the git commit sha.
|
|
48
44
|
attr_accessor :git_commit_sha
|
|
49
45
|
|
|
50
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -40,9 +40,7 @@ describe 'AnsibleCollectionsApi' do
|
|
|
40
40
|
# @option opts [String] :name
|
|
41
41
|
# @option opts [String] :namespace
|
|
42
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
43
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
44
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
45
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
46
44
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
47
45
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
48
46
|
# @return [PaginatedansibleCollectionResponseList]
|
|
@@ -50,9 +50,7 @@ describe 'ContentCollectionDeprecationsApi' 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,11 +52,9 @@ describe 'ContentCollectionSignaturesApi' do
|
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
54
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
55
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
55
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
56
56
|
# @option opts [String] :pubkey_fingerprint Filter results where pubkey_fingerprint matches value
|
|
57
57
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
|
58
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
59
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
60
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
61
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
62
60
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
|
@@ -39,8 +39,8 @@ describe 'ContentCollectionVersionsApi' do
|
|
|
39
39
|
# @param namespace The namespace of the collection.
|
|
40
40
|
# @param version The version of the collection.
|
|
41
41
|
# @param [Hash] opts the optional parameters
|
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
43
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
43
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
44
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
|
45
45
|
# @return [AsyncOperationResponse]
|
|
46
46
|
describe 'create test' do
|
|
@@ -58,9 +58,7 @@ describe 'ContentCollectionVersionsApi' do
|
|
|
58
58
|
# @option opts [String] :name
|
|
59
59
|
# @option opts [String] :namespace
|
|
60
60
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
61
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
62
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
63
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
61
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
64
62
|
# @option opts [String] :q
|
|
65
63
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
66
64
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
@@ -52,9 +52,7 @@ describe 'ContentRolesApi' do
|
|
|
52
52
|
# @option opts [String] :name Filter results where name matches value
|
|
53
53
|
# @option opts [String] :namespace Filter results where namespace matches value
|
|
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
|
|
@@ -71,12 +71,8 @@ describe 'DistributionsAnsibleApi' do
|
|
|
71
71
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
74
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
75
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
76
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
74
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
77
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
78
|
-
# @option opts [String] :repository Filter results where repository matches value
|
|
79
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
|
80
76
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
81
77
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
82
78
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -39,9 +39,7 @@ describe 'PulpAnsibleApiV3CollectionsAllApi' do
|
|
|
39
39
|
# @option opts [Boolean] :deprecated
|
|
40
40
|
# @option opts [String] :name
|
|
41
41
|
# @option opts [String] :namespace
|
|
42
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
43
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
44
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
42
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
45
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
46
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
47
45
|
# @return [Array<CollectionResponse>]
|
|
@@ -54,9 +54,7 @@ describe 'PulpAnsibleApiV3CollectionsApi' do
|
|
|
54
54
|
# @option opts [String] :name
|
|
55
55
|
# @option opts [String] :namespace
|
|
56
56
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
57
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
58
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
59
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
57
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
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 [PaginatedCollectionResponseList]
|
|
@@ -57,9 +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
|
|
61
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
62
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
60
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
63
61
|
# @option opts [String] :q
|
|
64
62
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
65
63
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb
CHANGED
|
@@ -40,9 +40,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi' do
|
|
|
40
40
|
# @option opts [Boolean] :deprecated
|
|
41
41
|
# @option opts [String] :name
|
|
42
42
|
# @option opts [String] :namespace
|
|
43
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
44
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
45
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
46
44
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
47
45
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
48
46
|
# @return [Array<CollectionResponse>]
|
|
@@ -56,9 +56,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi' do
|
|
|
56
56
|
# @option opts [String] :name
|
|
57
57
|
# @option opts [String] :namespace
|
|
58
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
59
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
60
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
61
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
59
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
62
60
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
63
61
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
64
62
|
# @return [PaginatedCollectionResponseList]
|
data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
CHANGED
|
@@ -59,9 +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
|
|
63
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
64
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
65
63
|
# @option opts [String] :q
|
|
66
64
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
67
65
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
@@ -38,9 +38,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsAllApi' do
|
|
|
38
38
|
# @option opts [Boolean] :deprecated
|
|
39
39
|
# @option opts [String] :name
|
|
40
40
|
# @option opts [String] :namespace
|
|
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 [Array<String>] :fields A list of fields to include in the response.
|
|
45
43
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
46
44
|
# @return [Array<CollectionResponse>]
|
|
@@ -52,9 +52,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsApi' do
|
|
|
52
52
|
# @option opts [String] :name
|
|
53
53
|
# @option opts [String] :namespace
|
|
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 [Array<String>] :fields A list of fields to include in the response.
|
|
59
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
60
58
|
# @return [PaginatedCollectionResponseList]
|
|
@@ -55,9 +55,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsVersionsApi' do
|
|
|
55
55
|
# @option opts [String] :name2
|
|
56
56
|
# @option opts [String] :namespace2
|
|
57
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
58
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
59
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
60
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
58
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
61
59
|
# @option opts [String] :q
|
|
62
60
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
63
61
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
@@ -39,9 +39,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsAp
|
|
|
39
39
|
# @option opts [Boolean] :deprecated
|
|
40
40
|
# @option opts [String] :name
|
|
41
41
|
# @option opts [String] :namespace
|
|
42
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
43
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
44
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
42
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
45
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
46
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
47
45
|
# @return [Array<CollectionResponse>]
|
data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb
CHANGED
|
@@ -54,9 +54,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi' do
|
|
|
54
54
|
# @option opts [String] :name
|
|
55
55
|
# @option opts [String] :namespace
|
|
56
56
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
57
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
58
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
59
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
57
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
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 [PaginatedCollectionResponseList]
|
|
@@ -57,9 +57,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi
|
|
|
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
|
|
61
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
62
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
60
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
63
61
|
# @option opts [String] :q
|
|
64
62
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
65
63
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
|
@@ -67,9 +67,7 @@ describe 'RemotesCollectionApi' do
|
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
69
|
# @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.
|
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
73
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
74
72
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
75
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
@@ -67,9 +67,7 @@ describe 'RemotesGitApi' do
|
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
69
|
# @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.
|
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
73
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
74
72
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
75
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
@@ -67,9 +67,7 @@ describe 'RemotesRoleApi' do
|
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
69
|
# @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.
|
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
73
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
74
72
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
|
75
73
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
|
@@ -67,19 +67,9 @@ describe 'RepositoriesAnsibleApi' do
|
|
|
67
67
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
68
68
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
69
|
# @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.
|
|
70
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
73
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
74
72
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
75
|
-
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
76
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
77
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
78
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
|
79
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
|
80
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
|
81
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
|
82
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
|
83
73
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
84
74
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
85
75
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
|
@@ -59,14 +59,13 @@ describe 'RepositoriesAnsibleVersionsApi' do
|
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
62
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
62
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
63
63
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
69
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
70
69
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
71
70
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
72
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe PulpAnsibleClient::Configuration do
|
|
|
18
18
|
before(:each) do
|
|
19
19
|
# uncomment below to setup host and base_path
|
|
20
20
|
# require 'URI'
|
|
21
|
-
# uri = URI.parse("
|
|
21
|
+
# uri = URI.parse("http://localhost:24817")
|
|
22
22
|
# PulpAnsibleClient.configure do |c|
|
|
23
23
|
# c.host = uri.host
|
|
24
24
|
# c.base_path = uri.path
|
|
@@ -28,14 +28,14 @@ describe PulpAnsibleClient::Configuration do
|
|
|
28
28
|
describe '#base_url' do
|
|
29
29
|
it 'should have the default value' do
|
|
30
30
|
# uncomment below to test default value of the base path
|
|
31
|
-
# expect(config.base_url).to eq("
|
|
31
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it 'should remove trailing slashes' do
|
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
|
36
36
|
config.base_path = base_path
|
|
37
37
|
# uncomment below to test trailing slashes
|
|
38
|
-
# expect(config.base_url).to eq("
|
|
38
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -32,19 +32,19 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "artifact"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
@@ -32,13 +32,13 @@ describe 'AnsibleCollectionVersion' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersion)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "repository"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "file"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|