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