pulp_python_client 3.20.1 → 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.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -5
  3. data/docs/ContentPackagesApi.md +8 -4
  4. data/docs/ContentProvenanceApi.md +428 -0
  5. data/docs/FiletypeEnum.md +15 -0
  6. data/docs/MetadataVersionEnum.md +15 -0
  7. data/docs/PaginatedpythonPackageProvenanceResponseList.md +24 -0
  8. data/docs/PatchedpythonPythonDistribution.md +2 -0
  9. data/docs/PatchedpythonPythonRemote.md +3 -1
  10. data/docs/ProtocolVersionEnum.md +15 -0
  11. data/docs/PypiLegacyApi.md +9 -1
  12. data/docs/PypiProvenanceApi.md +91 -0
  13. data/docs/PypiSimpleApi.md +9 -1
  14. data/docs/PythonPackageProvenanceResponse.md +34 -0
  15. data/docs/PythonPythonDistribution.md +2 -0
  16. data/docs/PythonPythonDistributionResponse.md +2 -0
  17. data/docs/PythonPythonPackageContentResponse.md +5 -1
  18. data/docs/PythonPythonRemote.md +3 -1
  19. data/docs/PythonPythonRemoteResponse.md +3 -1
  20. data/docs/RepositoriesPythonVersionsApi.md +75 -0
  21. data/lib/pulp_python_client/api/content_packages_api.rb +9 -3
  22. data/lib/pulp_python_client/api/content_provenance_api.rb +448 -0
  23. data/lib/pulp_python_client/api/pypi_legacy_api.rb +12 -0
  24. data/lib/pulp_python_client/api/pypi_provenance_api.rb +110 -0
  25. data/lib/pulp_python_client/api/pypi_simple_api.rb +12 -0
  26. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +66 -0
  27. data/lib/pulp_python_client/models/filetype_enum.rb +40 -0
  28. data/lib/pulp_python_client/models/metadata_version_enum.rb +46 -0
  29. data/lib/pulp_python_client/models/paginatedpython_package_provenance_response_list.rb +257 -0
  30. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +12 -1
  31. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +16 -4
  32. data/lib/pulp_python_client/models/protocol_version_enum.rb +39 -0
  33. data/lib/pulp_python_client/models/python_package_provenance_response.rb +302 -0
  34. data/lib/pulp_python_client/models/python_python_distribution.rb +12 -1
  35. data/lib/pulp_python_client/models/python_python_distribution_response.rb +12 -1
  36. data/lib/pulp_python_client/models/python_python_package_content_response.rb +25 -5
  37. data/lib/pulp_python_client/models/python_python_remote.rb +16 -4
  38. data/lib/pulp_python_client/models/python_python_remote_response.rb +16 -4
  39. data/lib/pulp_python_client/version.rb +1 -1
  40. data/lib/pulp_python_client.rb +7 -0
  41. data/spec/api/content_packages_api_spec.rb +3 -1
  42. data/spec/api/content_provenance_api_spec.rb +123 -0
  43. data/spec/api/pypi_legacy_api_spec.rb +4 -0
  44. data/spec/api/pypi_provenance_api_spec.rb +53 -0
  45. data/spec/api/pypi_simple_api_spec.rb +4 -0
  46. data/spec/api/repositories_python_versions_api_spec.rb +13 -0
  47. data/spec/models/filetype_enum_spec.rb +30 -0
  48. data/spec/models/metadata_version_enum_spec.rb +30 -0
  49. data/spec/models/paginatedpython_package_provenance_response_list_spec.rb +54 -0
  50. data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
  51. data/spec/models/patchedpython_python_remote_spec.rb +6 -0
  52. data/spec/models/protocol_version_enum_spec.rb +30 -0
  53. data/spec/models/python_package_provenance_response_spec.rb +84 -0
  54. data/spec/models/python_python_distribution_response_spec.rb +6 -0
  55. data/spec/models/python_python_distribution_spec.rb +6 -0
  56. data/spec/models/python_python_package_content_response_spec.rb +12 -0
  57. data/spec/models/python_python_remote_response_spec.rb +6 -0
  58. data/spec/models/python_python_remote_spec.rb +6 -0
  59. metadata +30 -2
@@ -71,6 +71,7 @@ describe 'ContentPackagesApi' do
71
71
  # @option opts [Object] :license_file
72
72
  # @option opts [String] :sha256 The SHA256 digest of this package.
73
73
  # @option opts [String] :metadata_sha256 The SHA256 digest of the package's METADATA file.
74
+ # @option opts [Object] :attestations
74
75
  # @return [AsyncOperationResponse]
75
76
  describe 'create test' do
76
77
  it 'should work' do
@@ -94,7 +95,7 @@ describe 'ContentPackagesApi' do
94
95
  # @option opts [String] :name Filter results where name matches value
95
96
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
96
97
  # @option opts [Integer] :offset The initial index from which to return the results.
97
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;provides_extras&#x60; - Provides extras * &#x60;-provides_extras&#x60; - Provides extras (descending) * &#x60;dynamic&#x60; - Dynamic * &#x60;-dynamic&#x60; - Dynamic (descending) * &#x60;license_expression&#x60; - License expression * &#x60;-license_expression&#x60; - License expression (descending) * &#x60;license_file&#x60; - License file * &#x60;-license_file&#x60; - License file (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
98
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;provides_extras&#x60; - Provides extras * &#x60;-provides_extras&#x60; - Provides extras (descending) * &#x60;dynamic&#x60; - Dynamic * &#x60;-dynamic&#x60; - Dynamic (descending) * &#x60;license_expression&#x60; - License expression * &#x60;-license_expression&#x60; - License expression (descending) * &#x60;license_file&#x60; - License file * &#x60;-license_file&#x60; - License file (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
98
99
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
99
100
  # @option opts [String] :packagetype Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist
100
101
  # @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
@@ -205,6 +206,7 @@ describe 'ContentPackagesApi' do
205
206
  # @option opts [Object] :license_file
206
207
  # @option opts [String] :sha256 The SHA256 digest of this package.
207
208
  # @option opts [String] :metadata_sha256 The SHA256 digest of the package&#39;s METADATA file.
209
+ # @option opts [Object] :attestations
208
210
  # @return [PythonPythonPackageContentResponse]
209
211
  describe 'upload test' do
210
212
  it 'should work' do
@@ -0,0 +1,123 @@
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
+
16
+ # Unit tests for PulpPythonClient::ContentProvenanceApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentProvenanceApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::ContentProvenanceApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentProvenanceApi' do
30
+ it 'should create an instance of ContentProvenanceApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::ContentProvenanceApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a package provenance
37
+ # Trigger an asynchronous task to create content,optionally create new repository version.
38
+ # @param package The package that the provenance is for.
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
44
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
45
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
46
+ # @option opts [Boolean] :verify Verify each attestation in the provenance.
47
+ # @return [AsyncOperationResponse]
48
+ describe 'create test' 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
+ # unit tests for list
55
+ # List package provenances
56
+ # PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal&#x3D;true to get a human readable representation of the provenance.
57
+ # @param [Hash] opts the optional parameters
58
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
59
+ # @option opts [Integer] :limit Number of results to return per page.
60
+ # @option opts [Integer] :offset The initial index from which to return the results.
61
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
62
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
63
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
64
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
65
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
66
+ # @option opts [String] :pulp_label_select Filter labels by search string
67
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
68
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
69
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
70
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
71
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
72
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
73
+ # @return [PaginatedpythonPackageProvenanceResponseList]
74
+ describe 'list test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
77
+ end
78
+ end
79
+
80
+ # unit tests for read
81
+ # Inspect a package provenance
82
+ # PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal&#x3D;true to get a human readable representation of the provenance.
83
+ # @param python_package_provenance_href
84
+ # @param [Hash] opts the optional parameters
85
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
86
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
87
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
88
+ # @return [PythonPackageProvenanceResponse]
89
+ describe 'read test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
92
+ end
93
+ end
94
+
95
+ # unit tests for set_label
96
+ # Set a label
97
+ # Set a single pulp_label on the object to a specific value or null.
98
+ # @param python_package_provenance_href
99
+ # @param set_label
100
+ # @param [Hash] opts the optional parameters
101
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
102
+ # @return [SetLabelResponse]
103
+ describe 'set_label test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
106
+ end
107
+ end
108
+
109
+ # unit tests for unset_label
110
+ # Unset a label
111
+ # Unset a single pulp_label on the object.
112
+ # @param python_package_provenance_href
113
+ # @param unset_label
114
+ # @param [Hash] opts the optional parameters
115
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
116
+ # @return [UnsetLabelResponse]
117
+ describe 'unset_label test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
120
+ end
121
+ end
122
+
123
+ end
@@ -41,6 +41,10 @@ describe 'PypiLegacyApi' do
41
41
  # @param [Hash] opts the optional parameters
42
42
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
43
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail!
44
+ # @option opts [ProtocolVersionEnum] :protocol_version Protocol version to use for the upload. Only version 1 is supported. * &#x60;1&#x60; - 1
45
+ # @option opts [FiletypeEnum] :filetype Type of artifact to upload. * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;sdist&#x60; - sdist
46
+ # @option opts [MetadataVersionEnum] :metadata_version Metadata version of the uploaded package. * &#x60;1.0&#x60; - 1.0 * &#x60;1.1&#x60; - 1.1 * &#x60;1.2&#x60; - 1.2 * &#x60;2.0&#x60; - 2.0 * &#x60;2.1&#x60; - 2.1 * &#x60;2.2&#x60; - 2.2 * &#x60;2.3&#x60; - 2.3 * &#x60;2.4&#x60; - 2.4
47
+ # @option opts [Object] :attestations
44
48
  # @return [PackageUploadTaskResponse]
45
49
  describe 'create test' do
46
50
  it 'should work' do
@@ -0,0 +1,53 @@
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
+
16
+ # Unit tests for PulpPythonClient::PypiProvenanceApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PypiProvenanceApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::PypiProvenanceApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PypiProvenanceApi' do
30
+ it 'should create an instance of PypiProvenanceApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::PypiProvenanceApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for read
36
+ # Get package provenance
37
+ # Gets the provenance for a package.
38
+ # @param filename
39
+ # @param package
40
+ # @param path
41
+ # @param version
42
+ # @param [Hash] opts the optional parameters
43
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
44
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
45
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
46
+ # @return [nil]
47
+ describe 'read test' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
50
+ end
51
+ end
52
+
53
+ end
@@ -41,6 +41,10 @@ describe 'PypiSimpleApi' do
41
41
  # @param [Hash] opts the optional parameters
42
42
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
43
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail!
44
+ # @option opts [ProtocolVersionEnum] :protocol_version Protocol version to use for the upload. Only version 1 is supported. * &#x60;1&#x60; - 1
45
+ # @option opts [FiletypeEnum] :filetype Type of artifact to upload. * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;sdist&#x60; - sdist
46
+ # @option opts [MetadataVersionEnum] :metadata_version Metadata version of the uploaded package. * &#x60;1.0&#x60; - 1.0 * &#x60;1.1&#x60; - 1.1 * &#x60;1.2&#x60; - 1.2 * &#x60;2.0&#x60; - 2.0 * &#x60;2.1&#x60; - 2.1 * &#x60;2.2&#x60; - 2.2 * &#x60;2.3&#x60; - 2.3 * &#x60;2.4&#x60; - 2.4
47
+ # @option opts [Object] :attestations
44
48
  # @return [PackageUploadTaskResponse]
45
49
  describe 'create test' do
46
50
  it 'should work' do
@@ -109,4 +109,17 @@ describe 'RepositoriesPythonVersionsApi' do
109
109
  end
110
110
  end
111
111
 
112
+ # unit tests for scan
113
+ # Generate vulnerability report
114
+ # Scan a repository version for vulnerabilities.
115
+ # @param python_python_repository_version_href
116
+ # @param [Hash] opts the optional parameters
117
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
118
+ # @return [AsyncOperationResponse]
119
+ describe 'scan test' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
122
+ end
123
+ end
124
+
112
125
  end
@@ -0,0 +1,30 @@
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::FiletypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpPythonClient::FiletypeEnum do
21
+ let(:instance) { PulpPythonClient::FiletypeEnum.new }
22
+
23
+ describe 'test an instance of FiletypeEnum' do
24
+ it 'should create an instance of FiletypeEnum' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpPythonClient::FiletypeEnum)
27
+ end
28
+ end
29
+
30
+ end
@@ -0,0 +1,30 @@
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::MetadataVersionEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpPythonClient::MetadataVersionEnum do
21
+ let(:instance) { PulpPythonClient::MetadataVersionEnum.new }
22
+
23
+ describe 'test an instance of MetadataVersionEnum' do
24
+ it 'should create an instance of MetadataVersionEnum' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpPythonClient::MetadataVersionEnum)
27
+ end
28
+ end
29
+
30
+ end
@@ -0,0 +1,54 @@
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::PaginatedpythonPackageProvenanceResponseList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpPythonClient::PaginatedpythonPackageProvenanceResponseList do
21
+ let(:instance) { PulpPythonClient::PaginatedpythonPackageProvenanceResponseList.new }
22
+
23
+ describe 'test an instance of PaginatedpythonPackageProvenanceResponseList' do
24
+ it 'should create an instance of PaginatedpythonPackageProvenanceResponseList' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpPythonClient::PaginatedpythonPackageProvenanceResponseList)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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 "results"' 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
+ end
@@ -69,6 +69,12 @@ describe PulpPythonClient::PatchedpythonPythonDistribution do
69
69
  end
70
70
  end
71
71
 
72
+ describe 'test attribute "repository_version"' 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
+
72
78
  describe 'test attribute "allow_uploads"' do
73
79
  it 'should work' do
74
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -189,4 +189,10 @@ describe PulpPythonClient::PatchedpythonPythonRemote 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
@@ -0,0 +1,30 @@
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::ProtocolVersionEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpPythonClient::ProtocolVersionEnum do
21
+ let(:instance) { PulpPythonClient::ProtocolVersionEnum.new }
22
+
23
+ describe 'test an instance of ProtocolVersionEnum' do
24
+ it 'should create an instance of ProtocolVersionEnum' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpPythonClient::ProtocolVersionEnum)
27
+ end
28
+ end
29
+
30
+ end
@@ -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
@@ -105,6 +105,12 @@ describe PulpPythonClient::PythonPythonDistributionResponse do
105
105
  end
106
106
  end
107
107
 
108
+ describe 'test attribute "repository_version"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
108
114
  describe 'test attribute "allow_uploads"' do
109
115
  it 'should work' do
110
116
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -69,6 +69,12 @@ describe PulpPythonClient::PythonPythonDistribution do
69
69
  end
70
70
  end
71
71
 
72
+ describe 'test attribute "repository_version"' 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
+
72
78
  describe 'test attribute "allow_uploads"' do
73
79
  it 'should work' do
74
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -255,6 +255,12 @@ describe PulpPythonClient::PythonPythonPackageContentResponse do
255
255
  end
256
256
  end
257
257
 
258
+ describe 'test attribute "size"' do
259
+ it 'should work' do
260
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
261
+ end
262
+ end
263
+
258
264
  describe 'test attribute "sha256"' do
259
265
  it 'should work' do
260
266
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -267,4 +273,10 @@ describe PulpPythonClient::PythonPythonPackageContentResponse do
267
273
  end
268
274
  end
269
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
+
270
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