pulp_ansible_client 0.2.0b15 → 0.2.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 +88 -61
- data/docs/AnsibleAnsibleDistribution.md +2 -8
- data/docs/AnsibleAnsibleDistributionResponse.md +31 -0
- data/docs/AnsibleAnsibleRepository.md +4 -10
- data/docs/AnsibleAnsibleRepositoryResponse.md +29 -0
- data/docs/AnsibleCollectionRemote.md +4 -10
- data/docs/AnsibleCollectionRemoteResponse.md +49 -0
- data/docs/{AnsibleCollection.md → AnsibleCollectionResponse.md} +2 -2
- data/docs/AnsibleCollectionVersion.md +5 -25
- data/docs/AnsibleCollectionVersionResponse.md +67 -0
- data/docs/AnsibleCollectionsApi.md +47 -47
- data/docs/AnsibleRole.md +1 -5
- data/docs/AnsibleRoleRemote.md +37 -0
- data/docs/{AnsibleAnsibleRemote.md → AnsibleRoleRemoteResponse.md} +5 -5
- data/docs/AnsibleRoleResponse.md +27 -0
- data/docs/{AnsibleTag.md → AnsibleTagResponse.md} +2 -2
- data/docs/CertificationEnum.md +16 -0
- data/docs/Collection.md +2 -12
- data/docs/CollectionImportApi.md +70 -0
- data/docs/{CollectionImportDetail.md → CollectionImportDetailResponse.md} +2 -2
- data/docs/CollectionMetadata.md +1 -19
- data/docs/CollectionMetadataResponse.md +35 -0
- data/docs/CollectionNamespaceResponse.md +17 -0
- data/docs/CollectionOneShot.md +25 -0
- data/docs/CollectionRef.md +1 -3
- data/docs/CollectionRefResponse.md +21 -0
- data/docs/CollectionResponse.md +31 -0
- data/docs/CollectionVersion.md +3 -19
- data/docs/CollectionVersionResponse.md +37 -0
- data/docs/ContentCollectionVersionsApi.md +42 -42
- data/docs/ContentRolesApi.md +32 -32
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsAnsibleApi.md +108 -60
- data/docs/GalaxyCollection.md +1 -5
- data/docs/GalaxyCollectionListApi.md +65 -0
- data/docs/GalaxyCollectionResponse.md +23 -0
- data/docs/{GalaxyCollectionVersion.md → GalaxyCollectionVersionResponse.md} +7 -7
- data/docs/GalaxyDetailApi.md +61 -0
- data/docs/{GalaxyRole.md → GalaxyRoleResponse.md} +3 -3
- data/docs/{GalaxyRoleVersion.md → GalaxyRoleVersionResponse.md} +3 -3
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +3 -3
- data/docs/InlineResponse20011.md +3 -3
- data/docs/InlineResponse20012.md +3 -3
- data/docs/InlineResponse20013.md +3 -3
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/PatchedansibleAnsibleDistribution.md +25 -0
- data/docs/PatchedansibleAnsibleRepository.md +21 -0
- data/docs/PatchedansibleCollectionRemote.md +43 -0
- data/docs/PatchedansibleRoleRemote.md +37 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PulpAnsibleApiApi.md +6 -12
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +37 -108
- data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +17 -22
- data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +1 -69
- data/docs/PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.md +63 -0
- data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +172 -0
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +127 -67
- data/docs/RemotesRoleApi.md +428 -0
- data/docs/RepositoriesAnsibleApi.md +100 -76
- data/docs/RepositoriesAnsibleVersionsApi.md +96 -64
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/docs/{PulpAnsibleGalaxyApiV1VersionsApi.md → RoleListApi.md} +9 -17
- data/docs/{Tag.md → TagResponse.md} +2 -2
- data/docs/{PulpAnsibleGalaxyApiRolesApi.md → V1RolesApi.md} +9 -15
- data/docs/V2CollectionsApi.md +112 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +74 -90
- data/lib/pulp_ansible_client/api/collection_import_api.rb +93 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +67 -63
- data/lib/pulp_ansible_client/api/content_roles_api.rb +48 -48
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +153 -90
- data/lib/pulp_ansible_client/api/galaxy_collection_list_api.rb +94 -0
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +88 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +9 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +77 -122
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +38 -28
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +3 -90
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_certified_api.rb +108 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +264 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +184 -103
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +532 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +151 -124
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +141 -96
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_v1_versions_api.rb → role_list_api.rb} +15 -21
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_roles_api.rb → v1_roles_api.rb} +15 -15
- data/lib/pulp_ansible_client/api/v2_collections_api.rb +159 -0
- data/lib/pulp_ansible_client/api_client.rb +2 -2
- data/lib/pulp_ansible_client/api_error.rb +2 -2
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +8 -74
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +290 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +18 -78
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +271 -0
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +7 -232
- data/lib/pulp_ansible_client/models/{ansible_ansible_remote.rb → ansible_collection_remote_response.rb} +66 -166
- data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_collection_response.rb} +6 -43
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +55 -250
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +721 -0
- data/lib/pulp_ansible_client/models/ansible_role.rb +4 -79
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +339 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +368 -0
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +274 -0
- data/lib/pulp_ansible_client/models/{ansible_tag.rb → ansible_tag_response.rb} +6 -20
- data/lib/pulp_ansible_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_ansible_client/models/certification_enum.rb +37 -0
- data/lib/pulp_ansible_client/models/collection.rb +7 -81
- data/lib/pulp_ansible_client/models/{collection_import_detail.rb → collection_import_detail_response.rb} +6 -24
- data/lib/pulp_ansible_client/models/collection_metadata.rb +4 -163
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +367 -0
- data/lib/pulp_ansible_client/models/collection_namespace.rb +3 -21
- data/lib/pulp_ansible_client/models/{tag.rb → collection_namespace_response.rb} +9 -18
- data/lib/pulp_ansible_client/models/collection_one_shot.rb +253 -0
- data/lib/pulp_ansible_client/models/collection_ref.rb +7 -53
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +235 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +285 -0
- data/lib/pulp_ansible_client/models/collection_version.rb +8 -143
- data/lib/pulp_ansible_client/models/collection_version_response.rb +307 -0
- data/lib/pulp_ansible_client/models/content_summary.rb +9 -15
- data/lib/pulp_ansible_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +7 -62
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +244 -0
- data/lib/pulp_ansible_client/models/{galaxy_collection_version.rb → galaxy_collection_version_response.rb} +11 -29
- data/lib/pulp_ansible_client/models/{galaxy_role.rb → galaxy_role_response.rb} +7 -44
- data/lib/pulp_ansible_client/models/{galaxy_role_version.rb → galaxy_role_version_response.rb} +7 -25
- data/lib/pulp_ansible_client/models/inline_response200.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response20010.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response20011.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response20012.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response20013.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response20014.rb +237 -0
- data/lib/pulp_ansible_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_ansible_client/models/inline_response2009.rb +3 -13
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +251 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +229 -0
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +392 -0
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +329 -0
- data/lib/pulp_ansible_client/models/policy_enum.rb +36 -0
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_ansible_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_ansible_client/models/repository_version.rb +7 -43
- data/lib/pulp_ansible_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_ansible_client/models/tag_response.rb +207 -0
- data/lib/pulp_ansible_client/version.rb +3 -3
- data/lib/pulp_ansible_client.rb +41 -13
- data/pulp_ansible_client.gemspec +4 -4
- data/spec/api/ansible_collections_api_spec.rb +21 -21
- data/spec/api/collection_import_api_spec.rb +50 -0
- data/spec/api/content_collection_versions_api_spec.rb +18 -18
- data/spec/api/content_roles_api_spec.rb +13 -13
- data/spec/api/distributions_ansible_api_spec.rb +39 -18
- data/spec/api/galaxy_collection_list_api_spec.rb +50 -0
- data/spec/api/galaxy_detail_api_spec.rb +48 -0
- data/spec/api/pulp_ansible_api_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +19 -29
- data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +10 -9
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +2 -17
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_certified_api_spec.rb +50 -0
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +90 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +3 -3
- data/spec/api/remotes_collection_api_spec.rb +49 -22
- data/spec/api/remotes_role_api_spec.rb +150 -0
- data/spec/api/repositories_ansible_api_spec.rb +31 -22
- data/spec/api/repositories_ansible_versions_api_spec.rb +40 -25
- data/spec/api/{pulp_ansible_galaxy_api_v1_versions_api_spec.rb → role_list_api_spec.rb} +9 -10
- data/spec/api/{pulp_ansible_galaxy_api_roles_api_spec.rb → v1_roles_api_spec.rb} +9 -9
- data/spec/api/v2_collections_api_spec.rb +61 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/ansible_ansible_distribution_response_spec.rb +83 -0
- data/spec/models/ansible_ansible_distribution_spec.rb +2 -20
- data/spec/models/ansible_ansible_repository_response_spec.rb +77 -0
- data/spec/models/ansible_ansible_repository_spec.rb +5 -23
- data/spec/models/ansible_collection_remote_response_spec.rb +137 -0
- data/spec/models/ansible_collection_remote_spec.rb +2 -24
- data/spec/models/{ansible_collection_spec.rb → ansible_collection_response_spec.rb} +8 -8
- data/spec/models/ansible_collection_version_response_spec.rb +191 -0
- data/spec/models/ansible_collection_version_spec.rb +2 -62
- data/spec/models/{ansible_ansible_remote_spec.rb → ansible_role_remote_response_spec.rb} +8 -12
- data/spec/models/ansible_role_remote_spec.rb +101 -0
- data/spec/models/ansible_role_response_spec.rb +71 -0
- data/spec/models/ansible_role_spec.rb +2 -14
- data/spec/models/{ansible_tag_spec.rb → ansible_tag_response_spec.rb} +8 -8
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/certification_enum_spec.rb +35 -0
- data/spec/models/{collection_import_detail_spec.rb → collection_import_detail_response_spec.rb} +8 -8
- data/spec/models/collection_metadata_response_spec.rb +95 -0
- data/spec/models/collection_metadata_spec.rb +2 -56
- data/spec/models/collection_namespace_response_spec.rb +41 -0
- data/spec/models/collection_namespace_spec.rb +2 -2
- data/spec/models/collection_one_shot_spec.rb +65 -0
- data/spec/models/collection_ref_response_spec.rb +53 -0
- data/spec/models/collection_ref_spec.rb +2 -8
- data/spec/models/collection_response_spec.rb +83 -0
- data/spec/models/collection_spec.rb +2 -32
- data/spec/models/collection_version_response_spec.rb +101 -0
- data/spec/models/collection_version_spec.rb +2 -54
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/galaxy_collection_response_spec.rb +59 -0
- data/spec/models/galaxy_collection_spec.rb +2 -14
- data/spec/models/{galaxy_collection_version_spec.rb → galaxy_collection_version_response_spec.rb} +8 -8
- data/spec/models/{galaxy_role_spec.rb → galaxy_role_response_spec.rb} +8 -8
- data/spec/models/{galaxy_role_version_spec.rb → galaxy_role_version_response_spec.rb} +8 -8
- data/spec/models/inline_response20010_spec.rb +2 -2
- data/spec/models/inline_response20011_spec.rb +2 -2
- data/spec/models/inline_response20012_spec.rb +2 -2
- data/spec/models/inline_response20013_spec.rb +2 -2
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedansible_ansible_distribution_spec.rb +65 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +53 -0
- data/spec/models/patchedansible_collection_remote_spec.rb +119 -0
- data/spec/models/patchedansible_role_remote_spec.rb +101 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/models/{tag_spec.rb → tag_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +192 -80
- data/docs/RemotesAnsibleApi.md +0 -368
- data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +0 -451
- data/spec/api/remotes_ansible_api_spec.rb +0 -123
@@ -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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpAnsibleClient::CollectionImportApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'CollectionImportApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpAnsibleClient::CollectionImportApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of CollectionImportApi' do
|
30
|
+
it 'should create an instance of CollectionImportApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::CollectionImportApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for read
|
36
|
+
# Inspect a collection import
|
37
|
+
# Returns a CollectionImport object.
|
38
|
+
# @param ansible_collection_import_href
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [String] :since Filter messages since a given timestamp
|
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 [CollectionImportDetailResponse]
|
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
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'ContentCollectionVersionsApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a collection version
|
37
37
|
# ViewSet for Ansible Collection.
|
38
|
-
# @param
|
38
|
+
# @param ansible_collection_version
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [AnsibleCollectionVersionResponse]
|
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
|
@@ -48,20 +48,20 @@ describe 'ContentCollectionVersionsApi' do
|
|
48
48
|
# List collection versions
|
49
49
|
# ViewSet for Ansible Collection.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [String] :
|
52
|
-
# @option opts [String] :
|
53
|
-
# @option opts [String] :
|
54
|
-
# @option opts [String] :version Filter results where version matches value
|
55
|
-
# @option opts [String] :q
|
56
|
-
# @option opts [String] :is_highest
|
57
|
-
# @option opts [String] :certification
|
58
|
-
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
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] :deprecated
|
51
|
+
# @option opts [String] :certification certification
|
52
|
+
# @option opts [String] :deprecated deprecated
|
53
|
+
# @option opts [String] :is_highest is_highest
|
63
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
|
+
# @option opts [String] :name name
|
56
|
+
# @option opts [String] :namespace namespace
|
64
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
59
|
+
# @option opts [String] :q q
|
60
|
+
# @option opts [String] :repository_version repository_version
|
61
|
+
# @option opts [String] :repository_version_added repository_version_added
|
62
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
63
|
+
# @option opts [String] :tags tags
|
64
|
+
# @option opts [String] :version version
|
65
65
|
# @option opts [String] :fields A list of fields to include in the response.
|
66
66
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
67
67
|
# @return [InlineResponse2001]
|
@@ -74,11 +74,11 @@ describe 'ContentCollectionVersionsApi' do
|
|
74
74
|
# unit tests for read
|
75
75
|
# Inspect a collection version
|
76
76
|
# ViewSet for Ansible Collection.
|
77
|
-
# @param
|
77
|
+
# @param ansible_collection_version_href
|
78
78
|
# @param [Hash] opts the optional parameters
|
79
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
80
80
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
81
|
-
# @return [
|
81
|
+
# @return [AnsibleCollectionVersionResponse]
|
82
82
|
describe 'read test' do
|
83
83
|
it 'should work' do
|
84
84
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,9 +35,9 @@ describe 'ContentRolesApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a role
|
37
37
|
# ViewSet for Role.
|
38
|
-
# @param
|
38
|
+
# @param ansible_role
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [AnsibleRoleResponse]
|
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
|
@@ -48,15 +48,15 @@ describe 'ContentRolesApi' do
|
|
48
48
|
# List roles
|
49
49
|
# ViewSet for Role.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
|
-
# @option opts [String] :name Filter results where name matches value
|
53
|
-
# @option opts [String] :namespace Filter results where namespace matches value
|
54
|
-
# @option opts [String] :version Filter results where version matches value
|
55
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
56
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
57
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
58
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
|
+
# @option opts [String] :name name
|
53
|
+
# @option opts [String] :namespace namespace
|
59
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
56
|
+
# @option opts [String] :repository_version repository_version
|
57
|
+
# @option opts [String] :repository_version_added repository_version_added
|
58
|
+
# @option opts [String] :repository_version_removed repository_version_removed
|
59
|
+
# @option opts [String] :version version
|
60
60
|
# @option opts [String] :fields A list of fields to include in the response.
|
61
61
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
62
62
|
# @return [InlineResponse2002]
|
@@ -69,11 +69,11 @@ describe 'ContentRolesApi' do
|
|
69
69
|
# unit tests for read
|
70
70
|
# Inspect a role
|
71
71
|
# ViewSet for Role.
|
72
|
-
# @param
|
72
|
+
# @param ansible_role_href
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
74
|
# @option opts [String] :fields A list of fields to include in the response.
|
75
75
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
|
-
# @return [
|
76
|
+
# @return [AnsibleRoleResponse]
|
77
77
|
describe 'read test' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -35,7 +35,7 @@ describe 'DistributionsAnsibleApi' do
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create an ansible distribution
|
37
37
|
# Trigger an asynchronous create task
|
38
|
-
# @param
|
38
|
+
# @param ansible_ansible_distribution
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
@@ -47,8 +47,15 @@ describe 'DistributionsAnsibleApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete an ansible distribution
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param ansible_ansible_distribution_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :base_path base_path
|
53
|
+
# @option opts [String] :base_path__contains base_path__contains
|
54
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
55
|
+
# @option opts [String] :base_path__in base_path__in
|
56
|
+
# @option opts [String] :name name
|
57
|
+
# @option opts [String] :name__in name__in
|
58
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
59
|
# @return [AsyncOperationResponse]
|
53
60
|
describe 'delete test' do
|
54
61
|
it 'should work' do
|
@@ -60,15 +67,15 @@ describe 'DistributionsAnsibleApi' do
|
|
60
67
|
# List ansible distributions
|
61
68
|
# ViewSet for Ansible Distributions.
|
62
69
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :
|
64
|
-
# @option opts [String] :
|
65
|
-
# @option opts [String] :
|
66
|
-
# @option opts [String] :
|
67
|
-
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
68
|
-
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
69
|
-
# @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
|
70
|
+
# @option opts [String] :base_path base_path
|
71
|
+
# @option opts [String] :base_path__contains base_path__contains
|
72
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
73
|
+
# @option opts [String] :base_path__in base_path__in
|
70
74
|
# @option opts [Integer] :limit Number of results to return per page.
|
75
|
+
# @option opts [String] :name name
|
76
|
+
# @option opts [String] :name__in name__in
|
71
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
78
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
72
79
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
80
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
81
|
# @return [InlineResponse2003]
|
@@ -79,11 +86,18 @@ describe 'DistributionsAnsibleApi' do
|
|
79
86
|
end
|
80
87
|
|
81
88
|
# unit tests for partial_update
|
82
|
-
#
|
89
|
+
# Update an ansible distribution
|
83
90
|
# Trigger an asynchronous partial update task
|
84
|
-
# @param
|
85
|
-
# @param
|
91
|
+
# @param ansible_ansible_distribution_href
|
92
|
+
# @param patchedansible_ansible_distribution
|
86
93
|
# @param [Hash] opts the optional parameters
|
94
|
+
# @option opts [String] :base_path base_path
|
95
|
+
# @option opts [String] :base_path__contains base_path__contains
|
96
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
97
|
+
# @option opts [String] :base_path__in base_path__in
|
98
|
+
# @option opts [String] :name name
|
99
|
+
# @option opts [String] :name__in name__in
|
100
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
87
101
|
# @return [AsyncOperationResponse]
|
88
102
|
describe 'partial_update test' do
|
89
103
|
it 'should work' do
|
@@ -94,11 +108,11 @@ describe 'DistributionsAnsibleApi' do
|
|
94
108
|
# unit tests for read
|
95
109
|
# Inspect an ansible distribution
|
96
110
|
# ViewSet for Ansible Distributions.
|
97
|
-
# @param
|
111
|
+
# @param ansible_ansible_distribution_href
|
98
112
|
# @param [Hash] opts the optional parameters
|
99
113
|
# @option opts [String] :fields A list of fields to include in the response.
|
100
114
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
-
# @return [
|
115
|
+
# @return [AnsibleAnsibleDistributionResponse]
|
102
116
|
describe 'read test' do
|
103
117
|
it 'should work' do
|
104
118
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -108,9 +122,16 @@ describe 'DistributionsAnsibleApi' do
|
|
108
122
|
# unit tests for update
|
109
123
|
# Update an ansible distribution
|
110
124
|
# Trigger an asynchronous update task
|
111
|
-
# @param
|
112
|
-
# @param
|
125
|
+
# @param ansible_ansible_distribution_href
|
126
|
+
# @param ansible_ansible_distribution
|
113
127
|
# @param [Hash] opts the optional parameters
|
128
|
+
# @option opts [String] :base_path base_path
|
129
|
+
# @option opts [String] :base_path__contains base_path__contains
|
130
|
+
# @option opts [String] :base_path__icontains base_path__icontains
|
131
|
+
# @option opts [String] :base_path__in base_path__in
|
132
|
+
# @option opts [String] :name name
|
133
|
+
# @option opts [String] :name__in name__in
|
134
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
114
135
|
# @return [AsyncOperationResponse]
|
115
136
|
describe 'update test' do
|
116
137
|
it 'should work' do
|
@@ -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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpAnsibleClient::GalaxyCollectionListApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'GalaxyCollectionListApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpAnsibleClient::GalaxyCollectionListApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of GalaxyCollectionListApi' do
|
30
|
+
it 'should create an instance of GalaxyCollectionListApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::GalaxyCollectionListApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for list
|
36
|
+
# APIView for Collections by namespace/name.
|
37
|
+
# @param ansible_collection_version_href
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
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 [InlineResponse20012]
|
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,48 @@
|
|
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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpAnsibleClient::GalaxyDetailApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'GalaxyDetailApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpAnsibleClient::GalaxyDetailApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of GalaxyDetailApi' do
|
30
|
+
it 'should create an instance of GalaxyDetailApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::GalaxyDetailApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for read
|
36
|
+
# Get the detail view of a Collection.
|
37
|
+
# @param ansible_collection_href
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
40
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
41
|
+
# @return [GalaxyCollectionResponse]
|
42
|
+
describe 'read 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
|
+
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -32,14 +32,14 @@ describe 'PulpAnsibleApiApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for read
|
36
36
|
# Return a response to the \"GET\" action.
|
37
37
|
# @param path
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :fields A list of fields to include in the response.
|
40
40
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
41
41
|
# @return [nil]
|
42
|
-
describe '
|
42
|
+
describe 'read test' do
|
43
43
|
it 'should work' do
|
44
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
45
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -32,55 +32,45 @@ describe 'PulpAnsibleGalaxyApiCollectionsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for create
|
36
|
-
# Queues a task that creates a new Collection from an uploaded artifact.
|
37
|
-
# @param path
|
38
|
-
# @param data
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [GalaxyCollection]
|
41
|
-
describe 'create test' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
35
|
# unit tests for list
|
48
|
-
#
|
36
|
+
# ViewSet for Collections.
|
49
37
|
# @param path
|
50
38
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [Integer] :
|
39
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
40
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
52
41
|
# @option opts [String] :fields A list of fields to include in the response.
|
53
42
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
54
|
-
# @return [
|
43
|
+
# @return [InlineResponse20013]
|
55
44
|
describe 'list test' do
|
56
45
|
it 'should work' do
|
57
46
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
47
|
end
|
59
48
|
end
|
60
49
|
|
61
|
-
# unit tests for
|
50
|
+
# unit tests for read
|
62
51
|
# ViewSet for Collections.
|
52
|
+
# @param name
|
53
|
+
# @param namespace
|
63
54
|
# @param path
|
64
55
|
# @param [Hash] opts the optional parameters
|
65
|
-
# @option opts [Integer] :limit Number of results to return per page.
|
66
|
-
# @option opts [Integer] :offset The initial index from which to return the results.
|
67
56
|
# @option opts [String] :fields A list of fields to include in the response.
|
68
57
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
-
# @return [
|
70
|
-
describe '
|
58
|
+
# @return [CollectionResponse]
|
59
|
+
describe 'read test' do
|
71
60
|
it 'should work' do
|
72
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
62
|
end
|
74
63
|
end
|
75
64
|
|
76
|
-
# unit tests for
|
77
|
-
#
|
78
|
-
# @param
|
65
|
+
# unit tests for update
|
66
|
+
# Update a Collection object.
|
67
|
+
# @param name
|
68
|
+
# @param namespace
|
69
|
+
# @param path
|
70
|
+
# @param collection
|
79
71
|
# @param [Hash] opts the optional parameters
|
80
|
-
# @
|
81
|
-
|
82
|
-
# @return [GalaxyCollection]
|
83
|
-
describe 'read test' do
|
72
|
+
# @return [CollectionResponse]
|
73
|
+
describe 'update test' do
|
84
74
|
it 'should work' do
|
85
75
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
76
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -32,16 +32,17 @@ describe 'PulpAnsibleGalaxyApiV2VersionsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
36
|
-
#
|
37
|
-
# @param
|
35
|
+
# unit tests for read
|
36
|
+
# Return a response to the \"GET\" action.
|
37
|
+
# @param name
|
38
|
+
# @param namespace
|
39
|
+
# @param path
|
40
|
+
# @param version
|
38
41
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [Integer] :limit Number of results to return per page.
|
40
|
-
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
42
|
# @option opts [String] :fields A list of fields to include in the response.
|
42
43
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
43
|
-
# @return [
|
44
|
-
describe '
|
44
|
+
# @return [nil]
|
45
|
+
describe 'read test' do
|
45
46
|
it 'should work' do
|
46
47
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
48
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.3
|
10
10
|
|
@@ -49,19 +49,4 @@ describe 'PulpAnsibleGalaxyApiV3CollectionsApi' do
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
# unit tests for read
|
53
|
-
# Inspect a collection import
|
54
|
-
# Returns a CollectionImport object.
|
55
|
-
# @param collection_import_href URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/1/
|
56
|
-
# @param [Hash] opts the optional parameters
|
57
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
58
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
-
# @option opts [DateTime] :since Filter messages since a given timestamp
|
60
|
-
# @return [CollectionImportDetail]
|
61
|
-
describe 'read test' do
|
62
|
-
it 'should work' do
|
63
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
52
|
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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsCertifiedApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PulpAnsibleGalaxyApiV3CollectionsCertifiedApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PulpAnsibleGalaxyApiV3CollectionsCertifiedApi' do
|
30
|
+
it 'should create an instance of PulpAnsibleGalaxyApiV3CollectionsCertifiedApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsCertifiedApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for set_certified
|
36
|
+
# Set collection version certified status.
|
37
|
+
# @param name
|
38
|
+
# @param namespace
|
39
|
+
# @param path
|
40
|
+
# @param version
|
41
|
+
# @param collection_version
|
42
|
+
# @param [Hash] opts the optional parameters
|
43
|
+
# @return [CollectionVersionResponse]
|
44
|
+
describe 'set_certified 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
|