pulp_2to3_migration_client 0.3.0b1.dev01595619351 → 0.3.0b1.dev01595705725
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -20
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/MigrationPlansApi.md +39 -43
- data/docs/Pulp2ContentApi.md +152 -0
- data/docs/{Pulp2repositoriesApi.md → Pulp2RepositoriesApi.md} +27 -29
- data/docs/Pulp2to3MigrationMigrationPlan.md +1 -5
- data/docs/Pulp2to3MigrationMigrationPlanResponse.md +21 -0
- data/docs/{Pulp2to3MigrationPulp2Content.md → Pulp2to3MigrationPulp2ContentResponse.md} +3 -3
- data/docs/{Pulp2to3MigrationPulp2Repository.md → Pulp2to3MigrationPulp2RepositoryResponse.md} +6 -6
- data/lib/pulp_2to3_migration_client.rb +7 -6
- data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +42 -50
- data/lib/pulp_2to3_migration_client/api/{pulp2content_api.rb → pulp2_content_api.rb} +46 -50
- data/lib/pulp_2to3_migration_client/api/{pulp2repositories_api.rb → pulp2_repositories_api.rb} +29 -33
- data/lib/pulp_2to3_migration_client/api_client.rb +2 -2
- data/lib/pulp_2to3_migration_client/api_error.rb +2 -2
- data/lib/pulp_2to3_migration_client/configuration.rb +3 -3
- data/lib/pulp_2to3_migration_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_2to3_migration_client/models/inline_response200.rb +3 -13
- data/lib/pulp_2to3_migration_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_2to3_migration_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_2to3_migration_client/models/migration_plan_run.rb +3 -2
- data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb +4 -22
- data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_response.rb +232 -0
- data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_content.rb → pulp2to3_migration_pulp2_content_response.rb} +7 -59
- data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_repository.rb → pulp2to3_migration_pulp2_repository_response.rb} +11 -108
- data/lib/pulp_2to3_migration_client/version.rb +3 -3
- data/pulp_2to3_migration_client.gemspec +4 -4
- data/spec/api/migration_plans_api_spec.rb +10 -14
- data/spec/api/pulp2_content_api_spec.rb +74 -0
- data/spec/api/{pulp2repositories_api_spec.rb → pulp2_repositories_api_spec.rb} +15 -17
- 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/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/migration_plan_run_spec.rb +2 -2
- data/spec/models/pulp2to3_migration_migration_plan_response_spec.rb +53 -0
- data/spec/models/pulp2to3_migration_migration_plan_spec.rb +2 -14
- data/spec/models/{pulp2to3_migration_pulp2_content_spec.rb → pulp2to3_migration_pulp2_content_response_spec.rb} +8 -8
- data/spec/models/{pulp2to3_migration_pulp2_repository_spec.rb → pulp2to3_migration_pulp2_repository_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +24 -20
- data/docs/Pulp2contentApi.md +0 -154
- data/spec/api/pulp2content_api_spec.rb +0 -76
@@ -1,76 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Pulp 3 API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v3
|
7
|
-
|
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
|
-
|
16
|
-
# Unit tests for Pulp2to3MigrationClient::Pulp2contentApi
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'Pulp2contentApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = Pulp2to3MigrationClient::Pulp2contentApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of Pulp2contentApi' do
|
30
|
-
it 'should create an instance of Pulp2contentApi' do
|
31
|
-
expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2contentApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for list
|
36
|
-
# List pulp2 contents
|
37
|
-
# ViewSet for Pulp2Content model.
|
38
|
-
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
40
|
-
# @option opts [String] :pulp2_id
|
41
|
-
# @option opts [String] :pulp2_id__in Filter results where pulp2_id is in a comma-separated list of values
|
42
|
-
# @option opts [String] :pulp2_content_type_id
|
43
|
-
# @option opts [String] :pulp2_content_type_id__in Filter results where pulp2_content_type_id is in a comma-separated list of values
|
44
|
-
# @option opts [Float] :pulp2_last_updated__lt Filter results where pulp2_last_updated is less than value
|
45
|
-
# @option opts [Float] :pulp2_last_updated__lte Filter results where pulp2_last_updated is less than or equal to value
|
46
|
-
# @option opts [Float] :pulp2_last_updated__gt Filter results where pulp2_last_updated is greater than value
|
47
|
-
# @option opts [Float] :pulp2_last_updated__gte Filter results where pulp2_last_updated is greater than or equal to value
|
48
|
-
# @option opts [Float] :pulp2_last_updated__range Filter results where pulp2_last_updated is between two comma separated values
|
49
|
-
# @option opts [String] :pulp3_content Foreign Key referenced by HREF
|
50
|
-
# @option opts [String] :pulp2_last_updated ISO 8601 formatted dates are supported
|
51
|
-
# @option opts [Integer] :limit Number of results to return per page.
|
52
|
-
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
54
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
55
|
-
# @return [InlineResponse2001]
|
56
|
-
describe 'list test' do
|
57
|
-
it 'should work' do
|
58
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
# unit tests for read
|
63
|
-
# Inspect a pulp2 content
|
64
|
-
# ViewSet for Pulp2Content model.
|
65
|
-
# @param pulp2_content_href URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/
|
66
|
-
# @param [Hash] opts the optional parameters
|
67
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
68
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
-
# @return [Pulp2to3MigrationPulp2Content]
|
70
|
-
describe 'read test' do
|
71
|
-
it 'should work' do
|
72
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
|
-
end
|