pulp_ansible_client 0.21.7 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -19
  3. data/docs/{AnsibleCollection.md → AnsibleAnsibleCollectionDeprecated.md} +4 -2
  4. data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +25 -0
  5. data/docs/AnsibleCollectionVersion.md +6 -6
  6. data/docs/AnsibleCollectionVersionResponse.md +10 -10
  7. data/docs/AnsibleCollectionsApi.md +61 -1
  8. data/docs/AnsibleCopyApi.md +1 -1
  9. data/docs/AnsibleGitRemote.md +30 -30
  10. data/docs/AnsibleGitRemoteResponse.md +28 -28
  11. data/docs/AnsibleRole.md +3 -3
  12. data/docs/AnsibleRoleResponse.md +5 -5
  13. data/docs/ApiRolesApi.md +1 -1
  14. data/docs/CollectionImportApi.md +1 -1
  15. data/docs/CollectionImportDetailResponse.md +2 -2
  16. data/docs/CollectionMetadataResponse.md +2 -2
  17. data/docs/CollectionSummaryResponse.md +2 -2
  18. data/docs/CollectionVersionDocsResponse.md +1 -1
  19. data/docs/CollectionVersionResponse.md +2 -2
  20. data/docs/ContentCollectionDeprecationsApi.md +11 -11
  21. data/docs/ContentCollectionMarksApi.md +1 -1
  22. data/docs/ContentCollectionSignaturesApi.md +1 -1
  23. data/docs/ContentCollectionVersionsApi.md +7 -7
  24. data/docs/ContentNamespacesApi.md +1 -1
  25. data/docs/ContentRolesApi.md +1 -1
  26. data/docs/Copy.md +1 -1
  27. data/docs/DistributionsAnsibleApi.md +1 -1
  28. data/docs/{PaginatedGalaxyCollectionResponseList.md → PaginatedansibleAnsibleCollectionDeprecatedResponseList.md} +5 -5
  29. data/docs/PatchedansibleGitRemote.md +30 -30
  30. data/docs/PulpAnsibleApiApi.md +1 -1
  31. data/docs/PulpAnsibleApiV3Api.md +1 -1
  32. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  33. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  34. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
  35. data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
  36. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
  37. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  38. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
  39. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  42. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  43. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  44. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  45. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  46. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  47. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  48. data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
  49. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  50. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  51. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  52. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  53. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  54. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
  55. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
  56. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
  57. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  58. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  68. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
  69. data/docs/PulpAnsibleTagsApi.md +1 -1
  70. data/docs/RemotesCollectionApi.md +1 -1
  71. data/docs/RemotesGitApi.md +1 -1
  72. data/docs/RemotesRoleApi.md +1 -1
  73. data/docs/RepositoriesAnsibleApi.md +1 -1
  74. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  75. data/docs/VersionsApi.md +1 -56
  76. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -0
  77. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -20
  78. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  79. 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
  80. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
  81. data/lib/pulp_ansible_client/api/versions_api.rb +0 -69
  82. data/lib/pulp_ansible_client/configuration.rb +2 -2
  83. data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_ansible_collection_deprecated.rb} +15 -5
  84. data/lib/pulp_ansible_client/models/{galaxy_collection_version_response.rb → ansible_ansible_collection_deprecated_response.rb} +45 -54
  85. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  86. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
  87. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
  88. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +25 -25
  89. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +230 -230
  90. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +161 -161
  91. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  92. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  93. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
  94. data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
  95. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
  96. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +2 -2
  97. data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
  98. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  99. data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
  100. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  101. data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_version_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +4 -4
  102. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  103. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +216 -216
  104. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  105. data/lib/pulp_ansible_client/version.rb +1 -1
  106. data/lib/pulp_ansible_client.rb +4 -10
  107. data/spec/api/ansible_collections_api_spec.rb +14 -0
  108. data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
  109. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  110. 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
  111. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
  112. data/spec/api/versions_api_spec.rb +0 -14
  113. data/spec/configuration_spec.rb +3 -3
  114. data/spec/models/{galaxy_collection_version_response_spec.rb → ansible_ansible_collection_deprecated_response_spec.rb} +11 -17
  115. data/spec/models/{ansible_collection_spec.rb → ansible_ansible_collection_deprecated_spec.rb} +12 -6
  116. data/spec/models/ansible_collection_version_response_spec.rb +4 -4
  117. data/spec/models/ansible_collection_version_spec.rb +4 -4
  118. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  119. data/spec/models/ansible_git_remote_spec.rb +19 -19
  120. data/spec/models/ansible_role_response_spec.rb +4 -4
  121. data/spec/models/ansible_role_spec.rb +2 -2
  122. data/spec/models/{paginated_galaxy_collection_version_response_list_spec.rb → paginatedansible_ansible_collection_deprecated_response_list_spec.rb} +6 -6
  123. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  124. metadata +155 -179
  125. data/docs/ApiCollectionsApi.md +0 -112
  126. data/docs/GalaxyCollection.md +0 -23
  127. data/docs/GalaxyCollectionResponse.md +0 -31
  128. data/docs/GalaxyCollectionVersionResponse.md +0 -27
  129. data/docs/GalaxyDetailApi.md +0 -61
  130. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
  131. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -66
  132. data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -159
  133. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -88
  134. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -104
  135. data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
  136. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
  137. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +0 -247
  138. data/spec/api/api_collections_api_spec.rb +0 -61
  139. data/spec/api/galaxy_detail_api_spec.rb +0 -48
  140. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -51
  141. data/spec/models/galaxy_collection_response_spec.rb +0 -83
  142. data/spec/models/galaxy_collection_spec.rb +0 -59
  143. data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
@@ -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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpAnsibleClient
14
- VERSION = '0.21.7'
14
+ VERSION = '0.22.0'
15
15
  end
@@ -17,13 +17,14 @@ require 'pulp_ansible_client/version'
17
17
  require 'pulp_ansible_client/configuration'
18
18
 
19
19
  # Models
20
+ require 'pulp_ansible_client/models/ansible_ansible_collection_deprecated'
21
+ require 'pulp_ansible_client/models/ansible_ansible_collection_deprecated_response'
20
22
  require 'pulp_ansible_client/models/ansible_ansible_distribution'
21
23
  require 'pulp_ansible_client/models/ansible_ansible_distribution_response'
22
24
  require 'pulp_ansible_client/models/ansible_ansible_namespace_metadata'
23
25
  require 'pulp_ansible_client/models/ansible_ansible_namespace_metadata_response'
24
26
  require 'pulp_ansible_client/models/ansible_ansible_repository'
25
27
  require 'pulp_ansible_client/models/ansible_ansible_repository_response'
26
- require 'pulp_ansible_client/models/ansible_collection'
27
28
  require 'pulp_ansible_client/models/ansible_collection_remote'
28
29
  require 'pulp_ansible_client/models/ansible_collection_remote_response'
29
30
  require 'pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields'
@@ -64,9 +65,6 @@ require 'pulp_ansible_client/models/collection_version_search_list_response'
64
65
  require 'pulp_ansible_client/models/collection_version_signature_response'
65
66
  require 'pulp_ansible_client/models/content_summary_response'
66
67
  require 'pulp_ansible_client/models/copy'
67
- require 'pulp_ansible_client/models/galaxy_collection'
68
- require 'pulp_ansible_client/models/galaxy_collection_response'
69
- require 'pulp_ansible_client/models/galaxy_collection_version_response'
70
68
  require 'pulp_ansible_client/models/galaxy_role_response'
71
69
  require 'pulp_ansible_client/models/galaxy_role_version_response'
72
70
  require 'pulp_ansible_client/models/my_permissions_response'
@@ -80,12 +78,11 @@ require 'pulp_ansible_client/models/paginated_collection_response_list_links'
80
78
  require 'pulp_ansible_client/models/paginated_collection_response_list_meta'
81
79
  require 'pulp_ansible_client/models/paginated_collection_version_list_response_list'
82
80
  require 'pulp_ansible_client/models/paginated_collection_version_search_list_response_list'
83
- require 'pulp_ansible_client/models/paginated_galaxy_collection_response_list'
84
- require 'pulp_ansible_client/models/paginated_galaxy_collection_version_response_list'
85
81
  require 'pulp_ansible_client/models/paginated_galaxy_role_response_list'
86
82
  require 'pulp_ansible_client/models/paginated_galaxy_role_version_response_list'
87
83
  require 'pulp_ansible_client/models/paginated_repository_version_response_list'
88
84
  require 'pulp_ansible_client/models/paginated_tag_response_list'
85
+ require 'pulp_ansible_client/models/paginatedansible_ansible_collection_deprecated_response_list'
89
86
  require 'pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list'
90
87
  require 'pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list'
91
88
  require 'pulp_ansible_client/models/paginatedansible_ansible_repository_response_list'
@@ -121,8 +118,6 @@ require 'pulp_ansible_client/models/unset_label_response'
121
118
  # APIs
122
119
  require 'pulp_ansible_client/api/ansible_collections_api'
123
120
  require 'pulp_ansible_client/api/ansible_copy_api'
124
- require 'pulp_ansible_client/api/api_collections_api'
125
- require 'pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api'
126
121
  require 'pulp_ansible_client/api/api_roles_api'
127
122
  require 'pulp_ansible_client/api/collection_import_api'
128
123
  require 'pulp_ansible_client/api/content_collection_deprecations_api'
@@ -132,9 +127,7 @@ require 'pulp_ansible_client/api/content_collection_versions_api'
132
127
  require 'pulp_ansible_client/api/content_namespaces_api'
133
128
  require 'pulp_ansible_client/api/content_roles_api'
134
129
  require 'pulp_ansible_client/api/distributions_ansible_api'
135
- require 'pulp_ansible_client/api/galaxy_detail_api'
136
130
  require 'pulp_ansible_client/api/pulp_ansible_api_api'
137
- require 'pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api'
138
131
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_api'
139
132
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api'
140
133
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api'
@@ -152,6 +145,7 @@ require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_coll
152
145
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api'
153
146
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api'
154
147
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api'
148
+ require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api'
155
149
  require 'pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api'
156
150
  require 'pulp_ansible_client/api/pulp_ansible_default_api_api'
157
151
  require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_api'
@@ -94,6 +94,20 @@ describe 'AnsibleCollectionsApi' do
94
94
  end
95
95
  end
96
96
 
97
+ # unit tests for read
98
+ # Inspect a collection
99
+ # Viewset for Ansible Collections.
100
+ # @param ansible_collection_href
101
+ # @param [Hash] opts the optional parameters
102
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
103
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
104
+ # @return [AnsibleCollectionResponse]
105
+ describe 'read test' do
106
+ it 'should work' do
107
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
108
+ end
109
+ end
110
+
97
111
  # unit tests for remove_role
98
112
  # Remove a role
99
113
  # Remove a role for this object from users/groups.
@@ -34,10 +34,10 @@ describe 'ContentCollectionDeprecationsApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create an ansible collection deprecated
37
- # ViewSet for AnsibleCollectionDeprecated.
38
- # @param ansible_collection
37
+ # Trigger an asynchronous task to create content,optionally create new repository version.
38
+ # @param ansible_ansible_collection_deprecated
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [AnsibleCollectionResponse]
40
+ # @return [AsyncOperationResponse]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -60,7 +60,7 @@ describe 'ContentCollectionDeprecationsApi' do
60
60
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
61
61
  # @option opts [Array<String>] :fields A list of fields to include in the response.
62
62
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
63
- # @return [PaginatedansibleCollectionResponseList]
63
+ # @return [PaginatedansibleAnsibleCollectionDeprecatedResponseList]
64
64
  describe 'list test' do
65
65
  it 'should work' do
66
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -74,7 +74,7 @@ describe 'ContentCollectionDeprecationsApi' do
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [Array<String>] :fields A list of fields to include in the response.
76
76
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
77
- # @return [AnsibleCollectionResponse]
77
+ # @return [AnsibleAnsibleCollectionDeprecatedResponse]
78
78
  describe 'read test' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -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 [String] :repository A URI of a repository the new content unit should be associated with.
40
- # @option opts [String] :artifact Artifact file representing the physical content
41
- # @option opts [File] :file An uploaded file that may be turned into the content unit.
42
39
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
40
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
41
+ # @option opts [String] :artifact Artifact file representing the physical content
42
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
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::ApiPluginAnsibleSearchCollectionVersionsApi
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 'ApiPluginAnsibleSearchCollectionVersionsApi' do
19
+ describe 'PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = PulpAnsibleClient::ApiPluginAnsibleSearchCollectionVersionsApi.new
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 ApiPluginAnsibleSearchCollectionVersionsApi' do
30
- it 'should create an instance of ApiPluginAnsibleSearchCollectionVersionsApi' do
31
- expect(@api_instance).to be_instance_of(PulpAnsibleClient::ApiPluginAnsibleSearchCollectionVersionsApi)
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 ansible_cross_repository_collection_version_index_href
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 ansible_cross_repository_collection_version_index_href
73
+ # @param path
75
74
  # @param collection_version_search_list
76
75
  # @param [Hash] opts the optional parameters
77
76
  # @return [CollectionVersionSearchListResponse]
@@ -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
@@ -47,18 +47,4 @@ describe 'VersionsApi' do
47
47
  end
48
48
  end
49
49
 
50
- # unit tests for api_v2_collection_versions_list
51
- # APIView for Collections by namespace/name.
52
- # @param ansible_collection_version_href
53
- # @param [Hash] opts the optional parameters
54
- # @option opts [Integer] :page A page number within the paginated result set.
55
- # @option opts [Array<String>] :fields A list of fields to include in the response.
56
- # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
57
- # @return [PaginatedGalaxyCollectionVersionResponseList]
58
- describe 'api_v2_collection_versions_list test' do
59
- it 'should work' do
60
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
- end
62
- end
63
-
64
50
  end
@@ -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://localhost:24817")
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://localhost:24817")
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://localhost:24817")
38
+ # expect(config.base_url).to eq("http://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -14,55 +14,49 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpAnsibleClient::GalaxyCollectionVersionResponse
17
+ # Unit tests for PulpAnsibleClient::AnsibleAnsibleCollectionDeprecatedResponse
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'GalaxyCollectionVersionResponse' do
20
+ describe 'AnsibleAnsibleCollectionDeprecatedResponse' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpAnsibleClient::GalaxyCollectionVersionResponse.new
23
+ @instance = PulpAnsibleClient::AnsibleAnsibleCollectionDeprecatedResponse.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of GalaxyCollectionVersionResponse' do
31
- it 'should create an instance of GalaxyCollectionVersionResponse' do
32
- expect(@instance).to be_instance_of(PulpAnsibleClient::GalaxyCollectionVersionResponse)
30
+ describe 'test an instance of AnsibleAnsibleCollectionDeprecatedResponse' do
31
+ it 'should create an instance of AnsibleAnsibleCollectionDeprecatedResponse' do
32
+ expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleAnsibleCollectionDeprecatedResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "version"' do
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 "href"' do
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 "namespace"' do
47
+ describe 'test attribute "pulp_last_updated"' 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 "collection"' do
53
+ describe 'test attribute "name"' 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 "artifact"' do
60
- it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
- end
63
- end
64
-
65
- describe 'test attribute "metadata"' do
59
+ describe 'test attribute "namespace"' do
66
60
  it 'should work' do
67
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
62
  end
@@ -14,24 +14,30 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpAnsibleClient::AnsibleCollection
17
+ # Unit tests for PulpAnsibleClient::AnsibleAnsibleCollectionDeprecated
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'AnsibleCollection' do
20
+ describe 'AnsibleAnsibleCollectionDeprecated' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpAnsibleClient::AnsibleCollection.new
23
+ @instance = PulpAnsibleClient::AnsibleAnsibleCollectionDeprecated.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of AnsibleCollection' do
31
- it 'should create an instance of AnsibleCollection' do
32
- expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollection)
30
+ describe 'test an instance of AnsibleAnsibleCollectionDeprecated' do
31
+ it 'should create an instance of AnsibleAnsibleCollectionDeprecated' do
32
+ expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleAnsibleCollectionDeprecated)
33
33
  end
34
34
  end
35
+ describe 'test attribute "repository"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
35
41
  describe 'test attribute "name"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,25 +32,25 @@ describe 'AnsibleCollectionVersionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "artifact"' do
35
+ describe 'test attribute "pulp_last_updated"' 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 "pulp_created"' do
41
+ describe 'test attribute "artifact"' 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 "pulp_last_updated"' do
47
+ describe 'test attribute "pulp_href"' 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 "pulp_href"' do
53
+ describe 'test attribute "pulp_created"' 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,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 "repository"' do
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 "artifact"' do
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
45
45
  end
46
46
 
47
- describe 'test attribute "file"' do
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 "upload"' do
53
+ describe 'test attribute "repository"' 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,115 +32,115 @@ describe 'AnsibleGitRemoteResponse' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleGitRemoteResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "proxy_url"' do
35
+ describe 'test attribute "pulp_last_updated"' 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 "name"' do
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 "pulp_created"' do
47
+ describe 'test attribute "max_retries"' 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 "url"' do
53
+ describe 'test attribute "client_cert"' 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 "pulp_labels"' do
59
+ describe 'test attribute "tls_validation"' 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 "sock_connect_timeout"' do
65
+ describe 'test attribute "total_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 "pulp_href"' do
71
+ describe 'test attribute "connect_timeout"' 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 "tls_validation"' do
77
+ describe 'test attribute "rate_limit"' 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 "download_concurrency"' do
83
+ describe 'test attribute "sock_read_timeout"' 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 "sock_read_timeout"' do
89
+ describe 'test attribute "download_concurrency"' 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 "client_cert"' do
95
+ describe 'test attribute "headers"' 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 "max_retries"' do
101
+ describe 'test attribute "proxy_url"' 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 "connect_timeout"' do
107
+ describe 'test attribute "ca_cert"' 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 "pulp_last_updated"' do
113
+ describe 'test attribute "sock_connect_timeout"' 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 "ca_cert"' do
119
+ describe 'test attribute "pulp_labels"' 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 "rate_limit"' do
125
+ describe 'test attribute "hidden_fields"' 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 "hidden_fields"' do
131
+ describe 'test attribute "name"' 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 "total_timeout"' do
137
+ describe 'test attribute "pulp_href"' 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 "headers"' do
143
+ describe 'test attribute "pulp_created"' 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