pulp_ansible_client 0.12.1 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +52 -5
  3. data/docs/AnsibleAnsibleRepository.md +3 -1
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +3 -1
  5. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  6. data/docs/AnsibleCollectionVersionSignature.md +21 -0
  7. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -2
  8. data/docs/AnsibleGitRemote.md +27 -27
  9. data/docs/AnsibleGitRemoteResponse.md +23 -23
  10. data/docs/AnsibleRoleResponse.md +4 -4
  11. data/docs/CollectionVersionListResponse.md +25 -0
  12. data/docs/ContentCollectionSignaturesApi.md +64 -4
  13. data/docs/KeyringEnum.md +16 -0
  14. data/docs/{PaginatedCollectionVersionResponseList.md → PaginatedCollectionVersionListResponseList.md} +3 -3
  15. data/docs/PatchedansibleAnsibleRepository.md +3 -1
  16. data/docs/PatchedansibleGitRemote.md +27 -27
  17. data/docs/PulpAnsibleApiV3Api.md +8 -2
  18. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +68 -0
  19. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +8 -2
  20. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +8 -2
  21. data/docs/PulpAnsibleApiV3CollectionsApi.md +81 -6
  22. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +77 -6
  23. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +8 -2
  24. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +75 -0
  25. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +69 -0
  26. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +69 -0
  27. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +70 -0
  28. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +264 -0
  29. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +223 -0
  30. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +75 -0
  31. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +205 -1
  32. data/docs/PulpAnsibleDefaultApiApi.md +50 -0
  33. data/docs/PulpAnsibleDefaultApiV3Api.md +57 -0
  34. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +68 -0
  35. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +57 -0
  36. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +71 -0
  37. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +248 -0
  38. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +211 -0
  39. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +71 -0
  40. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +73 -0
  41. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +67 -0
  42. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +67 -0
  43. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +68 -0
  44. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +256 -0
  45. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +217 -0
  46. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +73 -0
  47. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +79 -4
  48. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -3
  49. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +92 -0
  50. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -3
  51. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -3
  52. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +81 -9
  53. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +87 -9
  54. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -3
  55. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +103 -0
  56. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +94 -0
  57. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +94 -0
  58. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +98 -0
  59. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +357 -0
  60. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +313 -0
  61. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +112 -0
  62. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +298 -1
  63. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +74 -0
  64. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +76 -0
  65. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +92 -0
  66. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +76 -0
  67. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +91 -0
  68. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +309 -0
  69. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +277 -0
  70. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +100 -0
  71. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +97 -0
  72. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +88 -0
  73. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +88 -0
  74. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +92 -0
  75. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +333 -0
  76. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +295 -0
  77. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +106 -0
  78. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +15 -5
  79. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -5
  80. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
  81. data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +238 -0
  82. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +0 -5
  83. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +225 -225
  84. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
  85. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  86. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +269 -0
  87. data/lib/pulp_ansible_client/models/keyring_enum.rb +40 -0
  88. data/lib/pulp_ansible_client/models/{paginated_collection_version_response_list.rb → paginated_collection_version_list_response_list.rb} +4 -4
  89. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +15 -5
  90. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
  91. data/lib/pulp_ansible_client/version.rb +1 -1
  92. data/lib/pulp_ansible_client.rb +27 -1
  93. data/spec/api/content_collection_signatures_api_spec.rb +16 -2
  94. data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -1
  95. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +49 -0
  96. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -1
  97. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -1
  98. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +16 -3
  99. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +17 -3
  100. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -1
  101. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +52 -0
  102. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +49 -0
  103. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +49 -0
  104. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +50 -0
  105. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +99 -0
  106. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +94 -0
  107. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +52 -0
  108. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +51 -0
  109. data/spec/api/pulp_ansible_default_api_api_spec.rb +45 -0
  110. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +45 -0
  111. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +49 -0
  112. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +45 -0
  113. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +50 -0
  114. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +91 -0
  115. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +88 -0
  116. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +50 -0
  117. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +51 -0
  118. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +48 -0
  119. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +48 -0
  120. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +49 -0
  121. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +95 -0
  122. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +91 -0
  123. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +51 -0
  124. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  125. data/spec/models/ansible_ansible_repository_spec.rb +6 -0
  126. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  127. data/spec/models/ansible_collection_version_signature_spec.rb +53 -0
  128. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  129. data/spec/models/ansible_git_remote_spec.rb +19 -19
  130. data/spec/models/ansible_role_response_spec.rb +2 -2
  131. data/spec/models/collection_version_list_response_spec.rb +65 -0
  132. data/spec/models/keyring_enum_spec.rb +35 -0
  133. data/spec/models/{paginated_collection_version_response_list_spec.rb → paginated_collection_version_list_response_list_spec.rb} +6 -6
  134. data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
  135. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  136. metadata +109 -5
@@ -0,0 +1,94 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi' do
30
+ it 'should create an instance of PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for delete
36
+ # Trigger an asynchronous delete task
37
+ # @param distro_base_path
38
+ # @param name
39
+ # @param namespace
40
+ # @param path
41
+ # @param version
42
+ # @param [Hash] opts the optional parameters
43
+ # @return [AsyncOperationResponse]
44
+ describe 'delete test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ # unit tests for list
51
+ # Returns paginated CollectionVersions list.
52
+ # @param distro_base_path
53
+ # @param name
54
+ # @param namespace
55
+ # @param path
56
+ # @param [Hash] opts the optional parameters
57
+ # @option opts [Boolean] :is_highest
58
+ # @option opts [Integer] :limit Number of results to return per page.
59
+ # @option opts [String] :name2
60
+ # @option opts [String] :namespace2
61
+ # @option opts [Integer] :offset The initial index from which to return the results.
62
+ # @option opts [String] :q
63
+ # @option opts [String] :repository_version Repository Version referenced by HREF
64
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
65
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
66
+ # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
67
+ # @option opts [String] :version Filter results where version matches value
68
+ # @option opts [String] :fields A list of fields to include in the response.
69
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
+ # @return [PaginatedCollectionVersionListResponseList]
71
+ describe 'list test' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ # unit tests for read
78
+ # Returns a CollectionVersion object.
79
+ # @param distro_base_path
80
+ # @param name
81
+ # @param namespace
82
+ # @param path
83
+ # @param version
84
+ # @param [Hash] opts the optional parameters
85
+ # @option opts [String] :fields A list of fields to include in the response.
86
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
87
+ # @return [CollectionVersionResponse]
88
+ describe 'read test' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi' do
30
+ it 'should create an instance of PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for read
36
+ # Returns a CollectionVersion object.
37
+ # @param distro_base_path
38
+ # @param name
39
+ # @param namespace
40
+ # @param path
41
+ # @param version
42
+ # @param [Hash] opts the optional parameters
43
+ # @option opts [String] :fields A list of fields to include in the response.
44
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
45
+ # @return [CollectionVersionDocsResponse]
46
+ describe 'read test' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ end
@@ -49,4 +49,55 @@ describe 'PulpAnsibleArtifactsCollectionsV3Api' do
49
49
  end
50
50
  end
51
51
 
52
+ # unit tests for create_0
53
+ # Upload a collection
54
+ # Create an artifact and trigger an asynchronous task to create Collection content from it.
55
+ # @param distro_base_path
56
+ # @param path
57
+ # @param file The Collection tarball.
58
+ # @param [Hash] opts the optional parameters
59
+ # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
60
+ # @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
61
+ # @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
62
+ # @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import.
63
+ # @return [AsyncOperationResponse]
64
+ describe 'create_0 test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for create_1
71
+ # Upload a collection
72
+ # Create an artifact and trigger an asynchronous task to create Collection content from it.
73
+ # @param file The Collection tarball.
74
+ # @param [Hash] opts the optional parameters
75
+ # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
76
+ # @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
77
+ # @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
78
+ # @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import.
79
+ # @return [AsyncOperationResponse]
80
+ describe 'create_1 test' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ # unit tests for create_2
87
+ # Upload a collection
88
+ # Create an artifact and trigger an asynchronous task to create Collection content from it.
89
+ # @param distro_base_path
90
+ # @param file The Collection tarball.
91
+ # @param [Hash] opts the optional parameters
92
+ # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
93
+ # @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
94
+ # @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
95
+ # @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import.
96
+ # @return [AsyncOperationResponse]
97
+ describe 'create_2 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
+
52
103
  end
@@ -0,0 +1,45 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleDefaultApiApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleDefaultApiApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleDefaultApiApi' do
30
+ it 'should create an instance of PulpAnsibleDefaultApiApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleDefaultApiApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get
36
+ # Return a response to the \"GET\" action.
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [nil]
39
+ describe 'get test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ end
@@ -0,0 +1,45 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleDefaultApiV3Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleDefaultApiV3Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleDefaultApiV3Api' do
30
+ it 'should create an instance of PulpAnsibleDefaultApiV3Api' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleDefaultApiV3Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for read
36
+ # Legacy v3 endpoint.
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [RepoMetadataResponse]
39
+ describe 'read test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ end
@@ -0,0 +1,49 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleDefaultApiV3ArtifactsCollectionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleDefaultApiV3ArtifactsCollectionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleDefaultApiV3ArtifactsCollectionsApi' do
30
+ it 'should create an instance of PulpAnsibleDefaultApiV3ArtifactsCollectionsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleDefaultApiV3ArtifactsCollectionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get
36
+ # Download collection.
37
+ # @param filename
38
+ # @param path
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :fields A list of fields to include in the response.
41
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
42
+ # @return [nil]
43
+ describe 'get test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,45 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionVersionsAllApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleDefaultApiV3CollectionVersionsAllApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionVersionsAllApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleDefaultApiV3CollectionVersionsAllApi' do
30
+ it 'should create an instance of PulpAnsibleDefaultApiV3CollectionVersionsAllApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionVersionsAllApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # Legacy v3 endpoint.
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Array<UnpaginatedCollectionVersionResponse>]
39
+ describe 'list test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ end
@@ -0,0 +1,50 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsAllApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleDefaultApiV3CollectionsAllApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsAllApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleDefaultApiV3CollectionsAllApi' do
30
+ it 'should create an instance of PulpAnsibleDefaultApiV3CollectionsAllApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsAllApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # Legacy v3 endpoint.
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [Boolean] :deprecated
39
+ # @option opts [String] :name
40
+ # @option opts [String] :namespace
41
+ # @option opts [String] :fields A list of fields to include in the response.
42
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
+ # @return [Array<CollectionResponse>]
44
+ describe 'list test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ end
@@ -0,0 +1,91 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleDefaultApiV3CollectionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleDefaultApiV3CollectionsApi' do
30
+ it 'should create an instance of PulpAnsibleDefaultApiV3CollectionsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for delete
36
+ # Legacy v3 endpoint.
37
+ # @param name
38
+ # @param namespace
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'delete 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 list
48
+ # Legacy v3 endpoint.
49
+ # @param [Hash] opts the optional parameters
50
+ # @option opts [Boolean] :deprecated
51
+ # @option opts [Integer] :limit Number of results to return per page.
52
+ # @option opts [String] :name
53
+ # @option opts [String] :namespace
54
+ # @option opts [Integer] :offset The initial index from which to return the results.
55
+ # @option opts [String] :fields A list of fields to include in the response.
56
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
57
+ # @return [PaginatedCollectionResponseList]
58
+ describe '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
+ # unit tests for read
65
+ # Legacy v3 endpoint.
66
+ # @param name
67
+ # @param namespace
68
+ # @param [Hash] opts the optional parameters
69
+ # @option opts [String] :fields A list of fields to include in the response.
70
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
71
+ # @return [CollectionResponse]
72
+ describe 'read test' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ # unit tests for update
79
+ # Legacy v3 endpoint.
80
+ # @param name
81
+ # @param namespace
82
+ # @param body
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [AsyncOperationResponse]
85
+ describe 'update test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ end
@@ -0,0 +1,88 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleDefaultApiV3CollectionsVersionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleDefaultApiV3CollectionsVersionsApi' do
30
+ it 'should create an instance of PulpAnsibleDefaultApiV3CollectionsVersionsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for delete
36
+ # Legacy v3 endpoint.
37
+ # @param name
38
+ # @param namespace
39
+ # @param version
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [AsyncOperationResponse]
42
+ describe 'delete test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for list
49
+ # Legacy v3 endpoint.
50
+ # @param name
51
+ # @param namespace
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [Boolean] :is_highest
54
+ # @option opts [Integer] :limit Number of results to return per page.
55
+ # @option opts [String] :name2
56
+ # @option opts [String] :namespace2
57
+ # @option opts [Integer] :offset The initial index from which to return the results.
58
+ # @option opts [String] :q
59
+ # @option opts [String] :repository_version Repository Version referenced by HREF
60
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF
62
+ # @option opts [String] :tags Filter by comma separate list of tags that must all be matched
63
+ # @option opts [String] :version Filter results where version matches value
64
+ # @option opts [String] :fields A list of fields to include in the response.
65
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
66
+ # @return [PaginatedCollectionVersionListResponseList]
67
+ describe 'list test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ # unit tests for read
74
+ # Legacy v3 endpoint.
75
+ # @param name
76
+ # @param namespace
77
+ # @param version
78
+ # @param [Hash] opts the optional parameters
79
+ # @option opts [String] :fields A list of fields to include in the response.
80
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
81
+ # @return [CollectionVersionResponse]
82
+ describe 'read test' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ end
@@ -0,0 +1,50 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi' do
30
+ it 'should create an instance of PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for read
36
+ # Legacy v3 endpoint.
37
+ # @param name
38
+ # @param namespace
39
+ # @param version
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :fields A list of fields to include in the response.
42
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
+ # @return [CollectionVersionDocsResponse]
44
+ describe 'read test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ end