pulp_python_client 3.21.0 → 3.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 +17 -5
- data/docs/ContentPackagesApi.md +6 -2
- data/docs/ContentProvenanceApi.md +428 -0
- data/docs/FiletypeEnum.md +15 -0
- data/docs/MetadataVersionEnum.md +15 -0
- data/docs/PaginatedpythonPackageProvenanceResponseList.md +24 -0
- data/docs/PatchedpythonPythonRemote.md +3 -1
- data/docs/ProtocolVersionEnum.md +15 -0
- data/docs/PypiLegacyApi.md +9 -1
- data/docs/PypiProvenanceApi.md +91 -0
- data/docs/PypiSimpleApi.md +9 -1
- data/docs/PythonPackageProvenanceResponse.md +34 -0
- data/docs/PythonPythonPackageContentResponse.md +3 -1
- data/docs/PythonPythonRemote.md +3 -1
- data/docs/PythonPythonRemoteResponse.md +3 -1
- data/lib/pulp_python_client/api/content_packages_api.rb +6 -0
- data/lib/pulp_python_client/api/content_provenance_api.rb +448 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +12 -0
- data/lib/pulp_python_client/api/pypi_provenance_api.rb +110 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +12 -0
- data/lib/pulp_python_client/models/filetype_enum.rb +40 -0
- data/lib/pulp_python_client/models/metadata_version_enum.rb +46 -0
- data/lib/pulp_python_client/models/paginatedpython_package_provenance_response_list.rb +257 -0
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +16 -4
- data/lib/pulp_python_client/models/protocol_version_enum.rb +39 -0
- data/lib/pulp_python_client/models/python_package_provenance_response.rb +302 -0
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +15 -5
- data/lib/pulp_python_client/models/python_python_remote.rb +16 -4
- data/lib/pulp_python_client/models/python_python_remote_response.rb +16 -4
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +7 -0
- data/spec/api/content_packages_api_spec.rb +2 -0
- data/spec/api/content_provenance_api_spec.rb +123 -0
- data/spec/api/pypi_legacy_api_spec.rb +4 -0
- data/spec/api/pypi_provenance_api_spec.rb +53 -0
- data/spec/api/pypi_simple_api_spec.rb +4 -0
- data/spec/models/filetype_enum_spec.rb +30 -0
- data/spec/models/metadata_version_enum_spec.rb +30 -0
- data/spec/models/paginatedpython_package_provenance_response_list_spec.rb +54 -0
- data/spec/models/patchedpython_python_remote_spec.rb +6 -0
- data/spec/models/protocol_version_enum_spec.rb +30 -0
- data/spec/models/python_package_provenance_response_spec.rb +84 -0
- data/spec/models/python_python_package_content_response_spec.rb +6 -0
- data/spec/models/python_python_remote_response_spec.rb +6 -0
- data/spec/models/python_python_remote_spec.rb +6 -0
- metadata +30 -2
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpPythonClient::PythonPackageProvenanceResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpPythonClient::PythonPackageProvenanceResponse do
|
|
21
|
+
let(:instance) { PulpPythonClient::PythonPackageProvenanceResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PythonPackageProvenanceResponse' do
|
|
24
|
+
it 'should create an instance of PythonPackageProvenanceResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpPythonClient::PythonPackageProvenanceResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "pulp_href"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "prn"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "pulp_created"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "vuln_report"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "package"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "provenance"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "sha256"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
end
|
|
@@ -273,4 +273,10 @@ describe PulpPythonClient::PythonPythonPackageContentResponse do
|
|
|
273
273
|
end
|
|
274
274
|
end
|
|
275
275
|
|
|
276
|
+
describe 'test attribute "provenance"' do
|
|
277
|
+
it 'should work' do
|
|
278
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
|
276
282
|
end
|
|
@@ -189,4 +189,10 @@ describe PulpPythonClient::PythonPythonRemoteResponse do
|
|
|
189
189
|
end
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
+
describe 'test attribute "provenance"' do
|
|
193
|
+
it 'should work' do
|
|
194
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
192
198
|
end
|
|
@@ -189,4 +189,10 @@ describe PulpPythonClient::PythonPythonRemote do
|
|
|
189
189
|
end
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
+
describe 'test attribute "provenance"' do
|
|
193
|
+
it 'should work' do
|
|
194
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
192
198
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_python_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.22.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -90,9 +90,12 @@ files:
|
|
|
90
90
|
- Rakefile
|
|
91
91
|
- docs/AsyncOperationResponse.md
|
|
92
92
|
- docs/ContentPackagesApi.md
|
|
93
|
+
- docs/ContentProvenanceApi.md
|
|
93
94
|
- docs/ContentSummaryResponse.md
|
|
94
95
|
- docs/DistributionsPypiApi.md
|
|
95
96
|
- docs/ExcludePlatformsEnum.md
|
|
97
|
+
- docs/FiletypeEnum.md
|
|
98
|
+
- docs/MetadataVersionEnum.md
|
|
96
99
|
- docs/MyPermissionsResponse.md
|
|
97
100
|
- docs/NestedRole.md
|
|
98
101
|
- docs/NestedRoleResponse.md
|
|
@@ -101,6 +104,7 @@ files:
|
|
|
101
104
|
- docs/PackageTypesEnum.md
|
|
102
105
|
- docs/PackageUploadTaskResponse.md
|
|
103
106
|
- docs/PaginatedRepositoryVersionResponseList.md
|
|
107
|
+
- docs/PaginatedpythonPackageProvenanceResponseList.md
|
|
104
108
|
- docs/PaginatedpythonPythonDistributionResponseList.md
|
|
105
109
|
- docs/PaginatedpythonPythonPackageContentResponseList.md
|
|
106
110
|
- docs/PaginatedpythonPythonPublicationResponseList.md
|
|
@@ -110,11 +114,14 @@ files:
|
|
|
110
114
|
- docs/PatchedpythonPythonRemote.md
|
|
111
115
|
- docs/PatchedpythonPythonRepository.md
|
|
112
116
|
- docs/PolicyEnum.md
|
|
117
|
+
- docs/ProtocolVersionEnum.md
|
|
113
118
|
- docs/PublicationsPypiApi.md
|
|
114
119
|
- docs/PypiApi.md
|
|
115
120
|
- docs/PypiLegacyApi.md
|
|
116
121
|
- docs/PypiMetadataApi.md
|
|
122
|
+
- docs/PypiProvenanceApi.md
|
|
117
123
|
- docs/PypiSimpleApi.md
|
|
124
|
+
- docs/PythonPackageProvenanceResponse.md
|
|
118
125
|
- docs/PythonPythonDistribution.md
|
|
119
126
|
- docs/PythonPythonDistributionResponse.md
|
|
120
127
|
- docs/PythonPythonPackageContentResponse.md
|
|
@@ -139,11 +146,13 @@ files:
|
|
|
139
146
|
- docs/UnsetLabelResponse.md
|
|
140
147
|
- lib/pulp_python_client.rb
|
|
141
148
|
- lib/pulp_python_client/api/content_packages_api.rb
|
|
149
|
+
- lib/pulp_python_client/api/content_provenance_api.rb
|
|
142
150
|
- lib/pulp_python_client/api/distributions_pypi_api.rb
|
|
143
151
|
- lib/pulp_python_client/api/publications_pypi_api.rb
|
|
144
152
|
- lib/pulp_python_client/api/pypi_api.rb
|
|
145
153
|
- lib/pulp_python_client/api/pypi_legacy_api.rb
|
|
146
154
|
- lib/pulp_python_client/api/pypi_metadata_api.rb
|
|
155
|
+
- lib/pulp_python_client/api/pypi_provenance_api.rb
|
|
147
156
|
- lib/pulp_python_client/api/pypi_simple_api.rb
|
|
148
157
|
- lib/pulp_python_client/api/remotes_python_api.rb
|
|
149
158
|
- lib/pulp_python_client/api/repositories_python_api.rb
|
|
@@ -154,6 +163,8 @@ files:
|
|
|
154
163
|
- lib/pulp_python_client/models/async_operation_response.rb
|
|
155
164
|
- lib/pulp_python_client/models/content_summary_response.rb
|
|
156
165
|
- lib/pulp_python_client/models/exclude_platforms_enum.rb
|
|
166
|
+
- lib/pulp_python_client/models/filetype_enum.rb
|
|
167
|
+
- lib/pulp_python_client/models/metadata_version_enum.rb
|
|
157
168
|
- lib/pulp_python_client/models/my_permissions_response.rb
|
|
158
169
|
- lib/pulp_python_client/models/nested_role.rb
|
|
159
170
|
- lib/pulp_python_client/models/nested_role_response.rb
|
|
@@ -162,6 +173,7 @@ files:
|
|
|
162
173
|
- lib/pulp_python_client/models/package_types_enum.rb
|
|
163
174
|
- lib/pulp_python_client/models/package_upload_task_response.rb
|
|
164
175
|
- lib/pulp_python_client/models/paginated_repository_version_response_list.rb
|
|
176
|
+
- lib/pulp_python_client/models/paginatedpython_package_provenance_response_list.rb
|
|
165
177
|
- lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb
|
|
166
178
|
- lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb
|
|
167
179
|
- lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb
|
|
@@ -171,6 +183,8 @@ files:
|
|
|
171
183
|
- lib/pulp_python_client/models/patchedpython_python_remote.rb
|
|
172
184
|
- lib/pulp_python_client/models/patchedpython_python_repository.rb
|
|
173
185
|
- lib/pulp_python_client/models/policy_enum.rb
|
|
186
|
+
- lib/pulp_python_client/models/protocol_version_enum.rb
|
|
187
|
+
- lib/pulp_python_client/models/python_package_provenance_response.rb
|
|
174
188
|
- lib/pulp_python_client/models/python_python_distribution.rb
|
|
175
189
|
- lib/pulp_python_client/models/python_python_distribution_response.rb
|
|
176
190
|
- lib/pulp_python_client/models/python_python_package_content_response.rb
|
|
@@ -193,11 +207,13 @@ files:
|
|
|
193
207
|
- lib/pulp_python_client/version.rb
|
|
194
208
|
- pulp_python_client.gemspec
|
|
195
209
|
- spec/api/content_packages_api_spec.rb
|
|
210
|
+
- spec/api/content_provenance_api_spec.rb
|
|
196
211
|
- spec/api/distributions_pypi_api_spec.rb
|
|
197
212
|
- spec/api/publications_pypi_api_spec.rb
|
|
198
213
|
- spec/api/pypi_api_spec.rb
|
|
199
214
|
- spec/api/pypi_legacy_api_spec.rb
|
|
200
215
|
- spec/api/pypi_metadata_api_spec.rb
|
|
216
|
+
- spec/api/pypi_provenance_api_spec.rb
|
|
201
217
|
- spec/api/pypi_simple_api_spec.rb
|
|
202
218
|
- spec/api/remotes_python_api_spec.rb
|
|
203
219
|
- spec/api/repositories_python_api_spec.rb
|
|
@@ -205,6 +221,8 @@ files:
|
|
|
205
221
|
- spec/models/async_operation_response_spec.rb
|
|
206
222
|
- spec/models/content_summary_response_spec.rb
|
|
207
223
|
- spec/models/exclude_platforms_enum_spec.rb
|
|
224
|
+
- spec/models/filetype_enum_spec.rb
|
|
225
|
+
- spec/models/metadata_version_enum_spec.rb
|
|
208
226
|
- spec/models/my_permissions_response_spec.rb
|
|
209
227
|
- spec/models/nested_role_response_spec.rb
|
|
210
228
|
- spec/models/nested_role_spec.rb
|
|
@@ -213,6 +231,7 @@ files:
|
|
|
213
231
|
- spec/models/package_types_enum_spec.rb
|
|
214
232
|
- spec/models/package_upload_task_response_spec.rb
|
|
215
233
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
234
|
+
- spec/models/paginatedpython_package_provenance_response_list_spec.rb
|
|
216
235
|
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
|
217
236
|
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
|
218
237
|
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
|
@@ -222,6 +241,8 @@ files:
|
|
|
222
241
|
- spec/models/patchedpython_python_remote_spec.rb
|
|
223
242
|
- spec/models/patchedpython_python_repository_spec.rb
|
|
224
243
|
- spec/models/policy_enum_spec.rb
|
|
244
|
+
- spec/models/protocol_version_enum_spec.rb
|
|
245
|
+
- spec/models/python_package_provenance_response_spec.rb
|
|
225
246
|
- spec/models/python_python_distribution_response_spec.rb
|
|
226
247
|
- spec/models/python_python_distribution_spec.rb
|
|
227
248
|
- spec/models/python_python_package_content_response_spec.rb
|
|
@@ -268,12 +289,14 @@ summary: Pulp 3 API Ruby Gem
|
|
|
268
289
|
test_files:
|
|
269
290
|
- spec/api/content_packages_api_spec.rb
|
|
270
291
|
- spec/api/publications_pypi_api_spec.rb
|
|
292
|
+
- spec/api/content_provenance_api_spec.rb
|
|
271
293
|
- spec/api/distributions_pypi_api_spec.rb
|
|
272
294
|
- spec/api/remotes_python_api_spec.rb
|
|
273
295
|
- spec/api/pypi_api_spec.rb
|
|
274
296
|
- spec/api/repositories_python_versions_api_spec.rb
|
|
275
297
|
- spec/api/pypi_legacy_api_spec.rb
|
|
276
298
|
- spec/api/pypi_metadata_api_spec.rb
|
|
299
|
+
- spec/api/pypi_provenance_api_spec.rb
|
|
277
300
|
- spec/api/pypi_simple_api_spec.rb
|
|
278
301
|
- spec/api/repositories_python_api_spec.rb
|
|
279
302
|
- spec/models/python_python_publication_response_spec.rb
|
|
@@ -283,6 +306,7 @@ test_files:
|
|
|
283
306
|
- spec/models/repository_version_response_spec.rb
|
|
284
307
|
- spec/models/set_label_spec.rb
|
|
285
308
|
- spec/models/my_permissions_response_spec.rb
|
|
309
|
+
- spec/models/protocol_version_enum_spec.rb
|
|
286
310
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
287
311
|
- spec/models/repair_spec.rb
|
|
288
312
|
- spec/models/python_python_publication_spec.rb
|
|
@@ -304,6 +328,7 @@ test_files:
|
|
|
304
328
|
- spec/models/unset_label_spec.rb
|
|
305
329
|
- spec/models/python_python_remote_spec.rb
|
|
306
330
|
- spec/models/policy_enum_spec.rb
|
|
331
|
+
- spec/models/metadata_version_enum_spec.rb
|
|
307
332
|
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
|
308
333
|
- spec/models/python_python_distribution_response_spec.rb
|
|
309
334
|
- spec/models/object_roles_response_spec.rb
|
|
@@ -313,6 +338,9 @@ test_files:
|
|
|
313
338
|
- spec/models/python_python_repository_spec.rb
|
|
314
339
|
- spec/models/exclude_platforms_enum_spec.rb
|
|
315
340
|
- spec/models/package_types_enum_spec.rb
|
|
341
|
+
- spec/models/python_package_provenance_response_spec.rb
|
|
342
|
+
- spec/models/paginatedpython_package_provenance_response_list_spec.rb
|
|
343
|
+
- spec/models/filetype_enum_spec.rb
|
|
316
344
|
- spec/models/python_python_distribution_spec.rb
|
|
317
345
|
- spec/models/patchedpython_python_repository_spec.rb
|
|
318
346
|
- spec/spec_helper.rb
|