pulp_deb_client 2.21.2 → 3.0.1
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 +15 -5
- data/docs/ContentGenericContentsApi.md +3 -1
- data/docs/ContentInstallerFileIndicesApi.md +3 -1
- data/docs/ContentInstallerPackagesApi.md +3 -1
- data/docs/ContentPackageIndicesApi.md +3 -1
- data/docs/ContentPackageReleaseComponentsApi.md +3 -1
- data/docs/ContentPackagesApi.md +7 -1
- data/docs/ContentReleaseArchitecturesApi.md +5 -7
- data/docs/ContentReleaseComponentsApi.md +7 -7
- data/docs/ContentReleaseFilesApi.md +3 -1
- data/docs/ContentReleasesApi.md +13 -3
- data/docs/DebAptPublication.md +4 -2
- data/docs/DebAptPublicationResponse.md +4 -2
- data/docs/DebAptRepository.md +7 -1
- data/docs/DebAptRepositoryResponse.md +7 -1
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebRelease.md +9 -1
- data/docs/DebReleaseArchitecture.md +1 -5
- data/docs/DebReleaseArchitectureResponse.md +1 -5
- data/docs/DebReleaseComponent.md +1 -5
- data/docs/DebReleaseComponentResponse.md +1 -5
- data/docs/DebReleaseFile.md +3 -3
- data/docs/DebReleaseFileResponse.md +3 -3
- data/docs/DebReleaseResponse.md +9 -1
- data/docs/DistributionsAptApi.md +123 -1
- data/docs/PatcheddebAptRepository.md +7 -1
- data/docs/PublicationsAptApi.md +3 -1
- data/docs/PublicationsVerbatimApi.md +3 -1
- data/docs/RemotesAptApi.md +123 -1
- data/docs/RepositoriesAptApi.md +123 -1
- data/docs/RepositoriesAptVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +9 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -9
- data/lib/pulp_deb_client/api/content_release_components_api.rb +9 -9
- data/lib/pulp_deb_client/api/content_release_files_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +18 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +3 -0
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +38 -5
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +38 -5
- data/lib/pulp_deb_client/models/deb_release.rb +104 -4
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +4 -70
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +4 -32
- data/lib/pulp_deb_client/models/deb_release_component.rb +4 -70
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +4 -32
- data/lib/pulp_deb_client/models/deb_release_file.rb +3 -3
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +3 -3
- data/lib/pulp_deb_client/models/deb_release_response.rb +44 -4
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +38 -5
- data/lib/pulp_deb_client/models/set_label.rb +252 -0
- data/lib/pulp_deb_client/models/set_label_response.rb +243 -0
- data/lib/pulp_deb_client/models/unset_label.rb +242 -0
- data/lib/pulp_deb_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +4 -0
- data/spec/api/content_generic_contents_api_spec.rb +1 -0
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -0
- data/spec/api/content_installer_packages_api_spec.rb +1 -0
- data/spec/api/content_package_indices_api_spec.rb +1 -0
- data/spec/api/content_package_release_components_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +3 -0
- data/spec/api/content_release_architectures_api_spec.rb +2 -3
- data/spec/api/content_release_components_api_spec.rb +3 -3
- data/spec/api/content_release_files_api_spec.rb +1 -0
- data/spec/api/content_releases_api_spec.rb +6 -1
- data/spec/api/distributions_apt_api_spec.rb +31 -0
- data/spec/api/publications_apt_api_spec.rb +1 -0
- data/spec/api/publications_verbatim_api_spec.rb +1 -0
- data/spec/api/remotes_apt_api_spec.rb +31 -0
- data/spec/api/repositories_apt_api_spec.rb +31 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +18 -0
- data/spec/models/deb_apt_repository_spec.rb +18 -0
- data/spec/models/deb_release_architecture_response_spec.rb +0 -12
- data/spec/models/deb_release_architecture_spec.rb +0 -12
- data/spec/models/deb_release_component_response_spec.rb +0 -12
- data/spec/models/deb_release_component_spec.rb +0 -12
- data/spec/models/deb_release_response_spec.rb +24 -0
- data/spec/models/deb_release_spec.rb +24 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +18 -0
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +72 -56
|
@@ -68,13 +68,18 @@ describe 'DistributionsAptApi' do
|
|
|
68
68
|
# @option opts [String] :name Filter results where name matches value
|
|
69
69
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
70
70
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
71
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
|
71
72
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
73
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
74
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
75
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
72
76
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
73
77
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
74
78
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
75
79
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
76
80
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
77
81
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
82
|
+
# @option opts [String] :q
|
|
78
83
|
# @option opts [String] :repository Filter results where repository matches value
|
|
79
84
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
|
80
85
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
@@ -114,6 +119,32 @@ describe 'DistributionsAptApi' do
|
|
|
114
119
|
end
|
|
115
120
|
end
|
|
116
121
|
|
|
122
|
+
# unit tests for set_label
|
|
123
|
+
# Set a label
|
|
124
|
+
# Set a single pulp_label on the object to a specific value or null.
|
|
125
|
+
# @param deb_apt_distribution_href
|
|
126
|
+
# @param set_label
|
|
127
|
+
# @param [Hash] opts the optional parameters
|
|
128
|
+
# @return [SetLabelResponse]
|
|
129
|
+
describe 'set_label test' do
|
|
130
|
+
it 'should work' do
|
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# unit tests for unset_label
|
|
136
|
+
# Unset a label
|
|
137
|
+
# Unset a single pulp_label on the object.
|
|
138
|
+
# @param deb_apt_distribution_href
|
|
139
|
+
# @param unset_label
|
|
140
|
+
# @param [Hash] opts the optional parameters
|
|
141
|
+
# @return [UnsetLabelResponse]
|
|
142
|
+
describe 'unset_label test' do
|
|
143
|
+
it 'should work' do
|
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
117
148
|
# unit tests for update
|
|
118
149
|
# Update an apt distribution
|
|
119
150
|
# Trigger an asynchronous update task
|
|
@@ -73,6 +73,7 @@ describe 'PublicationsAptApi' do
|
|
|
73
73
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
74
74
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
75
75
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
76
|
+
# @option opts [String] :q
|
|
76
77
|
# @option opts [String] :repository Repository referenced by HREF
|
|
77
78
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
78
79
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -73,6 +73,7 @@ describe 'PublicationsVerbatimApi' do
|
|
|
73
73
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
74
74
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
75
75
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
76
|
+
# @option opts [String] :q
|
|
76
77
|
# @option opts [String] :repository Repository referenced by HREF
|
|
77
78
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
78
79
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -64,7 +64,11 @@ describe 'RemotesAptApi' do
|
|
|
64
64
|
# @option opts [String] :name Filter results where name matches value
|
|
65
65
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
66
66
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
67
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
|
67
68
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
69
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
70
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
71
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
68
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
69
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
70
74
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -77,6 +81,7 @@ describe 'RemotesAptApi' do
|
|
|
77
81
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
|
78
82
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
|
79
83
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
|
84
|
+
# @option opts [String] :q
|
|
80
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
81
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
82
87
|
# @return [PaginateddebAptRemoteResponseList]
|
|
@@ -113,6 +118,32 @@ describe 'RemotesAptApi' do
|
|
|
113
118
|
end
|
|
114
119
|
end
|
|
115
120
|
|
|
121
|
+
# unit tests for set_label
|
|
122
|
+
# Set a label
|
|
123
|
+
# Set a single pulp_label on the object to a specific value or null.
|
|
124
|
+
# @param deb_apt_remote_href
|
|
125
|
+
# @param set_label
|
|
126
|
+
# @param [Hash] opts the optional parameters
|
|
127
|
+
# @return [SetLabelResponse]
|
|
128
|
+
describe 'set_label test' do
|
|
129
|
+
it 'should work' do
|
|
130
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# unit tests for unset_label
|
|
135
|
+
# Unset a label
|
|
136
|
+
# Unset a single pulp_label on the object.
|
|
137
|
+
# @param deb_apt_remote_href
|
|
138
|
+
# @param unset_label
|
|
139
|
+
# @param [Hash] opts the optional parameters
|
|
140
|
+
# @return [UnsetLabelResponse]
|
|
141
|
+
describe 'unset_label test' do
|
|
142
|
+
it 'should work' do
|
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
116
147
|
# unit tests for update
|
|
117
148
|
# Update an apt remote
|
|
118
149
|
# Trigger an asynchronous update task
|
|
@@ -65,13 +65,18 @@ describe 'RepositoriesAptApi' do
|
|
|
65
65
|
# @option opts [String] :name Filter results where name matches value
|
|
66
66
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
67
67
|
# @option opts [String] :name__icontains Filter results where name contains value
|
|
68
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
|
68
69
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
70
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
71
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
72
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
69
73
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
70
74
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
71
75
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
72
76
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
73
77
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
74
78
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
79
|
+
# @option opts [String] :q
|
|
75
80
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
|
76
81
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
77
82
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
@@ -131,6 +136,19 @@ describe 'RepositoriesAptApi' do
|
|
|
131
136
|
end
|
|
132
137
|
end
|
|
133
138
|
|
|
139
|
+
# unit tests for set_label
|
|
140
|
+
# Set a label
|
|
141
|
+
# Set a single pulp_label on the object to a specific value or null.
|
|
142
|
+
# @param deb_apt_repository_href
|
|
143
|
+
# @param set_label
|
|
144
|
+
# @param [Hash] opts the optional parameters
|
|
145
|
+
# @return [SetLabelResponse]
|
|
146
|
+
describe 'set_label test' do
|
|
147
|
+
it 'should work' do
|
|
148
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
134
152
|
# unit tests for sync
|
|
135
153
|
# Sync from remote
|
|
136
154
|
# Trigger an asynchronous task to sync content
|
|
@@ -144,6 +162,19 @@ describe 'RepositoriesAptApi' do
|
|
|
144
162
|
end
|
|
145
163
|
end
|
|
146
164
|
|
|
165
|
+
# unit tests for unset_label
|
|
166
|
+
# Unset a label
|
|
167
|
+
# Unset a single pulp_label on the object.
|
|
168
|
+
# @param deb_apt_repository_href
|
|
169
|
+
# @param unset_label
|
|
170
|
+
# @param [Hash] opts the optional parameters
|
|
171
|
+
# @return [UnsetLabelResponse]
|
|
172
|
+
describe 'unset_label test' do
|
|
173
|
+
it 'should work' do
|
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
147
178
|
# unit tests for update
|
|
148
179
|
# Update an apt repository
|
|
149
180
|
# Trigger an asynchronous update task
|
|
@@ -67,6 +67,7 @@ describe 'RepositoriesAptVersionsApi' do
|
|
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
69
69
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
70
|
+
# @option opts [String] :q
|
|
70
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
71
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
72
73
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe PulpDebClient::Configuration do
|
|
|
18
18
|
before(:each) do
|
|
19
19
|
# uncomment below to setup host and base_path
|
|
20
20
|
# require 'URI'
|
|
21
|
-
# uri = URI.parse("
|
|
21
|
+
# uri = URI.parse("http://pulp")
|
|
22
22
|
# PulpDebClient.configure do |c|
|
|
23
23
|
# c.host = uri.host
|
|
24
24
|
# c.base_path = uri.path
|
|
@@ -28,14 +28,14 @@ describe PulpDebClient::Configuration do
|
|
|
28
28
|
describe '#base_url' do
|
|
29
29
|
it 'should have the default value' do
|
|
30
30
|
# uncomment below to test default value of the base path
|
|
31
|
-
# expect(config.base_url).to eq("
|
|
31
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it 'should remove trailing slashes' do
|
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
|
36
36
|
config.base_path = base_path
|
|
37
37
|
# uncomment below to test trailing slashes
|
|
38
|
-
# expect(config.base_url).to eq("
|
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -74,4 +74,10 @@ describe 'DebAptPublicationResponse' do
|
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
describe 'test attribute "publish_upstream_release_fields"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
77
83
|
end
|
|
@@ -62,4 +62,10 @@ describe 'DebAptPublication' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
describe 'test attribute "publish_upstream_release_fields"' 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
|
+
|
|
65
71
|
end
|
|
@@ -86,4 +86,22 @@ describe 'DebAptRepositoryResponse' do
|
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
+
describe 'test attribute "publish_upstream_release_fields"' 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
|
+
describe 'test attribute "signing_service"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "signing_service_release_overrides"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
89
107
|
end
|
|
@@ -62,4 +62,22 @@ describe 'DebAptRepository' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
describe 'test attribute "publish_upstream_release_fields"' 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
|
+
describe 'test attribute "signing_service_release_overrides"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
65
83
|
end
|
|
@@ -56,16 +56,4 @@ describe 'DebReleaseArchitectureResponse' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "codename"' 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 "suite"' 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
59
|
end
|
|
@@ -50,16 +50,4 @@ describe 'DebReleaseArchitecture' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "codename"' 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 "suite"' 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
53
|
end
|
|
@@ -56,16 +56,4 @@ describe 'DebReleaseComponentResponse' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "codename"' 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 "suite"' 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
59
|
end
|
|
@@ -50,16 +50,4 @@ describe 'DebReleaseComponent' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "codename"' 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 "suite"' 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
53
|
end
|
|
@@ -62,4 +62,28 @@ describe 'DebReleaseResponse' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
describe 'test attribute "version"' 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 "origin"' 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
|
+
describe 'test attribute "label"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
describe 'test attribute "description"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
65
89
|
end
|
|
@@ -56,4 +56,28 @@ describe 'DebRelease' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
+
describe 'test attribute "version"' 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 "origin"' 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 "label"' 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
|
+
describe 'test attribute "description"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
59
83
|
end
|
|
@@ -62,4 +62,22 @@ describe 'PatcheddebAptRepository' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
describe 'test attribute "publish_upstream_release_fields"' 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
|
+
describe 'test attribute "signing_service_release_overrides"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
65
83
|
end
|
|
@@ -0,0 +1,47 @@
|
|
|
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.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::SetLabelResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'SetLabelResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpDebClient::SetLabelResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of SetLabelResponse' do
|
|
31
|
+
it 'should create an instance of SetLabelResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::SetLabelResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
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.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::SetLabel
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'SetLabel' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpDebClient::SetLabel.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of SetLabel' do
|
|
31
|
+
it 'should create an instance of SetLabel' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::SetLabel)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
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.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::UnsetLabelResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'UnsetLabelResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpDebClient::UnsetLabelResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of UnsetLabelResponse' do
|
|
31
|
+
it 'should create an instance of UnsetLabelResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::UnsetLabelResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
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.3.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::UnsetLabel
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'UnsetLabel' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpDebClient::UnsetLabel.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of UnsetLabel' do
|
|
31
|
+
it 'should create an instance of UnsetLabel' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpDebClient::UnsetLabel)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "key"' 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
|
+
end
|