pulp_2to3_migration_client 0.0.1a1.dev01572548060 → 0.0.1a1.dev01572634587

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -7
  3. data/docs/InlineResponse200.md +1 -1
  4. data/docs/InlineResponse2001.md +1 -1
  5. data/docs/InlineResponse2002.md +23 -0
  6. data/docs/MigrationPlansApi.md +6 -6
  7. data/docs/Pulp2contentApi.md +2 -2
  8. data/docs/Pulp2repositoriesApi.md +134 -0
  9. data/docs/{MigrationPlan.md → Pulp2to3MigrationMigrationPlan.md} +2 -2
  10. data/docs/{Pulp2Content.md → Pulp2to3MigrationPulp2Content.md} +2 -2
  11. data/docs/Pulp2to3MigrationPulp2Repository.md +35 -0
  12. data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +8 -8
  13. data/lib/pulp_2to3_migration_client/api/pulp2content_api.rb +3 -3
  14. data/lib/pulp_2to3_migration_client/api/pulp2repositories_api.rb +164 -0
  15. data/lib/pulp_2to3_migration_client/models/inline_response200.rb +1 -1
  16. data/lib/pulp_2to3_migration_client/models/inline_response2001.rb +1 -1
  17. data/lib/pulp_2to3_migration_client/models/inline_response2002.rb +235 -0
  18. data/lib/pulp_2to3_migration_client/models/{migration_plan.rb → pulp2to3_migration_migration_plan.rb} +3 -3
  19. data/lib/pulp_2to3_migration_client/models/{pulp2_content.rb → pulp2to3_migration_pulp2_content.rb} +3 -3
  20. data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_repository.rb +337 -0
  21. data/lib/pulp_2to3_migration_client/version.rb +1 -1
  22. data/lib/pulp_2to3_migration_client.rb +5 -2
  23. data/spec/api/migration_plans_api_spec.rb +2 -2
  24. data/spec/api/pulp2content_api_spec.rb +1 -1
  25. data/spec/api/pulp2repositories_api_spec.rb +66 -0
  26. data/spec/models/inline_response2002_spec.rb +59 -0
  27. data/spec/models/{migration_plan_spec.rb → pulp2to3_migration_migration_plan_spec.rb} +6 -6
  28. data/spec/models/{pulp2_content_spec.rb → pulp2to3_migration_pulp2_content_spec.rb} +6 -6
  29. data/spec/models/pulp2to3_migration_pulp2_repository_spec.rb +95 -0
  30. metadata +22 -10
@@ -0,0 +1,66 @@
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.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Pulp2to3MigrationClient::Pulp2repositoriesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'Pulp2repositoriesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Pulp2to3MigrationClient::Pulp2repositoriesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of Pulp2repositoriesApi' do
30
+ it 'should create an instance of Pulp2repositoriesApi' do
31
+ expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2repositoriesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List pulp2 repositorys
37
+ # ViewSet for Pulp2Repositories model.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :pulp2_repo_id
40
+ # @option opts [String] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values
41
+ # @option opts [Integer] :limit Number of results to return per page.
42
+ # @option opts [Integer] :offset The initial index from which to return the results.
43
+ # @option opts [String] :fields A list of fields to include in the response.
44
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
45
+ # @return [InlineResponse2002]
46
+ describe 'list test' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ # unit tests for read
53
+ # Inspect a pulp2 repository
54
+ # ViewSet for Pulp2Repositories model.
55
+ # @param pulp2_repository_href URI of Pulp2 Repository. e.g.: /pulp/api/v3/pulp2repositories/1/
56
+ # @param [Hash] opts the optional parameters
57
+ # @option opts [String] :fields A list of fields to include in the response.
58
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
59
+ # @return [Pulp2to3MigrationPulp2Repository]
60
+ describe 'read test' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ end
@@ -0,0 +1,59 @@
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.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Pulp2to3MigrationClient::InlineResponse2002
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'InlineResponse2002' do
21
+ before do
22
+ # run before each test
23
+ @instance = Pulp2to3MigrationClient::InlineResponse2002.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InlineResponse2002' do
31
+ it 'should create an instance of InlineResponse2002' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::InlineResponse2002)
33
+ end
34
+ end
35
+ describe 'test attribute "count"' 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 "_next"' 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 "previous"' 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 "results"' 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
+ end
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Pulp2to3MigrationClient::MigrationPlan
17
+ # Unit tests for Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'MigrationPlan' do
20
+ describe 'Pulp2to3MigrationMigrationPlan' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Pulp2to3MigrationClient::MigrationPlan.new
23
+ @instance = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of MigrationPlan' do
31
- it 'should create an instance of MigrationPlan' do
32
- expect(@instance).to be_instance_of(Pulp2to3MigrationClient::MigrationPlan)
30
+ describe 'test an instance of Pulp2to3MigrationMigrationPlan' do
31
+ it 'should create an instance of Pulp2to3MigrationMigrationPlan' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlan)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "pulp_href"' do
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Pulp2to3MigrationClient::Pulp2Content
17
+ # Unit tests for Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Content
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'Pulp2Content' do
20
+ describe 'Pulp2to3MigrationPulp2Content' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Pulp2to3MigrationClient::Pulp2Content.new
23
+ @instance = Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Content.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of Pulp2Content' do
31
- it 'should create an instance of Pulp2Content' do
32
- expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2Content)
30
+ describe 'test an instance of Pulp2to3MigrationPulp2Content' do
31
+ it 'should create an instance of Pulp2to3MigrationPulp2Content' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Content)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "pulp_href"' do
@@ -0,0 +1,95 @@
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.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Repository
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'Pulp2to3MigrationPulp2Repository' do
21
+ before do
22
+ # run before each test
23
+ @instance = Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Repository.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Pulp2to3MigrationPulp2Repository' do
31
+ it 'should create an instance of Pulp2to3MigrationPulp2Repository' do
32
+ expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationPulp2Repository)
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 "pulp2_object_id"' 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 "pulp2_repo_id"' 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 "is_migrated"' 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 "pulp3_repository_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 "pulp3_remote_href"' 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 "pulp3_publisher_href"' 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 "pulp3_publication_href"' 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
+
89
+ describe 'test attribute "pulp3_distribution_hrefs"' 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
+ end
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.0.1a1.dev01572548060
4
+ version: 0.0.1a1.dev01572634587
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -77,36 +77,45 @@ files:
77
77
  - docs/AsyncOperationResponse.md
78
78
  - docs/InlineResponse200.md
79
79
  - docs/InlineResponse2001.md
80
- - docs/MigrationPlan.md
80
+ - docs/InlineResponse2002.md
81
81
  - docs/MigrationPlanRun.md
82
82
  - docs/MigrationPlansApi.md
83
- - docs/Pulp2Content.md
84
83
  - docs/Pulp2contentApi.md
84
+ - docs/Pulp2repositoriesApi.md
85
+ - docs/Pulp2to3MigrationMigrationPlan.md
86
+ - docs/Pulp2to3MigrationPulp2Content.md
87
+ - docs/Pulp2to3MigrationPulp2Repository.md
85
88
  - git_push.sh
86
89
  - lib/pulp_2to3_migration_client.rb
87
90
  - lib/pulp_2to3_migration_client/api/migration_plans_api.rb
88
91
  - lib/pulp_2to3_migration_client/api/pulp2content_api.rb
92
+ - lib/pulp_2to3_migration_client/api/pulp2repositories_api.rb
89
93
  - lib/pulp_2to3_migration_client/api_client.rb
90
94
  - lib/pulp_2to3_migration_client/api_error.rb
91
95
  - lib/pulp_2to3_migration_client/configuration.rb
92
96
  - lib/pulp_2to3_migration_client/models/async_operation_response.rb
93
97
  - lib/pulp_2to3_migration_client/models/inline_response200.rb
94
98
  - lib/pulp_2to3_migration_client/models/inline_response2001.rb
95
- - lib/pulp_2to3_migration_client/models/migration_plan.rb
99
+ - lib/pulp_2to3_migration_client/models/inline_response2002.rb
96
100
  - lib/pulp_2to3_migration_client/models/migration_plan_run.rb
97
- - lib/pulp_2to3_migration_client/models/pulp2_content.rb
101
+ - lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan.rb
102
+ - lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_content.rb
103
+ - lib/pulp_2to3_migration_client/models/pulp2to3_migration_pulp2_repository.rb
98
104
  - lib/pulp_2to3_migration_client/version.rb
99
105
  - pulp_2to3_migration_client.gemspec
100
106
  - spec/api/migration_plans_api_spec.rb
101
107
  - spec/api/pulp2content_api_spec.rb
108
+ - spec/api/pulp2repositories_api_spec.rb
102
109
  - spec/api_client_spec.rb
103
110
  - spec/configuration_spec.rb
104
111
  - spec/models/async_operation_response_spec.rb
105
112
  - spec/models/inline_response2001_spec.rb
113
+ - spec/models/inline_response2002_spec.rb
106
114
  - spec/models/inline_response200_spec.rb
107
115
  - spec/models/migration_plan_run_spec.rb
108
- - spec/models/migration_plan_spec.rb
109
- - spec/models/pulp2_content_spec.rb
116
+ - spec/models/pulp2to3_migration_migration_plan_spec.rb
117
+ - spec/models/pulp2to3_migration_pulp2_content_spec.rb
118
+ - spec/models/pulp2to3_migration_pulp2_repository_spec.rb
110
119
  - spec/spec_helper.rb
111
120
  homepage: https://openapi-generator.tech
112
121
  licenses:
@@ -133,14 +142,17 @@ signing_key:
133
142
  specification_version: 4
134
143
  summary: Pulp 3 API Ruby Gem
135
144
  test_files:
145
+ - spec/api/pulp2repositories_api_spec.rb
136
146
  - spec/api/migration_plans_api_spec.rb
137
147
  - spec/api/pulp2content_api_spec.rb
138
148
  - spec/api_client_spec.rb
139
149
  - spec/configuration_spec.rb
140
150
  - spec/models/migration_plan_run_spec.rb
141
- - spec/models/migration_plan_spec.rb
142
151
  - spec/models/inline_response2001_spec.rb
152
+ - spec/models/inline_response2002_spec.rb
143
153
  - spec/models/async_operation_response_spec.rb
144
- - spec/models/pulp2_content_spec.rb
154
+ - spec/models/pulp2to3_migration_pulp2_content_spec.rb
155
+ - spec/models/pulp2to3_migration_migration_plan_spec.rb
156
+ - spec/models/pulp2to3_migration_pulp2_repository_spec.rb
145
157
  - spec/models/inline_response200_spec.rb
146
158
  - spec/spec_helper.rb