pulp_ansible_client 0.2.0b5 → 0.2.0b6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -23
  3. data/docs/{AnsibleDistribution.md → AnsibleAnsibleDistribution.md} +6 -6
  4. data/docs/AnsibleAnsibleRemote.md +39 -0
  5. data/docs/AnsibleAnsibleRepository.md +27 -0
  6. data/docs/AnsibleCollection.md +19 -0
  7. data/docs/AnsibleCollectionRemote.md +41 -0
  8. data/docs/AnsibleCollectionVersion.md +67 -0
  9. data/docs/AnsibleCollectionsApi.md +80 -18
  10. data/docs/AnsibleRole.md +27 -0
  11. data/docs/AnsibleTag.md +17 -0
  12. data/docs/Collection.md +31 -0
  13. data/docs/CollectionImportDetail.md +2 -2
  14. data/docs/CollectionMetadata.md +9 -9
  15. data/docs/{TagNested.md → CollectionNamespace.md} +3 -3
  16. data/docs/CollectionRef.md +21 -0
  17. data/docs/CollectionVersion.md +19 -59
  18. data/docs/ContentCollectionVersionsApi.md +25 -27
  19. data/docs/ContentRolesApi.md +17 -25
  20. data/docs/ContentSummary.md +21 -0
  21. data/docs/DistributionsAnsibleApi.md +16 -12
  22. data/docs/GalaxyCollection.md +2 -2
  23. data/docs/GalaxyCollectionVersion.md +4 -4
  24. data/docs/GalaxyRole.md +1 -1
  25. data/docs/GalaxyRoleVersion.md +1 -1
  26. data/docs/InlineResponse200.md +1 -1
  27. data/docs/InlineResponse2001.md +1 -1
  28. data/docs/InlineResponse20010.md +23 -0
  29. data/docs/InlineResponse20011.md +23 -0
  30. data/docs/InlineResponse20012.md +23 -0
  31. data/docs/InlineResponse20013.md +23 -0
  32. data/docs/InlineResponse2002.md +1 -1
  33. data/docs/InlineResponse2003.md +1 -1
  34. data/docs/InlineResponse2004.md +1 -1
  35. data/docs/InlineResponse2005.md +1 -1
  36. data/docs/InlineResponse2006.md +1 -1
  37. data/docs/InlineResponse2007.md +1 -1
  38. data/docs/InlineResponse2008.md +1 -1
  39. data/docs/InlineResponse2009.md +1 -1
  40. data/docs/PulpAnsibleApiApi.md +3 -1
  41. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +16 -9
  42. data/docs/PulpAnsibleGalaxyApiRolesApi.md +5 -3
  43. data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +5 -3
  44. data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +5 -3
  45. data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +28 -10
  46. data/docs/PulpAnsibleTagsApi.md +5 -3
  47. data/docs/RemotesAnsibleApi.md +30 -81
  48. data/docs/RemotesCollectionApi.md +30 -81
  49. data/docs/RepositoriesAnsibleApi.md +409 -0
  50. data/docs/RepositoriesAnsibleVersionsApi.md +214 -0
  51. data/docs/RepositorySyncURL.md +2 -2
  52. data/docs/RepositoryVersion.md +25 -0
  53. data/docs/Tag.md +1 -1
  54. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +103 -35
  55. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +40 -57
  56. data/lib/pulp_ansible_client/api/content_roles_api.rb +28 -58
  57. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -13
  58. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +4 -1
  59. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +20 -9
  60. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +7 -4
  61. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +7 -4
  62. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +7 -4
  63. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +59 -12
  64. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +7 -4
  65. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +40 -102
  66. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +40 -102
  67. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +498 -0
  68. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +268 -0
  69. data/lib/pulp_ansible_client/api_client.rb +1 -1
  70. data/lib/pulp_ansible_client/api_error.rb +1 -1
  71. data/lib/pulp_ansible_client/configuration.rb +1 -1
  72. data/lib/pulp_ansible_client/models/{ansible_distribution.rb → ansible_ansible_distribution.rb} +31 -36
  73. data/lib/pulp_ansible_client/models/{ansible_remote.rb → ansible_ansible_remote.rb} +87 -147
  74. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +294 -0
  75. data/lib/pulp_ansible_client/models/ansible_collection.rb +265 -0
  76. data/lib/pulp_ansible_client/models/{collection_remote.rb → ansible_collection_remote.rb} +88 -147
  77. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +816 -0
  78. data/lib/pulp_ansible_client/models/{role.rb → ansible_role.rb} +31 -60
  79. data/lib/pulp_ansible_client/models/{tag_nested.rb → ansible_tag.rb} +15 -5
  80. data/lib/pulp_ansible_client/models/async_operation_response.rb +12 -2
  81. data/lib/pulp_ansible_client/models/collection.rb +314 -0
  82. data/lib/pulp_ansible_client/models/collection_import_detail.rb +14 -4
  83. data/lib/pulp_ansible_client/models/collection_metadata.rb +14 -4
  84. data/lib/pulp_ansible_client/models/collection_namespace.rb +230 -0
  85. data/lib/pulp_ansible_client/models/collection_ref.rb +272 -0
  86. data/lib/pulp_ansible_client/models/collection_version.rb +109 -536
  87. data/lib/pulp_ansible_client/models/content_summary.rb +246 -0
  88. data/lib/pulp_ansible_client/models/galaxy_collection.rb +12 -2
  89. data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +12 -2
  90. data/lib/pulp_ansible_client/models/galaxy_role.rb +12 -2
  91. data/lib/pulp_ansible_client/models/galaxy_role_version.rb +12 -2
  92. data/lib/pulp_ansible_client/models/inline_response200.rb +15 -3
  93. data/lib/pulp_ansible_client/models/inline_response2001.rb +15 -3
  94. data/lib/pulp_ansible_client/models/inline_response20010.rb +247 -0
  95. data/lib/pulp_ansible_client/models/inline_response20011.rb +247 -0
  96. data/lib/pulp_ansible_client/models/inline_response20012.rb +247 -0
  97. data/lib/pulp_ansible_client/models/inline_response20013.rb +247 -0
  98. data/lib/pulp_ansible_client/models/inline_response2002.rb +15 -3
  99. data/lib/pulp_ansible_client/models/inline_response2003.rb +15 -3
  100. data/lib/pulp_ansible_client/models/inline_response2004.rb +15 -3
  101. data/lib/pulp_ansible_client/models/inline_response2005.rb +15 -3
  102. data/lib/pulp_ansible_client/models/inline_response2006.rb +15 -3
  103. data/lib/pulp_ansible_client/models/inline_response2007.rb +15 -3
  104. data/lib/pulp_ansible_client/models/inline_response2008.rb +15 -3
  105. data/lib/pulp_ansible_client/models/inline_response2009.rb +15 -3
  106. data/lib/pulp_ansible_client/models/repository_sync_url.rb +22 -12
  107. data/lib/pulp_ansible_client/models/repository_version.rb +244 -0
  108. data/lib/pulp_ansible_client/models/tag.rb +12 -2
  109. data/lib/pulp_ansible_client/version.rb +2 -2
  110. data/lib/pulp_ansible_client.rb +20 -6
  111. data/pulp_ansible_client.gemspec +1 -1
  112. data/spec/api/ansible_collections_api_spec.rb +25 -10
  113. data/spec/api/content_collection_versions_api_spec.rb +12 -12
  114. data/spec/api/content_roles_api_spec.rb +8 -11
  115. data/spec/api/distributions_ansible_api_spec.rb +5 -3
  116. data/spec/api/pulp_ansible_api_api_spec.rb +2 -1
  117. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +6 -3
  118. data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +3 -2
  119. data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +3 -2
  120. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +3 -2
  121. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +12 -4
  122. data/spec/api/pulp_ansible_tags_api_spec.rb +3 -2
  123. data/spec/api/remotes_ansible_api_spec.rb +12 -22
  124. data/spec/api/remotes_collection_api_spec.rb +12 -22
  125. data/spec/api/repositories_ansible_api_spec.rb +128 -0
  126. data/spec/api/repositories_ansible_versions_api_spec.rb +91 -0
  127. data/spec/api_client_spec.rb +2 -2
  128. data/spec/configuration_spec.rb +1 -1
  129. data/spec/models/{ansible_distribution_spec.rb → ansible_ansible_distribution_spec.rb} +9 -9
  130. data/spec/models/{collection_remote_spec.rb → ansible_ansible_remote_spec.rb} +14 -38
  131. data/spec/models/ansible_ansible_repository_spec.rb +71 -0
  132. data/spec/models/{ansible_remote_spec.rb → ansible_collection_remote_spec.rb} +20 -32
  133. data/spec/models/ansible_collection_spec.rb +47 -0
  134. data/spec/models/ansible_collection_version_spec.rb +191 -0
  135. data/spec/models/ansible_role_spec.rb +71 -0
  136. data/spec/models/{tag_nested_spec.rb → ansible_tag_spec.rb} +7 -7
  137. data/spec/models/async_operation_response_spec.rb +1 -1
  138. data/spec/models/collection_import_detail_spec.rb +1 -1
  139. data/spec/models/collection_metadata_spec.rb +1 -1
  140. data/spec/models/collection_namespace_spec.rb +41 -0
  141. data/spec/models/collection_ref_spec.rb +53 -0
  142. data/spec/models/{role_spec.rb → collection_spec.rb} +15 -21
  143. data/spec/models/collection_version_spec.rb +14 -130
  144. data/spec/models/content_summary_spec.rb +53 -0
  145. data/spec/models/galaxy_collection_spec.rb +1 -1
  146. data/spec/models/galaxy_collection_version_spec.rb +1 -1
  147. data/spec/models/galaxy_role_spec.rb +1 -1
  148. data/spec/models/galaxy_role_version_spec.rb +1 -1
  149. data/spec/models/inline_response20010_spec.rb +59 -0
  150. data/spec/models/inline_response20011_spec.rb +59 -0
  151. data/spec/models/inline_response20012_spec.rb +59 -0
  152. data/spec/models/inline_response20013_spec.rb +59 -0
  153. data/spec/models/inline_response2001_spec.rb +1 -1
  154. data/spec/models/inline_response2002_spec.rb +1 -1
  155. data/spec/models/inline_response2003_spec.rb +1 -1
  156. data/spec/models/inline_response2004_spec.rb +1 -1
  157. data/spec/models/inline_response2005_spec.rb +1 -1
  158. data/spec/models/inline_response2006_spec.rb +1 -1
  159. data/spec/models/inline_response2007_spec.rb +1 -1
  160. data/spec/models/inline_response2008_spec.rb +1 -1
  161. data/spec/models/inline_response2009_spec.rb +1 -1
  162. data/spec/models/inline_response200_spec.rb +1 -1
  163. data/spec/models/repository_sync_url_spec.rb +2 -2
  164. data/spec/models/repository_version_spec.rb +65 -0
  165. data/spec/models/tag_spec.rb +1 -1
  166. data/spec/spec_helper.rb +1 -1
  167. metadata +78 -22
  168. data/docs/AnsibleRemote.md +0 -45
  169. data/docs/CollectionRemote.md +0 -47
  170. data/docs/Role.md +0 -33
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -34,16 +34,10 @@ describe 'ContentCollectionVersionsApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create a collection version
37
- # Trigger an asynchronous task to create content,optionally create new repository version.
38
- # @param relative_path Path where the artifact is located relative to distributions base_path
37
+ # ViewSet for Ansible Collection.
38
+ # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @option opts [String] :artifact Artifact file representing the physical content
41
- # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
42
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
- # @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
44
- # @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
45
- # @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import.
46
- # @return [AsyncOperationResponse]
40
+ # @return [AnsibleCollectionVersion]
47
41
  describe 'create test' do
48
42
  it 'should work' do
49
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -54,18 +48,23 @@ describe 'ContentCollectionVersionsApi' do
54
48
  # List collection versions
55
49
  # ViewSet for Ansible Collection.
56
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :ordering Which field to use when ordering the results.
57
52
  # @option opts [String] :namespace
58
53
  # @option opts [String] :name
59
54
  # @option opts [String] :version Filter results where version matches value
60
55
  # @option opts [String] :q
61
56
  # @option opts [String] :is_highest
57
+ # @option opts [String] :certification
58
+ # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
62
59
  # @option opts [String] :repository_version Repository Version referenced by HREF
63
60
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
64
61
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
62
+ # @option opts [String] :deprecated
65
63
  # @option opts [Integer] :limit Number of results to return per page.
66
64
  # @option opts [Integer] :offset The initial index from which to return the results.
67
65
  # @option opts [String] :fields A list of fields to include in the response.
68
- # @return [InlineResponse200]
66
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
67
+ # @return [InlineResponse2001]
69
68
  describe 'list test' do
70
69
  it 'should work' do
71
70
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -78,7 +77,8 @@ describe 'ContentCollectionVersionsApi' do
78
77
  # @param collection_version_href URI of Collection Version. e.g.: /pulp/api/v3/content/ansible/collection_versions/1/
79
78
  # @param [Hash] opts the optional parameters
80
79
  # @option opts [String] :fields A list of fields to include in the response.
81
- # @return [CollectionVersion]
80
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
81
+ # @return [AnsibleCollectionVersion]
82
82
  describe 'read test' do
83
83
  it 'should work' do
84
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -34,15 +34,10 @@ describe 'ContentRolesApi' do
34
34
 
35
35
  # unit tests for create
36
36
  # Create a role
37
- # Trigger an asynchronous task to create content,optionally create new repository version.
38
- # @param version
39
- # @param name
40
- # @param namespace
37
+ # ViewSet for Role.
38
+ # @param data
41
39
  # @param [Hash] opts the optional parameters
42
- # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
43
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
- # @option opts [String] :artifact Artifact file representing the physical content
45
- # @return [AsyncOperationResponse]
40
+ # @return [AnsibleRole]
46
41
  describe 'create test' do
47
42
  it 'should work' do
48
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,7 +57,8 @@ describe 'ContentRolesApi' do
62
57
  # @option opts [Integer] :limit Number of results to return per page.
63
58
  # @option opts [Integer] :offset The initial index from which to return the results.
64
59
  # @option opts [String] :fields A list of fields to include in the response.
65
- # @return [InlineResponse2001]
60
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
61
+ # @return [InlineResponse2002]
66
62
  describe 'list test' do
67
63
  it 'should work' do
68
64
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -75,7 +71,8 @@ describe 'ContentRolesApi' do
75
71
  # @param role_href URI of Role. e.g.: /pulp/api/v3/content/ansible/roles/1/
76
72
  # @param [Hash] opts the optional parameters
77
73
  # @option opts [String] :fields A list of fields to include in the response.
78
- # @return [Role]
74
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
+ # @return [AnsibleRole]
79
76
  describe 'read test' do
80
77
  it 'should work' do
81
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -69,7 +69,8 @@ describe 'DistributionsAnsibleApi' do
69
69
  # @option opts [Integer] :limit Number of results to return per page.
70
70
  # @option opts [Integer] :offset The initial index from which to return the results.
71
71
  # @option opts [String] :fields A list of fields to include in the response.
72
- # @return [InlineResponse2002]
72
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
73
+ # @return [InlineResponse2003]
73
74
  describe 'list test' do
74
75
  it 'should work' do
75
76
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -95,7 +96,8 @@ describe 'DistributionsAnsibleApi' do
95
96
  # @param ansible_distribution_href URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
96
97
  # @param [Hash] opts the optional parameters
97
98
  # @option opts [String] :fields A list of fields to include in the response.
98
- # @return [AnsibleDistribution]
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
+ # @return [AnsibleAnsibleDistribution]
99
101
  describe 'read test' do
100
102
  it 'should work' do
101
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -37,6 +37,7 @@ describe 'PulpAnsibleApiApi' do
37
37
  # @param path
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :fields A list of fields to include in the response.
40
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
40
41
  # @return [nil]
41
42
  describe 'list test' do
42
43
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -50,7 +50,8 @@ describe 'PulpAnsibleGalaxyApiCollectionsApi' do
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @option opts [Integer] :page A page number within the paginated result set.
52
52
  # @option opts [String] :fields A list of fields to include in the response.
53
- # @return [InlineResponse2008]
53
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
54
+ # @return [InlineResponse20011]
54
55
  describe 'list test' do
55
56
  it 'should work' do
56
57
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -64,7 +65,8 @@ describe 'PulpAnsibleGalaxyApiCollectionsApi' do
64
65
  # @option opts [Integer] :limit Number of results to return per page.
65
66
  # @option opts [Integer] :offset The initial index from which to return the results.
66
67
  # @option opts [String] :fields A list of fields to include in the response.
67
- # @return [nil]
68
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
69
+ # @return [InlineResponse20013]
68
70
  describe 'list_0 test' do
69
71
  it 'should work' do
70
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -76,6 +78,7 @@ describe 'PulpAnsibleGalaxyApiCollectionsApi' do
76
78
  # @param collection_href URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/
77
79
  # @param [Hash] opts the optional parameters
78
80
  # @option opts [String] :fields A list of fields to include in the response.
81
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
79
82
  # @return [GalaxyCollection]
80
83
  describe 'read test' do
81
84
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -39,7 +39,8 @@ describe 'PulpAnsibleGalaxyApiRolesApi' do
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
41
  # @option opts [String] :fields A list of fields to include in the response.
42
- # @return [InlineResponse2006]
42
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
+ # @return [InlineResponse2009]
43
44
  describe 'list test' do
44
45
  it 'should work' do
45
46
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -40,7 +40,8 @@ describe 'PulpAnsibleGalaxyApiV1VersionsApi' do
40
40
  # @option opts [Integer] :limit Number of results to return per page.
41
41
  # @option opts [Integer] :offset The initial index from which to return the results.
42
42
  # @option opts [String] :fields A list of fields to include in the response.
43
- # @return [InlineResponse2007]
43
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
44
+ # @return [InlineResponse20010]
44
45
  describe 'list test' do
45
46
  it 'should work' do
46
47
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -39,7 +39,8 @@ describe 'PulpAnsibleGalaxyApiV2VersionsApi' do
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
41
  # @option opts [String] :fields A list of fields to include in the response.
42
- # @return [InlineResponse2009]
42
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
+ # @return [InlineResponse20012]
43
44
  describe 'list test' do
44
45
  it 'should work' do
45
46
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -33,10 +33,16 @@ describe 'PulpAnsibleGalaxyApiV3CollectionsApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
- # ViewSet for CollectionVersions.
36
+ # Upload a collection
37
+ # Create an artifact and trigger an asynchronous task to create Collection content from it.
37
38
  # @param path
39
+ # @param file The Collection tarball.
38
40
  # @param [Hash] opts the optional parameters
39
- # @return [nil]
41
+ # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
42
+ # @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
43
+ # @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
44
+ # @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import.
45
+ # @return [AsyncOperationResponse]
40
46
  describe 'create test' do
41
47
  it 'should work' do
42
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -45,10 +51,12 @@ describe 'PulpAnsibleGalaxyApiV3CollectionsApi' do
45
51
 
46
52
  # unit tests for read
47
53
  # Inspect a collection import
48
- # ViewSet for CollectionImports.
54
+ # Returns a CollectionImport object.
49
55
  # @param collection_import_href URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/1/
50
56
  # @param [Hash] opts the optional parameters
51
57
  # @option opts [String] :fields A list of fields to include in the response.
58
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
59
+ # @option opts [DateTime] :since Filter messages since a given timestamp
52
60
  # @return [CollectionImportDetail]
53
61
  describe 'read test' do
54
62
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -39,7 +39,8 @@ describe 'PulpAnsibleTagsApi' do
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
41
  # @option opts [String] :fields A list of fields to include in the response.
42
- # @return [InlineResponse2003]
42
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
+ # @return [InlineResponse2004]
43
44
  describe 'list test' do
44
45
  it 'should work' do
45
46
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -37,7 +37,7 @@ describe 'RemotesAnsibleApi' do
37
37
  # ViewSet for Ansible Remotes.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [AnsibleRemote]
40
+ # @return [AnsibleAnsibleRemote]
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
@@ -62,16 +62,17 @@ describe 'RemotesAnsibleApi' do
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [String] :name
64
64
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
66
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
67
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
68
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
69
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
70
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
65
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
66
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
67
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
68
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
69
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
70
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
71
71
  # @option opts [Integer] :limit Number of results to return per page.
72
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
73
  # @option opts [String] :fields A list of fields to include in the response.
74
- # @return [InlineResponse2004]
74
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
+ # @return [InlineResponse2005]
75
76
  describe 'list test' do
76
77
  it 'should work' do
77
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -97,25 +98,14 @@ describe 'RemotesAnsibleApi' do
97
98
  # @param ansible_remote_href URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/
98
99
  # @param [Hash] opts the optional parameters
99
100
  # @option opts [String] :fields A list of fields to include in the response.
100
- # @return [AnsibleRemote]
101
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
+ # @return [AnsibleAnsibleRemote]
101
103
  describe 'read test' do
102
104
  it 'should work' do
103
105
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
106
  end
105
107
  end
106
108
 
107
- # unit tests for sync
108
- # Trigger an asynchronous task to sync Ansible content.
109
- # @param ansible_remote_href URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/
110
- # @param data
111
- # @param [Hash] opts the optional parameters
112
- # @return [AsyncOperationResponse]
113
- describe 'sync test' do
114
- it 'should work' do
115
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
- end
117
- end
118
-
119
109
  # unit tests for update
120
110
  # Update an ansible remote
121
111
  # Trigger an asynchronous update task
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -37,7 +37,7 @@ describe 'RemotesCollectionApi' do
37
37
  # ViewSet for Collection Remotes.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [CollectionRemote]
40
+ # @return [AnsibleCollectionRemote]
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
@@ -62,16 +62,17 @@ describe 'RemotesCollectionApi' do
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [String] :name
64
64
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
66
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
67
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
68
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
69
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
70
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
65
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
66
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
67
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
68
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
69
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
70
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
71
71
  # @option opts [Integer] :limit Number of results to return per page.
72
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
73
  # @option opts [String] :fields A list of fields to include in the response.
74
- # @return [InlineResponse2005]
74
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
+ # @return [InlineResponse2006]
75
76
  describe 'list test' do
76
77
  it 'should work' do
77
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -97,25 +98,14 @@ describe 'RemotesCollectionApi' do
97
98
  # @param collection_remote_href URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/
98
99
  # @param [Hash] opts the optional parameters
99
100
  # @option opts [String] :fields A list of fields to include in the response.
100
- # @return [CollectionRemote]
101
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
+ # @return [AnsibleCollectionRemote]
101
103
  describe 'read test' do
102
104
  it 'should work' do
103
105
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
106
  end
105
107
  end
106
108
 
107
- # unit tests for sync
108
- # Trigger an asynchronous task to sync Collection content.
109
- # @param collection_remote_href URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/
110
- # @param data
111
- # @param [Hash] opts the optional parameters
112
- # @return [AsyncOperationResponse]
113
- describe 'sync test' do
114
- it 'should work' do
115
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
- end
117
- end
118
-
119
109
  # unit tests for update
120
110
  # Update a collection remote
121
111
  # Trigger an asynchronous update task
@@ -0,0 +1,128 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::RepositoriesAnsibleApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RepositoriesAnsibleApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RepositoriesAnsibleApi' do
30
+ it 'should create an instance of RepositoriesAnsibleApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::RepositoriesAnsibleApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create an ansible repository
37
+ # ViewSet for Ansible Remotes.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AnsibleAnsibleRepository]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete an ansible repository
49
+ # Trigger an asynchronous task to delete a repository.
50
+ # @param ansible_repository_href URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List ansible repositorys
61
+ # ViewSet for Ansible Remotes.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :name
64
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
+ # @option opts [Integer] :limit Number of results to return per page.
66
+ # @option opts [Integer] :offset The initial index from which to return the results.
67
+ # @option opts [String] :fields A list of fields to include in the response.
68
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
69
+ # @return [InlineResponse2007]
70
+ describe 'list test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ # unit tests for partial_update
77
+ # Partially update an ansible repository
78
+ # ViewSet for Ansible Remotes.
79
+ # @param ansible_repository_href URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
80
+ # @param data
81
+ # @param [Hash] opts the optional parameters
82
+ # @return [AnsibleAnsibleRepository]
83
+ describe 'partial_update test' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ # unit tests for read
90
+ # Inspect an ansible repository
91
+ # ViewSet for Ansible Remotes.
92
+ # @param ansible_repository_href URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
93
+ # @param [Hash] opts the optional parameters
94
+ # @option opts [String] :fields A list of fields to include in the response.
95
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
96
+ # @return [AnsibleAnsibleRepository]
97
+ describe 'read test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
103
+ # unit tests for sync
104
+ # Trigger an asynchronous task to sync Ansible content.
105
+ # @param ansible_repository_href URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
106
+ # @param data
107
+ # @param [Hash] opts the optional parameters
108
+ # @return [AsyncOperationResponse]
109
+ describe 'sync test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
115
+ # unit tests for update
116
+ # Update an ansible repository
117
+ # Trigger an asynchronous task to update a repository.
118
+ # @param ansible_repository_href URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
119
+ # @param data
120
+ # @param [Hash] opts the optional parameters
121
+ # @return [AsyncOperationResponse]
122
+ describe 'update test' do
123
+ it 'should work' do
124
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
125
+ end
126
+ end
127
+
128
+ end