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.
- checksums.yaml +4 -4
- data/README.md +52 -5
- data/docs/AnsibleAnsibleRepository.md +3 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +3 -1
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionVersionSignature.md +21 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -2
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +23 -23
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/CollectionVersionListResponse.md +25 -0
- data/docs/ContentCollectionSignaturesApi.md +64 -4
- data/docs/KeyringEnum.md +16 -0
- data/docs/{PaginatedCollectionVersionResponseList.md → PaginatedCollectionVersionListResponseList.md} +3 -3
- data/docs/PatchedansibleAnsibleRepository.md +3 -1
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/docs/PulpAnsibleApiV3Api.md +8 -2
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +68 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +8 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +8 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +81 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +77 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +8 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +75 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +69 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +69 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +70 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +264 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +223 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +75 -0
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +205 -1
- data/docs/PulpAnsibleDefaultApiApi.md +50 -0
- data/docs/PulpAnsibleDefaultApiV3Api.md +57 -0
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +68 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +57 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +71 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +248 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +211 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +71 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +73 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +67 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +67 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +68 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +256 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +217 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +73 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +79 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +92 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +81 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +87 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +103 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +94 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +94 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +98 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +357 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +313 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +112 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +298 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +74 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +76 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +92 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +76 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +91 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +309 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +277 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +100 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +97 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +88 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +88 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +92 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +333 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +295 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +106 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +15 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -5
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +238 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +0 -5
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +225 -225
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +269 -0
- data/lib/pulp_ansible_client/models/keyring_enum.rb +40 -0
- data/lib/pulp_ansible_client/models/{paginated_collection_version_response_list.rb → paginated_collection_version_list_response_list.rb} +4 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +15 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +27 -1
- data/spec/api/content_collection_signatures_api_spec.rb +16 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +16 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +17 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +52 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +50 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +99 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +94 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +52 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +51 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +45 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +45 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +45 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +50 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +91 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +88 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +50 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +51 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +48 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +48 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +95 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +91 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +51 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_signature_spec.rb +53 -0
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_version_list_response_spec.rb +65 -0
- data/spec/models/keyring_enum_spec.rb +35 -0
- data/spec/models/{paginated_collection_version_response_list_spec.rb → paginated_collection_version_list_response_list_spec.rb} +6 -6
- data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +109 -5
data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb
ADDED
@@ -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
|