pulp_rpm_client 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/PublicationsRpmApi.md +14 -0
- data/docs/RepositoriesRpmApi.md +3 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +1 -1
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +22 -1
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +1 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +3 -1
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +1 -1
- data/lib/pulp_rpm_client/api_client.rb +1 -1
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +1 -1
- data/lib/pulp_rpm_client/models/addon.rb +1 -1
- data/lib/pulp_rpm_client/models/artifact.rb +1 -1
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary.rb +1 -1
- data/lib/pulp_rpm_client/models/image.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution_tree.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_category.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_group.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
- data/lib/pulp_rpm_client/models/variant.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +1 -1
- data/pulp_rpm_client.gemspec +2 -2
- data/spec/api/content_advisories_api_spec.rb +1 -1
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
- data/spec/api/content_modulemds_api_spec.rb +1 -1
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +8 -1
- data/spec/api/remotes_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_api_spec.rb +2 -1
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/image_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response20011_spec.rb +1 -1
- data/spec/models/inline_response20012_spec.rb +1 -1
- data/spec/models/inline_response20013_spec.rb +1 -1
- data/spec/models/inline_response20014_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/rpm_distribution_tree_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
- data/spec/models/rpm_modulemd_spec.rb +1 -1
- data/spec/models/rpm_package_category_spec.rb +1 -1
- data/spec/models/rpm_package_environment_spec.rb +1 -1
- data/spec/models/rpm_package_group_spec.rb +1 -1
- data/spec/models/rpm_package_langpacks_spec.rb +1 -1
- data/spec/models/rpm_package_spec.rb +1 -1
- data/spec/models/rpm_repo_metadata_file_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_spec.rb +1 -1
- data/spec/models/rpm_rpm_remote_spec.rb +1 -1
- data/spec/models/rpm_rpm_repository_spec.rb +1 -1
- data/spec/models/rpm_update_collection_spec.rb +1 -1
- data/spec/models/rpm_update_record_spec.rb +1 -1
- data/spec/models/variant_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +56 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a56f4c9eb43e568a4dcbb8c27e4e59664cacdc0bceef1b7eeab0c38e39b54cac
|
4
|
+
data.tar.gz: e4edca5b55240cc5100a1b15cc3152e30ee55a1e5da13ab2a0c68fe94ae5ad2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b7de821fa926025c92be6ac673607182aaaf18611b04299fec76c6a801a1cea2806752a994552202a92e67e2c38c4ea650e67f7ca3b66bc3ed1fca2b56e7504
|
7
|
+
data.tar.gz: c88c824073b562ae5654fdc68e76275fb578680305a63f521cd64376dee42305b7d3b735c27d5f22416aecb692ab0d81276be1ac2b8297f08aadcff6a0dc1174
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.1.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_rpm_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_rpm_client-3.
|
26
|
+
gem install ./pulp_rpm_client-3.1.0.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
29
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.1.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_rpm_client', '~> 3.
|
35
|
+
gem 'pulp_rpm_client', '~> 3.1.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -136,7 +136,7 @@ Class | Method | HTTP request | Description
|
|
136
136
|
*PulpRpmClient::RepositoriesRpmApi* | [**create**](docs/RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
|
137
137
|
*PulpRpmClient::RepositoriesRpmApi* | [**delete**](docs/RepositoriesRpmApi.md#delete) | **DELETE** {rpm_repository_href} | Delete a rpm repository
|
138
138
|
*PulpRpmClient::RepositoriesRpmApi* | [**list**](docs/RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
|
139
|
-
*PulpRpmClient::RepositoriesRpmApi* | [**modify**](docs/RepositoriesRpmApi.md#modify) | **POST** {rpm_repository_href}modify/ |
|
139
|
+
*PulpRpmClient::RepositoriesRpmApi* | [**modify**](docs/RepositoriesRpmApi.md#modify) | **POST** {rpm_repository_href}modify/ | Modify Repository Content
|
140
140
|
*PulpRpmClient::RepositoriesRpmApi* | [**partial_update**](docs/RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_repository_href} | Partially update a rpm repository
|
141
141
|
*PulpRpmClient::RepositoriesRpmApi* | [**read**](docs/RepositoriesRpmApi.md#read) | **GET** {rpm_repository_href} | Inspect a rpm repository
|
142
142
|
*PulpRpmClient::RepositoriesRpmApi* | [**sync**](docs/RepositoriesRpmApi.md#sync) | **POST** {rpm_repository_href}sync/ | Sync from remote
|
data/docs/PublicationsRpmApi.md
CHANGED
@@ -139,6 +139,13 @@ end
|
|
139
139
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
140
140
|
opts = {
|
141
141
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
142
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
143
|
+
pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
|
144
|
+
pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
|
145
|
+
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
146
|
+
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
147
|
+
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
148
|
+
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
142
149
|
limit: 56, # Integer | Number of results to return per page.
|
143
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
144
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -160,6 +167,13 @@ end
|
|
160
167
|
Name | Type | Description | Notes
|
161
168
|
------------- | ------------- | ------------- | -------------
|
162
169
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
170
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
171
|
+
**pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
|
172
|
+
**pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
|
173
|
+
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
174
|
+
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
175
|
+
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
176
|
+
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
163
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
164
178
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
165
179
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
data/docs/RepositoriesRpmApi.md
CHANGED
@@ -7,7 +7,7 @@ Method | HTTP request | Description
|
|
7
7
|
[**create**](RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
|
8
8
|
[**delete**](RepositoriesRpmApi.md#delete) | **DELETE** {rpm_repository_href} | Delete a rpm repository
|
9
9
|
[**list**](RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
|
10
|
-
[**modify**](RepositoriesRpmApi.md#modify) | **POST** {rpm_repository_href}modify/ |
|
10
|
+
[**modify**](RepositoriesRpmApi.md#modify) | **POST** {rpm_repository_href}modify/ | Modify Repository Content
|
11
11
|
[**partial_update**](RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_repository_href} | Partially update a rpm repository
|
12
12
|
[**read**](RepositoriesRpmApi.md#read) | **GET** {rpm_repository_href} | Inspect a rpm repository
|
13
13
|
[**sync**](RepositoriesRpmApi.md#sync) | **POST** {rpm_repository_href}sync/ | Sync from remote
|
@@ -190,7 +190,7 @@ Name | Type | Description | Notes
|
|
190
190
|
|
191
191
|
> AsyncOperationResponse modify(rpm_repository_href, data)
|
192
192
|
|
193
|
-
|
193
|
+
Modify Repository Content
|
194
194
|
|
195
195
|
Trigger an asynchronous task to create a new repository version.
|
196
196
|
|
@@ -211,6 +211,7 @@ rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Reposi
|
|
211
211
|
data = PulpRpmClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
212
212
|
|
213
213
|
begin
|
214
|
+
#Modify Repository Content
|
214
215
|
result = api_instance.modify(rpm_repository_href, data)
|
215
216
|
p result
|
216
217
|
rescue PulpRpmClient::ApiError => e
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -147,6 +147,13 @@ module PulpRpmClient
|
|
147
147
|
# ViewSet for Rpm Publications.
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
149
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
150
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
151
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
152
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
153
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
154
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
155
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
156
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
150
157
|
# @option opts [Integer] :limit Number of results to return per page.
|
151
158
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
152
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -161,6 +168,13 @@ module PulpRpmClient
|
|
161
168
|
# ViewSet for Rpm Publications.
|
162
169
|
# @param [Hash] opts the optional parameters
|
163
170
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
171
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
172
|
+
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
173
|
+
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
174
|
+
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
175
|
+
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
176
|
+
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
177
|
+
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
164
178
|
# @option opts [Integer] :limit Number of results to return per page.
|
165
179
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
166
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -176,6 +190,13 @@ module PulpRpmClient
|
|
176
190
|
# query parameters
|
177
191
|
query_params = opts[:query_params] || {}
|
178
192
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
193
|
+
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
194
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
195
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
196
|
+
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
197
|
+
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
198
|
+
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
199
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
179
200
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
180
201
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
181
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -219,6 +219,7 @@ module PulpRpmClient
|
|
219
219
|
return data, status_code, headers
|
220
220
|
end
|
221
221
|
|
222
|
+
# Modify Repository Content
|
222
223
|
# Trigger an asynchronous task to create a new repository version.
|
223
224
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
224
225
|
# @param data [RepositoryAddRemoveContent]
|
@@ -229,6 +230,7 @@ module PulpRpmClient
|
|
229
230
|
data
|
230
231
|
end
|
231
232
|
|
233
|
+
# Modify Repository Content
|
232
234
|
# Trigger an asynchronous task to create a new repository version.
|
233
235
|
# @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
|
234
236
|
# @param data [RepositoryAddRemoveContent]
|