pulp_2to3_migration_client 0.8.0.dev01612582268 → 0.8.0.dev01612668694
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d193689941bdafd5771f3ff2f04b0204ebf0b033cccffcf4237061a30bcebd2
|
4
|
+
data.tar.gz: 6d8d8700898041441092dff706a2c1bf7af09961d29c1cd332fb7c3e40069f55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3a65353a878b8264444e76d004afcf561039311ae7f3100ea42f585e62937124205aed63de78a7a175ba318ec590967d007dc109686147f51aa308864baabec
|
7
|
+
data.tar.gz: 2bb43dcb1c45eada201c0110a59c52b1a177b79ec959d6db37c3d0bd8efd02696bd9b1c6b692e7d9222968c77e97317ae87cf397f35778b4057a29165caa0c64
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
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: 0.8.0.
|
10
|
+
- Package version: 0.8.0.dev01612668694
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_2to3_migration_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_2to3_migration_client-0.8.0.
|
27
|
+
gem install ./pulp_2to3_migration_client-0.8.0.dev01612668694.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_2to3_migration_client-0.8.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_2to3_migration_client-0.8.0.dev01612668694.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_2to3_migration_client', '~> 0.8.0.
|
36
|
+
gem 'pulp_2to3_migration_client', '~> 0.8.0.dev01612668694'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/MigrationPlansApi.md
CHANGED
@@ -242,7 +242,7 @@ Name | Type | Description | Notes
|
|
242
242
|
|
243
243
|
## reset
|
244
244
|
|
245
|
-
> AsyncOperationResponse reset(pulp_2to3_migration_migration_plan_href
|
245
|
+
> AsyncOperationResponse reset(pulp_2to3_migration_migration_plan_href)
|
246
246
|
|
247
247
|
Reset Pulp 3 data for plugins specified in the migration plan
|
248
248
|
|
@@ -262,11 +262,10 @@ end
|
|
262
262
|
|
263
263
|
api_instance = Pulp2to3MigrationClient::MigrationPlansApi.new
|
264
264
|
pulp_2to3_migration_migration_plan_href = 'pulp_2to3_migration_migration_plan_href_example' # String |
|
265
|
-
pulp2to3_migration_migration_plan = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan.new # Pulp2to3MigrationMigrationPlan |
|
266
265
|
|
267
266
|
begin
|
268
267
|
#Reset Pulp 3 data for plugins specified in the migration plan
|
269
|
-
result = api_instance.reset(pulp_2to3_migration_migration_plan_href
|
268
|
+
result = api_instance.reset(pulp_2to3_migration_migration_plan_href)
|
270
269
|
p result
|
271
270
|
rescue Pulp2to3MigrationClient::ApiError => e
|
272
271
|
puts "Exception when calling MigrationPlansApi->reset: #{e}"
|
@@ -279,7 +278,6 @@ end
|
|
279
278
|
Name | Type | Description | Notes
|
280
279
|
------------- | ------------- | ------------- | -------------
|
281
280
|
**pulp_2to3_migration_migration_plan_href** | **String**| |
|
282
|
-
**pulp2to3_migration_migration_plan** | [**Pulp2to3MigrationMigrationPlan**](Pulp2to3MigrationMigrationPlan.md)| |
|
283
281
|
|
284
282
|
### Return type
|
285
283
|
|
@@ -291,7 +289,7 @@ Name | Type | Description | Notes
|
|
291
289
|
|
292
290
|
### HTTP request headers
|
293
291
|
|
294
|
-
- **Content-Type**:
|
292
|
+
- **Content-Type**: Not defined
|
295
293
|
- **Accept**: application/json
|
296
294
|
|
297
295
|
|
@@ -285,21 +285,19 @@ module Pulp2to3MigrationClient
|
|
285
285
|
# Reset Pulp 3 data for plugins specified in the migration plan
|
286
286
|
# Trigger an asynchronous task to remove data from Pulp 3 related to the plugins specified in the migration plan.
|
287
287
|
# @param pulp_2to3_migration_migration_plan_href [String]
|
288
|
-
# @param pulp2to3_migration_migration_plan [Pulp2to3MigrationMigrationPlan]
|
289
288
|
# @param [Hash] opts the optional parameters
|
290
289
|
# @return [AsyncOperationResponse]
|
291
|
-
def reset(pulp_2to3_migration_migration_plan_href,
|
292
|
-
data, _status_code, _headers = reset_with_http_info(pulp_2to3_migration_migration_plan_href,
|
290
|
+
def reset(pulp_2to3_migration_migration_plan_href, opts = {})
|
291
|
+
data, _status_code, _headers = reset_with_http_info(pulp_2to3_migration_migration_plan_href, opts)
|
293
292
|
data
|
294
293
|
end
|
295
294
|
|
296
295
|
# Reset Pulp 3 data for plugins specified in the migration plan
|
297
296
|
# Trigger an asynchronous task to remove data from Pulp 3 related to the plugins specified in the migration plan.
|
298
297
|
# @param pulp_2to3_migration_migration_plan_href [String]
|
299
|
-
# @param pulp2to3_migration_migration_plan [Pulp2to3MigrationMigrationPlan]
|
300
298
|
# @param [Hash] opts the optional parameters
|
301
299
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
302
|
-
def reset_with_http_info(pulp_2to3_migration_migration_plan_href,
|
300
|
+
def reset_with_http_info(pulp_2to3_migration_migration_plan_href, opts = {})
|
303
301
|
if @api_client.config.debugging
|
304
302
|
@api_client.config.logger.debug 'Calling API: MigrationPlansApi.reset ...'
|
305
303
|
end
|
@@ -307,10 +305,6 @@ module Pulp2to3MigrationClient
|
|
307
305
|
if @api_client.config.client_side_validation && pulp_2to3_migration_migration_plan_href.nil?
|
308
306
|
fail ArgumentError, "Missing the required parameter 'pulp_2to3_migration_migration_plan_href' when calling MigrationPlansApi.reset"
|
309
307
|
end
|
310
|
-
# verify the required parameter 'pulp2to3_migration_migration_plan' is set
|
311
|
-
if @api_client.config.client_side_validation && pulp2to3_migration_migration_plan.nil?
|
312
|
-
fail ArgumentError, "Missing the required parameter 'pulp2to3_migration_migration_plan' when calling MigrationPlansApi.reset"
|
313
|
-
end
|
314
308
|
# resource path
|
315
309
|
local_var_path = '{pulp_2to3_migration_migration_plan_href}reset/'.sub('{' + 'pulp_2to3_migration_migration_plan_href' + '}', CGI.escape(pulp_2to3_migration_migration_plan_href.to_s).gsub('%2F', '/'))
|
316
310
|
|
@@ -321,14 +315,12 @@ module Pulp2to3MigrationClient
|
|
321
315
|
header_params = opts[:header_params] || {}
|
322
316
|
# HTTP header 'Accept' (if needed)
|
323
317
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
324
|
-
# HTTP header 'Content-Type'
|
325
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
326
318
|
|
327
319
|
# form parameters
|
328
320
|
form_params = opts[:form_params] || {}
|
329
321
|
|
330
322
|
# http body (model)
|
331
|
-
post_body = opts[:body]
|
323
|
+
post_body = opts[:body]
|
332
324
|
|
333
325
|
# return_type
|
334
326
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
@@ -90,7 +90,6 @@ describe 'MigrationPlansApi' do
|
|
90
90
|
# Reset Pulp 3 data for plugins specified in the migration plan
|
91
91
|
# Trigger an asynchronous task to remove data from Pulp 3 related to the plugins specified in the migration plan.
|
92
92
|
# @param pulp_2to3_migration_migration_plan_href
|
93
|
-
# @param pulp2to3_migration_migration_plan
|
94
93
|
# @param [Hash] opts the optional parameters
|
95
94
|
# @return [AsyncOperationResponse]
|
96
95
|
describe 'reset test' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_2to3_migration_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0.
|
4
|
+
version: 0.8.0.dev01612668694
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|