pulp_deb_client 2.5.0b1 → 2.6.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +60 -39
- data/docs/ContentGenericContentsApi.md +26 -26
- data/docs/ContentInstallerFileIndicesApi.md +37 -37
- data/docs/ContentInstallerPackagesApi.md +56 -56
- data/docs/ContentPackageIndicesApi.md +37 -37
- data/docs/ContentPackageReleaseComponentsApi.md +33 -33
- data/docs/ContentPackagesApi.md +58 -58
- data/docs/ContentReleaseArchitecturesApi.md +33 -33
- data/docs/ContentReleaseComponentsApi.md +33 -33
- data/docs/ContentReleaseFilesApi.md +37 -37
- data/docs/ContentReleasesApi.md +35 -35
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DebAptDistribution.md +1 -7
- data/docs/DebAptDistributionResponse.md +29 -0
- data/docs/DebAptPublication.md +1 -5
- data/docs/DebAptPublicationResponse.md +29 -0
- data/docs/DebAptRemote.md +4 -10
- data/docs/DebAptRemoteResponse.md +57 -0
- data/docs/DebAptRepository.md +4 -10
- data/docs/DebAptRepositoryResponse.md +29 -0
- data/docs/DebBasePackage.md +5 -75
- data/docs/DebBasePackageResponse.md +93 -0
- data/docs/DebGenericContent.md +5 -17
- data/docs/DebGenericContentResponse.md +35 -0
- data/docs/DebInstallerFileIndex.md +2 -6
- data/docs/DebInstallerFileIndexResponse.md +29 -0
- data/docs/DebPackageIndex.md +2 -6
- data/docs/DebPackageIndexResponse.md +29 -0
- data/docs/DebPackageReleaseComponent.md +1 -5
- data/docs/DebPackageReleaseComponentResponse.md +23 -0
- data/docs/DebRelease.md +1 -5
- data/docs/DebReleaseArchitecture.md +1 -5
- data/docs/DebReleaseArchitectureResponse.md +23 -0
- data/docs/DebReleaseComponent.md +1 -5
- data/docs/DebReleaseComponentResponse.md +23 -0
- data/docs/DebReleaseFile.md +2 -6
- data/docs/DebReleaseFileResponse.md +29 -0
- data/docs/DebReleaseResponse.md +25 -0
- data/docs/DebVerbatimPublication.md +1 -5
- data/docs/DebVerbatimPublicationResponse.md +23 -0
- data/docs/DistributionsAptApi.md +110 -62
- 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 +3 -3
- 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/PatcheddebAptDistribution.md +23 -0
- data/docs/PatcheddebAptRemote.md +51 -0
- data/docs/PatcheddebAptRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsAptApi.md +43 -43
- data/docs/PublicationsVerbatimApi.md +43 -43
- data/docs/RemotesAptApi.md +128 -68
- data/docs/RepositoriesAptApi.md +100 -76
- data/docs/RepositoriesDebVersionsApi.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/lib/pulp_deb_client/api/content_generic_contents_api.rb +36 -40
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +90 -82
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +50 -50
- data/lib/pulp_deb_client/api/content_packages_api.rb +92 -84
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +51 -51
- data/lib/pulp_deb_client/api/content_release_components_api.rb +51 -51
- data/lib/pulp_deb_client/api/content_release_files_api.rb +57 -57
- data/lib/pulp_deb_client/api/content_releases_api.rb +54 -54
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +157 -94
- data/lib/pulp_deb_client/api/publications_apt_api.rb +65 -65
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +65 -65
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +187 -106
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +151 -124
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +141 -96
- data/lib/pulp_deb_client/api_client.rb +2 -2
- data/lib/pulp_deb_client/api_error.rb +2 -2
- data/lib/pulp_deb_client/configuration.rb +3 -3
- data/lib/pulp_deb_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_deb_client/models/content_summary.rb +9 -15
- data/lib/pulp_deb_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +4 -85
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +279 -0
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +4 -22
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +270 -0
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +7 -263
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +446 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +18 -78
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +271 -0
- data/lib/pulp_deb_client/models/deb_base_package.rb +18 -847
- data/lib/pulp_deb_client/models/deb_base_package_response.rb +558 -0
- data/lib/pulp_deb_client/models/deb_generic_content.rb +18 -185
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +302 -0
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +6 -79
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +287 -0
- data/lib/pulp_deb_client/models/deb_package_index.rb +6 -79
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +287 -0
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +4 -22
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release.rb +4 -79
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -41
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release_component.rb +4 -41
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_release_file.rb +6 -90
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +277 -0
- data/lib/pulp_deb_client/models/deb_release_response.rb +259 -0
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +4 -22
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +236 -0
- data/lib/pulp_deb_client/models/inline_response200.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20010.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20011.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20012.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20013.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response20014.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_deb_client/models/inline_response2009.rb +3 -13
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +240 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +402 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +229 -0
- data/lib/pulp_deb_client/models/policy_enum.rb +37 -0
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_deb_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_deb_client/models/repository_version.rb +7 -43
- data/lib/pulp_deb_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_deb_client/version.rb +3 -3
- data/lib/pulp_deb_client.rb +22 -2
- data/pulp_deb_client.gemspec +4 -4
- data/spec/api/content_generic_contents_api_spec.rb +12 -12
- data/spec/api/content_installer_file_indices_api_spec.rb +17 -17
- data/spec/api/content_installer_packages_api_spec.rb +27 -27
- data/spec/api/content_package_indices_api_spec.rb +17 -17
- data/spec/api/content_package_release_components_api_spec.rb +15 -15
- data/spec/api/content_packages_api_spec.rb +28 -28
- data/spec/api/content_release_architectures_api_spec.rb +15 -15
- data/spec/api/content_release_components_api_spec.rb +15 -15
- data/spec/api/content_release_files_api_spec.rb +17 -17
- data/spec/api/content_releases_api_spec.rb +16 -16
- data/spec/api/distributions_apt_api_spec.rb +41 -20
- data/spec/api/publications_apt_api_spec.rb +17 -17
- data/spec/api/publications_verbatim_api_spec.rb +17 -17
- data/spec/api/remotes_apt_api_spec.rb +51 -24
- data/spec/api/repositories_apt_api_spec.rb +31 -22
- data/spec/api/repositories_deb_versions_api_spec.rb +40 -25
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/deb_apt_distribution_response_spec.rb +77 -0
- data/spec/models/deb_apt_distribution_spec.rb +2 -20
- data/spec/models/deb_apt_publication_response_spec.rb +77 -0
- data/spec/models/deb_apt_publication_spec.rb +2 -14
- data/spec/models/deb_apt_remote_response_spec.rb +161 -0
- data/spec/models/deb_apt_remote_spec.rb +2 -24
- data/spec/models/deb_apt_repository_response_spec.rb +77 -0
- data/spec/models/deb_apt_repository_spec.rb +5 -23
- data/spec/models/deb_base_package_response_spec.rb +269 -0
- data/spec/models/deb_base_package_spec.rb +4 -214
- data/spec/models/deb_generic_content_response_spec.rb +95 -0
- data/spec/models/deb_generic_content_spec.rb +4 -40
- data/spec/models/deb_installer_file_index_response_spec.rb +77 -0
- data/spec/models/deb_installer_file_index_spec.rb +2 -14
- data/spec/models/deb_package_index_response_spec.rb +77 -0
- data/spec/models/deb_package_index_spec.rb +2 -14
- data/spec/models/deb_package_release_component_response_spec.rb +59 -0
- data/spec/models/deb_package_release_component_spec.rb +2 -14
- data/spec/models/deb_release_architecture_response_spec.rb +59 -0
- data/spec/models/deb_release_architecture_spec.rb +2 -14
- data/spec/models/deb_release_component_response_spec.rb +59 -0
- data/spec/models/deb_release_component_spec.rb +2 -14
- data/spec/models/deb_release_file_response_spec.rb +77 -0
- data/spec/models/deb_release_file_spec.rb +2 -14
- data/spec/models/deb_release_response_spec.rb +65 -0
- data/spec/models/deb_release_spec.rb +2 -14
- data/spec/models/deb_verbatim_publication_response_spec.rb +59 -0
- data/spec/models/deb_verbatim_publication_spec.rb +2 -14
- 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 +2 -2
- 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/patcheddeb_apt_distribution_spec.rb +59 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +143 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +53 -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/spec_helper.rb +2 -2
- metadata +120 -40
@@ -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
|
|
@@ -34,10 +34,10 @@ describe 'RepositoriesAptApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create an apt repository
|
37
|
-
#
|
38
|
-
# @param
|
37
|
+
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
38
|
+
# @param deb_apt_repository
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [DebAptRepositoryResponse]
|
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
|
@@ -47,8 +47,11 @@ describe 'RepositoriesAptApi' do
|
|
47
47
|
# unit tests for delete
|
48
48
|
# Delete an apt repository
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param deb_apt_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :name name
|
53
|
+
# @option opts [String] :name__in name__in
|
54
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
52
55
|
# @return [AsyncOperationResponse]
|
53
56
|
describe 'delete test' do
|
54
57
|
it 'should work' do
|
@@ -58,13 +61,13 @@ describe 'RepositoriesAptApi' do
|
|
58
61
|
|
59
62
|
# unit tests for list
|
60
63
|
# List apt repositorys
|
61
|
-
#
|
64
|
+
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
62
65
|
# @param [Hash] opts the optional parameters
|
63
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
|
-
# @option opts [String] :name
|
65
|
-
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
66
66
|
# @option opts [Integer] :limit Number of results to return per page.
|
67
|
+
# @option opts [String] :name name
|
68
|
+
# @option opts [String] :name__in name__in
|
67
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
71
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
72
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
73
|
# @return [InlineResponse20013]
|
@@ -77,8 +80,8 @@ describe 'RepositoriesAptApi' do
|
|
77
80
|
# unit tests for modify
|
78
81
|
# Modify Repository Content
|
79
82
|
# Trigger an asynchronous task to create a new repository version.
|
80
|
-
# @param
|
81
|
-
# @param
|
83
|
+
# @param deb_apt_repository_href
|
84
|
+
# @param repository_add_remove_content
|
82
85
|
# @param [Hash] opts the optional parameters
|
83
86
|
# @return [AsyncOperationResponse]
|
84
87
|
describe 'modify test' do
|
@@ -88,11 +91,14 @@ describe 'RepositoriesAptApi' do
|
|
88
91
|
end
|
89
92
|
|
90
93
|
# unit tests for partial_update
|
91
|
-
#
|
94
|
+
# Update an apt repository
|
92
95
|
# Trigger an asynchronous partial update task
|
93
|
-
# @param
|
94
|
-
# @param
|
96
|
+
# @param deb_apt_repository_href
|
97
|
+
# @param patcheddeb_apt_repository
|
95
98
|
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [String] :name name
|
100
|
+
# @option opts [String] :name__in name__in
|
101
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
96
102
|
# @return [AsyncOperationResponse]
|
97
103
|
describe 'partial_update test' do
|
98
104
|
it 'should work' do
|
@@ -102,12 +108,12 @@ describe 'RepositoriesAptApi' do
|
|
102
108
|
|
103
109
|
# unit tests for read
|
104
110
|
# Inspect an apt repository
|
105
|
-
#
|
106
|
-
# @param
|
111
|
+
# An AptRepository is the locally stored, Pulp-internal representation of a APT repository. It may be filled with content via synchronization or content upload to create an AptRepositoryVersion.
|
112
|
+
# @param deb_apt_repository_href
|
107
113
|
# @param [Hash] opts the optional parameters
|
108
114
|
# @option opts [String] :fields A list of fields to include in the response.
|
109
115
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
110
|
-
# @return [
|
116
|
+
# @return [DebAptRepositoryResponse]
|
111
117
|
describe 'read test' do
|
112
118
|
it 'should work' do
|
113
119
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -117,8 +123,8 @@ describe 'RepositoriesAptApi' do
|
|
117
123
|
# unit tests for sync
|
118
124
|
# Sync from remote
|
119
125
|
# Trigger an asynchronous task to sync content
|
120
|
-
# @param
|
121
|
-
# @param
|
126
|
+
# @param deb_apt_repository_href
|
127
|
+
# @param repository_sync_url
|
122
128
|
# @param [Hash] opts the optional parameters
|
123
129
|
# @return [AsyncOperationResponse]
|
124
130
|
describe 'sync test' do
|
@@ -130,9 +136,12 @@ describe 'RepositoriesAptApi' do
|
|
130
136
|
# unit tests for update
|
131
137
|
# Update an apt repository
|
132
138
|
# Trigger an asynchronous update task
|
133
|
-
# @param
|
134
|
-
# @param
|
139
|
+
# @param deb_apt_repository_href
|
140
|
+
# @param deb_apt_repository
|
135
141
|
# @param [Hash] opts the optional parameters
|
142
|
+
# @option opts [String] :name name
|
143
|
+
# @option opts [String] :name__in name__in
|
144
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
136
145
|
# @return [AsyncOperationResponse]
|
137
146
|
describe 'update test' do
|
138
147
|
it 'should work' do
|
@@ -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,8 +35,23 @@ describe 'RepositoriesDebVersionsApi' do
|
|
35
35
|
# unit tests for delete
|
36
36
|
# Delete a repository version
|
37
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
38
|
-
# @param
|
38
|
+
# @param deb_apt_repository_version_href
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [String] :content content
|
41
|
+
# @option opts [String] :content__in content__in
|
42
|
+
# @option opts [String] :number number
|
43
|
+
# @option opts [String] :number__gt number__gt
|
44
|
+
# @option opts [String] :number__gte number__gte
|
45
|
+
# @option opts [String] :number__lt number__lt
|
46
|
+
# @option opts [String] :number__lte number__lte
|
47
|
+
# @option opts [String] :number__range number__range
|
48
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
49
|
+
# @option opts [String] :pulp_created pulp_created
|
50
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
51
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
52
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
53
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
54
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
40
55
|
# @return [AsyncOperationResponse]
|
41
56
|
describe 'delete test' do
|
42
57
|
it 'should work' do
|
@@ -46,26 +61,26 @@ describe 'RepositoriesDebVersionsApi' do
|
|
46
61
|
|
47
62
|
# unit tests for list
|
48
63
|
# List repository versions
|
49
|
-
# AptRepositoryVersion represents a single
|
50
|
-
# @param
|
64
|
+
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
65
|
+
# @param deb_apt_repository_href
|
51
66
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :
|
53
|
-
# @option opts [
|
54
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
55
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
56
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
57
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
58
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
59
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
60
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
61
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
62
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
63
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
64
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
65
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
66
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
67
|
+
# @option opts [String] :content content
|
68
|
+
# @option opts [String] :content__in content__in
|
67
69
|
# @option opts [Integer] :limit Number of results to return per page.
|
70
|
+
# @option opts [String] :number number
|
71
|
+
# @option opts [String] :number__gt number__gt
|
72
|
+
# @option opts [String] :number__gte number__gte
|
73
|
+
# @option opts [String] :number__lt number__lt
|
74
|
+
# @option opts [String] :number__lte number__lte
|
75
|
+
# @option opts [String] :number__range number__range
|
68
76
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
77
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
78
|
+
# @option opts [String] :pulp_created pulp_created
|
79
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
80
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
81
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
82
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
83
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
69
84
|
# @option opts [String] :fields A list of fields to include in the response.
|
70
85
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
86
|
# @return [InlineResponse20014]
|
@@ -77,12 +92,12 @@ describe 'RepositoriesDebVersionsApi' do
|
|
77
92
|
|
78
93
|
# unit tests for read
|
79
94
|
# Inspect a repository version
|
80
|
-
# AptRepositoryVersion represents a single
|
81
|
-
# @param
|
95
|
+
# An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
|
96
|
+
# @param deb_apt_repository_version_href
|
82
97
|
# @param [Hash] opts the optional parameters
|
83
98
|
# @option opts [String] :fields A list of fields to include in the response.
|
84
99
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
85
|
-
# @return [
|
100
|
+
# @return [RepositoryVersionResponse]
|
86
101
|
describe 'read test' do
|
87
102
|
it 'should work' do
|
88
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -91,8 +106,8 @@ describe 'RepositoriesDebVersionsApi' do
|
|
91
106
|
|
92
107
|
# unit tests for repair
|
93
108
|
# Trigger an asynchronous task to repair a repositroy version.
|
94
|
-
# @param
|
95
|
-
# @param
|
109
|
+
# @param deb_apt_repository_version_href
|
110
|
+
# @param repository_version
|
96
111
|
# @param [Hash] opts the optional parameters
|
97
112
|
# @return [AsyncOperationResponse]
|
98
113
|
describe 'repair test' do
|
data/spec/api_client_spec.rb
CHANGED
@@ -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
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -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
|
|
@@ -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
|
|
@@ -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
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpDebClient::ContentSummaryResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContentSummaryResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpDebClient::ContentSummaryResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContentSummaryResponse' do
|
31
|
+
it 'should create an instance of ContentSummaryResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::ContentSummaryResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "added"' 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 "removed"' 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
|
+
describe 'test attribute "present"' 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
|
+
|
53
|
+
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
|
|
@@ -0,0 +1,77 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpDebClient::DebAptDistributionResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DebAptDistributionResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpDebClient::DebAptDistributionResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DebAptDistributionResponse' do
|
31
|
+
it 'should create an instance of DebAptDistributionResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebAptDistributionResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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
|
+
describe 'test attribute "base_path"' 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
|
+
|
53
|
+
describe 'test attribute "base_url"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "content_guard"' do
|
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 "name"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "publication"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
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,30 +32,12 @@ describe 'DebAptDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpDebClient::DebAptDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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
|
describe 'test attribute "base_path"' do
|
48
36
|
it 'should work' do
|
49
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
38
|
end
|
51
39
|
end
|
52
40
|
|
53
|
-
describe 'test attribute "base_url"' do
|
54
|
-
it 'should work' do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
41
|
describe 'test attribute "content_guard"' do
|
60
42
|
it 'should work' do
|
61
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,77 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpDebClient::DebAptPublicationResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DebAptPublicationResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpDebClient::DebAptPublicationResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DebAptPublicationResponse' do
|
31
|
+
it 'should create an instance of DebAptPublicationResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::DebAptPublicationResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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
|
+
describe 'test attribute "repository_version"' 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
|
+
|
53
|
+
describe 'test attribute "repository"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "simple"' do
|
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 "structured"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "signing_service"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
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,18 +32,6 @@ describe 'DebAptPublication' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpDebClient::DebAptPublication)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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
|
describe 'test attribute "repository_version"' do
|
48
36
|
it 'should work' do
|
49
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|