pulp_ansible_client 0.20.9 → 0.21.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 +8 -8
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionVersionSignature.md +3 -1
- data/docs/AnsibleCollectionsApi.md +1 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +25 -25
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +1 -1
- data/docs/ContentCollectionMarksApi.md +1 -1
- data/docs/ContentCollectionSignaturesApi.md +8 -6
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentNamespacesApi.md +1 -1
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +1 -1
- data/docs/GalaxyDetailApi.md +1 -1
- 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 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- 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 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +1 -1
- data/docs/RemotesGitApi.md +1 -1
- data/docs/RemotesRoleApi.md +1 -1
- data/docs/RepositoriesAnsibleApi.md +1 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/TagResponse.md +3 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +9 -10
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -5
- 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_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- 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 +12 -12
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +12 -7
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +227 -227
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +135 -135
- 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/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +222 -222
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/tag_response.rb +13 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +2 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- 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_plugin_ansible_search_collection_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_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/tag_response_spec.rb +6 -0
- metadata +147 -147
@@ -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
|
@@ -17,17 +17,21 @@ module PulpAnsibleClient
|
|
17
17
|
class TagResponse
|
18
18
|
attr_accessor :name
|
19
19
|
|
20
|
+
attr_accessor :count
|
21
|
+
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
23
|
def self.attribute_map
|
22
24
|
{
|
23
|
-
:'name' => :'name'
|
25
|
+
:'name' => :'name',
|
26
|
+
:'count' => :'count'
|
24
27
|
}
|
25
28
|
end
|
26
29
|
|
27
30
|
# Attribute type mapping.
|
28
31
|
def self.openapi_types
|
29
32
|
{
|
30
|
-
:'name' => :'String'
|
33
|
+
:'name' => :'String',
|
34
|
+
:'count' => :'Integer'
|
31
35
|
}
|
32
36
|
end
|
33
37
|
|
@@ -55,6 +59,10 @@ module PulpAnsibleClient
|
|
55
59
|
if attributes.key?(:'name')
|
56
60
|
self.name = attributes[:'name']
|
57
61
|
end
|
62
|
+
|
63
|
+
if attributes.key?(:'count')
|
64
|
+
self.count = attributes[:'count']
|
65
|
+
end
|
58
66
|
end
|
59
67
|
|
60
68
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -75,7 +83,8 @@ module PulpAnsibleClient
|
|
75
83
|
def ==(o)
|
76
84
|
return true if self.equal?(o)
|
77
85
|
self.class == o.class &&
|
78
|
-
name == o.name
|
86
|
+
name == o.name &&
|
87
|
+
count == o.count
|
79
88
|
end
|
80
89
|
|
81
90
|
# @see the `==` method
|
@@ -87,7 +96,7 @@ module PulpAnsibleClient
|
|
87
96
|
# Calculates hash code according to all attributes.
|
88
97
|
# @return [Integer] Hash code
|
89
98
|
def hash
|
90
|
-
[name].hash
|
99
|
+
[name, count].hash
|
91
100
|
end
|
92
101
|
|
93
102
|
# Builds the object from hash
|
data/lib/pulp_ansible_client.rb
CHANGED
@@ -122,7 +122,6 @@ require 'pulp_ansible_client/models/unset_label_response'
|
|
122
122
|
require 'pulp_ansible_client/api/ansible_collections_api'
|
123
123
|
require 'pulp_ansible_client/api/ansible_copy_api'
|
124
124
|
require 'pulp_ansible_client/api/api_collections_api'
|
125
|
-
require 'pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api'
|
126
125
|
require 'pulp_ansible_client/api/api_roles_api'
|
127
126
|
require 'pulp_ansible_client/api/collection_import_api'
|
128
127
|
require 'pulp_ansible_client/api/content_collection_deprecations_api'
|
@@ -152,6 +151,7 @@ require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_coll
|
|
152
151
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api'
|
153
152
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api'
|
154
153
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api'
|
154
|
+
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api'
|
155
155
|
require 'pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api'
|
156
156
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_api'
|
157
157
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_api'
|
@@ -35,10 +35,11 @@ describe 'ContentCollectionSignaturesApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a collection version signature
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
|
-
# @param file An uploaded file that may be turned into the artifact of the content unit.
|
39
38
|
# @param signed_collection The content this signature is pointing to.
|
40
39
|
# @param [Hash] opts the optional parameters
|
41
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
42
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
42
43
|
# @return [AsyncOperationResponse]
|
43
44
|
describe 'create test' do
|
44
45
|
it 'should work' do
|
@@ -36,10 +36,10 @@ 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 [
|
40
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
39
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
41
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
42
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into 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.
|
45
45
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -13,29 +13,28 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpAnsibleClient::
|
16
|
+
# Unit tests for PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpAnsibleClient::
|
22
|
+
@api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpAnsibleClient::
|
29
|
+
describe 'test an instance of PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi' do
|
30
|
+
it 'should create an instance of PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for list
|
36
|
-
# List cross repository collection version indexs
|
37
36
|
# A viewset for cross-repo searches.
|
38
|
-
# @param
|
37
|
+
# @param path
|
39
38
|
# @param [Hash] opts the optional parameters
|
40
39
|
# @option opts [String] :dependency
|
41
40
|
# @option opts [Boolean] :deprecated
|
@@ -71,7 +70,7 @@ describe 'ApiPluginAnsibleSearchCollectionVersionsApi' do
|
|
71
70
|
|
72
71
|
# unit tests for rebuild
|
73
72
|
# A viewset for cross-repo searches.
|
74
|
-
# @param
|
73
|
+
# @param path
|
75
74
|
# @param collection_version_search_list
|
76
75
|
# @param [Hash] opts the optional parameters
|
77
76
|
# @return [CollectionVersionSearchListResponse]
|
data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb
CHANGED
@@ -33,7 +33,6 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for list
|
36
|
-
# List cross repository collection version indexs
|
37
36
|
# A viewset for cross-repo searches.
|
38
37
|
# @param [Hash] opts the optional parameters
|
39
38
|
# @option opts [String] :dependency
|
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("http://
|
21
|
+
# uri = URI.parse("http://pulp")
|
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("http://
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
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("http://
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -32,13 +32,13 @@ 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
|
@@ -44,6 +44,12 @@ describe 'AnsibleCollectionVersionSignature' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "upload"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "signed_collection"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,25 +32,25 @@ 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 "upload"' 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 "repository"' 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
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "file"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -32,109 +32,109 @@ describe 'AnsibleGitRemoteResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleGitRemoteResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "ca_cert"' 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_last_updated"' 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 "url"' 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
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "tls_validation"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_href"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "sock_read_timeout"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "pulp_created"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "max_retries"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "name"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
-
describe 'test attribute "
|
89
|
+
describe 'test attribute "headers"' do
|
90
90
|
it 'should work' do
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
-
describe 'test attribute "
|
95
|
+
describe 'test attribute "rate_limit"' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
describe 'test attribute "
|
101
|
+
describe 'test attribute "client_cert"' do
|
102
102
|
it 'should work' do
|
103
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
107
|
-
describe 'test attribute "
|
107
|
+
describe 'test attribute "sock_connect_timeout"' do
|
108
108
|
it 'should work' do
|
109
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
-
describe 'test attribute "
|
113
|
+
describe 'test attribute "hidden_fields"' do
|
114
114
|
it 'should work' do
|
115
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
-
describe 'test attribute "
|
119
|
+
describe 'test attribute "connect_timeout"' do
|
120
120
|
it 'should work' do
|
121
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
|
-
describe 'test attribute "
|
125
|
+
describe 'test attribute "total_timeout"' do
|
126
126
|
it 'should work' do
|
127
127
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
128
|
end
|
129
129
|
end
|
130
130
|
|
131
|
-
describe 'test attribute "
|
131
|
+
describe 'test attribute "pulp_labels"' do
|
132
132
|
it 'should work' do
|
133
133
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
|
-
describe 'test attribute "
|
137
|
+
describe 'test attribute "proxy_url"' do
|
138
138
|
it 'should work' do
|
139
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
140
|
end
|
@@ -32,25 +32,25 @@ describe 'AnsibleGitRemote' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleGitRemote)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "ca_cert"' 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 "url"' 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 "tls_validation"' 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
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "sock_read_timeout"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -62,25 +62,25 @@ describe 'AnsibleGitRemote' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "name"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "headers"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "username"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "proxy_password"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
86
|
end
|
@@ -92,61 +92,61 @@ describe 'AnsibleGitRemote' do
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
-
describe 'test attribute "
|
95
|
+
describe 'test attribute "password"' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
describe 'test attribute "
|
101
|
+
describe 'test attribute "client_cert"' do
|
102
102
|
it 'should work' do
|
103
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
107
|
-
describe 'test attribute "
|
107
|
+
describe 'test attribute "sock_connect_timeout"' do
|
108
108
|
it 'should work' do
|
109
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
-
describe 'test attribute "
|
113
|
+
describe 'test attribute "client_key"' do
|
114
114
|
it 'should work' do
|
115
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
-
describe 'test attribute "
|
119
|
+
describe 'test attribute "connect_timeout"' do
|
120
120
|
it 'should work' do
|
121
121
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
|
-
describe 'test attribute "
|
125
|
+
describe 'test attribute "total_timeout"' do
|
126
126
|
it 'should work' do
|
127
127
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
128
|
end
|
129
129
|
end
|
130
130
|
|
131
|
-
describe 'test attribute "
|
131
|
+
describe 'test attribute "proxy_username"' do
|
132
132
|
it 'should work' do
|
133
133
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
|
-
describe 'test attribute "
|
137
|
+
describe 'test attribute "pulp_labels"' do
|
138
138
|
it 'should work' do
|
139
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
|
-
describe 'test attribute "
|
143
|
+
describe 'test attribute "proxy_url"' do
|
144
144
|
it 'should work' do
|
145
145
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
-
describe 'test attribute "
|
149
|
+
describe 'test attribute "download_concurrency"' do
|
150
150
|
it 'should work' do
|
151
151
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
152
|
end
|
@@ -38,13 +38,13 @@ describe 'AnsibleRoleResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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
|