pulp_ansible_client 0.21.5 → 0.22.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 +8 -15
- data/docs/{AnsibleCollection.md → AnsibleAnsibleCollectionDeprecated.md} +4 -2
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +25 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -2
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersionResponse.md +11 -9
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +60 -0
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleRemoteResponse.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -4
- 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 +10 -10
- data/docs/Copy.md +1 -1
- data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
- data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedTagResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleCollectionDeprecatedResponseList.md +23 -0
- data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
- data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleRoleResponseList.md +2 -2
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/VersionsApi.md +0 -55
- 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/versions_api.rb +0 -69
- 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_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -20
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +153 -153
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +25 -15
- 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_role_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +14 -4
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
- data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -9
- data/spec/api/ansible_collections_api_spec.rb +14 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
- data/spec/api/versions_api_spec.rb +0 -14
- 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_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
- data/spec/models/ansible_collection_version_response_spec.rb +8 -2
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_remote_response_spec.rb +6 -6
- data/spec/models/ansible_role_response_spec.rb +8 -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
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +135 -159
- 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/PaginatedGalaxyCollectionResponseList.md +0 -23
- 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_version_response_list.rb +0 -237
- 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
@@ -20,6 +20,9 @@ module PulpAnsibleClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :versions_href
|
24
27
|
|
25
28
|
attr_accessor :pulp_labels
|
@@ -43,6 +46,7 @@ module PulpAnsibleClient
|
|
43
46
|
{
|
44
47
|
:'pulp_href' => :'pulp_href',
|
45
48
|
:'pulp_created' => :'pulp_created',
|
49
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
46
50
|
:'versions_href' => :'versions_href',
|
47
51
|
:'pulp_labels' => :'pulp_labels',
|
48
52
|
:'latest_version_href' => :'latest_version_href',
|
@@ -58,6 +62,7 @@ module PulpAnsibleClient
|
|
58
62
|
{
|
59
63
|
:'pulp_href' => :'String',
|
60
64
|
:'pulp_created' => :'DateTime',
|
65
|
+
:'pulp_last_updated' => :'DateTime',
|
61
66
|
:'versions_href' => :'String',
|
62
67
|
:'pulp_labels' => :'Hash<String, String>',
|
63
68
|
:'latest_version_href' => :'String',
|
@@ -100,6 +105,10 @@ module PulpAnsibleClient
|
|
100
105
|
self.pulp_created = attributes[:'pulp_created']
|
101
106
|
end
|
102
107
|
|
108
|
+
if attributes.key?(:'pulp_last_updated')
|
109
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
110
|
+
end
|
111
|
+
|
103
112
|
if attributes.key?(:'versions_href')
|
104
113
|
self.versions_href = attributes[:'versions_href']
|
105
114
|
end
|
@@ -171,6 +180,7 @@ module PulpAnsibleClient
|
|
171
180
|
self.class == o.class &&
|
172
181
|
pulp_href == o.pulp_href &&
|
173
182
|
pulp_created == o.pulp_created &&
|
183
|
+
pulp_last_updated == o.pulp_last_updated &&
|
174
184
|
versions_href == o.versions_href &&
|
175
185
|
pulp_labels == o.pulp_labels &&
|
176
186
|
latest_version_href == o.latest_version_href &&
|
@@ -189,7 +199,7 @@ module PulpAnsibleClient
|
|
189
199
|
# Calculates hash code according to all attributes.
|
190
200
|
# @return [Integer] Hash code
|
191
201
|
def hash
|
192
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
202
|
+
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
193
203
|
end
|
194
204
|
|
195
205
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpAnsibleClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :number
|
24
27
|
|
25
28
|
attr_accessor :repository
|
@@ -35,6 +38,7 @@ module PulpAnsibleClient
|
|
35
38
|
{
|
36
39
|
:'pulp_href' => :'pulp_href',
|
37
40
|
:'pulp_created' => :'pulp_created',
|
41
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'number' => :'number',
|
39
43
|
:'repository' => :'repository',
|
40
44
|
:'base_version' => :'base_version',
|
@@ -47,6 +51,7 @@ module PulpAnsibleClient
|
|
47
51
|
{
|
48
52
|
:'pulp_href' => :'String',
|
49
53
|
:'pulp_created' => :'DateTime',
|
54
|
+
:'pulp_last_updated' => :'DateTime',
|
50
55
|
:'number' => :'Integer',
|
51
56
|
:'repository' => :'String',
|
52
57
|
:'base_version' => :'String',
|
@@ -83,6 +88,10 @@ module PulpAnsibleClient
|
|
83
88
|
self.pulp_created = attributes[:'pulp_created']
|
84
89
|
end
|
85
90
|
|
91
|
+
if attributes.key?(:'pulp_last_updated')
|
92
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
93
|
+
end
|
94
|
+
|
86
95
|
if attributes.key?(:'number')
|
87
96
|
self.number = attributes[:'number']
|
88
97
|
end
|
@@ -120,6 +129,7 @@ module PulpAnsibleClient
|
|
120
129
|
self.class == o.class &&
|
121
130
|
pulp_href == o.pulp_href &&
|
122
131
|
pulp_created == o.pulp_created &&
|
132
|
+
pulp_last_updated == o.pulp_last_updated &&
|
123
133
|
number == o.number &&
|
124
134
|
repository == o.repository &&
|
125
135
|
base_version == o.base_version &&
|
@@ -135,7 +145,7 @@ module PulpAnsibleClient
|
|
135
145
|
# Calculates hash code according to all attributes.
|
136
146
|
# @return [Integer] Hash code
|
137
147
|
def hash
|
138
|
-
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
148
|
+
[pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
139
149
|
end
|
140
150
|
|
141
151
|
# Builds the object from hash
|
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,7 +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
121
|
require 'pulp_ansible_client/api/api_roles_api'
|
126
122
|
require 'pulp_ansible_client/api/collection_import_api'
|
127
123
|
require 'pulp_ansible_client/api/content_collection_deprecations_api'
|
@@ -131,9 +127,7 @@ require 'pulp_ansible_client/api/content_collection_versions_api'
|
|
131
127
|
require 'pulp_ansible_client/api/content_namespaces_api'
|
132
128
|
require 'pulp_ansible_client/api/content_roles_api'
|
133
129
|
require 'pulp_ansible_client/api/distributions_ansible_api'
|
134
|
-
require 'pulp_ansible_client/api/galaxy_detail_api'
|
135
130
|
require 'pulp_ansible_client/api/pulp_ansible_api_api'
|
136
|
-
require 'pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api'
|
137
131
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_api'
|
138
132
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api'
|
139
133
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_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
|
@@ -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
|
@@ -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
|
@@ -44,6 +44,12 @@ describe 'AnsibleAnsibleRepositoryResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "versions_href"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'AnsibleCollectionRemoteResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "name"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,12 +92,6 @@ describe 'AnsibleCollectionRemoteResponse' do
|
|
86
92
|
end
|
87
93
|
end
|
88
94
|
|
89
|
-
describe 'test attribute "pulp_last_updated"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
95
|
describe 'test attribute "download_concurrency"' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,7 +32,13 @@ 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
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "artifact"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
44
|
end
|
@@ -44,7 +50,7 @@ describe 'AnsibleCollectionVersionResponse' do
|
|
44
50
|
end
|
45
51
|
end
|
46
52
|
|
47
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "pulp_created"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
56
|
end
|
@@ -44,6 +44,12 @@ describe 'AnsibleCollectionVersionSignatureResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "signed_collection"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,61 +32,61 @@ 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
|
81
81
|
end
|
82
82
|
|
83
|
-
describe 'test attribute "
|
83
|
+
describe 'test attribute "sock_read_timeout"' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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
|
@@ -98,7 +98,7 @@ describe 'AnsibleGitRemoteResponse' do
|
|
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
|
@@ -110,37 +110,37 @@ describe 'AnsibleGitRemoteResponse' do
|
|
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
|